]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/aui_wrap.cpp
more informative assert message
[wxWidgets.git] / wxPython / src / gtk / aui_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_p_wxAuiMultiNotebook swig_types[3]
2470 #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[4]
2471 #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[5]
2472 #define SWIGTYPE_p_p_wxColourDialog swig_types[6]
2473 #define SWIGTYPE_p_p_wxControl swig_types[7]
2474 #define SWIGTYPE_p_p_wxControlWithItems swig_types[8]
2475 #define SWIGTYPE_p_p_wxDialog swig_types[9]
2476 #define SWIGTYPE_p_p_wxDirDialog swig_types[10]
2477 #define SWIGTYPE_p_p_wxFileDialog swig_types[11]
2478 #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[12]
2479 #define SWIGTYPE_p_p_wxFloatingPane swig_types[13]
2480 #define SWIGTYPE_p_p_wxFontDialog swig_types[14]
2481 #define SWIGTYPE_p_p_wxFrame swig_types[15]
2482 #define SWIGTYPE_p_p_wxMDIChildFrame swig_types[16]
2483 #define SWIGTYPE_p_p_wxMDIClientWindow swig_types[17]
2484 #define SWIGTYPE_p_p_wxMDIParentFrame swig_types[18]
2485 #define SWIGTYPE_p_p_wxMenuBar swig_types[19]
2486 #define SWIGTYPE_p_p_wxMessageDialog swig_types[20]
2487 #define SWIGTYPE_p_p_wxMiniFrame swig_types[21]
2488 #define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[22]
2489 #define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[23]
2490 #define SWIGTYPE_p_p_wxPanel swig_types[24]
2491 #define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[25]
2492 #define SWIGTYPE_p_p_wxPopupWindow swig_types[26]
2493 #define SWIGTYPE_p_p_wxPreviewCanvas swig_types[27]
2494 #define SWIGTYPE_p_p_wxPreviewControlBar swig_types[28]
2495 #define SWIGTYPE_p_p_wxPreviewFrame swig_types[29]
2496 #define SWIGTYPE_p_p_wxProgressDialog swig_types[30]
2497 #define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[31]
2498 #define SWIGTYPE_p_p_wxPyPanel swig_types[32]
2499 #define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[33]
2500 #define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[34]
2501 #define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[35]
2502 #define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[36]
2503 #define SWIGTYPE_p_p_wxPyVListBox swig_types[37]
2504 #define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[38]
2505 #define SWIGTYPE_p_p_wxPyWindow swig_types[39]
2506 #define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[40]
2507 #define SWIGTYPE_p_p_wxSashWindow swig_types[41]
2508 #define SWIGTYPE_p_p_wxScrolledWindow swig_types[42]
2509 #define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[43]
2510 #define SWIGTYPE_p_p_wxSplashScreen swig_types[44]
2511 #define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[45]
2512 #define SWIGTYPE_p_p_wxSplitterWindow swig_types[46]
2513 #define SWIGTYPE_p_p_wxStatusBar swig_types[47]
2514 #define SWIGTYPE_p_p_wxTextEntryDialog swig_types[48]
2515 #define SWIGTYPE_p_p_wxTipWindow swig_types[49]
2516 #define SWIGTYPE_p_p_wxTopLevelWindow swig_types[50]
2517 #define SWIGTYPE_p_p_wxWindow swig_types[51]
2518 #define SWIGTYPE_p_unsigned_char swig_types[52]
2519 #define SWIGTYPE_p_unsigned_int swig_types[53]
2520 #define SWIGTYPE_p_unsigned_long swig_types[54]
2521 #define SWIGTYPE_p_wxANIHandler swig_types[55]
2522 #define SWIGTYPE_p_wxAcceleratorTable swig_types[56]
2523 #define SWIGTYPE_p_wxActivateEvent swig_types[57]
2524 #define SWIGTYPE_p_wxAuiMultiNotebook swig_types[58]
2525 #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[59]
2526 #define SWIGTYPE_p_wxAuiNotebookPage swig_types[60]
2527 #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[61]
2528 #define SWIGTYPE_p_wxAuiTabContainer swig_types[62]
2529 #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[63]
2530 #define SWIGTYPE_p_wxAuiTabCtrl swig_types[64]
2531 #define SWIGTYPE_p_wxBMPHandler swig_types[65]
2532 #define SWIGTYPE_p_wxBitmap swig_types[66]
2533 #define SWIGTYPE_p_wxBoxSizer swig_types[67]
2534 #define SWIGTYPE_p_wxCURHandler swig_types[68]
2535 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[69]
2536 #define SWIGTYPE_p_wxChildFocusEvent swig_types[70]
2537 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[71]
2538 #define SWIGTYPE_p_wxCloseEvent swig_types[72]
2539 #define SWIGTYPE_p_wxColor swig_types[73]
2540 #define SWIGTYPE_p_wxColour swig_types[74]
2541 #define SWIGTYPE_p_wxColourData swig_types[75]
2542 #define SWIGTYPE_p_wxColourDialog swig_types[76]
2543 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
2544 #define SWIGTYPE_p_wxContextMenuEvent swig_types[78]
2545 #define SWIGTYPE_p_wxControl swig_types[79]
2546 #define SWIGTYPE_p_wxControlWithItems swig_types[80]
2547 #define SWIGTYPE_p_wxDC swig_types[81]
2548 #define SWIGTYPE_p_wxDateEvent swig_types[82]
2549 #define SWIGTYPE_p_wxDefaultDockArt swig_types[83]
2550 #define SWIGTYPE_p_wxDialog swig_types[84]
2551 #define SWIGTYPE_p_wxDirDialog swig_types[85]
2552 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[86]
2553 #define SWIGTYPE_p_wxDockArt swig_types[87]
2554 #define SWIGTYPE_p_wxDockInfo swig_types[88]
2555 #define SWIGTYPE_p_wxDockUIPart swig_types[89]
2556 #define SWIGTYPE_p_wxDropFilesEvent swig_types[90]
2557 #define SWIGTYPE_p_wxDuplexMode swig_types[91]
2558 #define SWIGTYPE_p_wxEraseEvent swig_types[92]
2559 #define SWIGTYPE_p_wxEvent swig_types[93]
2560 #define SWIGTYPE_p_wxEvtHandler swig_types[94]
2561 #define SWIGTYPE_p_wxFSFile swig_types[95]
2562 #define SWIGTYPE_p_wxFileDialog swig_types[96]
2563 #define SWIGTYPE_p_wxFileSystem swig_types[97]
2564 #define SWIGTYPE_p_wxFindDialogEvent swig_types[98]
2565 #define SWIGTYPE_p_wxFindReplaceData swig_types[99]
2566 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[100]
2567 #define SWIGTYPE_p_wxFlexGridSizer swig_types[101]
2568 #define SWIGTYPE_p_wxFloatingPane swig_types[102]
2569 #define SWIGTYPE_p_wxFocusEvent swig_types[103]
2570 #define SWIGTYPE_p_wxFont swig_types[104]
2571 #define SWIGTYPE_p_wxFontData swig_types[105]
2572 #define SWIGTYPE_p_wxFontDialog swig_types[106]
2573 #define SWIGTYPE_p_wxFrame swig_types[107]
2574 #define SWIGTYPE_p_wxFrameManager swig_types[108]
2575 #define SWIGTYPE_p_wxFrameManagerEvent swig_types[109]
2576 #define SWIGTYPE_p_wxGBSizerItem swig_types[110]
2577 #define SWIGTYPE_p_wxGIFHandler swig_types[111]
2578 #define SWIGTYPE_p_wxGridBagSizer swig_types[112]
2579 #define SWIGTYPE_p_wxGridSizer swig_types[113]
2580 #define SWIGTYPE_p_wxICOHandler swig_types[114]
2581 #define SWIGTYPE_p_wxIconizeEvent swig_types[115]
2582 #define SWIGTYPE_p_wxIdleEvent swig_types[116]
2583 #define SWIGTYPE_p_wxImage swig_types[117]
2584 #define SWIGTYPE_p_wxImageHandler swig_types[118]
2585 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[119]
2586 #define SWIGTYPE_p_wxInitDialogEvent swig_types[120]
2587 #define SWIGTYPE_p_wxJPEGHandler swig_types[121]
2588 #define SWIGTYPE_p_wxKeyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[123]
2590 #define SWIGTYPE_p_wxLayoutConstraints swig_types[124]
2591 #define SWIGTYPE_p_wxMDIChildFrame swig_types[125]
2592 #define SWIGTYPE_p_wxMDIClientWindow swig_types[126]
2593 #define SWIGTYPE_p_wxMDIParentFrame swig_types[127]
2594 #define SWIGTYPE_p_wxMaximizeEvent swig_types[128]
2595 #define SWIGTYPE_p_wxMenu swig_types[129]
2596 #define SWIGTYPE_p_wxMenuBar swig_types[130]
2597 #define SWIGTYPE_p_wxMenuEvent swig_types[131]
2598 #define SWIGTYPE_p_wxMenuItem swig_types[132]
2599 #define SWIGTYPE_p_wxMessageDialog swig_types[133]
2600 #define SWIGTYPE_p_wxMiniFrame swig_types[134]
2601 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[135]
2602 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[136]
2603 #define SWIGTYPE_p_wxMouseEvent swig_types[137]
2604 #define SWIGTYPE_p_wxMoveEvent swig_types[138]
2605 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[139]
2606 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[140]
2607 #define SWIGTYPE_p_wxNcPaintEvent swig_types[141]
2608 #define SWIGTYPE_p_wxNotifyEvent swig_types[142]
2609 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[143]
2610 #define SWIGTYPE_p_wxObject swig_types[144]
2611 #define SWIGTYPE_p_wxPCXHandler swig_types[145]
2612 #define SWIGTYPE_p_wxPNGHandler swig_types[146]
2613 #define SWIGTYPE_p_wxPNMHandler swig_types[147]
2614 #define SWIGTYPE_p_wxPageSetupDialog swig_types[148]
2615 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[149]
2616 #define SWIGTYPE_p_wxPaintEvent swig_types[150]
2617 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[151]
2618 #define SWIGTYPE_p_wxPaneButton swig_types[152]
2619 #define SWIGTYPE_p_wxPaneButtonArray swig_types[153]
2620 #define SWIGTYPE_p_wxPaneInfo swig_types[154]
2621 #define SWIGTYPE_p_wxPaneInfoPtrArray swig_types[155]
2622 #define SWIGTYPE_p_wxPanel swig_types[156]
2623 #define SWIGTYPE_p_wxPaperSize swig_types[157]
2624 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[158]
2625 #define SWIGTYPE_p_wxPoint swig_types[159]
2626 #define SWIGTYPE_p_wxPopupWindow swig_types[160]
2627 #define SWIGTYPE_p_wxPreviewCanvas swig_types[161]
2628 #define SWIGTYPE_p_wxPreviewControlBar swig_types[162]
2629 #define SWIGTYPE_p_wxPreviewFrame swig_types[163]
2630 #define SWIGTYPE_p_wxPrintData swig_types[164]
2631 #define SWIGTYPE_p_wxPrintDialog swig_types[165]
2632 #define SWIGTYPE_p_wxPrintDialogData swig_types[166]
2633 #define SWIGTYPE_p_wxPrintPreview swig_types[167]
2634 #define SWIGTYPE_p_wxPrinter swig_types[168]
2635 #define SWIGTYPE_p_wxProgressDialog swig_types[169]
2636 #define SWIGTYPE_p_wxPyApp swig_types[170]
2637 #define SWIGTYPE_p_wxPyCommandEvent swig_types[171]
2638 #define SWIGTYPE_p_wxPyDockArt swig_types[172]
2639 #define SWIGTYPE_p_wxPyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[174]
2641 #define SWIGTYPE_p_wxPyImageHandler swig_types[175]
2642 #define SWIGTYPE_p_wxPyPanel swig_types[176]
2643 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[177]
2644 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[178]
2645 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[179]
2646 #define SWIGTYPE_p_wxPyPrintPreview swig_types[180]
2647 #define SWIGTYPE_p_wxPyPrintout swig_types[181]
2648 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[182]
2649 #define SWIGTYPE_p_wxPySizer swig_types[183]
2650 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[184]
2651 #define SWIGTYPE_p_wxPyVListBox swig_types[185]
2652 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[186]
2653 #define SWIGTYPE_p_wxPyValidator swig_types[187]
2654 #define SWIGTYPE_p_wxPyWindow swig_types[188]
2655 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[189]
2656 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[190]
2657 #define SWIGTYPE_p_wxRect swig_types[191]
2658 #define SWIGTYPE_p_wxSashEvent swig_types[192]
2659 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[193]
2660 #define SWIGTYPE_p_wxSashWindow swig_types[194]
2661 #define SWIGTYPE_p_wxScrollEvent swig_types[195]
2662 #define SWIGTYPE_p_wxScrollWinEvent swig_types[196]
2663 #define SWIGTYPE_p_wxScrolledWindow swig_types[197]
2664 #define SWIGTYPE_p_wxSetCursorEvent swig_types[198]
2665 #define SWIGTYPE_p_wxShowEvent swig_types[199]
2666 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[200]
2667 #define SWIGTYPE_p_wxSize swig_types[201]
2668 #define SWIGTYPE_p_wxSizeEvent swig_types[202]
2669 #define SWIGTYPE_p_wxSizer swig_types[203]
2670 #define SWIGTYPE_p_wxSizerItem swig_types[204]
2671 #define SWIGTYPE_p_wxSplashScreen swig_types[205]
2672 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[206]
2673 #define SWIGTYPE_p_wxSplitterEvent swig_types[207]
2674 #define SWIGTYPE_p_wxSplitterWindow swig_types[208]
2675 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[209]
2676 #define SWIGTYPE_p_wxStatusBar swig_types[210]
2677 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[211]
2678 #define SWIGTYPE_p_wxString swig_types[212]
2679 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[213]
2680 #define SWIGTYPE_p_wxTIFFHandler swig_types[214]
2681 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[215]
2682 #define SWIGTYPE_p_wxTextEntryDialog swig_types[216]
2683 #define SWIGTYPE_p_wxTipWindow swig_types[217]
2684 #define SWIGTYPE_p_wxTopLevelWindow swig_types[218]
2685 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[219]
2686 #define SWIGTYPE_p_wxValidator swig_types[220]
2687 #define SWIGTYPE_p_wxWindow swig_types[221]
2688 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[222]
2689 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[223]
2690 #define SWIGTYPE_p_wxXPMHandler swig_types[224]
2691 static swig_type_info *swig_types[226];
2692 static swig_module_info swig_module = {swig_types, 225, 0, 0, 0, 0};
2693 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2694 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2695
2696 /* -------- TYPES TABLE (END) -------- */
2697
2698 #if (PY_VERSION_HEX <= 0x02000000)
2699 # if !defined(SWIG_PYTHON_CLASSIC)
2700 # error "This python version requires to use swig with the '-classic' option"
2701 # endif
2702 #endif
2703 #if (PY_VERSION_HEX <= 0x02020000)
2704 # error "This python version requires to use swig with the '-nomodern' option"
2705 #endif
2706 #if (PY_VERSION_HEX <= 0x02020000)
2707 # error "This python version requires to use swig with the '-nomodernargs' option"
2708 #endif
2709 #ifndef METH_O
2710 # error "This python version requires to use swig with the '-nofastunpack' option"
2711 #endif
2712
2713 /*-----------------------------------------------
2714 @(target):= _aui.so
2715 ------------------------------------------------*/
2716 #define SWIG_init init_aui
2717
2718 #define SWIG_name "_aui"
2719
2720 #define SWIGVERSION 0x010329
2721
2722
2723 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2724 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2725
2726
2727 #include <stdexcept>
2728
2729
2730 namespace swig {
2731 class PyObject_ptr {
2732 protected:
2733 PyObject *_obj;
2734
2735 public:
2736 PyObject_ptr() :_obj(0)
2737 {
2738 }
2739
2740 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2741 {
2742 Py_XINCREF(_obj);
2743 }
2744
2745 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2746 {
2747 if (initial_ref) Py_XINCREF(_obj);
2748 }
2749
2750 PyObject_ptr & operator=(const PyObject_ptr& item)
2751 {
2752 Py_XINCREF(item._obj);
2753 Py_XDECREF(_obj);
2754 _obj = item._obj;
2755 return *this;
2756 }
2757
2758 ~PyObject_ptr()
2759 {
2760 Py_XDECREF(_obj);
2761 }
2762
2763 operator PyObject *() const
2764 {
2765 return _obj;
2766 }
2767
2768 PyObject *operator->() const
2769 {
2770 return _obj;
2771 }
2772 };
2773 }
2774
2775
2776 namespace swig {
2777 struct PyObject_var : PyObject_ptr {
2778 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2779
2780 PyObject_var & operator = (PyObject* obj)
2781 {
2782 Py_XDECREF(_obj);
2783 _obj = obj;
2784 return *this;
2785 }
2786 };
2787 }
2788
2789
2790 #include "wx/wxPython/wxPython.h"
2791 #include "wx/wxPython/pyclasses.h"
2792 #include <wx/aui/aui.h>
2793
2794
2795 #define SWIG_From_long PyInt_FromLong
2796
2797
2798 SWIGINTERNINLINE PyObject *
2799 SWIG_From_int (int value)
2800 {
2801 return SWIG_From_long (value);
2802 }
2803
2804
2805 #include <limits.h>
2806 #ifndef LLONG_MIN
2807 # define LLONG_MIN LONG_LONG_MIN
2808 #endif
2809 #ifndef LLONG_MAX
2810 # define LLONG_MAX LONG_LONG_MAX
2811 #endif
2812 #ifndef ULLONG_MAX
2813 # define ULLONG_MAX ULONG_LONG_MAX
2814 #endif
2815
2816
2817 SWIGINTERN int
2818 SWIG_AsVal_long (PyObject* obj, long* val)
2819 {
2820 if (PyNumber_Check(obj)) {
2821 if (val) *val = PyInt_AsLong(obj);
2822 return SWIG_OK;
2823 }
2824 return SWIG_TypeError;
2825 }
2826
2827
2828 SWIGINTERN int
2829 SWIG_AsVal_int (PyObject * obj, int *val)
2830 {
2831 long v;
2832 int res = SWIG_AsVal_long (obj, &v);
2833 if (SWIG_IsOK(res)) {
2834 if ((v < INT_MIN || v > INT_MAX)) {
2835 return SWIG_OverflowError;
2836 } else {
2837 if (val) *val = static_cast< int >(v);
2838 }
2839 }
2840 return res;
2841 }
2842
2843
2844 SWIGINTERN int
2845 SWIG_AsVal_bool (PyObject *obj, bool *val)
2846 {
2847 if (obj == Py_True) {
2848 if (val) *val = true;
2849 return SWIG_OK;
2850 } else if (obj == Py_False) {
2851 if (val) *val = false;
2852 return SWIG_OK;
2853 } else {
2854 long v = 0;
2855 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2856 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2857 return res;
2858 }
2859 }
2860
2861 SWIGINTERN void delete_wxDockInfo(wxDockInfo *self){}
2862 SWIGINTERN wxDockUIPart *new_wxDockUIPart(){}
2863 SWIGINTERN void delete_wxDockUIPart(wxDockUIPart *self){}
2864 SWIGINTERN wxPaneButton *new_wxPaneButton(){}
2865 SWIGINTERN void delete_wxPaneButton(wxPaneButton *self){}
2866
2867 SWIGINTERN int
2868 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2869 {
2870 long v = 0;
2871 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2872 return SWIG_TypeError;
2873 }
2874 else if (val)
2875 *val = (unsigned long)v;
2876 return SWIG_OK;
2877 }
2878
2879
2880 SWIGINTERNINLINE int
2881 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2882 {
2883 unsigned long v;
2884 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2885 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2886 return res;
2887 }
2888
2889
2890 SWIGINTERNINLINE PyObject*
2891 SWIG_From_unsigned_SS_long (unsigned long value)
2892 {
2893 return (value > LONG_MAX) ?
2894 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2895 }
2896
2897
2898 SWIGINTERNINLINE PyObject *
2899 SWIG_From_size_t (size_t value)
2900 {
2901 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2902 }
2903
2904
2905 // A wxDocArt class that knows how to forward virtuals to Python methods
2906 class wxPyDockArt : public wxDefaultDockArt
2907 {
2908 wxPyDockArt() : wxDefaultDockArt() {}
2909
2910 DEC_PYCALLBACK_INT_INT(GetMetric);
2911 DEC_PYCALLBACK_VOID_INTINT(SetMetric);
2912 DEC_PYCALLBACK__INTFONT(SetFont);
2913 DEC_PYCALLBACK_FONT_INT(GetFont);
2914 DEC_PYCALLBACK_COLOUR_INT(GetColour);
2915 DEC_PYCALLBACK__INTCOLOUR(SetColour);
2916
2917 virtual void DrawSash(wxDC& dc,
2918 wxWindow* window,
2919 int orientation,
2920 const wxRect& rect)
2921 {
2922 bool found;
2923 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2924 if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) {
2925 PyObject* odc = wxPyMake_wxObject(&dc, false);
2926 PyObject* owin = wxPyMake_wxObject(window, false);
2927 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2928 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2929 odc, owin, orientation, orect));
2930 Py_DECREF(odc);
2931 Py_DECREF(orect);
2932 }
2933 wxPyEndBlockThreads(blocked);
2934 if (! found)
2935 wxDefaultDockArt::DrawSash(dc, window, orientation, rect);
2936 }
2937
2938 virtual void DrawBackground(wxDC& dc,
2939 wxWindow* window,
2940 int orientation,
2941 const wxRect& rect)
2942 {
2943 bool found;
2944 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2945 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
2946 PyObject* odc = wxPyMake_wxObject(&dc, false);
2947 PyObject* owin = wxPyMake_wxObject(window, false);
2948 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2949 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2950 odc, owin, orientation, orect));
2951 Py_DECREF(odc);
2952 Py_DECREF(orect);
2953 }
2954 wxPyEndBlockThreads(blocked);
2955 if (! found)
2956 wxDefaultDockArt::DrawBackground(dc, window, orientation, rect);
2957 }
2958
2959 virtual void DrawCaption(wxDC& dc,
2960 wxWindow* window,
2961 const wxString& text,
2962 const wxRect& rect,
2963 wxPaneInfo& pane)
2964 {
2965 bool found;
2966 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2967 if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) {
2968 PyObject* odc = wxPyMake_wxObject(&dc, false);
2969 PyObject* owin = wxPyMake_wxObject(window, false);
2970 PyObject* otext = wx2PyString(text);
2971 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2972 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2973 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)",
2974 odc, owin, otext, orect, opane));
2975 Py_DECREF(odc);
2976 Py_DECREF(otext);
2977 Py_DECREF(orect);
2978 Py_DECREF(opane);
2979 }
2980 wxPyEndBlockThreads(blocked);
2981 if (! found)
2982 wxDefaultDockArt::DrawCaption(dc, window, text, rect, pane);
2983 }
2984
2985 virtual void DrawGripper(wxDC& dc,
2986 wxWindow* window,
2987 const wxRect& rect,
2988 wxPaneInfo& pane)
2989 {
2990 bool found;
2991 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2992 if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) {
2993 PyObject* odc = wxPyMake_wxObject(&dc, false);
2994 PyObject* owin = wxPyMake_wxObject(window, false);
2995 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2996 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2997 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane));
2998 Py_DECREF(odc);
2999 Py_DECREF(orect);
3000 Py_DECREF(opane);
3001 }
3002 wxPyEndBlockThreads(blocked);
3003 if (! found)
3004 wxDefaultDockArt::DrawGripper(dc, window, rect, pane);
3005 }
3006
3007 virtual void DrawBorder(wxDC& dc,
3008 wxWindow* window,
3009 const wxRect& rect,
3010 wxPaneInfo& pane)
3011 {
3012 bool found;
3013 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3014 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) {
3015 PyObject* odc = wxPyMake_wxObject(&dc, false);
3016 PyObject* owin = wxPyMake_wxObject(window, false);
3017 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3018 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
3019 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane));
3020 Py_DECREF(odc);
3021 Py_DECREF(orect);
3022 Py_DECREF(opane);
3023 }
3024 wxPyEndBlockThreads(blocked);
3025 if (! found)
3026 wxDefaultDockArt::DrawBorder(dc, window, rect, pane);
3027 }
3028
3029 virtual void DrawPaneButton(wxDC& dc,
3030 wxWindow* window,
3031 int button,
3032 int button_state,
3033 const wxRect& rect,
3034 wxPaneInfo& pane)
3035 {
3036 bool found;
3037 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3038 if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) {
3039 PyObject* odc = wxPyMake_wxObject(&dc, false);
3040 PyObject* owin = wxPyMake_wxObject(window, false);
3041 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3042 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
3043 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)",
3044 odc, owin, button, button_state,
3045 orect, opane));
3046 Py_DECREF(odc);
3047 Py_DECREF(orect);
3048 Py_DECREF(opane);
3049 }
3050 wxPyEndBlockThreads(blocked);
3051 if (! found)
3052 wxDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane);
3053 }
3054
3055 PYPRIVATE;
3056
3057 };
3058
3059 IMP_PYCALLBACK_INT_INT(wxPyDockArt, wxDefaultDockArt, GetMetric);
3060 IMP_PYCALLBACK_VOID_INTINT(wxPyDockArt, wxDefaultDockArt, SetMetric);
3061 IMP_PYCALLBACK__INTFONT(wxPyDockArt, wxDefaultDockArt, SetFont);
3062 IMP_PYCALLBACK_FONT_INT(wxPyDockArt, wxDefaultDockArt, GetFont);
3063 IMP_PYCALLBACK_COLOUR_INT(wxPyDockArt, wxDefaultDockArt, GetColour);
3064 IMP_PYCALLBACK__INTCOLOUR(wxPyDockArt, wxDefaultDockArt, SetColour);
3065
3066
3067 #ifdef __cplusplus
3068 extern "C" {
3069 #endif
3070 SWIGINTERN int NullDockInfo_set(PyObject *_val) {
3071 {
3072 void *argp = 0;
3073 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxDockInfo, 0 | 0);
3074 if (!SWIG_IsOK(res)) {
3075 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'");
3076 }
3077 if (!argp) {
3078 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'");
3079 } else {
3080 wxDockInfo * temp;
3081 temp = reinterpret_cast< wxDockInfo * >(argp);
3082 wxNullDockInfo = *temp;
3083 if (SWIG_IsNewObj(res)) delete temp;
3084 }
3085 }
3086 return 0;
3087 fail:
3088 return 1;
3089 }
3090
3091
3092 SWIGINTERN PyObject *NullDockInfo_get(void) {
3093 PyObject *pyobj = 0;
3094
3095 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullDockInfo), SWIGTYPE_p_wxDockInfo, 0 );
3096 return pyobj;
3097 }
3098
3099
3100 SWIGINTERN int NullPaneInfo_set(PyObject *_val) {
3101 {
3102 void *argp = 0;
3103 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxPaneInfo, 0 | 0);
3104 if (!SWIG_IsOK(res)) {
3105 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'");
3106 }
3107 if (!argp) {
3108 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'");
3109 } else {
3110 wxPaneInfo * temp;
3111 temp = reinterpret_cast< wxPaneInfo * >(argp);
3112 wxNullPaneInfo = *temp;
3113 if (SWIG_IsNewObj(res)) delete temp;
3114 }
3115 }
3116 return 0;
3117 fail:
3118 return 1;
3119 }
3120
3121
3122 SWIGINTERN PyObject *NullPaneInfo_get(void) {
3123 PyObject *pyobj = 0;
3124
3125 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPaneInfo), SWIGTYPE_p_wxPaneInfo, 0 );
3126 return pyobj;
3127 }
3128
3129
3130 SWIGINTERN PyObject *_wrap_new_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3131 PyObject *resultobj = 0;
3132 wxPaneInfo *result = 0 ;
3133
3134 if (!SWIG_Python_UnpackTuple(args,"new_PaneInfo",0,0,0)) SWIG_fail;
3135 {
3136 PyThreadState* __tstate = wxPyBeginAllowThreads();
3137 result = (wxPaneInfo *)new wxPaneInfo();
3138 wxPyEndAllowThreads(__tstate);
3139 if (PyErr_Occurred()) SWIG_fail;
3140 }
3141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_NEW | 0 );
3142 return resultobj;
3143 fail:
3144 return NULL;
3145 }
3146
3147
3148 SWIGINTERN PyObject *_wrap_delete_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3149 PyObject *resultobj = 0;
3150 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3151 void *argp1 = 0 ;
3152 int res1 = 0 ;
3153 PyObject *swig_obj[1] ;
3154
3155 if (!args) SWIG_fail;
3156 swig_obj[0] = args;
3157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
3158 if (!SWIG_IsOK(res1)) {
3159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneInfo" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3160 }
3161 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3162 {
3163 PyThreadState* __tstate = wxPyBeginAllowThreads();
3164 delete arg1;
3165
3166 wxPyEndAllowThreads(__tstate);
3167 if (PyErr_Occurred()) SWIG_fail;
3168 }
3169 resultobj = SWIG_Py_Void();
3170 return resultobj;
3171 fail:
3172 return NULL;
3173 }
3174
3175
3176 SWIGINTERN PyObject *_wrap_PaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3177 PyObject *resultobj = 0;
3178 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3179 wxPaneInfo arg2 ;
3180 void *argp1 = 0 ;
3181 int res1 = 0 ;
3182 void *argp2 ;
3183 int res2 = 0 ;
3184 PyObject * obj0 = 0 ;
3185 PyObject * obj1 = 0 ;
3186 char * kwnames[] = {
3187 (char *) "self",(char *) "source", NULL
3188 };
3189
3190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail;
3191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3192 if (!SWIG_IsOK(res1)) {
3193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3194 }
3195 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3196 {
3197 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
3198 if (!SWIG_IsOK(res2)) {
3199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'");
3200 }
3201 if (!argp2) {
3202 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'");
3203 } else {
3204 wxPaneInfo * temp = reinterpret_cast< wxPaneInfo * >(argp2);
3205 arg2 = *temp;
3206 if (SWIG_IsNewObj(res2)) delete temp;
3207 }
3208 }
3209 {
3210 PyThreadState* __tstate = wxPyBeginAllowThreads();
3211 (arg1)->SafeSet(arg2);
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 resultobj = SWIG_Py_Void();
3216 return resultobj;
3217 fail:
3218 return NULL;
3219 }
3220
3221
3222 SWIGINTERN PyObject *_wrap_PaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3223 PyObject *resultobj = 0;
3224 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3225 bool result;
3226 void *argp1 = 0 ;
3227 int res1 = 0 ;
3228 PyObject *swig_obj[1] ;
3229
3230 if (!args) SWIG_fail;
3231 swig_obj[0] = args;
3232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3233 if (!SWIG_IsOK(res1)) {
3234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsOk" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3235 }
3236 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3237 {
3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
3239 result = (bool)((wxPaneInfo const *)arg1)->IsOk();
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 {
3244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3245 }
3246 return resultobj;
3247 fail:
3248 return NULL;
3249 }
3250
3251
3252 SWIGINTERN PyObject *_wrap_PaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3253 PyObject *resultobj = 0;
3254 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3255 bool result;
3256 void *argp1 = 0 ;
3257 int res1 = 0 ;
3258 PyObject *swig_obj[1] ;
3259
3260 if (!args) SWIG_fail;
3261 swig_obj[0] = args;
3262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3263 if (!SWIG_IsOK(res1)) {
3264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3265 }
3266 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3267 {
3268 PyThreadState* __tstate = wxPyBeginAllowThreads();
3269 result = (bool)((wxPaneInfo const *)arg1)->IsFixed();
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 {
3274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3275 }
3276 return resultobj;
3277 fail:
3278 return NULL;
3279 }
3280
3281
3282 SWIGINTERN PyObject *_wrap_PaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3283 PyObject *resultobj = 0;
3284 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3285 bool result;
3286 void *argp1 = 0 ;
3287 int res1 = 0 ;
3288 PyObject *swig_obj[1] ;
3289
3290 if (!args) SWIG_fail;
3291 swig_obj[0] = args;
3292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3293 if (!SWIG_IsOK(res1)) {
3294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3295 }
3296 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 result = (bool)((wxPaneInfo const *)arg1)->IsResizable();
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 {
3304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3305 }
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 SWIGINTERN PyObject *_wrap_PaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3313 PyObject *resultobj = 0;
3314 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3315 bool result;
3316 void *argp1 = 0 ;
3317 int res1 = 0 ;
3318 PyObject *swig_obj[1] ;
3319
3320 if (!args) SWIG_fail;
3321 swig_obj[0] = args;
3322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3323 if (!SWIG_IsOK(res1)) {
3324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsShown" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3325 }
3326 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 result = (bool)((wxPaneInfo const *)arg1)->IsShown();
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 {
3334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3335 }
3336 return resultobj;
3337 fail:
3338 return NULL;
3339 }
3340
3341
3342 SWIGINTERN PyObject *_wrap_PaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3343 PyObject *resultobj = 0;
3344 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3345 bool result;
3346 void *argp1 = 0 ;
3347 int res1 = 0 ;
3348 PyObject *swig_obj[1] ;
3349
3350 if (!args) SWIG_fail;
3351 swig_obj[0] = args;
3352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3353 if (!SWIG_IsOK(res1)) {
3354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3355 }
3356 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3357 {
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 result = (bool)((wxPaneInfo const *)arg1)->IsFloating();
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 {
3364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3365 }
3366 return resultobj;
3367 fail:
3368 return NULL;
3369 }
3370
3371
3372 SWIGINTERN PyObject *_wrap_PaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3373 PyObject *resultobj = 0;
3374 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3375 bool result;
3376 void *argp1 = 0 ;
3377 int res1 = 0 ;
3378 PyObject *swig_obj[1] ;
3379
3380 if (!args) SWIG_fail;
3381 swig_obj[0] = args;
3382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3383 if (!SWIG_IsOK(res1)) {
3384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3385 }
3386 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 result = (bool)((wxPaneInfo const *)arg1)->IsDocked();
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 {
3394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3395 }
3396 return resultobj;
3397 fail:
3398 return NULL;
3399 }
3400
3401
3402 SWIGINTERN PyObject *_wrap_PaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3403 PyObject *resultobj = 0;
3404 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3405 bool result;
3406 void *argp1 = 0 ;
3407 int res1 = 0 ;
3408 PyObject *swig_obj[1] ;
3409
3410 if (!args) SWIG_fail;
3411 swig_obj[0] = args;
3412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3413 if (!SWIG_IsOK(res1)) {
3414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3415 }
3416 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 result = (bool)((wxPaneInfo const *)arg1)->IsToolbar();
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 {
3424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3425 }
3426 return resultobj;
3427 fail:
3428 return NULL;
3429 }
3430
3431
3432 SWIGINTERN PyObject *_wrap_PaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3433 PyObject *resultobj = 0;
3434 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3435 bool result;
3436 void *argp1 = 0 ;
3437 int res1 = 0 ;
3438 PyObject *swig_obj[1] ;
3439
3440 if (!args) SWIG_fail;
3441 swig_obj[0] = args;
3442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3443 if (!SWIG_IsOK(res1)) {
3444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3445 }
3446 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 result = (bool)((wxPaneInfo const *)arg1)->IsTopDockable();
3450 wxPyEndAllowThreads(__tstate);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
3453 {
3454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3455 }
3456 return resultobj;
3457 fail:
3458 return NULL;
3459 }
3460
3461
3462 SWIGINTERN PyObject *_wrap_PaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3463 PyObject *resultobj = 0;
3464 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3465 bool result;
3466 void *argp1 = 0 ;
3467 int res1 = 0 ;
3468 PyObject *swig_obj[1] ;
3469
3470 if (!args) SWIG_fail;
3471 swig_obj[0] = args;
3472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3473 if (!SWIG_IsOK(res1)) {
3474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3475 }
3476 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3477 {
3478 PyThreadState* __tstate = wxPyBeginAllowThreads();
3479 result = (bool)((wxPaneInfo const *)arg1)->IsBottomDockable();
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 {
3484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3485 }
3486 return resultobj;
3487 fail:
3488 return NULL;
3489 }
3490
3491
3492 SWIGINTERN PyObject *_wrap_PaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3493 PyObject *resultobj = 0;
3494 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3495 bool result;
3496 void *argp1 = 0 ;
3497 int res1 = 0 ;
3498 PyObject *swig_obj[1] ;
3499
3500 if (!args) SWIG_fail;
3501 swig_obj[0] = args;
3502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3503 if (!SWIG_IsOK(res1)) {
3504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3505 }
3506 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3507 {
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 result = (bool)((wxPaneInfo const *)arg1)->IsLeftDockable();
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 {
3514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3515 }
3516 return resultobj;
3517 fail:
3518 return NULL;
3519 }
3520
3521
3522 SWIGINTERN PyObject *_wrap_PaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3523 PyObject *resultobj = 0;
3524 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3525 bool result;
3526 void *argp1 = 0 ;
3527 int res1 = 0 ;
3528 PyObject *swig_obj[1] ;
3529
3530 if (!args) SWIG_fail;
3531 swig_obj[0] = args;
3532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3533 if (!SWIG_IsOK(res1)) {
3534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3535 }
3536 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3537 {
3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
3539 result = (bool)((wxPaneInfo const *)arg1)->IsRightDockable();
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 {
3544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3545 }
3546 return resultobj;
3547 fail:
3548 return NULL;
3549 }
3550
3551
3552 SWIGINTERN PyObject *_wrap_PaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3553 PyObject *resultobj = 0;
3554 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3555 bool result;
3556 void *argp1 = 0 ;
3557 int res1 = 0 ;
3558 PyObject *swig_obj[1] ;
3559
3560 if (!args) SWIG_fail;
3561 swig_obj[0] = args;
3562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3563 if (!SWIG_IsOK(res1)) {
3564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3565 }
3566 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3567 {
3568 PyThreadState* __tstate = wxPyBeginAllowThreads();
3569 result = (bool)((wxPaneInfo const *)arg1)->IsFloatable();
3570 wxPyEndAllowThreads(__tstate);
3571 if (PyErr_Occurred()) SWIG_fail;
3572 }
3573 {
3574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3575 }
3576 return resultobj;
3577 fail:
3578 return NULL;
3579 }
3580
3581
3582 SWIGINTERN PyObject *_wrap_PaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3583 PyObject *resultobj = 0;
3584 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3585 bool result;
3586 void *argp1 = 0 ;
3587 int res1 = 0 ;
3588 PyObject *swig_obj[1] ;
3589
3590 if (!args) SWIG_fail;
3591 swig_obj[0] = args;
3592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3593 if (!SWIG_IsOK(res1)) {
3594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3595 }
3596 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3597 {
3598 PyThreadState* __tstate = wxPyBeginAllowThreads();
3599 result = (bool)((wxPaneInfo const *)arg1)->IsMovable();
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 {
3604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3605 }
3606 return resultobj;
3607 fail:
3608 return NULL;
3609 }
3610
3611
3612 SWIGINTERN PyObject *_wrap_PaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3613 PyObject *resultobj = 0;
3614 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3615 bool result;
3616 void *argp1 = 0 ;
3617 int res1 = 0 ;
3618 PyObject *swig_obj[1] ;
3619
3620 if (!args) SWIG_fail;
3621 swig_obj[0] = args;
3622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3623 if (!SWIG_IsOK(res1)) {
3624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3625 }
3626 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3627 {
3628 PyThreadState* __tstate = wxPyBeginAllowThreads();
3629 result = (bool)((wxPaneInfo const *)arg1)->HasCaption();
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 {
3634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3635 }
3636 return resultobj;
3637 fail:
3638 return NULL;
3639 }
3640
3641
3642 SWIGINTERN PyObject *_wrap_PaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3643 PyObject *resultobj = 0;
3644 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3645 bool result;
3646 void *argp1 = 0 ;
3647 int res1 = 0 ;
3648 PyObject *swig_obj[1] ;
3649
3650 if (!args) SWIG_fail;
3651 swig_obj[0] = args;
3652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3653 if (!SWIG_IsOK(res1)) {
3654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3655 }
3656 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 result = (bool)((wxPaneInfo const *)arg1)->HasGripper();
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 {
3664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3665 }
3666 return resultobj;
3667 fail:
3668 return NULL;
3669 }
3670
3671
3672 SWIGINTERN PyObject *_wrap_PaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3673 PyObject *resultobj = 0;
3674 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3675 bool result;
3676 void *argp1 = 0 ;
3677 int res1 = 0 ;
3678 PyObject *swig_obj[1] ;
3679
3680 if (!args) SWIG_fail;
3681 swig_obj[0] = args;
3682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3683 if (!SWIG_IsOK(res1)) {
3684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3685 }
3686 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 result = (bool)((wxPaneInfo const *)arg1)->HasBorder();
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 {
3694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3695 }
3696 return resultobj;
3697 fail:
3698 return NULL;
3699 }
3700
3701
3702 SWIGINTERN PyObject *_wrap_PaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3703 PyObject *resultobj = 0;
3704 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3705 bool result;
3706 void *argp1 = 0 ;
3707 int res1 = 0 ;
3708 PyObject *swig_obj[1] ;
3709
3710 if (!args) SWIG_fail;
3711 swig_obj[0] = args;
3712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3713 if (!SWIG_IsOK(res1)) {
3714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3715 }
3716 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = (bool)((wxPaneInfo const *)arg1)->HasCloseButton();
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 {
3724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3725 }
3726 return resultobj;
3727 fail:
3728 return NULL;
3729 }
3730
3731
3732 SWIGINTERN PyObject *_wrap_PaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3733 PyObject *resultobj = 0;
3734 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3735 bool result;
3736 void *argp1 = 0 ;
3737 int res1 = 0 ;
3738 PyObject *swig_obj[1] ;
3739
3740 if (!args) SWIG_fail;
3741 swig_obj[0] = args;
3742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3743 if (!SWIG_IsOK(res1)) {
3744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3745 }
3746 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 result = (bool)((wxPaneInfo const *)arg1)->HasMaximizeButton();
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
3753 {
3754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3755 }
3756 return resultobj;
3757 fail:
3758 return NULL;
3759 }
3760
3761
3762 SWIGINTERN PyObject *_wrap_PaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3763 PyObject *resultobj = 0;
3764 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3765 bool result;
3766 void *argp1 = 0 ;
3767 int res1 = 0 ;
3768 PyObject *swig_obj[1] ;
3769
3770 if (!args) SWIG_fail;
3771 swig_obj[0] = args;
3772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3773 if (!SWIG_IsOK(res1)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3775 }
3776 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (bool)((wxPaneInfo const *)arg1)->HasMinimizeButton();
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) SWIG_fail;
3782 }
3783 {
3784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3785 }
3786 return resultobj;
3787 fail:
3788 return NULL;
3789 }
3790
3791
3792 SWIGINTERN PyObject *_wrap_PaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3793 PyObject *resultobj = 0;
3794 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3795 bool result;
3796 void *argp1 = 0 ;
3797 int res1 = 0 ;
3798 PyObject *swig_obj[1] ;
3799
3800 if (!args) SWIG_fail;
3801 swig_obj[0] = args;
3802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3803 if (!SWIG_IsOK(res1)) {
3804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3805 }
3806 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 result = (bool)((wxPaneInfo const *)arg1)->HasPinButton();
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 {
3814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3815 }
3816 return resultobj;
3817 fail:
3818 return NULL;
3819 }
3820
3821
3822 SWIGINTERN PyObject *_wrap_PaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3823 PyObject *resultobj = 0;
3824 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3825 bool result;
3826 void *argp1 = 0 ;
3827 int res1 = 0 ;
3828 PyObject *swig_obj[1] ;
3829
3830 if (!args) SWIG_fail;
3831 swig_obj[0] = args;
3832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3833 if (!SWIG_IsOK(res1)) {
3834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3835 }
3836 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3837 {
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 result = (bool)((wxPaneInfo const *)arg1)->HasGripperTop();
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 {
3844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3845 }
3846 return resultobj;
3847 fail:
3848 return NULL;
3849 }
3850
3851
3852 SWIGINTERN PyObject *_wrap_PaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj = 0;
3854 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3855 wxWindow *arg2 = (wxWindow *) 0 ;
3856 wxPaneInfo *result = 0 ;
3857 void *argp1 = 0 ;
3858 int res1 = 0 ;
3859 void *argp2 = 0 ;
3860 int res2 = 0 ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 char * kwnames[] = {
3864 (char *) "self",(char *) "w", NULL
3865 };
3866
3867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail;
3868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3869 if (!SWIG_IsOK(res1)) {
3870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Window" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3871 }
3872 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3873 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3874 if (!SWIG_IsOK(res2)) {
3875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'");
3876 }
3877 arg2 = reinterpret_cast< wxWindow * >(argp2);
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 {
3881 wxPaneInfo &_result_ref = (arg1)->Window(arg2);
3882 result = (wxPaneInfo *) &_result_ref;
3883 }
3884 wxPyEndAllowThreads(__tstate);
3885 if (PyErr_Occurred()) SWIG_fail;
3886 }
3887 {
3888 resultobj = obj0; Py_INCREF(resultobj);
3889 }
3890 return resultobj;
3891 fail:
3892 return NULL;
3893 }
3894
3895
3896 SWIGINTERN PyObject *_wrap_PaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3897 PyObject *resultobj = 0;
3898 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3899 wxString *arg2 = 0 ;
3900 wxPaneInfo *result = 0 ;
3901 void *argp1 = 0 ;
3902 int res1 = 0 ;
3903 bool temp2 = false ;
3904 PyObject * obj0 = 0 ;
3905 PyObject * obj1 = 0 ;
3906 char * kwnames[] = {
3907 (char *) "self",(char *) "n", NULL
3908 };
3909
3910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail;
3911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3912 if (!SWIG_IsOK(res1)) {
3913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Name" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3914 }
3915 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3916 {
3917 arg2 = wxString_in_helper(obj1);
3918 if (arg2 == NULL) SWIG_fail;
3919 temp2 = true;
3920 }
3921 {
3922 PyThreadState* __tstate = wxPyBeginAllowThreads();
3923 {
3924 wxPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2);
3925 result = (wxPaneInfo *) &_result_ref;
3926 }
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 {
3931 resultobj = obj0; Py_INCREF(resultobj);
3932 }
3933 {
3934 if (temp2)
3935 delete arg2;
3936 }
3937 return resultobj;
3938 fail:
3939 {
3940 if (temp2)
3941 delete arg2;
3942 }
3943 return NULL;
3944 }
3945
3946
3947 SWIGINTERN PyObject *_wrap_PaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj = 0;
3949 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3950 wxString *arg2 = 0 ;
3951 wxPaneInfo *result = 0 ;
3952 void *argp1 = 0 ;
3953 int res1 = 0 ;
3954 bool temp2 = false ;
3955 PyObject * obj0 = 0 ;
3956 PyObject * obj1 = 0 ;
3957 char * kwnames[] = {
3958 (char *) "self",(char *) "c", NULL
3959 };
3960
3961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail;
3962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3963 if (!SWIG_IsOK(res1)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Caption" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3965 }
3966 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3967 {
3968 arg2 = wxString_in_helper(obj1);
3969 if (arg2 == NULL) SWIG_fail;
3970 temp2 = true;
3971 }
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 {
3975 wxPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2);
3976 result = (wxPaneInfo *) &_result_ref;
3977 }
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 {
3982 resultobj = obj0; Py_INCREF(resultobj);
3983 }
3984 {
3985 if (temp2)
3986 delete arg2;
3987 }
3988 return resultobj;
3989 fail:
3990 {
3991 if (temp2)
3992 delete arg2;
3993 }
3994 return NULL;
3995 }
3996
3997
3998 SWIGINTERN PyObject *_wrap_PaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3999 PyObject *resultobj = 0;
4000 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4001 wxPaneInfo *result = 0 ;
4002 void *argp1 = 0 ;
4003 int res1 = 0 ;
4004 PyObject *swig_obj[1] ;
4005
4006 if (!args) SWIG_fail;
4007 swig_obj[0] = args;
4008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4009 if (!SWIG_IsOK(res1)) {
4010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Left" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4011 }
4012 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4013 {
4014 PyThreadState* __tstate = wxPyBeginAllowThreads();
4015 {
4016 wxPaneInfo &_result_ref = (arg1)->Left();
4017 result = (wxPaneInfo *) &_result_ref;
4018 }
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 {
4023 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4024 }
4025 return resultobj;
4026 fail:
4027 return NULL;
4028 }
4029
4030
4031 SWIGINTERN PyObject *_wrap_PaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4032 PyObject *resultobj = 0;
4033 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4034 wxPaneInfo *result = 0 ;
4035 void *argp1 = 0 ;
4036 int res1 = 0 ;
4037 PyObject *swig_obj[1] ;
4038
4039 if (!args) SWIG_fail;
4040 swig_obj[0] = args;
4041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4042 if (!SWIG_IsOK(res1)) {
4043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Right" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4044 }
4045 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 {
4049 wxPaneInfo &_result_ref = (arg1)->Right();
4050 result = (wxPaneInfo *) &_result_ref;
4051 }
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 {
4056 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4057 }
4058 return resultobj;
4059 fail:
4060 return NULL;
4061 }
4062
4063
4064 SWIGINTERN PyObject *_wrap_PaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4065 PyObject *resultobj = 0;
4066 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4067 wxPaneInfo *result = 0 ;
4068 void *argp1 = 0 ;
4069 int res1 = 0 ;
4070 PyObject *swig_obj[1] ;
4071
4072 if (!args) SWIG_fail;
4073 swig_obj[0] = args;
4074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4075 if (!SWIG_IsOK(res1)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Top" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4077 }
4078 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 {
4082 wxPaneInfo &_result_ref = (arg1)->Top();
4083 result = (wxPaneInfo *) &_result_ref;
4084 }
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 {
4089 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4090 }
4091 return resultobj;
4092 fail:
4093 return NULL;
4094 }
4095
4096
4097 SWIGINTERN PyObject *_wrap_PaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4098 PyObject *resultobj = 0;
4099 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4100 wxPaneInfo *result = 0 ;
4101 void *argp1 = 0 ;
4102 int res1 = 0 ;
4103 PyObject *swig_obj[1] ;
4104
4105 if (!args) SWIG_fail;
4106 swig_obj[0] = args;
4107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4108 if (!SWIG_IsOK(res1)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Bottom" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4110 }
4111 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 {
4115 wxPaneInfo &_result_ref = (arg1)->Bottom();
4116 result = (wxPaneInfo *) &_result_ref;
4117 }
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 {
4122 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4123 }
4124 return resultobj;
4125 fail:
4126 return NULL;
4127 }
4128
4129
4130 SWIGINTERN PyObject *_wrap_PaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4131 PyObject *resultobj = 0;
4132 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4133 wxPaneInfo *result = 0 ;
4134 void *argp1 = 0 ;
4135 int res1 = 0 ;
4136 PyObject *swig_obj[1] ;
4137
4138 if (!args) SWIG_fail;
4139 swig_obj[0] = args;
4140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4141 if (!SWIG_IsOK(res1)) {
4142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Center" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4143 }
4144 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 {
4148 wxPaneInfo &_result_ref = (arg1)->Center();
4149 result = (wxPaneInfo *) &_result_ref;
4150 }
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 {
4155 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4156 }
4157 return resultobj;
4158 fail:
4159 return NULL;
4160 }
4161
4162
4163 SWIGINTERN PyObject *_wrap_PaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4164 PyObject *resultobj = 0;
4165 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4166 wxPaneInfo *result = 0 ;
4167 void *argp1 = 0 ;
4168 int res1 = 0 ;
4169 PyObject *swig_obj[1] ;
4170
4171 if (!args) SWIG_fail;
4172 swig_obj[0] = args;
4173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4174 if (!SWIG_IsOK(res1)) {
4175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Centre" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4176 }
4177 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 {
4181 wxPaneInfo &_result_ref = (arg1)->Centre();
4182 result = (wxPaneInfo *) &_result_ref;
4183 }
4184 wxPyEndAllowThreads(__tstate);
4185 if (PyErr_Occurred()) SWIG_fail;
4186 }
4187 {
4188 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4189 }
4190 return resultobj;
4191 fail:
4192 return NULL;
4193 }
4194
4195
4196 SWIGINTERN PyObject *_wrap_PaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj = 0;
4198 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4199 int arg2 ;
4200 wxPaneInfo *result = 0 ;
4201 void *argp1 = 0 ;
4202 int res1 = 0 ;
4203 int val2 ;
4204 int ecode2 = 0 ;
4205 PyObject * obj0 = 0 ;
4206 PyObject * obj1 = 0 ;
4207 char * kwnames[] = {
4208 (char *) "self",(char *) "direction", NULL
4209 };
4210
4211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail;
4212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4213 if (!SWIG_IsOK(res1)) {
4214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Direction" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4215 }
4216 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4217 ecode2 = SWIG_AsVal_int(obj1, &val2);
4218 if (!SWIG_IsOK(ecode2)) {
4219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Direction" "', expected argument " "2"" of type '" "int""'");
4220 }
4221 arg2 = static_cast< int >(val2);
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 {
4225 wxPaneInfo &_result_ref = (arg1)->Direction(arg2);
4226 result = (wxPaneInfo *) &_result_ref;
4227 }
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 {
4232 resultobj = obj0; Py_INCREF(resultobj);
4233 }
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 SWIGINTERN PyObject *_wrap_PaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj = 0;
4242 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4243 int arg2 ;
4244 wxPaneInfo *result = 0 ;
4245 void *argp1 = 0 ;
4246 int res1 = 0 ;
4247 int val2 ;
4248 int ecode2 = 0 ;
4249 PyObject * obj0 = 0 ;
4250 PyObject * obj1 = 0 ;
4251 char * kwnames[] = {
4252 (char *) "self",(char *) "layer", NULL
4253 };
4254
4255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail;
4256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4257 if (!SWIG_IsOK(res1)) {
4258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Layer" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4259 }
4260 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4261 ecode2 = SWIG_AsVal_int(obj1, &val2);
4262 if (!SWIG_IsOK(ecode2)) {
4263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Layer" "', expected argument " "2"" of type '" "int""'");
4264 }
4265 arg2 = static_cast< int >(val2);
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 {
4269 wxPaneInfo &_result_ref = (arg1)->Layer(arg2);
4270 result = (wxPaneInfo *) &_result_ref;
4271 }
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 {
4276 resultobj = obj0; Py_INCREF(resultobj);
4277 }
4278 return resultobj;
4279 fail:
4280 return NULL;
4281 }
4282
4283
4284 SWIGINTERN PyObject *_wrap_PaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4285 PyObject *resultobj = 0;
4286 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4287 int arg2 ;
4288 wxPaneInfo *result = 0 ;
4289 void *argp1 = 0 ;
4290 int res1 = 0 ;
4291 int val2 ;
4292 int ecode2 = 0 ;
4293 PyObject * obj0 = 0 ;
4294 PyObject * obj1 = 0 ;
4295 char * kwnames[] = {
4296 (char *) "self",(char *) "row", NULL
4297 };
4298
4299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail;
4300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4301 if (!SWIG_IsOK(res1)) {
4302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Row" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4303 }
4304 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4305 ecode2 = SWIG_AsVal_int(obj1, &val2);
4306 if (!SWIG_IsOK(ecode2)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Row" "', expected argument " "2"" of type '" "int""'");
4308 }
4309 arg2 = static_cast< int >(val2);
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 {
4313 wxPaneInfo &_result_ref = (arg1)->Row(arg2);
4314 result = (wxPaneInfo *) &_result_ref;
4315 }
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 {
4320 resultobj = obj0; Py_INCREF(resultobj);
4321 }
4322 return resultobj;
4323 fail:
4324 return NULL;
4325 }
4326
4327
4328 SWIGINTERN PyObject *_wrap_PaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4329 PyObject *resultobj = 0;
4330 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4331 int arg2 ;
4332 wxPaneInfo *result = 0 ;
4333 void *argp1 = 0 ;
4334 int res1 = 0 ;
4335 int val2 ;
4336 int ecode2 = 0 ;
4337 PyObject * obj0 = 0 ;
4338 PyObject * obj1 = 0 ;
4339 char * kwnames[] = {
4340 (char *) "self",(char *) "pos", NULL
4341 };
4342
4343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail;
4344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4345 if (!SWIG_IsOK(res1)) {
4346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Position" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4347 }
4348 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4349 ecode2 = SWIG_AsVal_int(obj1, &val2);
4350 if (!SWIG_IsOK(ecode2)) {
4351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Position" "', expected argument " "2"" of type '" "int""'");
4352 }
4353 arg2 = static_cast< int >(val2);
4354 {
4355 PyThreadState* __tstate = wxPyBeginAllowThreads();
4356 {
4357 wxPaneInfo &_result_ref = (arg1)->Position(arg2);
4358 result = (wxPaneInfo *) &_result_ref;
4359 }
4360 wxPyEndAllowThreads(__tstate);
4361 if (PyErr_Occurred()) SWIG_fail;
4362 }
4363 {
4364 resultobj = obj0; Py_INCREF(resultobj);
4365 }
4366 return resultobj;
4367 fail:
4368 return NULL;
4369 }
4370
4371
4372 SWIGINTERN PyObject *_wrap_PaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj = 0;
4374 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4375 wxSize *arg2 = 0 ;
4376 wxPaneInfo *result = 0 ;
4377 void *argp1 = 0 ;
4378 int res1 = 0 ;
4379 wxSize temp2 ;
4380 PyObject * obj0 = 0 ;
4381 PyObject * obj1 = 0 ;
4382 char * kwnames[] = {
4383 (char *) "self",(char *) "size", NULL
4384 };
4385
4386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail;
4387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4388 if (!SWIG_IsOK(res1)) {
4389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BestSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4390 }
4391 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4392 {
4393 arg2 = &temp2;
4394 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4395 }
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 {
4399 wxPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2);
4400 result = (wxPaneInfo *) &_result_ref;
4401 }
4402 wxPyEndAllowThreads(__tstate);
4403 if (PyErr_Occurred()) SWIG_fail;
4404 }
4405 {
4406 resultobj = obj0; Py_INCREF(resultobj);
4407 }
4408 return resultobj;
4409 fail:
4410 return NULL;
4411 }
4412
4413
4414 SWIGINTERN PyObject *_wrap_PaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4415 PyObject *resultobj = 0;
4416 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4417 wxSize *arg2 = 0 ;
4418 wxPaneInfo *result = 0 ;
4419 void *argp1 = 0 ;
4420 int res1 = 0 ;
4421 wxSize temp2 ;
4422 PyObject * obj0 = 0 ;
4423 PyObject * obj1 = 0 ;
4424 char * kwnames[] = {
4425 (char *) "self",(char *) "size", NULL
4426 };
4427
4428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail;
4429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4430 if (!SWIG_IsOK(res1)) {
4431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4432 }
4433 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4434 {
4435 arg2 = &temp2;
4436 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4437 }
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4440 {
4441 wxPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2);
4442 result = (wxPaneInfo *) &_result_ref;
4443 }
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 {
4448 resultobj = obj0; Py_INCREF(resultobj);
4449 }
4450 return resultobj;
4451 fail:
4452 return NULL;
4453 }
4454
4455
4456 SWIGINTERN PyObject *_wrap_PaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4457 PyObject *resultobj = 0;
4458 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4459 wxSize *arg2 = 0 ;
4460 wxPaneInfo *result = 0 ;
4461 void *argp1 = 0 ;
4462 int res1 = 0 ;
4463 wxSize temp2 ;
4464 PyObject * obj0 = 0 ;
4465 PyObject * obj1 = 0 ;
4466 char * kwnames[] = {
4467 (char *) "self",(char *) "size", NULL
4468 };
4469
4470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MaxSize",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_MaxSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4474 }
4475 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4476 {
4477 arg2 = &temp2;
4478 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4479 }
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 {
4483 wxPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2);
4484 result = (wxPaneInfo *) &_result_ref;
4485 }
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 {
4490 resultobj = obj0; Py_INCREF(resultobj);
4491 }
4492 return resultobj;
4493 fail:
4494 return NULL;
4495 }
4496
4497
4498 SWIGINTERN PyObject *_wrap_PaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj = 0;
4500 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4501 wxPoint *arg2 = 0 ;
4502 wxPaneInfo *result = 0 ;
4503 void *argp1 = 0 ;
4504 int res1 = 0 ;
4505 wxPoint temp2 ;
4506 PyObject * obj0 = 0 ;
4507 PyObject * obj1 = 0 ;
4508 char * kwnames[] = {
4509 (char *) "self",(char *) "pos", NULL
4510 };
4511
4512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail;
4513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4514 if (!SWIG_IsOK(res1)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4516 }
4517 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4518 {
4519 arg2 = &temp2;
4520 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4521 }
4522 {
4523 PyThreadState* __tstate = wxPyBeginAllowThreads();
4524 {
4525 wxPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2);
4526 result = (wxPaneInfo *) &_result_ref;
4527 }
4528 wxPyEndAllowThreads(__tstate);
4529 if (PyErr_Occurred()) SWIG_fail;
4530 }
4531 {
4532 resultobj = obj0; Py_INCREF(resultobj);
4533 }
4534 return resultobj;
4535 fail:
4536 return NULL;
4537 }
4538
4539
4540 SWIGINTERN PyObject *_wrap_PaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4541 PyObject *resultobj = 0;
4542 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4543 wxSize *arg2 = 0 ;
4544 wxPaneInfo *result = 0 ;
4545 void *argp1 = 0 ;
4546 int res1 = 0 ;
4547 wxSize temp2 ;
4548 PyObject * obj0 = 0 ;
4549 PyObject * obj1 = 0 ;
4550 char * kwnames[] = {
4551 (char *) "self",(char *) "size", NULL
4552 };
4553
4554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail;
4555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4556 if (!SWIG_IsOK(res1)) {
4557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4558 }
4559 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4560 {
4561 arg2 = &temp2;
4562 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4563 }
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 {
4567 wxPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2);
4568 result = (wxPaneInfo *) &_result_ref;
4569 }
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 {
4574 resultobj = obj0; Py_INCREF(resultobj);
4575 }
4576 return resultobj;
4577 fail:
4578 return NULL;
4579 }
4580
4581
4582 SWIGINTERN PyObject *_wrap_PaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4583 PyObject *resultobj = 0;
4584 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4585 wxPaneInfo *result = 0 ;
4586 void *argp1 = 0 ;
4587 int res1 = 0 ;
4588 PyObject *swig_obj[1] ;
4589
4590 if (!args) SWIG_fail;
4591 swig_obj[0] = args;
4592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4593 if (!SWIG_IsOK(res1)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Fixed" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4595 }
4596 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4597 {
4598 PyThreadState* __tstate = wxPyBeginAllowThreads();
4599 {
4600 wxPaneInfo &_result_ref = (arg1)->Fixed();
4601 result = (wxPaneInfo *) &_result_ref;
4602 }
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 {
4607 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4608 }
4609 return resultobj;
4610 fail:
4611 return NULL;
4612 }
4613
4614
4615 SWIGINTERN PyObject *_wrap_PaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4616 PyObject *resultobj = 0;
4617 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4618 bool arg2 = (bool) true ;
4619 wxPaneInfo *result = 0 ;
4620 void *argp1 = 0 ;
4621 int res1 = 0 ;
4622 bool val2 ;
4623 int ecode2 = 0 ;
4624 PyObject * obj0 = 0 ;
4625 PyObject * obj1 = 0 ;
4626 char * kwnames[] = {
4627 (char *) "self",(char *) "resizable", NULL
4628 };
4629
4630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail;
4631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4632 if (!SWIG_IsOK(res1)) {
4633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Resizable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4634 }
4635 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4636 if (obj1) {
4637 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4638 if (!SWIG_IsOK(ecode2)) {
4639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'");
4640 }
4641 arg2 = static_cast< bool >(val2);
4642 }
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 {
4646 wxPaneInfo &_result_ref = (arg1)->Resizable(arg2);
4647 result = (wxPaneInfo *) &_result_ref;
4648 }
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 {
4653 resultobj = obj0; Py_INCREF(resultobj);
4654 }
4655 return resultobj;
4656 fail:
4657 return NULL;
4658 }
4659
4660
4661 SWIGINTERN PyObject *_wrap_PaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4662 PyObject *resultobj = 0;
4663 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4664 wxPaneInfo *result = 0 ;
4665 void *argp1 = 0 ;
4666 int res1 = 0 ;
4667 PyObject *swig_obj[1] ;
4668
4669 if (!args) SWIG_fail;
4670 swig_obj[0] = args;
4671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4672 if (!SWIG_IsOK(res1)) {
4673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dock" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4674 }
4675 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 {
4679 wxPaneInfo &_result_ref = (arg1)->Dock();
4680 result = (wxPaneInfo *) &_result_ref;
4681 }
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
4685 {
4686 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4687 }
4688 return resultobj;
4689 fail:
4690 return NULL;
4691 }
4692
4693
4694 SWIGINTERN PyObject *_wrap_PaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4695 PyObject *resultobj = 0;
4696 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4697 wxPaneInfo *result = 0 ;
4698 void *argp1 = 0 ;
4699 int res1 = 0 ;
4700 PyObject *swig_obj[1] ;
4701
4702 if (!args) SWIG_fail;
4703 swig_obj[0] = args;
4704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4705 if (!SWIG_IsOK(res1)) {
4706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Float" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4707 }
4708 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 {
4712 wxPaneInfo &_result_ref = (arg1)->Float();
4713 result = (wxPaneInfo *) &_result_ref;
4714 }
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 {
4719 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4720 }
4721 return resultobj;
4722 fail:
4723 return NULL;
4724 }
4725
4726
4727 SWIGINTERN PyObject *_wrap_PaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4728 PyObject *resultobj = 0;
4729 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4730 wxPaneInfo *result = 0 ;
4731 void *argp1 = 0 ;
4732 int res1 = 0 ;
4733 PyObject *swig_obj[1] ;
4734
4735 if (!args) SWIG_fail;
4736 swig_obj[0] = args;
4737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4738 if (!SWIG_IsOK(res1)) {
4739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Hide" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4740 }
4741 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 {
4745 wxPaneInfo &_result_ref = (arg1)->Hide();
4746 result = (wxPaneInfo *) &_result_ref;
4747 }
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 {
4752 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4753 }
4754 return resultobj;
4755 fail:
4756 return NULL;
4757 }
4758
4759
4760 SWIGINTERN PyObject *_wrap_PaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4761 PyObject *resultobj = 0;
4762 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4763 bool arg2 = (bool) true ;
4764 wxPaneInfo *result = 0 ;
4765 void *argp1 = 0 ;
4766 int res1 = 0 ;
4767 bool val2 ;
4768 int ecode2 = 0 ;
4769 PyObject * obj0 = 0 ;
4770 PyObject * obj1 = 0 ;
4771 char * kwnames[] = {
4772 (char *) "self",(char *) "show", NULL
4773 };
4774
4775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail;
4776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4777 if (!SWIG_IsOK(res1)) {
4778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Show" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4779 }
4780 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4781 if (obj1) {
4782 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4783 if (!SWIG_IsOK(ecode2)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Show" "', expected argument " "2"" of type '" "bool""'");
4785 }
4786 arg2 = static_cast< bool >(val2);
4787 }
4788 {
4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
4790 {
4791 wxPaneInfo &_result_ref = (arg1)->Show(arg2);
4792 result = (wxPaneInfo *) &_result_ref;
4793 }
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 {
4798 resultobj = obj0; Py_INCREF(resultobj);
4799 }
4800 return resultobj;
4801 fail:
4802 return NULL;
4803 }
4804
4805
4806 SWIGINTERN PyObject *_wrap_PaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4807 PyObject *resultobj = 0;
4808 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4809 bool arg2 = (bool) true ;
4810 wxPaneInfo *result = 0 ;
4811 void *argp1 = 0 ;
4812 int res1 = 0 ;
4813 bool val2 ;
4814 int ecode2 = 0 ;
4815 PyObject * obj0 = 0 ;
4816 PyObject * obj1 = 0 ;
4817 char * kwnames[] = {
4818 (char *) "self",(char *) "visible", NULL
4819 };
4820
4821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail;
4822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4823 if (!SWIG_IsOK(res1)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4825 }
4826 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4827 if (obj1) {
4828 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4829 if (!SWIG_IsOK(ecode2)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'");
4831 }
4832 arg2 = static_cast< bool >(val2);
4833 }
4834 {
4835 PyThreadState* __tstate = wxPyBeginAllowThreads();
4836 {
4837 wxPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2);
4838 result = (wxPaneInfo *) &_result_ref;
4839 }
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 {
4844 resultobj = obj0; Py_INCREF(resultobj);
4845 }
4846 return resultobj;
4847 fail:
4848 return NULL;
4849 }
4850
4851
4852 SWIGINTERN PyObject *_wrap_PaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj = 0;
4854 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4855 bool arg2 = (bool) true ;
4856 wxPaneInfo *result = 0 ;
4857 void *argp1 = 0 ;
4858 int res1 = 0 ;
4859 bool val2 ;
4860 int ecode2 = 0 ;
4861 PyObject * obj0 = 0 ;
4862 PyObject * obj1 = 0 ;
4863 char * kwnames[] = {
4864 (char *) "self",(char *) "visible", NULL
4865 };
4866
4867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail;
4868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4869 if (!SWIG_IsOK(res1)) {
4870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4871 }
4872 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4873 if (obj1) {
4874 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4875 if (!SWIG_IsOK(ecode2)) {
4876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'");
4877 }
4878 arg2 = static_cast< bool >(val2);
4879 }
4880 {
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 {
4883 wxPaneInfo &_result_ref = (arg1)->PaneBorder(arg2);
4884 result = (wxPaneInfo *) &_result_ref;
4885 }
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 {
4890 resultobj = obj0; Py_INCREF(resultobj);
4891 }
4892 return resultobj;
4893 fail:
4894 return NULL;
4895 }
4896
4897
4898 SWIGINTERN PyObject *_wrap_PaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4899 PyObject *resultobj = 0;
4900 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4901 bool arg2 = (bool) true ;
4902 wxPaneInfo *result = 0 ;
4903 void *argp1 = 0 ;
4904 int res1 = 0 ;
4905 bool val2 ;
4906 int ecode2 = 0 ;
4907 PyObject * obj0 = 0 ;
4908 PyObject * obj1 = 0 ;
4909 char * kwnames[] = {
4910 (char *) "self",(char *) "visible", NULL
4911 };
4912
4913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail;
4914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4915 if (!SWIG_IsOK(res1)) {
4916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Gripper" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4917 }
4918 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4919 if (obj1) {
4920 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4921 if (!SWIG_IsOK(ecode2)) {
4922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'");
4923 }
4924 arg2 = static_cast< bool >(val2);
4925 }
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 {
4929 wxPaneInfo &_result_ref = (arg1)->Gripper(arg2);
4930 result = (wxPaneInfo *) &_result_ref;
4931 }
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 {
4936 resultobj = obj0; Py_INCREF(resultobj);
4937 }
4938 return resultobj;
4939 fail:
4940 return NULL;
4941 }
4942
4943
4944 SWIGINTERN PyObject *_wrap_PaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4945 PyObject *resultobj = 0;
4946 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4947 bool arg2 = (bool) true ;
4948 wxPaneInfo *result = 0 ;
4949 void *argp1 = 0 ;
4950 int res1 = 0 ;
4951 bool val2 ;
4952 int ecode2 = 0 ;
4953 PyObject * obj0 = 0 ;
4954 PyObject * obj1 = 0 ;
4955 char * kwnames[] = {
4956 (char *) "self",(char *) "attop", NULL
4957 };
4958
4959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail;
4960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4961 if (!SWIG_IsOK(res1)) {
4962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4963 }
4964 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4965 if (obj1) {
4966 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4967 if (!SWIG_IsOK(ecode2)) {
4968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'");
4969 }
4970 arg2 = static_cast< bool >(val2);
4971 }
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 {
4975 wxPaneInfo &_result_ref = (arg1)->GripperTop(arg2);
4976 result = (wxPaneInfo *) &_result_ref;
4977 }
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 }
4981 {
4982 resultobj = obj0; Py_INCREF(resultobj);
4983 }
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 SWIGINTERN PyObject *_wrap_PaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj = 0;
4992 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4993 bool arg2 = (bool) true ;
4994 wxPaneInfo *result = 0 ;
4995 void *argp1 = 0 ;
4996 int res1 = 0 ;
4997 bool val2 ;
4998 int ecode2 = 0 ;
4999 PyObject * obj0 = 0 ;
5000 PyObject * obj1 = 0 ;
5001 char * kwnames[] = {
5002 (char *) "self",(char *) "visible", NULL
5003 };
5004
5005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5007 if (!SWIG_IsOK(res1)) {
5008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5009 }
5010 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5011 if (obj1) {
5012 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5013 if (!SWIG_IsOK(ecode2)) {
5014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'");
5015 }
5016 arg2 = static_cast< bool >(val2);
5017 }
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 {
5021 wxPaneInfo &_result_ref = (arg1)->CloseButton(arg2);
5022 result = (wxPaneInfo *) &_result_ref;
5023 }
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 {
5028 resultobj = obj0; Py_INCREF(resultobj);
5029 }
5030 return resultobj;
5031 fail:
5032 return NULL;
5033 }
5034
5035
5036 SWIGINTERN PyObject *_wrap_PaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5037 PyObject *resultobj = 0;
5038 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5039 bool arg2 = (bool) true ;
5040 wxPaneInfo *result = 0 ;
5041 void *argp1 = 0 ;
5042 int res1 = 0 ;
5043 bool val2 ;
5044 int ecode2 = 0 ;
5045 PyObject * obj0 = 0 ;
5046 PyObject * obj1 = 0 ;
5047 char * kwnames[] = {
5048 (char *) "self",(char *) "visible", NULL
5049 };
5050
5051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5053 if (!SWIG_IsOK(res1)) {
5054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5055 }
5056 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5057 if (obj1) {
5058 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5059 if (!SWIG_IsOK(ecode2)) {
5060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'");
5061 }
5062 arg2 = static_cast< bool >(val2);
5063 }
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 {
5067 wxPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2);
5068 result = (wxPaneInfo *) &_result_ref;
5069 }
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 {
5074 resultobj = obj0; Py_INCREF(resultobj);
5075 }
5076 return resultobj;
5077 fail:
5078 return NULL;
5079 }
5080
5081
5082 SWIGINTERN PyObject *_wrap_PaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj = 0;
5084 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5085 bool arg2 = (bool) true ;
5086 wxPaneInfo *result = 0 ;
5087 void *argp1 = 0 ;
5088 int res1 = 0 ;
5089 bool val2 ;
5090 int ecode2 = 0 ;
5091 PyObject * obj0 = 0 ;
5092 PyObject * obj1 = 0 ;
5093 char * kwnames[] = {
5094 (char *) "self",(char *) "visible", NULL
5095 };
5096
5097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5099 if (!SWIG_IsOK(res1)) {
5100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5101 }
5102 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5103 if (obj1) {
5104 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5105 if (!SWIG_IsOK(ecode2)) {
5106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'");
5107 }
5108 arg2 = static_cast< bool >(val2);
5109 }
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 {
5113 wxPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2);
5114 result = (wxPaneInfo *) &_result_ref;
5115 }
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 {
5120 resultobj = obj0; Py_INCREF(resultobj);
5121 }
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 SWIGINTERN PyObject *_wrap_PaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj = 0;
5130 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5131 bool arg2 = (bool) true ;
5132 wxPaneInfo *result = 0 ;
5133 void *argp1 = 0 ;
5134 int res1 = 0 ;
5135 bool val2 ;
5136 int ecode2 = 0 ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char * kwnames[] = {
5140 (char *) "self",(char *) "visible", NULL
5141 };
5142
5143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail;
5144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5145 if (!SWIG_IsOK(res1)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PinButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5147 }
5148 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5149 if (obj1) {
5150 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5151 if (!SWIG_IsOK(ecode2)) {
5152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'");
5153 }
5154 arg2 = static_cast< bool >(val2);
5155 }
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 {
5159 wxPaneInfo &_result_ref = (arg1)->PinButton(arg2);
5160 result = (wxPaneInfo *) &_result_ref;
5161 }
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 {
5166 resultobj = obj0; Py_INCREF(resultobj);
5167 }
5168 return resultobj;
5169 fail:
5170 return NULL;
5171 }
5172
5173
5174 SWIGINTERN PyObject *_wrap_PaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj = 0;
5176 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5177 bool arg2 = (bool) true ;
5178 wxPaneInfo *result = 0 ;
5179 void *argp1 = 0 ;
5180 int res1 = 0 ;
5181 bool val2 ;
5182 int ecode2 = 0 ;
5183 PyObject * obj0 = 0 ;
5184 PyObject * obj1 = 0 ;
5185 char * kwnames[] = {
5186 (char *) "self",(char *) "b", NULL
5187 };
5188
5189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail;
5190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5191 if (!SWIG_IsOK(res1)) {
5192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5193 }
5194 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5195 if (obj1) {
5196 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5197 if (!SWIG_IsOK(ecode2)) {
5198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'");
5199 }
5200 arg2 = static_cast< bool >(val2);
5201 }
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 {
5205 wxPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2);
5206 result = (wxPaneInfo *) &_result_ref;
5207 }
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 {
5212 resultobj = obj0; Py_INCREF(resultobj);
5213 }
5214 return resultobj;
5215 fail:
5216 return NULL;
5217 }
5218
5219
5220 SWIGINTERN PyObject *_wrap_PaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5221 PyObject *resultobj = 0;
5222 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5223 bool arg2 = (bool) true ;
5224 wxPaneInfo *result = 0 ;
5225 void *argp1 = 0 ;
5226 int res1 = 0 ;
5227 bool val2 ;
5228 int ecode2 = 0 ;
5229 PyObject * obj0 = 0 ;
5230 PyObject * obj1 = 0 ;
5231 char * kwnames[] = {
5232 (char *) "self",(char *) "b", NULL
5233 };
5234
5235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5237 if (!SWIG_IsOK(res1)) {
5238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5239 }
5240 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5241 if (obj1) {
5242 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5243 if (!SWIG_IsOK(ecode2)) {
5244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'");
5245 }
5246 arg2 = static_cast< bool >(val2);
5247 }
5248 {
5249 PyThreadState* __tstate = wxPyBeginAllowThreads();
5250 {
5251 wxPaneInfo &_result_ref = (arg1)->TopDockable(arg2);
5252 result = (wxPaneInfo *) &_result_ref;
5253 }
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 {
5258 resultobj = obj0; Py_INCREF(resultobj);
5259 }
5260 return resultobj;
5261 fail:
5262 return NULL;
5263 }
5264
5265
5266 SWIGINTERN PyObject *_wrap_PaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5267 PyObject *resultobj = 0;
5268 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5269 bool arg2 = (bool) true ;
5270 wxPaneInfo *result = 0 ;
5271 void *argp1 = 0 ;
5272 int res1 = 0 ;
5273 bool val2 ;
5274 int ecode2 = 0 ;
5275 PyObject * obj0 = 0 ;
5276 PyObject * obj1 = 0 ;
5277 char * kwnames[] = {
5278 (char *) "self",(char *) "b", NULL
5279 };
5280
5281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5283 if (!SWIG_IsOK(res1)) {
5284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5285 }
5286 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5287 if (obj1) {
5288 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5289 if (!SWIG_IsOK(ecode2)) {
5290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'");
5291 }
5292 arg2 = static_cast< bool >(val2);
5293 }
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 {
5297 wxPaneInfo &_result_ref = (arg1)->BottomDockable(arg2);
5298 result = (wxPaneInfo *) &_result_ref;
5299 }
5300 wxPyEndAllowThreads(__tstate);
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
5303 {
5304 resultobj = obj0; Py_INCREF(resultobj);
5305 }
5306 return resultobj;
5307 fail:
5308 return NULL;
5309 }
5310
5311
5312 SWIGINTERN PyObject *_wrap_PaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5313 PyObject *resultobj = 0;
5314 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5315 bool arg2 = (bool) true ;
5316 wxPaneInfo *result = 0 ;
5317 void *argp1 = 0 ;
5318 int res1 = 0 ;
5319 bool val2 ;
5320 int ecode2 = 0 ;
5321 PyObject * obj0 = 0 ;
5322 PyObject * obj1 = 0 ;
5323 char * kwnames[] = {
5324 (char *) "self",(char *) "b", NULL
5325 };
5326
5327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5329 if (!SWIG_IsOK(res1)) {
5330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5331 }
5332 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5333 if (obj1) {
5334 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5335 if (!SWIG_IsOK(ecode2)) {
5336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'");
5337 }
5338 arg2 = static_cast< bool >(val2);
5339 }
5340 {
5341 PyThreadState* __tstate = wxPyBeginAllowThreads();
5342 {
5343 wxPaneInfo &_result_ref = (arg1)->LeftDockable(arg2);
5344 result = (wxPaneInfo *) &_result_ref;
5345 }
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 {
5350 resultobj = obj0; Py_INCREF(resultobj);
5351 }
5352 return resultobj;
5353 fail:
5354 return NULL;
5355 }
5356
5357
5358 SWIGINTERN PyObject *_wrap_PaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5359 PyObject *resultobj = 0;
5360 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5361 bool arg2 = (bool) true ;
5362 wxPaneInfo *result = 0 ;
5363 void *argp1 = 0 ;
5364 int res1 = 0 ;
5365 bool val2 ;
5366 int ecode2 = 0 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char * kwnames[] = {
5370 (char *) "self",(char *) "b", NULL
5371 };
5372
5373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5375 if (!SWIG_IsOK(res1)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5377 }
5378 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5379 if (obj1) {
5380 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5381 if (!SWIG_IsOK(ecode2)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'");
5383 }
5384 arg2 = static_cast< bool >(val2);
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 {
5389 wxPaneInfo &_result_ref = (arg1)->RightDockable(arg2);
5390 result = (wxPaneInfo *) &_result_ref;
5391 }
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 {
5396 resultobj = obj0; Py_INCREF(resultobj);
5397 }
5398 return resultobj;
5399 fail:
5400 return NULL;
5401 }
5402
5403
5404 SWIGINTERN PyObject *_wrap_PaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj = 0;
5406 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5407 bool arg2 = (bool) true ;
5408 wxPaneInfo *result = 0 ;
5409 void *argp1 = 0 ;
5410 int res1 = 0 ;
5411 bool val2 ;
5412 int ecode2 = 0 ;
5413 PyObject * obj0 = 0 ;
5414 PyObject * obj1 = 0 ;
5415 char * kwnames[] = {
5416 (char *) "self",(char *) "b", NULL
5417 };
5418
5419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail;
5420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5421 if (!SWIG_IsOK(res1)) {
5422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Floatable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5423 }
5424 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5425 if (obj1) {
5426 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5427 if (!SWIG_IsOK(ecode2)) {
5428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'");
5429 }
5430 arg2 = static_cast< bool >(val2);
5431 }
5432 {
5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
5434 {
5435 wxPaneInfo &_result_ref = (arg1)->Floatable(arg2);
5436 result = (wxPaneInfo *) &_result_ref;
5437 }
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 {
5442 resultobj = obj0; Py_INCREF(resultobj);
5443 }
5444 return resultobj;
5445 fail:
5446 return NULL;
5447 }
5448
5449
5450 SWIGINTERN PyObject *_wrap_PaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj = 0;
5452 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5453 bool arg2 = (bool) true ;
5454 wxPaneInfo *result = 0 ;
5455 void *argp1 = 0 ;
5456 int res1 = 0 ;
5457 bool val2 ;
5458 int ecode2 = 0 ;
5459 PyObject * obj0 = 0 ;
5460 PyObject * obj1 = 0 ;
5461 char * kwnames[] = {
5462 (char *) "self",(char *) "b", NULL
5463 };
5464
5465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail;
5466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5467 if (!SWIG_IsOK(res1)) {
5468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Movable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5469 }
5470 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5471 if (obj1) {
5472 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5473 if (!SWIG_IsOK(ecode2)) {
5474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'");
5475 }
5476 arg2 = static_cast< bool >(val2);
5477 }
5478 {
5479 PyThreadState* __tstate = wxPyBeginAllowThreads();
5480 {
5481 wxPaneInfo &_result_ref = (arg1)->Movable(arg2);
5482 result = (wxPaneInfo *) &_result_ref;
5483 }
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) SWIG_fail;
5486 }
5487 {
5488 resultobj = obj0; Py_INCREF(resultobj);
5489 }
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 SWIGINTERN PyObject *_wrap_PaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj = 0;
5498 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5499 bool arg2 = (bool) true ;
5500 wxPaneInfo *result = 0 ;
5501 void *argp1 = 0 ;
5502 int res1 = 0 ;
5503 bool val2 ;
5504 int ecode2 = 0 ;
5505 PyObject * obj0 = 0 ;
5506 PyObject * obj1 = 0 ;
5507 char * kwnames[] = {
5508 (char *) "self",(char *) "b", NULL
5509 };
5510
5511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail;
5512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5513 if (!SWIG_IsOK(res1)) {
5514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5515 }
5516 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5517 if (obj1) {
5518 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5519 if (!SWIG_IsOK(ecode2)) {
5520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'");
5521 }
5522 arg2 = static_cast< bool >(val2);
5523 }
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 {
5527 wxPaneInfo &_result_ref = (arg1)->Dockable(arg2);
5528 result = (wxPaneInfo *) &_result_ref;
5529 }
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 {
5534 resultobj = obj0; Py_INCREF(resultobj);
5535 }
5536 return resultobj;
5537 fail:
5538 return NULL;
5539 }
5540
5541
5542 SWIGINTERN PyObject *_wrap_PaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5543 PyObject *resultobj = 0;
5544 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5545 wxPaneInfo *result = 0 ;
5546 void *argp1 = 0 ;
5547 int res1 = 0 ;
5548 PyObject *swig_obj[1] ;
5549
5550 if (!args) SWIG_fail;
5551 swig_obj[0] = args;
5552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5553 if (!SWIG_IsOK(res1)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5555 }
5556 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 {
5560 wxPaneInfo &_result_ref = (arg1)->DefaultPane();
5561 result = (wxPaneInfo *) &_result_ref;
5562 }
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 {
5567 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5568 }
5569 return resultobj;
5570 fail:
5571 return NULL;
5572 }
5573
5574
5575 SWIGINTERN PyObject *_wrap_PaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5576 PyObject *resultobj = 0;
5577 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5578 wxPaneInfo *result = 0 ;
5579 void *argp1 = 0 ;
5580 int res1 = 0 ;
5581 PyObject *swig_obj[1] ;
5582
5583 if (!args) SWIG_fail;
5584 swig_obj[0] = args;
5585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5586 if (!SWIG_IsOK(res1)) {
5587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5588 }
5589 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 {
5593 wxPaneInfo &_result_ref = (arg1)->CentrePane();
5594 result = (wxPaneInfo *) &_result_ref;
5595 }
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 {
5600 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5601 }
5602 return resultobj;
5603 fail:
5604 return NULL;
5605 }
5606
5607
5608 SWIGINTERN PyObject *_wrap_PaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5609 PyObject *resultobj = 0;
5610 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5611 wxPaneInfo *result = 0 ;
5612 void *argp1 = 0 ;
5613 int res1 = 0 ;
5614 PyObject *swig_obj[1] ;
5615
5616 if (!args) SWIG_fail;
5617 swig_obj[0] = args;
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_CenterPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5621 }
5622 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 {
5626 wxPaneInfo &_result_ref = (arg1)->CenterPane();
5627 result = (wxPaneInfo *) &_result_ref;
5628 }
5629 wxPyEndAllowThreads(__tstate);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 }
5632 {
5633 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5634 }
5635 return resultobj;
5636 fail:
5637 return NULL;
5638 }
5639
5640
5641 SWIGINTERN PyObject *_wrap_PaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5642 PyObject *resultobj = 0;
5643 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5644 wxPaneInfo *result = 0 ;
5645 void *argp1 = 0 ;
5646 int res1 = 0 ;
5647 PyObject *swig_obj[1] ;
5648
5649 if (!args) SWIG_fail;
5650 swig_obj[0] = args;
5651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5652 if (!SWIG_IsOK(res1)) {
5653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5654 }
5655 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5656 {
5657 PyThreadState* __tstate = wxPyBeginAllowThreads();
5658 {
5659 wxPaneInfo &_result_ref = (arg1)->ToolbarPane();
5660 result = (wxPaneInfo *) &_result_ref;
5661 }
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 {
5666 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5667 }
5668 return resultobj;
5669 fail:
5670 return NULL;
5671 }
5672
5673
5674 SWIGINTERN PyObject *_wrap_PaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj = 0;
5676 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5677 int arg2 ;
5678 bool arg3 ;
5679 wxPaneInfo *result = 0 ;
5680 void *argp1 = 0 ;
5681 int res1 = 0 ;
5682 int val2 ;
5683 int ecode2 = 0 ;
5684 bool val3 ;
5685 int ecode3 = 0 ;
5686 PyObject * obj0 = 0 ;
5687 PyObject * obj1 = 0 ;
5688 PyObject * obj2 = 0 ;
5689 char * kwnames[] = {
5690 (char *) "self",(char *) "flag",(char *) "option_state", NULL
5691 };
5692
5693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5695 if (!SWIG_IsOK(res1)) {
5696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5697 }
5698 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5699 ecode2 = SWIG_AsVal_int(obj1, &val2);
5700 if (!SWIG_IsOK(ecode2)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'");
5702 }
5703 arg2 = static_cast< int >(val2);
5704 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5705 if (!SWIG_IsOK(ecode3)) {
5706 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'");
5707 }
5708 arg3 = static_cast< bool >(val3);
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 {
5712 wxPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3);
5713 result = (wxPaneInfo *) &_result_ref;
5714 }
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
5718 {
5719 resultobj = obj0; Py_INCREF(resultobj);
5720 }
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 SWIGINTERN PyObject *_wrap_PaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj = 0;
5729 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5730 int arg2 ;
5731 bool result;
5732 void *argp1 = 0 ;
5733 int res1 = 0 ;
5734 int val2 ;
5735 int ecode2 = 0 ;
5736 PyObject * obj0 = 0 ;
5737 PyObject * obj1 = 0 ;
5738 char * kwnames[] = {
5739 (char *) "self",(char *) "flag", NULL
5740 };
5741
5742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
5743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5744 if (!SWIG_IsOK(res1)) {
5745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
5746 }
5747 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5748 ecode2 = SWIG_AsVal_int(obj1, &val2);
5749 if (!SWIG_IsOK(ecode2)) {
5750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'");
5751 }
5752 arg2 = static_cast< int >(val2);
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 result = (bool)((wxPaneInfo const *)arg1)->HasFlag(arg2);
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 {
5760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5761 }
5762 return resultobj;
5763 fail:
5764 return NULL;
5765 }
5766
5767
5768 SWIGINTERN PyObject *_wrap_PaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5769 PyObject *resultobj = 0;
5770 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5771 wxString *arg2 = (wxString *) 0 ;
5772 void *argp1 = 0 ;
5773 int res1 = 0 ;
5774 bool temp2 = false ;
5775 PyObject *swig_obj[2] ;
5776
5777 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_name_set",2,2,swig_obj)) SWIG_fail;
5778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5779 if (!SWIG_IsOK(res1)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5781 }
5782 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5783 {
5784 arg2 = wxString_in_helper(swig_obj[1]);
5785 if (arg2 == NULL) SWIG_fail;
5786 temp2 = true;
5787 }
5788 if (arg1) (arg1)->name = *arg2;
5789
5790 resultobj = SWIG_Py_Void();
5791 {
5792 if (temp2)
5793 delete arg2;
5794 }
5795 return resultobj;
5796 fail:
5797 {
5798 if (temp2)
5799 delete arg2;
5800 }
5801 return NULL;
5802 }
5803
5804
5805 SWIGINTERN PyObject *_wrap_PaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5806 PyObject *resultobj = 0;
5807 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5808 wxString *result = 0 ;
5809 void *argp1 = 0 ;
5810 int res1 = 0 ;
5811 PyObject *swig_obj[1] ;
5812
5813 if (!args) SWIG_fail;
5814 swig_obj[0] = args;
5815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5816 if (!SWIG_IsOK(res1)) {
5817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5818 }
5819 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5820 result = (wxString *)& ((arg1)->name);
5821 {
5822 #if wxUSE_UNICODE
5823 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5824 #else
5825 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5826 #endif
5827 }
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 SWIGINTERN PyObject *_wrap_PaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5835 PyObject *resultobj = 0;
5836 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5837 wxString *arg2 = (wxString *) 0 ;
5838 void *argp1 = 0 ;
5839 int res1 = 0 ;
5840 bool temp2 = false ;
5841 PyObject *swig_obj[2] ;
5842
5843 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_caption_set",2,2,swig_obj)) SWIG_fail;
5844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5845 if (!SWIG_IsOK(res1)) {
5846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5847 }
5848 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5849 {
5850 arg2 = wxString_in_helper(swig_obj[1]);
5851 if (arg2 == NULL) SWIG_fail;
5852 temp2 = true;
5853 }
5854 if (arg1) (arg1)->caption = *arg2;
5855
5856 resultobj = SWIG_Py_Void();
5857 {
5858 if (temp2)
5859 delete arg2;
5860 }
5861 return resultobj;
5862 fail:
5863 {
5864 if (temp2)
5865 delete arg2;
5866 }
5867 return NULL;
5868 }
5869
5870
5871 SWIGINTERN PyObject *_wrap_PaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5872 PyObject *resultobj = 0;
5873 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5874 wxString *result = 0 ;
5875 void *argp1 = 0 ;
5876 int res1 = 0 ;
5877 PyObject *swig_obj[1] ;
5878
5879 if (!args) SWIG_fail;
5880 swig_obj[0] = args;
5881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5882 if (!SWIG_IsOK(res1)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5884 }
5885 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5886 result = (wxString *)& ((arg1)->caption);
5887 {
5888 #if wxUSE_UNICODE
5889 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5890 #else
5891 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5892 #endif
5893 }
5894 return resultobj;
5895 fail:
5896 return NULL;
5897 }
5898
5899
5900 SWIGINTERN PyObject *_wrap_PaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5901 PyObject *resultobj = 0;
5902 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5903 wxWindow *arg2 = (wxWindow *) 0 ;
5904 void *argp1 = 0 ;
5905 int res1 = 0 ;
5906 void *argp2 = 0 ;
5907 int res2 = 0 ;
5908 PyObject *swig_obj[2] ;
5909
5910 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_window_set",2,2,swig_obj)) SWIG_fail;
5911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5912 if (!SWIG_IsOK(res1)) {
5913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5914 }
5915 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5916 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
5917 if (!SWIG_IsOK(res2)) {
5918 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
5919 }
5920 arg2 = reinterpret_cast< wxWindow * >(argp2);
5921 if (arg1) (arg1)->window = arg2;
5922
5923 resultobj = SWIG_Py_Void();
5924 return resultobj;
5925 fail:
5926 return NULL;
5927 }
5928
5929
5930 SWIGINTERN PyObject *_wrap_PaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5931 PyObject *resultobj = 0;
5932 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5933 wxWindow *result = 0 ;
5934 void *argp1 = 0 ;
5935 int res1 = 0 ;
5936 PyObject *swig_obj[1] ;
5937
5938 if (!args) SWIG_fail;
5939 swig_obj[0] = args;
5940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5941 if (!SWIG_IsOK(res1)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5943 }
5944 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5945 result = (wxWindow *) ((arg1)->window);
5946 {
5947 resultobj = wxPyMake_wxObject(result, 0);
5948 }
5949 return resultobj;
5950 fail:
5951 return NULL;
5952 }
5953
5954
5955 SWIGINTERN PyObject *_wrap_PaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5956 PyObject *resultobj = 0;
5957 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5958 wxFrame *arg2 = (wxFrame *) 0 ;
5959 void *argp1 = 0 ;
5960 int res1 = 0 ;
5961 void *argp2 = 0 ;
5962 int res2 = 0 ;
5963 PyObject *swig_obj[2] ;
5964
5965 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_frame_set",2,2,swig_obj)) SWIG_fail;
5966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5967 if (!SWIG_IsOK(res1)) {
5968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5969 }
5970 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5971 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 );
5972 if (!SWIG_IsOK(res2)) {
5973 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'");
5974 }
5975 arg2 = reinterpret_cast< wxFrame * >(argp2);
5976 if (arg1) (arg1)->frame = arg2;
5977
5978 resultobj = SWIG_Py_Void();
5979 return resultobj;
5980 fail:
5981 return NULL;
5982 }
5983
5984
5985 SWIGINTERN PyObject *_wrap_PaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5986 PyObject *resultobj = 0;
5987 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5988 wxFrame *result = 0 ;
5989 void *argp1 = 0 ;
5990 int res1 = 0 ;
5991 PyObject *swig_obj[1] ;
5992
5993 if (!args) SWIG_fail;
5994 swig_obj[0] = args;
5995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5996 if (!SWIG_IsOK(res1)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5998 }
5999 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6000 result = (wxFrame *) ((arg1)->frame);
6001 {
6002 resultobj = wxPyMake_wxObject(result, 0);
6003 }
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 SWIGINTERN PyObject *_wrap_PaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6011 PyObject *resultobj = 0;
6012 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6013 int arg2 ;
6014 void *argp1 = 0 ;
6015 int res1 = 0 ;
6016 int val2 ;
6017 int ecode2 = 0 ;
6018 PyObject *swig_obj[2] ;
6019
6020 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_state_set",2,2,swig_obj)) SWIG_fail;
6021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6022 if (!SWIG_IsOK(res1)) {
6023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6024 }
6025 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6026 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6027 if (!SWIG_IsOK(ecode2)) {
6028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_state_set" "', expected argument " "2"" of type '" "int""'");
6029 }
6030 arg2 = static_cast< int >(val2);
6031 if (arg1) (arg1)->state = arg2;
6032
6033 resultobj = SWIG_Py_Void();
6034 return resultobj;
6035 fail:
6036 return NULL;
6037 }
6038
6039
6040 SWIGINTERN PyObject *_wrap_PaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6041 PyObject *resultobj = 0;
6042 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6043 int result;
6044 void *argp1 = 0 ;
6045 int res1 = 0 ;
6046 PyObject *swig_obj[1] ;
6047
6048 if (!args) SWIG_fail;
6049 swig_obj[0] = args;
6050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6051 if (!SWIG_IsOK(res1)) {
6052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6053 }
6054 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6055 result = (int) ((arg1)->state);
6056 resultobj = SWIG_From_int(static_cast< int >(result));
6057 return resultobj;
6058 fail:
6059 return NULL;
6060 }
6061
6062
6063 SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6064 PyObject *resultobj = 0;
6065 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6066 int arg2 ;
6067 void *argp1 = 0 ;
6068 int res1 = 0 ;
6069 int val2 ;
6070 int ecode2 = 0 ;
6071 PyObject *swig_obj[2] ;
6072
6073 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
6074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6075 if (!SWIG_IsOK(res1)) {
6076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6077 }
6078 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6079 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6080 if (!SWIG_IsOK(ecode2)) {
6081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
6082 }
6083 arg2 = static_cast< int >(val2);
6084 if (arg1) (arg1)->dock_direction = arg2;
6085
6086 resultobj = SWIG_Py_Void();
6087 return resultobj;
6088 fail:
6089 return NULL;
6090 }
6091
6092
6093 SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6094 PyObject *resultobj = 0;
6095 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6096 int result;
6097 void *argp1 = 0 ;
6098 int res1 = 0 ;
6099 PyObject *swig_obj[1] ;
6100
6101 if (!args) SWIG_fail;
6102 swig_obj[0] = args;
6103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6104 if (!SWIG_IsOK(res1)) {
6105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6106 }
6107 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6108 result = (int) ((arg1)->dock_direction);
6109 resultobj = SWIG_From_int(static_cast< int >(result));
6110 return resultobj;
6111 fail:
6112 return NULL;
6113 }
6114
6115
6116 SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6117 PyObject *resultobj = 0;
6118 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6119 int arg2 ;
6120 void *argp1 = 0 ;
6121 int res1 = 0 ;
6122 int val2 ;
6123 int ecode2 = 0 ;
6124 PyObject *swig_obj[2] ;
6125
6126 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
6127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6128 if (!SWIG_IsOK(res1)) {
6129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6130 }
6131 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6132 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6133 if (!SWIG_IsOK(ecode2)) {
6134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
6135 }
6136 arg2 = static_cast< int >(val2);
6137 if (arg1) (arg1)->dock_layer = arg2;
6138
6139 resultobj = SWIG_Py_Void();
6140 return resultobj;
6141 fail:
6142 return NULL;
6143 }
6144
6145
6146 SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6147 PyObject *resultobj = 0;
6148 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6149 int result;
6150 void *argp1 = 0 ;
6151 int res1 = 0 ;
6152 PyObject *swig_obj[1] ;
6153
6154 if (!args) SWIG_fail;
6155 swig_obj[0] = args;
6156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6157 if (!SWIG_IsOK(res1)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6159 }
6160 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6161 result = (int) ((arg1)->dock_layer);
6162 resultobj = SWIG_From_int(static_cast< int >(result));
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6170 PyObject *resultobj = 0;
6171 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6172 int arg2 ;
6173 void *argp1 = 0 ;
6174 int res1 = 0 ;
6175 int val2 ;
6176 int ecode2 = 0 ;
6177 PyObject *swig_obj[2] ;
6178
6179 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
6180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6181 if (!SWIG_IsOK(res1)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6183 }
6184 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6185 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6186 if (!SWIG_IsOK(ecode2)) {
6187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
6188 }
6189 arg2 = static_cast< int >(val2);
6190 if (arg1) (arg1)->dock_row = arg2;
6191
6192 resultobj = SWIG_Py_Void();
6193 return resultobj;
6194 fail:
6195 return NULL;
6196 }
6197
6198
6199 SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6200 PyObject *resultobj = 0;
6201 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6202 int result;
6203 void *argp1 = 0 ;
6204 int res1 = 0 ;
6205 PyObject *swig_obj[1] ;
6206
6207 if (!args) SWIG_fail;
6208 swig_obj[0] = args;
6209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6210 if (!SWIG_IsOK(res1)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6212 }
6213 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6214 result = (int) ((arg1)->dock_row);
6215 resultobj = SWIG_From_int(static_cast< int >(result));
6216 return resultobj;
6217 fail:
6218 return NULL;
6219 }
6220
6221
6222 SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6223 PyObject *resultobj = 0;
6224 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6225 int arg2 ;
6226 void *argp1 = 0 ;
6227 int res1 = 0 ;
6228 int val2 ;
6229 int ecode2 = 0 ;
6230 PyObject *swig_obj[2] ;
6231
6232 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail;
6233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6234 if (!SWIG_IsOK(res1)) {
6235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6236 }
6237 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6238 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6239 if (!SWIG_IsOK(ecode2)) {
6240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'");
6241 }
6242 arg2 = static_cast< int >(val2);
6243 if (arg1) (arg1)->dock_pos = arg2;
6244
6245 resultobj = SWIG_Py_Void();
6246 return resultobj;
6247 fail:
6248 return NULL;
6249 }
6250
6251
6252 SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6253 PyObject *resultobj = 0;
6254 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6255 int result;
6256 void *argp1 = 0 ;
6257 int res1 = 0 ;
6258 PyObject *swig_obj[1] ;
6259
6260 if (!args) SWIG_fail;
6261 swig_obj[0] = args;
6262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6263 if (!SWIG_IsOK(res1)) {
6264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6265 }
6266 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6267 result = (int) ((arg1)->dock_pos);
6268 resultobj = SWIG_From_int(static_cast< int >(result));
6269 return resultobj;
6270 fail:
6271 return NULL;
6272 }
6273
6274
6275 SWIGINTERN PyObject *_wrap_PaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6276 PyObject *resultobj = 0;
6277 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6278 wxSize *arg2 = (wxSize *) 0 ;
6279 void *argp1 = 0 ;
6280 int res1 = 0 ;
6281 void *argp2 = 0 ;
6282 int res2 = 0 ;
6283 PyObject *swig_obj[2] ;
6284
6285 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail;
6286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6287 if (!SWIG_IsOK(res1)) {
6288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6289 }
6290 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6291 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6292 if (!SWIG_IsOK(res2)) {
6293 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6294 }
6295 arg2 = reinterpret_cast< wxSize * >(argp2);
6296 if (arg1) (arg1)->best_size = *arg2;
6297
6298 resultobj = SWIG_Py_Void();
6299 return resultobj;
6300 fail:
6301 return NULL;
6302 }
6303
6304
6305 SWIGINTERN PyObject *_wrap_PaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6306 PyObject *resultobj = 0;
6307 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6308 wxSize *result = 0 ;
6309 void *argp1 = 0 ;
6310 int res1 = 0 ;
6311 PyObject *swig_obj[1] ;
6312
6313 if (!args) SWIG_fail;
6314 swig_obj[0] = args;
6315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6316 if (!SWIG_IsOK(res1)) {
6317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6318 }
6319 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6320 result = (wxSize *)& ((arg1)->best_size);
6321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6322 return resultobj;
6323 fail:
6324 return NULL;
6325 }
6326
6327
6328 SWIGINTERN PyObject *_wrap_PaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6329 PyObject *resultobj = 0;
6330 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6331 wxSize *arg2 = (wxSize *) 0 ;
6332 void *argp1 = 0 ;
6333 int res1 = 0 ;
6334 void *argp2 = 0 ;
6335 int res2 = 0 ;
6336 PyObject *swig_obj[2] ;
6337
6338 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
6339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6340 if (!SWIG_IsOK(res1)) {
6341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6342 }
6343 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6344 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6345 if (!SWIG_IsOK(res2)) {
6346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6347 }
6348 arg2 = reinterpret_cast< wxSize * >(argp2);
6349 if (arg1) (arg1)->min_size = *arg2;
6350
6351 resultobj = SWIG_Py_Void();
6352 return resultobj;
6353 fail:
6354 return NULL;
6355 }
6356
6357
6358 SWIGINTERN PyObject *_wrap_PaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6359 PyObject *resultobj = 0;
6360 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6361 wxSize *result = 0 ;
6362 void *argp1 = 0 ;
6363 int res1 = 0 ;
6364 PyObject *swig_obj[1] ;
6365
6366 if (!args) SWIG_fail;
6367 swig_obj[0] = args;
6368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6369 if (!SWIG_IsOK(res1)) {
6370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6371 }
6372 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6373 result = (wxSize *)& ((arg1)->min_size);
6374 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6375 return resultobj;
6376 fail:
6377 return NULL;
6378 }
6379
6380
6381 SWIGINTERN PyObject *_wrap_PaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6382 PyObject *resultobj = 0;
6383 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6384 wxSize *arg2 = (wxSize *) 0 ;
6385 void *argp1 = 0 ;
6386 int res1 = 0 ;
6387 void *argp2 = 0 ;
6388 int res2 = 0 ;
6389 PyObject *swig_obj[2] ;
6390
6391 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail;
6392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6393 if (!SWIG_IsOK(res1)) {
6394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6395 }
6396 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6397 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6398 if (!SWIG_IsOK(res2)) {
6399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6400 }
6401 arg2 = reinterpret_cast< wxSize * >(argp2);
6402 if (arg1) (arg1)->max_size = *arg2;
6403
6404 resultobj = SWIG_Py_Void();
6405 return resultobj;
6406 fail:
6407 return NULL;
6408 }
6409
6410
6411 SWIGINTERN PyObject *_wrap_PaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6412 PyObject *resultobj = 0;
6413 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6414 wxSize *result = 0 ;
6415 void *argp1 = 0 ;
6416 int res1 = 0 ;
6417 PyObject *swig_obj[1] ;
6418
6419 if (!args) SWIG_fail;
6420 swig_obj[0] = args;
6421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6422 if (!SWIG_IsOK(res1)) {
6423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6424 }
6425 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6426 result = (wxSize *)& ((arg1)->max_size);
6427 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6428 return resultobj;
6429 fail:
6430 return NULL;
6431 }
6432
6433
6434 SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6435 PyObject *resultobj = 0;
6436 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6437 wxPoint *arg2 = (wxPoint *) 0 ;
6438 void *argp1 = 0 ;
6439 int res1 = 0 ;
6440 void *argp2 = 0 ;
6441 int res2 = 0 ;
6442 PyObject *swig_obj[2] ;
6443
6444 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail;
6445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6446 if (!SWIG_IsOK(res1)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6448 }
6449 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6450 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
6451 if (!SWIG_IsOK(res2)) {
6452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'");
6453 }
6454 arg2 = reinterpret_cast< wxPoint * >(argp2);
6455 if (arg1) (arg1)->floating_pos = *arg2;
6456
6457 resultobj = SWIG_Py_Void();
6458 return resultobj;
6459 fail:
6460 return NULL;
6461 }
6462
6463
6464 SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6465 PyObject *resultobj = 0;
6466 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6467 wxPoint *result = 0 ;
6468 void *argp1 = 0 ;
6469 int res1 = 0 ;
6470 PyObject *swig_obj[1] ;
6471
6472 if (!args) SWIG_fail;
6473 swig_obj[0] = args;
6474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6475 if (!SWIG_IsOK(res1)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6477 }
6478 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6479 result = (wxPoint *)& ((arg1)->floating_pos);
6480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6481 return resultobj;
6482 fail:
6483 return NULL;
6484 }
6485
6486
6487 SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6488 PyObject *resultobj = 0;
6489 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6490 wxSize *arg2 = (wxSize *) 0 ;
6491 void *argp1 = 0 ;
6492 int res1 = 0 ;
6493 void *argp2 = 0 ;
6494 int res2 = 0 ;
6495 PyObject *swig_obj[2] ;
6496
6497 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail;
6498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6499 if (!SWIG_IsOK(res1)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6501 }
6502 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6503 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6504 if (!SWIG_IsOK(res2)) {
6505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6506 }
6507 arg2 = reinterpret_cast< wxSize * >(argp2);
6508 if (arg1) (arg1)->floating_size = *arg2;
6509
6510 resultobj = SWIG_Py_Void();
6511 return resultobj;
6512 fail:
6513 return NULL;
6514 }
6515
6516
6517 SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6518 PyObject *resultobj = 0;
6519 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6520 wxSize *result = 0 ;
6521 void *argp1 = 0 ;
6522 int res1 = 0 ;
6523 PyObject *swig_obj[1] ;
6524
6525 if (!args) SWIG_fail;
6526 swig_obj[0] = args;
6527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6528 if (!SWIG_IsOK(res1)) {
6529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6530 }
6531 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6532 result = (wxSize *)& ((arg1)->floating_size);
6533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6534 return resultobj;
6535 fail:
6536 return NULL;
6537 }
6538
6539
6540 SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6541 PyObject *resultobj = 0;
6542 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6543 int arg2 ;
6544 void *argp1 = 0 ;
6545 int res1 = 0 ;
6546 int val2 ;
6547 int ecode2 = 0 ;
6548 PyObject *swig_obj[2] ;
6549
6550 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail;
6551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6552 if (!SWIG_IsOK(res1)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6554 }
6555 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6556 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6557 if (!SWIG_IsOK(ecode2)) {
6558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'");
6559 }
6560 arg2 = static_cast< int >(val2);
6561 if (arg1) (arg1)->dock_proportion = arg2;
6562
6563 resultobj = SWIG_Py_Void();
6564 return resultobj;
6565 fail:
6566 return NULL;
6567 }
6568
6569
6570 SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6571 PyObject *resultobj = 0;
6572 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6573 int result;
6574 void *argp1 = 0 ;
6575 int res1 = 0 ;
6576 PyObject *swig_obj[1] ;
6577
6578 if (!args) SWIG_fail;
6579 swig_obj[0] = args;
6580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6581 if (!SWIG_IsOK(res1)) {
6582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6583 }
6584 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6585 result = (int) ((arg1)->dock_proportion);
6586 resultobj = SWIG_From_int(static_cast< int >(result));
6587 return resultobj;
6588 fail:
6589 return NULL;
6590 }
6591
6592
6593 SWIGINTERN PyObject *_wrap_PaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6594 PyObject *resultobj = 0;
6595 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6596 wxPaneButtonArray arg2 ;
6597 void *argp1 = 0 ;
6598 int res1 = 0 ;
6599 void *argp2 ;
6600 int res2 = 0 ;
6601 PyObject *swig_obj[2] ;
6602
6603 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail;
6604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6605 if (!SWIG_IsOK(res1)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6607 }
6608 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6609 {
6610 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneButtonArray, 0 | 0);
6611 if (!SWIG_IsOK(res2)) {
6612 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'");
6613 }
6614 if (!argp2) {
6615 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'");
6616 } else {
6617 wxPaneButtonArray * temp = reinterpret_cast< wxPaneButtonArray * >(argp2);
6618 arg2 = *temp;
6619 if (SWIG_IsNewObj(res2)) delete temp;
6620 }
6621 }
6622 if (arg1) (arg1)->buttons = arg2;
6623
6624 resultobj = SWIG_Py_Void();
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 SWIGINTERN PyObject *_wrap_PaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6632 PyObject *resultobj = 0;
6633 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6634 wxPaneButtonArray result;
6635 void *argp1 = 0 ;
6636 int res1 = 0 ;
6637 PyObject *swig_obj[1] ;
6638
6639 if (!args) SWIG_fail;
6640 swig_obj[0] = args;
6641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6642 if (!SWIG_IsOK(res1)) {
6643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6644 }
6645 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6646 result = ((arg1)->buttons);
6647 resultobj = SWIG_NewPointerObj((new wxPaneButtonArray(static_cast< const wxPaneButtonArray& >(result))), SWIGTYPE_p_wxPaneButtonArray, SWIG_POINTER_OWN | 0 );
6648 return resultobj;
6649 fail:
6650 return NULL;
6651 }
6652
6653
6654 SWIGINTERN PyObject *_wrap_PaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6655 PyObject *resultobj = 0;
6656 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6657 wxRect *arg2 = (wxRect *) 0 ;
6658 void *argp1 = 0 ;
6659 int res1 = 0 ;
6660 void *argp2 = 0 ;
6661 int res2 = 0 ;
6662 PyObject *swig_obj[2] ;
6663
6664 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_rect_set",2,2,swig_obj)) SWIG_fail;
6665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6666 if (!SWIG_IsOK(res1)) {
6667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6668 }
6669 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6670 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
6671 if (!SWIG_IsOK(res2)) {
6672 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
6673 }
6674 arg2 = reinterpret_cast< wxRect * >(argp2);
6675 if (arg1) (arg1)->rect = *arg2;
6676
6677 resultobj = SWIG_Py_Void();
6678 return resultobj;
6679 fail:
6680 return NULL;
6681 }
6682
6683
6684 SWIGINTERN PyObject *_wrap_PaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6685 PyObject *resultobj = 0;
6686 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6687 wxRect *result = 0 ;
6688 void *argp1 = 0 ;
6689 int res1 = 0 ;
6690 PyObject *swig_obj[1] ;
6691
6692 if (!args) SWIG_fail;
6693 swig_obj[0] = args;
6694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6695 if (!SWIG_IsOK(res1)) {
6696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6697 }
6698 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6699 result = (wxRect *)& ((arg1)->rect);
6700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
6701 return resultobj;
6702 fail:
6703 return NULL;
6704 }
6705
6706
6707 SWIGINTERN PyObject *PaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6708 PyObject *obj;
6709 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6710 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneInfo, SWIG_NewClientData(obj));
6711 return SWIG_Py_Void();
6712 }
6713
6714 SWIGINTERN PyObject *PaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6715 return SWIG_Python_InitShadowInstance(args);
6716 }
6717
6718 SWIGINTERN PyObject *_wrap_new_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6719 PyObject *resultobj = 0;
6720 wxWindow *arg1 = (wxWindow *) NULL ;
6721 int arg2 = (int) wxAUI_MGR_DEFAULT ;
6722 wxFrameManager *result = 0 ;
6723 void *argp1 = 0 ;
6724 int res1 = 0 ;
6725 int val2 ;
6726 int ecode2 = 0 ;
6727 PyObject * obj0 = 0 ;
6728 PyObject * obj1 = 0 ;
6729 char * kwnames[] = {
6730 (char *) "managed_wnd",(char *) "flags", NULL
6731 };
6732
6733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FrameManager",kwnames,&obj0,&obj1)) SWIG_fail;
6734 if (obj0) {
6735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6736 if (!SWIG_IsOK(res1)) {
6737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxWindow *""'");
6738 }
6739 arg1 = reinterpret_cast< wxWindow * >(argp1);
6740 }
6741 if (obj1) {
6742 ecode2 = SWIG_AsVal_int(obj1, &val2);
6743 if (!SWIG_IsOK(ecode2)) {
6744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FrameManager" "', expected argument " "2"" of type '" "int""'");
6745 }
6746 arg2 = static_cast< int >(val2);
6747 }
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 result = (wxFrameManager *)new wxFrameManager(arg1,arg2);
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManager, SWIG_POINTER_NEW | 0 );
6755 return resultobj;
6756 fail:
6757 return NULL;
6758 }
6759
6760
6761 SWIGINTERN PyObject *_wrap_delete_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6762 PyObject *resultobj = 0;
6763 wxFrameManager *arg1 = (wxFrameManager *) 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, SWIG_POINTER_DISOWN | 0 );
6771 if (!SWIG_IsOK(res1)) {
6772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FrameManager" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6773 }
6774 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 delete arg1;
6778
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 resultobj = SWIG_Py_Void();
6783 return resultobj;
6784 fail:
6785 return NULL;
6786 }
6787
6788
6789 SWIGINTERN PyObject *_wrap_FrameManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6790 PyObject *resultobj = 0;
6791 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6792 void *argp1 = 0 ;
6793 int res1 = 0 ;
6794 PyObject *swig_obj[1] ;
6795
6796 if (!args) SWIG_fail;
6797 swig_obj[0] = args;
6798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6799 if (!SWIG_IsOK(res1)) {
6800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_UnInit" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6801 }
6802 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6803 {
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 (arg1)->UnInit();
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 resultobj = SWIG_Py_Void();
6810 return resultobj;
6811 fail:
6812 return NULL;
6813 }
6814
6815
6816 SWIGINTERN PyObject *_wrap_FrameManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6817 PyObject *resultobj = 0;
6818 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6819 int arg2 ;
6820 void *argp1 = 0 ;
6821 int res1 = 0 ;
6822 int val2 ;
6823 int ecode2 = 0 ;
6824 PyObject * obj0 = 0 ;
6825 PyObject * obj1 = 0 ;
6826 char * kwnames[] = {
6827 (char *) "self",(char *) "flags", NULL
6828 };
6829
6830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
6831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6832 if (!SWIG_IsOK(res1)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetFlags" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6834 }
6835 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6836 ecode2 = SWIG_AsVal_int(obj1, &val2);
6837 if (!SWIG_IsOK(ecode2)) {
6838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManager_SetFlags" "', expected argument " "2"" of type '" "int""'");
6839 }
6840 arg2 = static_cast< int >(val2);
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 (arg1)->SetFlags(arg2);
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 resultobj = SWIG_Py_Void();
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 SWIGINTERN PyObject *_wrap_FrameManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6855 PyObject *resultobj = 0;
6856 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6857 int result;
6858 void *argp1 = 0 ;
6859 int res1 = 0 ;
6860 PyObject *swig_obj[1] ;
6861
6862 if (!args) SWIG_fail;
6863 swig_obj[0] = args;
6864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6865 if (!SWIG_IsOK(res1)) {
6866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetFlags" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6867 }
6868 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 result = (int)((wxFrameManager const *)arg1)->GetFlags();
6872 wxPyEndAllowThreads(__tstate);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 }
6875 resultobj = SWIG_From_int(static_cast< int >(result));
6876 return resultobj;
6877 fail:
6878 return NULL;
6879 }
6880
6881
6882 SWIGINTERN PyObject *_wrap_FrameManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6883 PyObject *resultobj = 0;
6884 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6885 wxWindow *arg2 = (wxWindow *) 0 ;
6886 void *argp1 = 0 ;
6887 int res1 = 0 ;
6888 void *argp2 = 0 ;
6889 int res2 = 0 ;
6890 PyObject * obj0 = 0 ;
6891 PyObject * obj1 = 0 ;
6892 char * kwnames[] = {
6893 (char *) "self",(char *) "managed_wnd", NULL
6894 };
6895
6896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail;
6897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6898 if (!SWIG_IsOK(res1)) {
6899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6900 }
6901 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6902 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6903 if (!SWIG_IsOK(res2)) {
6904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
6905 }
6906 arg2 = reinterpret_cast< wxWindow * >(argp2);
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 (arg1)->SetManagedWindow(arg2);
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 resultobj = SWIG_Py_Void();
6914 return resultobj;
6915 fail:
6916 return NULL;
6917 }
6918
6919
6920 SWIGINTERN PyObject *_wrap_FrameManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6921 PyObject *resultobj = 0;
6922 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6923 wxWindow *result = 0 ;
6924 void *argp1 = 0 ;
6925 int res1 = 0 ;
6926 PyObject *swig_obj[1] ;
6927
6928 if (!args) SWIG_fail;
6929 swig_obj[0] = args;
6930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6931 if (!SWIG_IsOK(res1)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6933 }
6934 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 result = (wxWindow *)((wxFrameManager const *)arg1)->GetManagedWindow();
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 {
6942 resultobj = wxPyMake_wxObject(result, 0);
6943 }
6944 return resultobj;
6945 fail:
6946 return NULL;
6947 }
6948
6949
6950 SWIGINTERN PyObject *_wrap_FrameManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj = 0;
6952 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6953 wxDockArt *arg2 = (wxDockArt *) 0 ;
6954 void *argp1 = 0 ;
6955 int res1 = 0 ;
6956 int res2 = 0 ;
6957 PyObject * obj0 = 0 ;
6958 PyObject * obj1 = 0 ;
6959 char * kwnames[] = {
6960 (char *) "self",(char *) "art_provider", NULL
6961 };
6962
6963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
6964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6965 if (!SWIG_IsOK(res1)) {
6966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6967 }
6968 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6969 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
6970 if (!SWIG_IsOK(res2)) {
6971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetArtProvider" "', expected argument " "2"" of type '" "wxDockArt *""'");
6972 }
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 (arg1)->SetArtProvider(arg2);
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 resultobj = SWIG_Py_Void();
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 SWIGINTERN PyObject *_wrap_FrameManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6987 PyObject *resultobj = 0;
6988 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6989 wxDockArt *result = 0 ;
6990 void *argp1 = 0 ;
6991 int res1 = 0 ;
6992 PyObject *swig_obj[1] ;
6993
6994 if (!args) SWIG_fail;
6995 swig_obj[0] = args;
6996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6997 if (!SWIG_IsOK(res1)) {
6998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6999 }
7000 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7001 {
7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
7003 result = (wxDockArt *)((wxFrameManager const *)arg1)->GetArtProvider();
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockArt, 0 | 0 );
7008 return resultobj;
7009 fail:
7010 return NULL;
7011 }
7012
7013
7014 SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7015 PyObject *resultobj = 0;
7016 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7017 wxWindow *arg2 = (wxWindow *) 0 ;
7018 wxPaneInfo *result = 0 ;
7019 void *argp1 = 0 ;
7020 int res1 = 0 ;
7021 void *argp2 = 0 ;
7022 int res2 = 0 ;
7023 PyObject * obj0 = 0 ;
7024 PyObject * obj1 = 0 ;
7025 char * kwnames[] = {
7026 (char *) "self",(char *) "window", NULL
7027 };
7028
7029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail;
7030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7031 if (!SWIG_IsOK(res1)) {
7032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7033 }
7034 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7035 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7036 if (!SWIG_IsOK(res2)) {
7037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'");
7038 }
7039 arg2 = reinterpret_cast< wxWindow * >(argp2);
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 {
7043 wxPaneInfo &_result_ref = (arg1)->GetPane(arg2);
7044 result = (wxPaneInfo *) &_result_ref;
7045 }
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj = 0;
7058 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7059 wxString *arg2 = 0 ;
7060 wxPaneInfo *result = 0 ;
7061 void *argp1 = 0 ;
7062 int res1 = 0 ;
7063 bool temp2 = false ;
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 char * kwnames[] = {
7067 (char *) "self",(char *) "name", NULL
7068 };
7069
7070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail;
7071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7072 if (!SWIG_IsOK(res1)) {
7073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByName" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7074 }
7075 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7076 {
7077 arg2 = wxString_in_helper(obj1);
7078 if (arg2 == NULL) SWIG_fail;
7079 temp2 = true;
7080 }
7081 {
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 {
7084 wxPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2);
7085 result = (wxPaneInfo *) &_result_ref;
7086 }
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7091 {
7092 if (temp2)
7093 delete arg2;
7094 }
7095 return resultobj;
7096 fail:
7097 {
7098 if (temp2)
7099 delete arg2;
7100 }
7101 return NULL;
7102 }
7103
7104
7105 SWIGINTERN PyObject *_wrap_FrameManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7106 PyObject *resultobj = 0;
7107 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7108 wxPaneInfoArray *result = 0 ;
7109 void *argp1 = 0 ;
7110 int res1 = 0 ;
7111 PyObject *swig_obj[1] ;
7112
7113 if (!args) SWIG_fail;
7114 swig_obj[0] = args;
7115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7116 if (!SWIG_IsOK(res1)) {
7117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetAllPanes" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7118 }
7119 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 {
7123 wxPaneInfoArray &_result_ref = (arg1)->GetAllPanes();
7124 result = (wxPaneInfoArray *) &_result_ref;
7125 }
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
7129 {
7130 resultobj = PyList_New(0);
7131 for (size_t i=0; i < result->GetCount(); i++) {
7132 PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxPaneInfo, 0);
7133 PyList_Append(resultobj, pane_obj);
7134 }
7135 }
7136 return resultobj;
7137 fail:
7138 return NULL;
7139 }
7140
7141
7142 SWIGINTERN PyObject *_wrap_FrameManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj = 0;
7144 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7145 wxWindow *arg2 = (wxWindow *) 0 ;
7146 wxPaneInfo *arg3 = 0 ;
7147 bool result;
7148 void *argp1 = 0 ;
7149 int res1 = 0 ;
7150 void *argp2 = 0 ;
7151 int res2 = 0 ;
7152 void *argp3 = 0 ;
7153 int res3 = 0 ;
7154 PyObject * obj0 = 0 ;
7155 PyObject * obj1 = 0 ;
7156 PyObject * obj2 = 0 ;
7157 char * kwnames[] = {
7158 (char *) "self",(char *) "window",(char *) "pane_info", NULL
7159 };
7160
7161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7163 if (!SWIG_IsOK(res1)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane1" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7165 }
7166 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7168 if (!SWIG_IsOK(res2)) {
7169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'");
7170 }
7171 arg2 = reinterpret_cast< wxWindow * >(argp2);
7172 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7173 if (!SWIG_IsOK(res3)) {
7174 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7175 }
7176 if (!argp3) {
7177 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7178 }
7179 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3);
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 {
7187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7188 }
7189 return resultobj;
7190 fail:
7191 return NULL;
7192 }
7193
7194
7195 SWIGINTERN PyObject *_wrap_FrameManager_AddPaneAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj = 0;
7197 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7198 wxWindow *arg2 = (wxWindow *) 0 ;
7199 wxPaneInfo *arg3 = 0 ;
7200 wxPoint *arg4 = 0 ;
7201 bool result;
7202 void *argp1 = 0 ;
7203 int res1 = 0 ;
7204 void *argp2 = 0 ;
7205 int res2 = 0 ;
7206 void *argp3 = 0 ;
7207 int res3 = 0 ;
7208 wxPoint temp4 ;
7209 PyObject * obj0 = 0 ;
7210 PyObject * obj1 = 0 ;
7211 PyObject * obj2 = 0 ;
7212 PyObject * obj3 = 0 ;
7213 char * kwnames[] = {
7214 (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL
7215 };
7216
7217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_AddPaneAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7219 if (!SWIG_IsOK(res1)) {
7220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7221 }
7222 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7223 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7224 if (!SWIG_IsOK(res2)) {
7225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "2"" of type '" "wxWindow *""'");
7226 }
7227 arg2 = reinterpret_cast< wxWindow * >(argp2);
7228 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7229 if (!SWIG_IsOK(res3)) {
7230 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7231 }
7232 if (!argp3) {
7233 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7234 }
7235 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7236 {
7237 arg4 = &temp4;
7238 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3,(wxPoint const &)*arg4);
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 {
7247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7248 }
7249 return resultobj;
7250 fail:
7251 return NULL;
7252 }
7253
7254
7255 SWIGINTERN PyObject *_wrap_FrameManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj = 0;
7257 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7258 wxWindow *arg2 = (wxWindow *) 0 ;
7259 int arg3 = (int) wxLEFT ;
7260 wxString const &arg4_defvalue = wxEmptyString ;
7261 wxString *arg4 = (wxString *) &arg4_defvalue ;
7262 bool result;
7263 void *argp1 = 0 ;
7264 int res1 = 0 ;
7265 void *argp2 = 0 ;
7266 int res2 = 0 ;
7267 int val3 ;
7268 int ecode3 = 0 ;
7269 bool temp4 = false ;
7270 PyObject * obj0 = 0 ;
7271 PyObject * obj1 = 0 ;
7272 PyObject * obj2 = 0 ;
7273 PyObject * obj3 = 0 ;
7274 char * kwnames[] = {
7275 (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL
7276 };
7277
7278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FrameManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7280 if (!SWIG_IsOK(res1)) {
7281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane2" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7282 }
7283 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7284 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7285 if (!SWIG_IsOK(res2)) {
7286 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'");
7287 }
7288 arg2 = reinterpret_cast< wxWindow * >(argp2);
7289 if (obj2) {
7290 ecode3 = SWIG_AsVal_int(obj2, &val3);
7291 if (!SWIG_IsOK(ecode3)) {
7292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager__AddPane2" "', expected argument " "3"" of type '" "int""'");
7293 }
7294 arg3 = static_cast< int >(val3);
7295 }
7296 if (obj3) {
7297 {
7298 arg4 = wxString_in_helper(obj3);
7299 if (arg4 == NULL) SWIG_fail;
7300 temp4 = true;
7301 }
7302 }
7303 {
7304 PyThreadState* __tstate = wxPyBeginAllowThreads();
7305 result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4);
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 {
7310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7311 }
7312 {
7313 if (temp4)
7314 delete arg4;
7315 }
7316 return resultobj;
7317 fail:
7318 {
7319 if (temp4)
7320 delete arg4;
7321 }
7322 return NULL;
7323 }
7324
7325
7326 SWIGINTERN PyObject *_wrap_FrameManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7327 PyObject *resultobj = 0;
7328 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7329 wxWindow *arg2 = (wxWindow *) 0 ;
7330 wxPaneInfo *arg3 = 0 ;
7331 int arg4 = (int) wxAUI_INSERT_PANE ;
7332 bool result;
7333 void *argp1 = 0 ;
7334 int res1 = 0 ;
7335 void *argp2 = 0 ;
7336 int res2 = 0 ;
7337 void *argp3 = 0 ;
7338 int res3 = 0 ;
7339 int val4 ;
7340 int ecode4 = 0 ;
7341 PyObject * obj0 = 0 ;
7342 PyObject * obj1 = 0 ;
7343 PyObject * obj2 = 0 ;
7344 PyObject * obj3 = 0 ;
7345 char * kwnames[] = {
7346 (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL
7347 };
7348
7349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FrameManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7351 if (!SWIG_IsOK(res1)) {
7352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_InsertPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7353 }
7354 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7355 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7356 if (!SWIG_IsOK(res2)) {
7357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7358 }
7359 arg2 = reinterpret_cast< wxWindow * >(argp2);
7360 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7361 if (!SWIG_IsOK(res3)) {
7362 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7363 }
7364 if (!argp3) {
7365 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7366 }
7367 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7368 if (obj3) {
7369 ecode4 = SWIG_AsVal_int(obj3, &val4);
7370 if (!SWIG_IsOK(ecode4)) {
7371 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrameManager_InsertPane" "', expected argument " "4"" of type '" "int""'");
7372 }
7373 arg4 = static_cast< int >(val4);
7374 }
7375 {
7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
7377 result = (bool)(arg1)->InsertPane(arg2,(wxPaneInfo const &)*arg3,arg4);
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 {
7382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7383 }
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 SWIGINTERN PyObject *_wrap_FrameManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj = 0;
7392 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7393 wxWindow *arg2 = (wxWindow *) 0 ;
7394 bool result;
7395 void *argp1 = 0 ;
7396 int res1 = 0 ;
7397 void *argp2 = 0 ;
7398 int res2 = 0 ;
7399 PyObject * obj0 = 0 ;
7400 PyObject * obj1 = 0 ;
7401 char * kwnames[] = {
7402 (char *) "self",(char *) "window", NULL
7403 };
7404
7405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail;
7406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7407 if (!SWIG_IsOK(res1)) {
7408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DetachPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7409 }
7410 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7411 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7412 if (!SWIG_IsOK(res2)) {
7413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7414 }
7415 arg2 = reinterpret_cast< wxWindow * >(argp2);
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 result = (bool)(arg1)->DetachPane(arg2);
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 {
7423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7424 }
7425 return resultobj;
7426 fail:
7427 return NULL;
7428 }
7429
7430
7431 SWIGINTERN PyObject *_wrap_FrameManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj = 0;
7433 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7434 wxPaneInfo *arg2 = 0 ;
7435 wxString result;
7436 void *argp1 = 0 ;
7437 int res1 = 0 ;
7438 void *argp2 = 0 ;
7439 int res2 = 0 ;
7440 PyObject * obj0 = 0 ;
7441 PyObject * obj1 = 0 ;
7442 char * kwnames[] = {
7443 (char *) "self",(char *) "pane", NULL
7444 };
7445
7446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail;
7447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7448 if (!SWIG_IsOK(res1)) {
7449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7450 }
7451 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7452 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 );
7453 if (!SWIG_IsOK(res2)) {
7454 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'");
7455 }
7456 if (!argp2) {
7457 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'");
7458 }
7459 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 result = (arg1)->SavePaneInfo(*arg2);
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 {
7467 #if wxUSE_UNICODE
7468 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7469 #else
7470 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7471 #endif
7472 }
7473 return resultobj;
7474 fail:
7475 return NULL;
7476 }
7477
7478
7479 SWIGINTERN PyObject *_wrap_FrameManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7480 PyObject *resultobj = 0;
7481 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7482 wxString arg2 ;
7483 wxPaneInfo *arg3 = 0 ;
7484 void *argp1 = 0 ;
7485 int res1 = 0 ;
7486 void *argp3 = 0 ;
7487 int res3 = 0 ;
7488 PyObject * obj0 = 0 ;
7489 PyObject * obj1 = 0 ;
7490 PyObject * obj2 = 0 ;
7491 char * kwnames[] = {
7492 (char *) "self",(char *) "pane_part",(char *) "pane", NULL
7493 };
7494
7495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7497 if (!SWIG_IsOK(res1)) {
7498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7499 }
7500 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7501 {
7502 wxString* sptr = wxString_in_helper(obj1);
7503 if (sptr == NULL) SWIG_fail;
7504 arg2 = *sptr;
7505 delete sptr;
7506 }
7507 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 );
7508 if (!SWIG_IsOK(res3)) {
7509 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'");
7510 }
7511 if (!argp3) {
7512 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'");
7513 }
7514 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 (arg1)->LoadPaneInfo(arg2,*arg3);
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 resultobj = SWIG_Py_Void();
7522 return resultobj;
7523 fail:
7524 return NULL;
7525 }
7526
7527
7528 SWIGINTERN PyObject *_wrap_FrameManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7529 PyObject *resultobj = 0;
7530 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7531 wxString result;
7532 void *argp1 = 0 ;
7533 int res1 = 0 ;
7534 PyObject *swig_obj[1] ;
7535
7536 if (!args) SWIG_fail;
7537 swig_obj[0] = args;
7538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7539 if (!SWIG_IsOK(res1)) {
7540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7541 }
7542 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (arg1)->SavePerspective();
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 {
7550 #if wxUSE_UNICODE
7551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7552 #else
7553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7554 #endif
7555 }
7556 return resultobj;
7557 fail:
7558 return NULL;
7559 }
7560
7561
7562 SWIGINTERN PyObject *_wrap_FrameManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7563 PyObject *resultobj = 0;
7564 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7565 wxString *arg2 = 0 ;
7566 bool arg3 = (bool) true ;
7567 bool result;
7568 void *argp1 = 0 ;
7569 int res1 = 0 ;
7570 bool temp2 = false ;
7571 bool val3 ;
7572 int ecode3 = 0 ;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 PyObject * obj2 = 0 ;
7576 char * kwnames[] = {
7577 (char *) "self",(char *) "perspective",(char *) "update", NULL
7578 };
7579
7580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FrameManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7582 if (!SWIG_IsOK(res1)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7584 }
7585 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7586 {
7587 arg2 = wxString_in_helper(obj1);
7588 if (arg2 == NULL) SWIG_fail;
7589 temp2 = true;
7590 }
7591 if (obj2) {
7592 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7593 if (!SWIG_IsOK(ecode3)) {
7594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'");
7595 }
7596 arg3 = static_cast< bool >(val3);
7597 }
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3);
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 {
7605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7606 }
7607 {
7608 if (temp2)
7609 delete arg2;
7610 }
7611 return resultobj;
7612 fail:
7613 {
7614 if (temp2)
7615 delete arg2;
7616 }
7617 return NULL;
7618 }
7619
7620
7621 SWIGINTERN PyObject *_wrap_FrameManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7622 PyObject *resultobj = 0;
7623 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7624 void *argp1 = 0 ;
7625 int res1 = 0 ;
7626 PyObject *swig_obj[1] ;
7627
7628 if (!args) SWIG_fail;
7629 swig_obj[0] = args;
7630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7631 if (!SWIG_IsOK(res1)) {
7632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_Update" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7633 }
7634 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 (arg1)->Update();
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 resultobj = SWIG_Py_Void();
7642 return resultobj;
7643 fail:
7644 return NULL;
7645 }
7646
7647
7648 SWIGINTERN PyObject *_wrap_FrameManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7649 PyObject *resultobj = 0;
7650 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7651 wxWindow *arg2 = (wxWindow *) 0 ;
7652 wxPoint *arg3 = 0 ;
7653 wxPoint *arg4 = 0 ;
7654 void *argp1 = 0 ;
7655 int res1 = 0 ;
7656 void *argp2 = 0 ;
7657 int res2 = 0 ;
7658 wxPoint temp3 ;
7659 wxPoint temp4 ;
7660 PyObject * obj0 = 0 ;
7661 PyObject * obj1 = 0 ;
7662 PyObject * obj2 = 0 ;
7663 PyObject * obj3 = 0 ;
7664 char * kwnames[] = {
7665 (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL
7666 };
7667
7668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7670 if (!SWIG_IsOK(res1)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DrawHintRect" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7672 }
7673 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7674 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7675 if (!SWIG_IsOK(res2)) {
7676 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'");
7677 }
7678 arg2 = reinterpret_cast< wxWindow * >(argp2);
7679 {
7680 arg3 = &temp3;
7681 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7682 }
7683 {
7684 arg4 = &temp4;
7685 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7686 }
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 resultobj = SWIG_Py_Void();
7694 return resultobj;
7695 fail:
7696 return NULL;
7697 }
7698
7699
7700 SWIGINTERN PyObject *_wrap_FrameManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj = 0;
7702 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7703 wxRect *arg2 = 0 ;
7704 void *argp1 = 0 ;
7705 int res1 = 0 ;
7706 wxRect temp2 ;
7707 PyObject * obj0 = 0 ;
7708 PyObject * obj1 = 0 ;
7709 char * kwnames[] = {
7710 (char *) "self",(char *) "rect", NULL
7711 };
7712
7713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail;
7714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7715 if (!SWIG_IsOK(res1)) {
7716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ShowHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7717 }
7718 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7719 {
7720 arg2 = &temp2;
7721 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7722 }
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 (arg1)->ShowHint((wxRect const &)*arg2);
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 resultobj = SWIG_Py_Void();
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 SWIGINTERN PyObject *_wrap_FrameManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7737 PyObject *resultobj = 0;
7738 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7739 void *argp1 = 0 ;
7740 int res1 = 0 ;
7741 PyObject *swig_obj[1] ;
7742
7743 if (!args) SWIG_fail;
7744 swig_obj[0] = args;
7745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7746 if (!SWIG_IsOK(res1)) {
7747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_HideHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7748 }
7749 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7750 {
7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
7752 (arg1)->HideHint();
7753 wxPyEndAllowThreads(__tstate);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 }
7756 resultobj = SWIG_Py_Void();
7757 return resultobj;
7758 fail:
7759 return NULL;
7760 }
7761
7762
7763 SWIGINTERN PyObject *_wrap_FrameManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7764 PyObject *resultobj = 0;
7765 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7766 wxFrameManagerEvent *arg2 = 0 ;
7767 void *argp1 = 0 ;
7768 int res1 = 0 ;
7769 void *argp2 = 0 ;
7770 int res2 = 0 ;
7771 PyObject * obj0 = 0 ;
7772 PyObject * obj1 = 0 ;
7773 char * kwnames[] = {
7774 (char *) "self",(char *) "evt", NULL
7775 };
7776
7777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail;
7778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7779 if (!SWIG_IsOK(res1)) {
7780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnRender" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7781 }
7782 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7783 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
7784 if (!SWIG_IsOK(res2)) {
7785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7786 }
7787 if (!argp2) {
7788 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7789 }
7790 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 (arg1)->OnRender(*arg2);
7794 wxPyEndAllowThreads(__tstate);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 resultobj = SWIG_Py_Void();
7798 return resultobj;
7799 fail:
7800 return NULL;
7801 }
7802
7803
7804 SWIGINTERN PyObject *_wrap_FrameManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj = 0;
7806 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7807 wxFrameManagerEvent *arg2 = 0 ;
7808 void *argp1 = 0 ;
7809 int res1 = 0 ;
7810 void *argp2 = 0 ;
7811 int res2 = 0 ;
7812 PyObject * obj0 = 0 ;
7813 PyObject * obj1 = 0 ;
7814 char * kwnames[] = {
7815 (char *) "self",(char *) "evt", NULL
7816 };
7817
7818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail;
7819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7820 if (!SWIG_IsOK(res1)) {
7821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnPaneButton" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7822 }
7823 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7824 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
7825 if (!SWIG_IsOK(res2)) {
7826 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7827 }
7828 if (!argp2) {
7829 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7830 }
7831 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 (arg1)->OnPaneButton(*arg2);
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 resultobj = SWIG_Py_Void();
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 SWIGINTERN PyObject *FrameManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7846 PyObject *obj;
7847 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7848 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManager, SWIG_NewClientData(obj));
7849 return SWIG_Py_Void();
7850 }
7851
7852 SWIGINTERN PyObject *FrameManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7853 return SWIG_Python_InitShadowInstance(args);
7854 }
7855
7856 SWIGINTERN PyObject *_wrap_new_FrameManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7857 PyObject *resultobj = 0;
7858 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
7859 wxFrameManagerEvent *result = 0 ;
7860 int val1 ;
7861 int ecode1 = 0 ;
7862 PyObject * obj0 = 0 ;
7863 char * kwnames[] = {
7864 (char *) "type", NULL
7865 };
7866
7867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FrameManagerEvent",kwnames,&obj0)) SWIG_fail;
7868 if (obj0) {
7869 ecode1 = SWIG_AsVal_int(obj0, &val1);
7870 if (!SWIG_IsOK(ecode1)) {
7871 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FrameManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
7872 }
7873 arg1 = static_cast< wxEventType >(val1);
7874 }
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 result = (wxFrameManagerEvent *)new wxFrameManagerEvent(arg1);
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManagerEvent, SWIG_POINTER_NEW | 0 );
7882 return resultobj;
7883 fail:
7884 return NULL;
7885 }
7886
7887
7888 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7889 PyObject *resultobj = 0;
7890 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7891 wxEvent *result = 0 ;
7892 void *argp1 = 0 ;
7893 int res1 = 0 ;
7894 PyObject *swig_obj[1] ;
7895
7896 if (!args) SWIG_fail;
7897 swig_obj[0] = args;
7898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7899 if (!SWIG_IsOK(res1)) {
7900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Clone" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7901 }
7902 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = (wxEvent *)((wxFrameManagerEvent const *)arg1)->Clone();
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
7909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 );
7910 return resultobj;
7911 fail:
7912 return NULL;
7913 }
7914
7915
7916 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7917 PyObject *resultobj = 0;
7918 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7919 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
7920 void *argp1 = 0 ;
7921 int res1 = 0 ;
7922 void *argp2 = 0 ;
7923 int res2 = 0 ;
7924 PyObject * obj0 = 0 ;
7925 PyObject * obj1 = 0 ;
7926 char * kwnames[] = {
7927 (char *) "self",(char *) "p", NULL
7928 };
7929
7930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail;
7931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7932 if (!SWIG_IsOK(res1)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7934 }
7935 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7937 if (!SWIG_IsOK(res2)) {
7938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
7939 }
7940 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 (arg1)->SetPane(arg2);
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 resultobj = SWIG_Py_Void();
7948 return resultobj;
7949 fail:
7950 return NULL;
7951 }
7952
7953
7954 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj = 0;
7956 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7957 int arg2 ;
7958 void *argp1 = 0 ;
7959 int res1 = 0 ;
7960 int val2 ;
7961 int ecode2 = 0 ;
7962 PyObject * obj0 = 0 ;
7963 PyObject * obj1 = 0 ;
7964 char * kwnames[] = {
7965 (char *) "self",(char *) "b", NULL
7966 };
7967
7968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail;
7969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7970 if (!SWIG_IsOK(res1)) {
7971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7972 }
7973 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7974 ecode2 = SWIG_AsVal_int(obj1, &val2);
7975 if (!SWIG_IsOK(ecode2)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'");
7977 }
7978 arg2 = static_cast< int >(val2);
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 (arg1)->SetButton(arg2);
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 resultobj = SWIG_Py_Void();
7986 return resultobj;
7987 fail:
7988 return NULL;
7989 }
7990
7991
7992 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7993 PyObject *resultobj = 0;
7994 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7995 wxDC *arg2 = (wxDC *) 0 ;
7996 void *argp1 = 0 ;
7997 int res1 = 0 ;
7998 void *argp2 = 0 ;
7999 int res2 = 0 ;
8000 PyObject * obj0 = 0 ;
8001 PyObject * obj1 = 0 ;
8002 char * kwnames[] = {
8003 (char *) "self",(char *) "pdc", NULL
8004 };
8005
8006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
8007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8008 if (!SWIG_IsOK(res1)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8010 }
8011 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8012 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
8013 if (!SWIG_IsOK(res2)) {
8014 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
8015 }
8016 arg2 = reinterpret_cast< wxDC * >(argp2);
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 (arg1)->SetDC(arg2);
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 resultobj = SWIG_Py_Void();
8024 return resultobj;
8025 fail:
8026 return NULL;
8027 }
8028
8029
8030 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8031 PyObject *resultobj = 0;
8032 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8033 wxPaneInfo *result = 0 ;
8034 void *argp1 = 0 ;
8035 int res1 = 0 ;
8036 PyObject *swig_obj[1] ;
8037
8038 if (!args) SWIG_fail;
8039 swig_obj[0] = args;
8040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8041 if (!SWIG_IsOK(res1)) {
8042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8043 }
8044 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = (wxPaneInfo *)(arg1)->GetPane();
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) SWIG_fail;
8050 }
8051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8052 return resultobj;
8053 fail:
8054 return NULL;
8055 }
8056
8057
8058 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8059 PyObject *resultobj = 0;
8060 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8061 int result;
8062 void *argp1 = 0 ;
8063 int res1 = 0 ;
8064 PyObject *swig_obj[1] ;
8065
8066 if (!args) SWIG_fail;
8067 swig_obj[0] = args;
8068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8069 if (!SWIG_IsOK(res1)) {
8070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8071 }
8072 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8073 {
8074 PyThreadState* __tstate = wxPyBeginAllowThreads();
8075 result = (int)(arg1)->GetButton();
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 resultobj = SWIG_From_int(static_cast< int >(result));
8080 return resultobj;
8081 fail:
8082 return NULL;
8083 }
8084
8085
8086 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8087 PyObject *resultobj = 0;
8088 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8089 wxDC *result = 0 ;
8090 void *argp1 = 0 ;
8091 int res1 = 0 ;
8092 PyObject *swig_obj[1] ;
8093
8094 if (!args) SWIG_fail;
8095 swig_obj[0] = args;
8096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8097 if (!SWIG_IsOK(res1)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8099 }
8100 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (wxDC *)(arg1)->GetDC();
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 {
8108 resultobj = wxPyMake_wxObject(result, (bool)0);
8109 }
8110 return resultobj;
8111 fail:
8112 return NULL;
8113 }
8114
8115
8116 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8117 PyObject *resultobj = 0;
8118 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8119 bool arg2 = (bool) true ;
8120 void *argp1 = 0 ;
8121 int res1 = 0 ;
8122 bool val2 ;
8123 int ecode2 = 0 ;
8124 PyObject * obj0 = 0 ;
8125 PyObject * obj1 = 0 ;
8126 char * kwnames[] = {
8127 (char *) "self",(char *) "veto", NULL
8128 };
8129
8130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FrameManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail;
8131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8132 if (!SWIG_IsOK(res1)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Veto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8134 }
8135 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8136 if (obj1) {
8137 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8138 if (!SWIG_IsOK(ecode2)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
8140 }
8141 arg2 = static_cast< bool >(val2);
8142 }
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 (arg1)->Veto(arg2);
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 resultobj = SWIG_Py_Void();
8150 return resultobj;
8151 fail:
8152 return NULL;
8153 }
8154
8155
8156 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8157 PyObject *resultobj = 0;
8158 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8159 bool result;
8160 void *argp1 = 0 ;
8161 int res1 = 0 ;
8162 PyObject *swig_obj[1] ;
8163
8164 if (!args) SWIG_fail;
8165 swig_obj[0] = args;
8166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8167 if (!SWIG_IsOK(res1)) {
8168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
8169 }
8170 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (bool)((wxFrameManagerEvent const *)arg1)->GetVeto();
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 {
8178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8179 }
8180 return resultobj;
8181 fail:
8182 return NULL;
8183 }
8184
8185
8186 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8187 PyObject *resultobj = 0;
8188 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8189 bool arg2 ;
8190 void *argp1 = 0 ;
8191 int res1 = 0 ;
8192 bool val2 ;
8193 int ecode2 = 0 ;
8194 PyObject * obj0 = 0 ;
8195 PyObject * obj1 = 0 ;
8196 char * kwnames[] = {
8197 (char *) "self",(char *) "can_veto", NULL
8198 };
8199
8200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail;
8201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8202 if (!SWIG_IsOK(res1)) {
8203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8204 }
8205 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8206 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8207 if (!SWIG_IsOK(ecode2)) {
8208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
8209 }
8210 arg2 = static_cast< bool >(val2);
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 (arg1)->SetCanVeto(arg2);
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 resultobj = SWIG_Py_Void();
8218 return resultobj;
8219 fail:
8220 return NULL;
8221 }
8222
8223
8224 SWIGINTERN PyObject *_wrap_FrameManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8225 PyObject *resultobj = 0;
8226 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8227 bool result;
8228 void *argp1 = 0 ;
8229 int res1 = 0 ;
8230 PyObject *swig_obj[1] ;
8231
8232 if (!args) SWIG_fail;
8233 swig_obj[0] = args;
8234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8235 if (!SWIG_IsOK(res1)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
8237 }
8238 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = (bool)((wxFrameManagerEvent const *)arg1)->CanVeto();
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 {
8246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8247 }
8248 return resultobj;
8249 fail:
8250 return NULL;
8251 }
8252
8253
8254 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8255 PyObject *resultobj = 0;
8256 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8257 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
8258 void *argp1 = 0 ;
8259 int res1 = 0 ;
8260 void *argp2 = 0 ;
8261 int res2 = 0 ;
8262 PyObject *swig_obj[2] ;
8263
8264 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail;
8265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8266 if (!SWIG_IsOK(res1)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8268 }
8269 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8270 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
8271 if (!SWIG_IsOK(res2)) {
8272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
8273 }
8274 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
8275 if (arg1) (arg1)->pane = arg2;
8276
8277 resultobj = SWIG_Py_Void();
8278 return resultobj;
8279 fail:
8280 return NULL;
8281 }
8282
8283
8284 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8285 PyObject *resultobj = 0;
8286 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8287 wxPaneInfo *result = 0 ;
8288 void *argp1 = 0 ;
8289 int res1 = 0 ;
8290 PyObject *swig_obj[1] ;
8291
8292 if (!args) SWIG_fail;
8293 swig_obj[0] = args;
8294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8295 if (!SWIG_IsOK(res1)) {
8296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8297 }
8298 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8299 result = (wxPaneInfo *) ((arg1)->pane);
8300 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8301 return resultobj;
8302 fail:
8303 return NULL;
8304 }
8305
8306
8307 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8308 PyObject *resultobj = 0;
8309 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8310 int arg2 ;
8311 void *argp1 = 0 ;
8312 int res1 = 0 ;
8313 int val2 ;
8314 int ecode2 = 0 ;
8315 PyObject *swig_obj[2] ;
8316
8317 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_button_set",2,2,swig_obj)) SWIG_fail;
8318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8319 if (!SWIG_IsOK(res1)) {
8320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8321 }
8322 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8323 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8324 if (!SWIG_IsOK(ecode2)) {
8325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'");
8326 }
8327 arg2 = static_cast< int >(val2);
8328 if (arg1) (arg1)->button = arg2;
8329
8330 resultobj = SWIG_Py_Void();
8331 return resultobj;
8332 fail:
8333 return NULL;
8334 }
8335
8336
8337 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8338 PyObject *resultobj = 0;
8339 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8340 int result;
8341 void *argp1 = 0 ;
8342 int res1 = 0 ;
8343 PyObject *swig_obj[1] ;
8344
8345 if (!args) SWIG_fail;
8346 swig_obj[0] = args;
8347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8348 if (!SWIG_IsOK(res1)) {
8349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8350 }
8351 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8352 result = (int) ((arg1)->button);
8353 resultobj = SWIG_From_int(static_cast< int >(result));
8354 return resultobj;
8355 fail:
8356 return NULL;
8357 }
8358
8359
8360 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8361 PyObject *resultobj = 0;
8362 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8363 bool arg2 ;
8364 void *argp1 = 0 ;
8365 int res1 = 0 ;
8366 bool val2 ;
8367 int ecode2 = 0 ;
8368 PyObject *swig_obj[2] ;
8369
8370 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail;
8371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8372 if (!SWIG_IsOK(res1)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8374 }
8375 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8376 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8377 if (!SWIG_IsOK(ecode2)) {
8378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8379 }
8380 arg2 = static_cast< bool >(val2);
8381 if (arg1) (arg1)->veto_flag = arg2;
8382
8383 resultobj = SWIG_Py_Void();
8384 return resultobj;
8385 fail:
8386 return NULL;
8387 }
8388
8389
8390 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8391 PyObject *resultobj = 0;
8392 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8393 bool result;
8394 void *argp1 = 0 ;
8395 int res1 = 0 ;
8396 PyObject *swig_obj[1] ;
8397
8398 if (!args) SWIG_fail;
8399 swig_obj[0] = args;
8400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8401 if (!SWIG_IsOK(res1)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8403 }
8404 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8405 result = (bool) ((arg1)->veto_flag);
8406 {
8407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8408 }
8409 return resultobj;
8410 fail:
8411 return NULL;
8412 }
8413
8414
8415 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8416 PyObject *resultobj = 0;
8417 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8418 bool arg2 ;
8419 void *argp1 = 0 ;
8420 int res1 = 0 ;
8421 bool val2 ;
8422 int ecode2 = 0 ;
8423 PyObject *swig_obj[2] ;
8424
8425 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail;
8426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8427 if (!SWIG_IsOK(res1)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8429 }
8430 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8431 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8432 if (!SWIG_IsOK(ecode2)) {
8433 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8434 }
8435 arg2 = static_cast< bool >(val2);
8436 if (arg1) (arg1)->canveto_flag = arg2;
8437
8438 resultobj = SWIG_Py_Void();
8439 return resultobj;
8440 fail:
8441 return NULL;
8442 }
8443
8444
8445 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8446 PyObject *resultobj = 0;
8447 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8448 bool result;
8449 void *argp1 = 0 ;
8450 int res1 = 0 ;
8451 PyObject *swig_obj[1] ;
8452
8453 if (!args) SWIG_fail;
8454 swig_obj[0] = args;
8455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8456 if (!SWIG_IsOK(res1)) {
8457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8458 }
8459 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8460 result = (bool) ((arg1)->canveto_flag);
8461 {
8462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8463 }
8464 return resultobj;
8465 fail:
8466 return NULL;
8467 }
8468
8469
8470 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8471 PyObject *resultobj = 0;
8472 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8473 wxDC *arg2 = (wxDC *) 0 ;
8474 void *argp1 = 0 ;
8475 int res1 = 0 ;
8476 void *argp2 = 0 ;
8477 int res2 = 0 ;
8478 PyObject *swig_obj[2] ;
8479
8480 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail;
8481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8482 if (!SWIG_IsOK(res1)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8484 }
8485 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8486 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 );
8487 if (!SWIG_IsOK(res2)) {
8488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'");
8489 }
8490 arg2 = reinterpret_cast< wxDC * >(argp2);
8491 if (arg1) (arg1)->dc = arg2;
8492
8493 resultobj = SWIG_Py_Void();
8494 return resultobj;
8495 fail:
8496 return NULL;
8497 }
8498
8499
8500 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8501 PyObject *resultobj = 0;
8502 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8503 wxDC *result = 0 ;
8504 void *argp1 = 0 ;
8505 int res1 = 0 ;
8506 PyObject *swig_obj[1] ;
8507
8508 if (!args) SWIG_fail;
8509 swig_obj[0] = args;
8510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8511 if (!SWIG_IsOK(res1)) {
8512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8513 }
8514 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8515 result = (wxDC *) ((arg1)->dc);
8516 {
8517 resultobj = wxPyMake_wxObject(result, (bool)0);
8518 }
8519 return resultobj;
8520 fail:
8521 return NULL;
8522 }
8523
8524
8525 SWIGINTERN PyObject *FrameManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8526 PyObject *obj;
8527 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8528 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManagerEvent, SWIG_NewClientData(obj));
8529 return SWIG_Py_Void();
8530 }
8531
8532 SWIGINTERN PyObject *FrameManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8533 return SWIG_Python_InitShadowInstance(args);
8534 }
8535
8536 SWIGINTERN PyObject *_wrap_new_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8537 PyObject *resultobj = 0;
8538 wxDockInfo *result = 0 ;
8539
8540 if (!SWIG_Python_UnpackTuple(args,"new_DockInfo",0,0,0)) SWIG_fail;
8541 {
8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
8543 result = (wxDockInfo *)new wxDockInfo();
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, SWIG_POINTER_NEW | 0 );
8548 return resultobj;
8549 fail:
8550 return NULL;
8551 }
8552
8553
8554 SWIGINTERN PyObject *_wrap_DockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8555 PyObject *resultobj = 0;
8556 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8557 bool result;
8558 void *argp1 = 0 ;
8559 int res1 = 0 ;
8560 PyObject *swig_obj[1] ;
8561
8562 if (!args) SWIG_fail;
8563 swig_obj[0] = args;
8564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8565 if (!SWIG_IsOK(res1)) {
8566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsOk" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8567 }
8568 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 result = (bool)((wxDockInfo const *)arg1)->IsOk();
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 {
8576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8577 }
8578 return resultobj;
8579 fail:
8580 return NULL;
8581 }
8582
8583
8584 SWIGINTERN PyObject *_wrap_DockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8585 PyObject *resultobj = 0;
8586 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8587 bool result;
8588 void *argp1 = 0 ;
8589 int res1 = 0 ;
8590 PyObject *swig_obj[1] ;
8591
8592 if (!args) SWIG_fail;
8593 swig_obj[0] = args;
8594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8595 if (!SWIG_IsOK(res1)) {
8596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8597 }
8598 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = (bool)((wxDockInfo const *)arg1)->IsHorizontal();
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) SWIG_fail;
8604 }
8605 {
8606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8607 }
8608 return resultobj;
8609 fail:
8610 return NULL;
8611 }
8612
8613
8614 SWIGINTERN PyObject *_wrap_DockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8615 PyObject *resultobj = 0;
8616 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8617 bool result;
8618 void *argp1 = 0 ;
8619 int res1 = 0 ;
8620 PyObject *swig_obj[1] ;
8621
8622 if (!args) SWIG_fail;
8623 swig_obj[0] = args;
8624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8625 if (!SWIG_IsOK(res1)) {
8626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsVertical" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8627 }
8628 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 result = (bool)((wxDockInfo const *)arg1)->IsVertical();
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 {
8636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8637 }
8638 return resultobj;
8639 fail:
8640 return NULL;
8641 }
8642
8643
8644 SWIGINTERN PyObject *_wrap_DockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8645 PyObject *resultobj = 0;
8646 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8647 wxPaneInfoPtrArray arg2 ;
8648 void *argp1 = 0 ;
8649 int res1 = 0 ;
8650 void *argp2 ;
8651 int res2 = 0 ;
8652 PyObject *swig_obj[2] ;
8653
8654 if (!SWIG_Python_UnpackTuple(args,"DockInfo_panes_set",2,2,swig_obj)) SWIG_fail;
8655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8656 if (!SWIG_IsOK(res1)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8658 }
8659 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8660 {
8661 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneInfoPtrArray, 0 | 0);
8662 if (!SWIG_IsOK(res2)) {
8663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8664 }
8665 if (!argp2) {
8666 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8667 } else {
8668 wxPaneInfoPtrArray * temp = reinterpret_cast< wxPaneInfoPtrArray * >(argp2);
8669 arg2 = *temp;
8670 if (SWIG_IsNewObj(res2)) delete temp;
8671 }
8672 }
8673 if (arg1) (arg1)->panes = arg2;
8674
8675 resultobj = SWIG_Py_Void();
8676 return resultobj;
8677 fail:
8678 return NULL;
8679 }
8680
8681
8682 SWIGINTERN PyObject *_wrap_DockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8683 PyObject *resultobj = 0;
8684 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8685 wxPaneInfoPtrArray result;
8686 void *argp1 = 0 ;
8687 int res1 = 0 ;
8688 PyObject *swig_obj[1] ;
8689
8690 if (!args) SWIG_fail;
8691 swig_obj[0] = args;
8692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8693 if (!SWIG_IsOK(res1)) {
8694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8695 }
8696 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8697 result = ((arg1)->panes);
8698 resultobj = SWIG_NewPointerObj((new wxPaneInfoPtrArray(static_cast< const wxPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxPaneInfoPtrArray, SWIG_POINTER_OWN | 0 );
8699 return resultobj;
8700 fail:
8701 return NULL;
8702 }
8703
8704
8705 SWIGINTERN PyObject *_wrap_DockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8706 PyObject *resultobj = 0;
8707 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8708 wxRect *arg2 = (wxRect *) 0 ;
8709 void *argp1 = 0 ;
8710 int res1 = 0 ;
8711 void *argp2 = 0 ;
8712 int res2 = 0 ;
8713 PyObject *swig_obj[2] ;
8714
8715 if (!SWIG_Python_UnpackTuple(args,"DockInfo_rect_set",2,2,swig_obj)) SWIG_fail;
8716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8717 if (!SWIG_IsOK(res1)) {
8718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8719 }
8720 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8721 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
8722 if (!SWIG_IsOK(res2)) {
8723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
8724 }
8725 arg2 = reinterpret_cast< wxRect * >(argp2);
8726 if (arg1) (arg1)->rect = *arg2;
8727
8728 resultobj = SWIG_Py_Void();
8729 return resultobj;
8730 fail:
8731 return NULL;
8732 }
8733
8734
8735 SWIGINTERN PyObject *_wrap_DockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8736 PyObject *resultobj = 0;
8737 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8738 wxRect *result = 0 ;
8739 void *argp1 = 0 ;
8740 int res1 = 0 ;
8741 PyObject *swig_obj[1] ;
8742
8743 if (!args) SWIG_fail;
8744 swig_obj[0] = args;
8745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8746 if (!SWIG_IsOK(res1)) {
8747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8748 }
8749 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8750 result = (wxRect *)& ((arg1)->rect);
8751 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
8752 return resultobj;
8753 fail:
8754 return NULL;
8755 }
8756
8757
8758 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8759 PyObject *resultobj = 0;
8760 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8761 int arg2 ;
8762 void *argp1 = 0 ;
8763 int res1 = 0 ;
8764 int val2 ;
8765 int ecode2 = 0 ;
8766 PyObject *swig_obj[2] ;
8767
8768 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
8769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8770 if (!SWIG_IsOK(res1)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8772 }
8773 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8774 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8775 if (!SWIG_IsOK(ecode2)) {
8776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
8777 }
8778 arg2 = static_cast< int >(val2);
8779 if (arg1) (arg1)->dock_direction = arg2;
8780
8781 resultobj = SWIG_Py_Void();
8782 return resultobj;
8783 fail:
8784 return NULL;
8785 }
8786
8787
8788 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8789 PyObject *resultobj = 0;
8790 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8791 int result;
8792 void *argp1 = 0 ;
8793 int res1 = 0 ;
8794 PyObject *swig_obj[1] ;
8795
8796 if (!args) SWIG_fail;
8797 swig_obj[0] = args;
8798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8799 if (!SWIG_IsOK(res1)) {
8800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8801 }
8802 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8803 result = (int) ((arg1)->dock_direction);
8804 resultobj = SWIG_From_int(static_cast< int >(result));
8805 return resultobj;
8806 fail:
8807 return NULL;
8808 }
8809
8810
8811 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8812 PyObject *resultobj = 0;
8813 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8814 int arg2 ;
8815 void *argp1 = 0 ;
8816 int res1 = 0 ;
8817 int val2 ;
8818 int ecode2 = 0 ;
8819 PyObject *swig_obj[2] ;
8820
8821 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
8822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8823 if (!SWIG_IsOK(res1)) {
8824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8825 }
8826 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8827 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8828 if (!SWIG_IsOK(ecode2)) {
8829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
8830 }
8831 arg2 = static_cast< int >(val2);
8832 if (arg1) (arg1)->dock_layer = arg2;
8833
8834 resultobj = SWIG_Py_Void();
8835 return resultobj;
8836 fail:
8837 return NULL;
8838 }
8839
8840
8841 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8842 PyObject *resultobj = 0;
8843 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8844 int result;
8845 void *argp1 = 0 ;
8846 int res1 = 0 ;
8847 PyObject *swig_obj[1] ;
8848
8849 if (!args) SWIG_fail;
8850 swig_obj[0] = args;
8851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8852 if (!SWIG_IsOK(res1)) {
8853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8854 }
8855 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8856 result = (int) ((arg1)->dock_layer);
8857 resultobj = SWIG_From_int(static_cast< int >(result));
8858 return resultobj;
8859 fail:
8860 return NULL;
8861 }
8862
8863
8864 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8865 PyObject *resultobj = 0;
8866 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8867 int arg2 ;
8868 void *argp1 = 0 ;
8869 int res1 = 0 ;
8870 int val2 ;
8871 int ecode2 = 0 ;
8872 PyObject *swig_obj[2] ;
8873
8874 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
8875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8876 if (!SWIG_IsOK(res1)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8878 }
8879 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8880 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8881 if (!SWIG_IsOK(ecode2)) {
8882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
8883 }
8884 arg2 = static_cast< int >(val2);
8885 if (arg1) (arg1)->dock_row = arg2;
8886
8887 resultobj = SWIG_Py_Void();
8888 return resultobj;
8889 fail:
8890 return NULL;
8891 }
8892
8893
8894 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8895 PyObject *resultobj = 0;
8896 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8897 int result;
8898 void *argp1 = 0 ;
8899 int res1 = 0 ;
8900 PyObject *swig_obj[1] ;
8901
8902 if (!args) SWIG_fail;
8903 swig_obj[0] = args;
8904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8905 if (!SWIG_IsOK(res1)) {
8906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8907 }
8908 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8909 result = (int) ((arg1)->dock_row);
8910 resultobj = SWIG_From_int(static_cast< int >(result));
8911 return resultobj;
8912 fail:
8913 return NULL;
8914 }
8915
8916
8917 SWIGINTERN PyObject *_wrap_DockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8918 PyObject *resultobj = 0;
8919 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8920 int arg2 ;
8921 void *argp1 = 0 ;
8922 int res1 = 0 ;
8923 int val2 ;
8924 int ecode2 = 0 ;
8925 PyObject *swig_obj[2] ;
8926
8927 if (!SWIG_Python_UnpackTuple(args,"DockInfo_size_set",2,2,swig_obj)) SWIG_fail;
8928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8929 if (!SWIG_IsOK(res1)) {
8930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8931 }
8932 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8933 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8934 if (!SWIG_IsOK(ecode2)) {
8935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_size_set" "', expected argument " "2"" of type '" "int""'");
8936 }
8937 arg2 = static_cast< int >(val2);
8938 if (arg1) (arg1)->size = arg2;
8939
8940 resultobj = SWIG_Py_Void();
8941 return resultobj;
8942 fail:
8943 return NULL;
8944 }
8945
8946
8947 SWIGINTERN PyObject *_wrap_DockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8948 PyObject *resultobj = 0;
8949 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8950 int result;
8951 void *argp1 = 0 ;
8952 int res1 = 0 ;
8953 PyObject *swig_obj[1] ;
8954
8955 if (!args) SWIG_fail;
8956 swig_obj[0] = args;
8957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8958 if (!SWIG_IsOK(res1)) {
8959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8960 }
8961 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8962 result = (int) ((arg1)->size);
8963 resultobj = SWIG_From_int(static_cast< int >(result));
8964 return resultobj;
8965 fail:
8966 return NULL;
8967 }
8968
8969
8970 SWIGINTERN PyObject *_wrap_DockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8971 PyObject *resultobj = 0;
8972 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8973 int arg2 ;
8974 void *argp1 = 0 ;
8975 int res1 = 0 ;
8976 int val2 ;
8977 int ecode2 = 0 ;
8978 PyObject *swig_obj[2] ;
8979
8980 if (!SWIG_Python_UnpackTuple(args,"DockInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
8981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8982 if (!SWIG_IsOK(res1)) {
8983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8984 }
8985 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8986 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8987 if (!SWIG_IsOK(ecode2)) {
8988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'");
8989 }
8990 arg2 = static_cast< int >(val2);
8991 if (arg1) (arg1)->min_size = arg2;
8992
8993 resultobj = SWIG_Py_Void();
8994 return resultobj;
8995 fail:
8996 return NULL;
8997 }
8998
8999
9000 SWIGINTERN PyObject *_wrap_DockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9001 PyObject *resultobj = 0;
9002 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9003 int result;
9004 void *argp1 = 0 ;
9005 int res1 = 0 ;
9006 PyObject *swig_obj[1] ;
9007
9008 if (!args) SWIG_fail;
9009 swig_obj[0] = args;
9010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9011 if (!SWIG_IsOK(res1)) {
9012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9013 }
9014 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9015 result = (int) ((arg1)->min_size);
9016 resultobj = SWIG_From_int(static_cast< int >(result));
9017 return resultobj;
9018 fail:
9019 return NULL;
9020 }
9021
9022
9023 SWIGINTERN PyObject *_wrap_DockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9024 PyObject *resultobj = 0;
9025 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9026 bool arg2 ;
9027 void *argp1 = 0 ;
9028 int res1 = 0 ;
9029 bool val2 ;
9030 int ecode2 = 0 ;
9031 PyObject *swig_obj[2] ;
9032
9033 if (!SWIG_Python_UnpackTuple(args,"DockInfo_resizable_set",2,2,swig_obj)) SWIG_fail;
9034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9035 if (!SWIG_IsOK(res1)) {
9036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9037 }
9038 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9039 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9040 if (!SWIG_IsOK(ecode2)) {
9041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'");
9042 }
9043 arg2 = static_cast< bool >(val2);
9044 if (arg1) (arg1)->resizable = arg2;
9045
9046 resultobj = SWIG_Py_Void();
9047 return resultobj;
9048 fail:
9049 return NULL;
9050 }
9051
9052
9053 SWIGINTERN PyObject *_wrap_DockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9054 PyObject *resultobj = 0;
9055 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9056 bool result;
9057 void *argp1 = 0 ;
9058 int res1 = 0 ;
9059 PyObject *swig_obj[1] ;
9060
9061 if (!args) SWIG_fail;
9062 swig_obj[0] = args;
9063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9064 if (!SWIG_IsOK(res1)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9066 }
9067 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9068 result = (bool) ((arg1)->resizable);
9069 {
9070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9071 }
9072 return resultobj;
9073 fail:
9074 return NULL;
9075 }
9076
9077
9078 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9079 PyObject *resultobj = 0;
9080 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9081 bool arg2 ;
9082 void *argp1 = 0 ;
9083 int res1 = 0 ;
9084 bool val2 ;
9085 int ecode2 = 0 ;
9086 PyObject *swig_obj[2] ;
9087
9088 if (!SWIG_Python_UnpackTuple(args,"DockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail;
9089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9090 if (!SWIG_IsOK(res1)) {
9091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9092 }
9093 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9094 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9095 if (!SWIG_IsOK(ecode2)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'");
9097 }
9098 arg2 = static_cast< bool >(val2);
9099 if (arg1) (arg1)->toolbar = arg2;
9100
9101 resultobj = SWIG_Py_Void();
9102 return resultobj;
9103 fail:
9104 return NULL;
9105 }
9106
9107
9108 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9109 PyObject *resultobj = 0;
9110 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9111 bool result;
9112 void *argp1 = 0 ;
9113 int res1 = 0 ;
9114 PyObject *swig_obj[1] ;
9115
9116 if (!args) SWIG_fail;
9117 swig_obj[0] = args;
9118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9119 if (!SWIG_IsOK(res1)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9121 }
9122 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9123 result = (bool) ((arg1)->toolbar);
9124 {
9125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9126 }
9127 return resultobj;
9128 fail:
9129 return NULL;
9130 }
9131
9132
9133 SWIGINTERN PyObject *_wrap_DockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9134 PyObject *resultobj = 0;
9135 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9136 bool arg2 ;
9137 void *argp1 = 0 ;
9138 int res1 = 0 ;
9139 bool val2 ;
9140 int ecode2 = 0 ;
9141 PyObject *swig_obj[2] ;
9142
9143 if (!SWIG_Python_UnpackTuple(args,"DockInfo_fixed_set",2,2,swig_obj)) SWIG_fail;
9144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9145 if (!SWIG_IsOK(res1)) {
9146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9147 }
9148 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9149 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9150 if (!SWIG_IsOK(ecode2)) {
9151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'");
9152 }
9153 arg2 = static_cast< bool >(val2);
9154 if (arg1) (arg1)->fixed = arg2;
9155
9156 resultobj = SWIG_Py_Void();
9157 return resultobj;
9158 fail:
9159 return NULL;
9160 }
9161
9162
9163 SWIGINTERN PyObject *_wrap_DockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9164 PyObject *resultobj = 0;
9165 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9166 bool result;
9167 void *argp1 = 0 ;
9168 int res1 = 0 ;
9169 PyObject *swig_obj[1] ;
9170
9171 if (!args) SWIG_fail;
9172 swig_obj[0] = args;
9173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9174 if (!SWIG_IsOK(res1)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9176 }
9177 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9178 result = (bool) ((arg1)->fixed);
9179 {
9180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9181 }
9182 return resultobj;
9183 fail:
9184 return NULL;
9185 }
9186
9187
9188 SWIGINTERN PyObject *_wrap_delete_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9189 PyObject *resultobj = 0;
9190 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9191 void *argp1 = 0 ;
9192 int res1 = 0 ;
9193 PyObject *swig_obj[1] ;
9194
9195 if (!args) SWIG_fail;
9196 swig_obj[0] = args;
9197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
9198 if (!SWIG_IsOK(res1)) {
9199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockInfo" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9200 }
9201 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9202 {
9203 PyThreadState* __tstate = wxPyBeginAllowThreads();
9204 delete_wxDockInfo(arg1);
9205
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 resultobj = SWIG_Py_Void();
9210 return resultobj;
9211 fail:
9212 return NULL;
9213 }
9214
9215
9216 SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9217 PyObject *obj;
9218 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9219 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockInfo, SWIG_NewClientData(obj));
9220 return SWIG_Py_Void();
9221 }
9222
9223 SWIGINTERN PyObject *DockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9224 return SWIG_Python_InitShadowInstance(args);
9225 }
9226
9227 SWIGINTERN PyObject *_wrap_DockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9228 PyObject *resultobj = 0;
9229 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9230 int arg2 ;
9231 void *argp1 = 0 ;
9232 int res1 = 0 ;
9233 int val2 ;
9234 int ecode2 = 0 ;
9235 PyObject *swig_obj[2] ;
9236
9237 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_type_set",2,2,swig_obj)) SWIG_fail;
9238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9239 if (!SWIG_IsOK(res1)) {
9240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9241 }
9242 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9243 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9244 if (!SWIG_IsOK(ecode2)) {
9245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_type_set" "', expected argument " "2"" of type '" "int""'");
9246 }
9247 arg2 = static_cast< int >(val2);
9248 if (arg1) (arg1)->type = arg2;
9249
9250 resultobj = SWIG_Py_Void();
9251 return resultobj;
9252 fail:
9253 return NULL;
9254 }
9255
9256
9257 SWIGINTERN PyObject *_wrap_DockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9258 PyObject *resultobj = 0;
9259 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9260 int result;
9261 void *argp1 = 0 ;
9262 int res1 = 0 ;
9263 PyObject *swig_obj[1] ;
9264
9265 if (!args) SWIG_fail;
9266 swig_obj[0] = args;
9267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9268 if (!SWIG_IsOK(res1)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9270 }
9271 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9272 result = (int) ((arg1)->type);
9273 resultobj = SWIG_From_int(static_cast< int >(result));
9274 return resultobj;
9275 fail:
9276 return NULL;
9277 }
9278
9279
9280 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9281 PyObject *resultobj = 0;
9282 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9283 int arg2 ;
9284 void *argp1 = 0 ;
9285 int res1 = 0 ;
9286 int val2 ;
9287 int ecode2 = 0 ;
9288 PyObject *swig_obj[2] ;
9289
9290 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail;
9291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9292 if (!SWIG_IsOK(res1)) {
9293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9294 }
9295 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9296 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9297 if (!SWIG_IsOK(ecode2)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'");
9299 }
9300 arg2 = static_cast< int >(val2);
9301 if (arg1) (arg1)->orientation = arg2;
9302
9303 resultobj = SWIG_Py_Void();
9304 return resultobj;
9305 fail:
9306 return NULL;
9307 }
9308
9309
9310 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9311 PyObject *resultobj = 0;
9312 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9313 int result;
9314 void *argp1 = 0 ;
9315 int res1 = 0 ;
9316 PyObject *swig_obj[1] ;
9317
9318 if (!args) SWIG_fail;
9319 swig_obj[0] = args;
9320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9321 if (!SWIG_IsOK(res1)) {
9322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9323 }
9324 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9325 result = (int) ((arg1)->orientation);
9326 resultobj = SWIG_From_int(static_cast< int >(result));
9327 return resultobj;
9328 fail:
9329 return NULL;
9330 }
9331
9332
9333 SWIGINTERN PyObject *_wrap_DockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9334 PyObject *resultobj = 0;
9335 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9336 wxDockInfo *arg2 = (wxDockInfo *) 0 ;
9337 void *argp1 = 0 ;
9338 int res1 = 0 ;
9339 void *argp2 = 0 ;
9340 int res2 = 0 ;
9341 PyObject *swig_obj[2] ;
9342
9343 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_dock_set",2,2,swig_obj)) SWIG_fail;
9344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9345 if (!SWIG_IsOK(res1)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9347 }
9348 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9349 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
9350 if (!SWIG_IsOK(res2)) {
9351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_dock_set" "', expected argument " "2"" of type '" "wxDockInfo *""'");
9352 }
9353 arg2 = reinterpret_cast< wxDockInfo * >(argp2);
9354 if (arg1) (arg1)->dock = arg2;
9355
9356 resultobj = SWIG_Py_Void();
9357 return resultobj;
9358 fail:
9359 return NULL;
9360 }
9361
9362
9363 SWIGINTERN PyObject *_wrap_DockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9364 PyObject *resultobj = 0;
9365 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9366 wxDockInfo *result = 0 ;
9367 void *argp1 = 0 ;
9368 int res1 = 0 ;
9369 PyObject *swig_obj[1] ;
9370
9371 if (!args) SWIG_fail;
9372 swig_obj[0] = args;
9373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9374 if (!SWIG_IsOK(res1)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9376 }
9377 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9378 result = (wxDockInfo *) ((arg1)->dock);
9379 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, 0 | 0 );
9380 return resultobj;
9381 fail:
9382 return NULL;
9383 }
9384
9385
9386 SWIGINTERN PyObject *_wrap_DockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9387 PyObject *resultobj = 0;
9388 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9389 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
9390 void *argp1 = 0 ;
9391 int res1 = 0 ;
9392 void *argp2 = 0 ;
9393 int res2 = 0 ;
9394 PyObject *swig_obj[2] ;
9395
9396 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_pane_set",2,2,swig_obj)) SWIG_fail;
9397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9398 if (!SWIG_IsOK(res1)) {
9399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9400 }
9401 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9402 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
9403 if (!SWIG_IsOK(res2)) {
9404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
9405 }
9406 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
9407 if (arg1) (arg1)->pane = arg2;
9408
9409 resultobj = SWIG_Py_Void();
9410 return resultobj;
9411 fail:
9412 return NULL;
9413 }
9414
9415
9416 SWIGINTERN PyObject *_wrap_DockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9417 PyObject *resultobj = 0;
9418 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9419 wxPaneInfo *result = 0 ;
9420 void *argp1 = 0 ;
9421 int res1 = 0 ;
9422 PyObject *swig_obj[1] ;
9423
9424 if (!args) SWIG_fail;
9425 swig_obj[0] = args;
9426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9427 if (!SWIG_IsOK(res1)) {
9428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9429 }
9430 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9431 result = (wxPaneInfo *) ((arg1)->pane);
9432 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
9433 return resultobj;
9434 fail:
9435 return NULL;
9436 }
9437
9438
9439 SWIGINTERN PyObject *_wrap_DockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9440 PyObject *resultobj = 0;
9441 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9442 wxPaneButton *arg2 = (wxPaneButton *) 0 ;
9443 void *argp1 = 0 ;
9444 int res1 = 0 ;
9445 void *argp2 = 0 ;
9446 int res2 = 0 ;
9447 PyObject *swig_obj[2] ;
9448
9449 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_button_set",2,2,swig_obj)) SWIG_fail;
9450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9451 if (!SWIG_IsOK(res1)) {
9452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9453 }
9454 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9455 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
9456 if (!SWIG_IsOK(res2)) {
9457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_button_set" "', expected argument " "2"" of type '" "wxPaneButton *""'");
9458 }
9459 arg2 = reinterpret_cast< wxPaneButton * >(argp2);
9460 if (arg1) (arg1)->button = arg2;
9461
9462 resultobj = SWIG_Py_Void();
9463 return resultobj;
9464 fail:
9465 return NULL;
9466 }
9467
9468
9469 SWIGINTERN PyObject *_wrap_DockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9470 PyObject *resultobj = 0;
9471 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9472 wxPaneButton *result = 0 ;
9473 void *argp1 = 0 ;
9474 int res1 = 0 ;
9475 PyObject *swig_obj[1] ;
9476
9477 if (!args) SWIG_fail;
9478 swig_obj[0] = args;
9479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9480 if (!SWIG_IsOK(res1)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9482 }
9483 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9484 result = (wxPaneButton *) ((arg1)->button);
9485 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, 0 | 0 );
9486 return resultobj;
9487 fail:
9488 return NULL;
9489 }
9490
9491
9492 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9493 PyObject *resultobj = 0;
9494 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9495 wxSizer *arg2 = (wxSizer *) 0 ;
9496 void *argp1 = 0 ;
9497 int res1 = 0 ;
9498 void *argp2 = 0 ;
9499 int res2 = 0 ;
9500 PyObject *swig_obj[2] ;
9501
9502 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail;
9503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9504 if (!SWIG_IsOK(res1)) {
9505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9506 }
9507 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9508 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 );
9509 if (!SWIG_IsOK(res2)) {
9510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'");
9511 }
9512 arg2 = reinterpret_cast< wxSizer * >(argp2);
9513 if (arg1) (arg1)->cont_sizer = arg2;
9514
9515 resultobj = SWIG_Py_Void();
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9523 PyObject *resultobj = 0;
9524 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9525 wxSizer *result = 0 ;
9526 void *argp1 = 0 ;
9527 int res1 = 0 ;
9528 PyObject *swig_obj[1] ;
9529
9530 if (!args) SWIG_fail;
9531 swig_obj[0] = args;
9532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9533 if (!SWIG_IsOK(res1)) {
9534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9535 }
9536 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9537 result = (wxSizer *) ((arg1)->cont_sizer);
9538 {
9539 resultobj = wxPyMake_wxObject(result, (bool)0);
9540 }
9541 return resultobj;
9542 fail:
9543 return NULL;
9544 }
9545
9546
9547 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9548 PyObject *resultobj = 0;
9549 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9550 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
9551 void *argp1 = 0 ;
9552 int res1 = 0 ;
9553 void *argp2 = 0 ;
9554 int res2 = 0 ;
9555 PyObject *swig_obj[2] ;
9556
9557 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail;
9558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9559 if (!SWIG_IsOK(res1)) {
9560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9561 }
9562 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9563 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 );
9564 if (!SWIG_IsOK(res2)) {
9565 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'");
9566 }
9567 arg2 = reinterpret_cast< wxSizerItem * >(argp2);
9568 if (arg1) (arg1)->sizer_item = arg2;
9569
9570 resultobj = SWIG_Py_Void();
9571 return resultobj;
9572 fail:
9573 return NULL;
9574 }
9575
9576
9577 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9578 PyObject *resultobj = 0;
9579 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9580 wxSizerItem *result = 0 ;
9581 void *argp1 = 0 ;
9582 int res1 = 0 ;
9583 PyObject *swig_obj[1] ;
9584
9585 if (!args) SWIG_fail;
9586 swig_obj[0] = args;
9587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9588 if (!SWIG_IsOK(res1)) {
9589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9590 }
9591 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9592 result = (wxSizerItem *) ((arg1)->sizer_item);
9593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 );
9594 return resultobj;
9595 fail:
9596 return NULL;
9597 }
9598
9599
9600 SWIGINTERN PyObject *_wrap_DockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9601 PyObject *resultobj = 0;
9602 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9603 wxRect *arg2 = (wxRect *) 0 ;
9604 void *argp1 = 0 ;
9605 int res1 = 0 ;
9606 void *argp2 = 0 ;
9607 int res2 = 0 ;
9608 PyObject *swig_obj[2] ;
9609
9610 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_rect_set",2,2,swig_obj)) SWIG_fail;
9611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9612 if (!SWIG_IsOK(res1)) {
9613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9614 }
9615 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9616 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
9617 if (!SWIG_IsOK(res2)) {
9618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
9619 }
9620 arg2 = reinterpret_cast< wxRect * >(argp2);
9621 if (arg1) (arg1)->rect = *arg2;
9622
9623 resultobj = SWIG_Py_Void();
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 SWIGINTERN PyObject *_wrap_DockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9631 PyObject *resultobj = 0;
9632 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9633 wxRect *result = 0 ;
9634 void *argp1 = 0 ;
9635 int res1 = 0 ;
9636 PyObject *swig_obj[1] ;
9637
9638 if (!args) SWIG_fail;
9639 swig_obj[0] = args;
9640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9641 if (!SWIG_IsOK(res1)) {
9642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9643 }
9644 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9645 result = (wxRect *)& ((arg1)->rect);
9646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 SWIGINTERN PyObject *_wrap_new_DockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9654 PyObject *resultobj = 0;
9655 wxDockUIPart *result = 0 ;
9656
9657 if (!SWIG_Python_UnpackTuple(args,"new_DockUIPart",0,0,0)) SWIG_fail;
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 result = (wxDockUIPart *)new_wxDockUIPart();
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
9664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockUIPart, SWIG_POINTER_NEW | 0 );
9665 return resultobj;
9666 fail:
9667 return NULL;
9668 }
9669
9670
9671 SWIGINTERN PyObject *_wrap_delete_DockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9672 PyObject *resultobj = 0;
9673 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9674 void *argp1 = 0 ;
9675 int res1 = 0 ;
9676 PyObject *swig_obj[1] ;
9677
9678 if (!args) SWIG_fail;
9679 swig_obj[0] = args;
9680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, SWIG_POINTER_DISOWN | 0 );
9681 if (!SWIG_IsOK(res1)) {
9682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockUIPart" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9683 }
9684 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 delete_wxDockUIPart(arg1);
9688
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) SWIG_fail;
9691 }
9692 resultobj = SWIG_Py_Void();
9693 return resultobj;
9694 fail:
9695 return NULL;
9696 }
9697
9698
9699 SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9700 PyObject *obj;
9701 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9702 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockUIPart, SWIG_NewClientData(obj));
9703 return SWIG_Py_Void();
9704 }
9705
9706 SWIGINTERN PyObject *DockUIPart_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9707 return SWIG_Python_InitShadowInstance(args);
9708 }
9709
9710 SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9711 PyObject *resultobj = 0;
9712 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9713 int arg2 ;
9714 void *argp1 = 0 ;
9715 int res1 = 0 ;
9716 int val2 ;
9717 int ecode2 = 0 ;
9718 PyObject *swig_obj[2] ;
9719
9720 if (!SWIG_Python_UnpackTuple(args,"PaneButton_button_id_set",2,2,swig_obj)) SWIG_fail;
9721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9722 if (!SWIG_IsOK(res1)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_set" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9724 }
9725 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9726 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9727 if (!SWIG_IsOK(ecode2)) {
9728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'");
9729 }
9730 arg2 = static_cast< int >(val2);
9731 if (arg1) (arg1)->button_id = arg2;
9732
9733 resultobj = SWIG_Py_Void();
9734 return resultobj;
9735 fail:
9736 return NULL;
9737 }
9738
9739
9740 SWIGINTERN PyObject *_wrap_PaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9741 PyObject *resultobj = 0;
9742 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9743 int result;
9744 void *argp1 = 0 ;
9745 int res1 = 0 ;
9746 PyObject *swig_obj[1] ;
9747
9748 if (!args) SWIG_fail;
9749 swig_obj[0] = args;
9750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9751 if (!SWIG_IsOK(res1)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_get" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9753 }
9754 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9755 result = (int) ((arg1)->button_id);
9756 resultobj = SWIG_From_int(static_cast< int >(result));
9757 return resultobj;
9758 fail:
9759 return NULL;
9760 }
9761
9762
9763 SWIGINTERN PyObject *_wrap_new_PaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9764 PyObject *resultobj = 0;
9765 wxPaneButton *result = 0 ;
9766
9767 if (!SWIG_Python_UnpackTuple(args,"new_PaneButton",0,0,0)) SWIG_fail;
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
9770 result = (wxPaneButton *)new_wxPaneButton();
9771 wxPyEndAllowThreads(__tstate);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 }
9774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, SWIG_POINTER_NEW | 0 );
9775 return resultobj;
9776 fail:
9777 return NULL;
9778 }
9779
9780
9781 SWIGINTERN PyObject *_wrap_delete_PaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9782 PyObject *resultobj = 0;
9783 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9784 void *argp1 = 0 ;
9785 int res1 = 0 ;
9786 PyObject *swig_obj[1] ;
9787
9788 if (!args) SWIG_fail;
9789 swig_obj[0] = args;
9790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
9791 if (!SWIG_IsOK(res1)) {
9792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneButton" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9793 }
9794 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 delete_wxPaneButton(arg1);
9798
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 }
9802 resultobj = SWIG_Py_Void();
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9810 PyObject *obj;
9811 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9812 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneButton, SWIG_NewClientData(obj));
9813 return SWIG_Py_Void();
9814 }
9815
9816 SWIGINTERN PyObject *PaneButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9817 return SWIG_Python_InitShadowInstance(args);
9818 }
9819
9820 SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9821 PyObject *resultobj = 0;
9822 wxDockArt *arg1 = (wxDockArt *) 0 ;
9823 void *argp1 = 0 ;
9824 int res1 = 0 ;
9825 PyObject *swig_obj[1] ;
9826
9827 if (!args) SWIG_fail;
9828 swig_obj[0] = args;
9829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
9830 if (!SWIG_IsOK(res1)) {
9831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockArt" "', expected argument " "1"" of type '" "wxDockArt *""'");
9832 }
9833 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 delete arg1;
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 resultobj = SWIG_Py_Void();
9842 return resultobj;
9843 fail:
9844 return NULL;
9845 }
9846
9847
9848 SWIGINTERN PyObject *_wrap_DockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj = 0;
9850 wxDockArt *arg1 = (wxDockArt *) 0 ;
9851 int arg2 ;
9852 int result;
9853 void *argp1 = 0 ;
9854 int res1 = 0 ;
9855 int val2 ;
9856 int ecode2 = 0 ;
9857 PyObject * obj0 = 0 ;
9858 PyObject * obj1 = 0 ;
9859 char * kwnames[] = {
9860 (char *) "self",(char *) "id", NULL
9861 };
9862
9863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail;
9864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9865 if (!SWIG_IsOK(res1)) {
9866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9867 }
9868 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9869 ecode2 = SWIG_AsVal_int(obj1, &val2);
9870 if (!SWIG_IsOK(ecode2)) {
9871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetMetric" "', expected argument " "2"" of type '" "int""'");
9872 }
9873 arg2 = static_cast< int >(val2);
9874 {
9875 PyThreadState* __tstate = wxPyBeginAllowThreads();
9876 result = (int)(arg1)->GetMetric(arg2);
9877 wxPyEndAllowThreads(__tstate);
9878 if (PyErr_Occurred()) SWIG_fail;
9879 }
9880 resultobj = SWIG_From_int(static_cast< int >(result));
9881 return resultobj;
9882 fail:
9883 return NULL;
9884 }
9885
9886
9887 SWIGINTERN PyObject *_wrap_DockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9888 PyObject *resultobj = 0;
9889 wxDockArt *arg1 = (wxDockArt *) 0 ;
9890 int arg2 ;
9891 int arg3 ;
9892 void *argp1 = 0 ;
9893 int res1 = 0 ;
9894 int val2 ;
9895 int ecode2 = 0 ;
9896 int val3 ;
9897 int ecode3 = 0 ;
9898 PyObject * obj0 = 0 ;
9899 PyObject * obj1 = 0 ;
9900 PyObject * obj2 = 0 ;
9901 char * kwnames[] = {
9902 (char *) "self",(char *) "id",(char *) "new_val", NULL
9903 };
9904
9905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9907 if (!SWIG_IsOK(res1)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9909 }
9910 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9911 ecode2 = SWIG_AsVal_int(obj1, &val2);
9912 if (!SWIG_IsOK(ecode2)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetMetric" "', expected argument " "2"" of type '" "int""'");
9914 }
9915 arg2 = static_cast< int >(val2);
9916 ecode3 = SWIG_AsVal_int(obj2, &val3);
9917 if (!SWIG_IsOK(ecode3)) {
9918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_SetMetric" "', expected argument " "3"" of type '" "int""'");
9919 }
9920 arg3 = static_cast< int >(val3);
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 (arg1)->SetMetric(arg2,arg3);
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 resultobj = SWIG_Py_Void();
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 SWIGINTERN PyObject *_wrap_DockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = 0;
9936 wxDockArt *arg1 = (wxDockArt *) 0 ;
9937 int arg2 ;
9938 wxFont *arg3 = 0 ;
9939 void *argp1 = 0 ;
9940 int res1 = 0 ;
9941 int val2 ;
9942 int ecode2 = 0 ;
9943 void *argp3 = 0 ;
9944 int res3 = 0 ;
9945 PyObject * obj0 = 0 ;
9946 PyObject * obj1 = 0 ;
9947 PyObject * obj2 = 0 ;
9948 char * kwnames[] = {
9949 (char *) "self",(char *) "id",(char *) "font", NULL
9950 };
9951
9952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9954 if (!SWIG_IsOK(res1)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9956 }
9957 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9958 ecode2 = SWIG_AsVal_int(obj1, &val2);
9959 if (!SWIG_IsOK(ecode2)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetFont" "', expected argument " "2"" of type '" "int""'");
9961 }
9962 arg2 = static_cast< int >(val2);
9963 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9964 if (!SWIG_IsOK(res3)) {
9965 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9966 }
9967 if (!argp3) {
9968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9969 }
9970 arg3 = reinterpret_cast< wxFont * >(argp3);
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 (arg1)->SetFont(arg2,(wxFont const &)*arg3);
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 resultobj = SWIG_Py_Void();
9978 return resultobj;
9979 fail:
9980 return NULL;
9981 }
9982
9983
9984 SWIGINTERN PyObject *_wrap_DockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9985 PyObject *resultobj = 0;
9986 wxDockArt *arg1 = (wxDockArt *) 0 ;
9987 int arg2 ;
9988 wxFont result;
9989 void *argp1 = 0 ;
9990 int res1 = 0 ;
9991 int val2 ;
9992 int ecode2 = 0 ;
9993 PyObject * obj0 = 0 ;
9994 PyObject * obj1 = 0 ;
9995 char * kwnames[] = {
9996 (char *) "self",(char *) "id", NULL
9997 };
9998
9999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail;
10000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10001 if (!SWIG_IsOK(res1)) {
10002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
10003 }
10004 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10005 ecode2 = SWIG_AsVal_int(obj1, &val2);
10006 if (!SWIG_IsOK(ecode2)) {
10007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetFont" "', expected argument " "2"" of type '" "int""'");
10008 }
10009 arg2 = static_cast< int >(val2);
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = (arg1)->GetFont(arg2);
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
10017 return resultobj;
10018 fail:
10019 return NULL;
10020 }
10021
10022
10023 SWIGINTERN PyObject *_wrap_DockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj = 0;
10025 wxDockArt *arg1 = (wxDockArt *) 0 ;
10026 int arg2 ;
10027 wxColour result;
10028 void *argp1 = 0 ;
10029 int res1 = 0 ;
10030 int val2 ;
10031 int ecode2 = 0 ;
10032 PyObject * obj0 = 0 ;
10033 PyObject * obj1 = 0 ;
10034 char * kwnames[] = {
10035 (char *) "self",(char *) "id", NULL
10036 };
10037
10038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail;
10039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10040 if (!SWIG_IsOK(res1)) {
10041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
10042 }
10043 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10044 ecode2 = SWIG_AsVal_int(obj1, &val2);
10045 if (!SWIG_IsOK(ecode2)) {
10046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColour" "', expected argument " "2"" of type '" "int""'");
10047 }
10048 arg2 = static_cast< int >(val2);
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = (arg1)->GetColour(arg2);
10052 wxPyEndAllowThreads(__tstate);
10053 if (PyErr_Occurred()) SWIG_fail;
10054 }
10055 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10056 return resultobj;
10057 fail:
10058 return NULL;
10059 }
10060
10061
10062 SWIGINTERN PyObject *_wrap_DockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10063 PyObject *resultobj = 0;
10064 wxDockArt *arg1 = (wxDockArt *) 0 ;
10065 int arg2 ;
10066 wxColor *arg3 = 0 ;
10067 void *argp1 = 0 ;
10068 int res1 = 0 ;
10069 int val2 ;
10070 int ecode2 = 0 ;
10071 void *argp3 = 0 ;
10072 int res3 = 0 ;
10073 PyObject * obj0 = 0 ;
10074 PyObject * obj1 = 0 ;
10075 PyObject * obj2 = 0 ;
10076 char * kwnames[] = {
10077 (char *) "self",(char *) "id",(char *) "colour", NULL
10078 };
10079
10080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10082 if (!SWIG_IsOK(res1)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
10084 }
10085 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10086 ecode2 = SWIG_AsVal_int(obj1, &val2);
10087 if (!SWIG_IsOK(ecode2)) {
10088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColour" "', expected argument " "2"" of type '" "int""'");
10089 }
10090 arg2 = static_cast< int >(val2);
10091 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0);
10092 if (!SWIG_IsOK(res3)) {
10093 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
10094 }
10095 if (!argp3) {
10096 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
10097 }
10098 arg3 = reinterpret_cast< wxColor * >(argp3);
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->SetColour(arg2,(wxColor const &)*arg3);
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 resultobj = SWIG_Py_Void();
10106 return resultobj;
10107 fail:
10108 return NULL;
10109 }
10110
10111
10112 SWIGINTERN PyObject *_wrap_DockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj = 0;
10114 wxDockArt *arg1 = (wxDockArt *) 0 ;
10115 int arg2 ;
10116 wxColour result;
10117 void *argp1 = 0 ;
10118 int res1 = 0 ;
10119 int val2 ;
10120 int ecode2 = 0 ;
10121 PyObject * obj0 = 0 ;
10122 PyObject * obj1 = 0 ;
10123 char * kwnames[] = {
10124 (char *) "self",(char *) "id", NULL
10125 };
10126
10127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail;
10128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10129 if (!SWIG_IsOK(res1)) {
10130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
10131 }
10132 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10133 ecode2 = SWIG_AsVal_int(obj1, &val2);
10134 if (!SWIG_IsOK(ecode2)) {
10135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColor" "', expected argument " "2"" of type '" "int""'");
10136 }
10137 arg2 = static_cast< int >(val2);
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 result = (arg1)->GetColor(arg2);
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10145 return resultobj;
10146 fail:
10147 return NULL;
10148 }
10149
10150
10151 SWIGINTERN PyObject *_wrap_DockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj = 0;
10153 wxDockArt *arg1 = (wxDockArt *) 0 ;
10154 int arg2 ;
10155 wxColour *arg3 = 0 ;
10156 void *argp1 = 0 ;
10157 int res1 = 0 ;
10158 int val2 ;
10159 int ecode2 = 0 ;
10160 wxColour temp3 ;
10161 PyObject * obj0 = 0 ;
10162 PyObject * obj1 = 0 ;
10163 PyObject * obj2 = 0 ;
10164 char * kwnames[] = {
10165 (char *) "self",(char *) "id",(char *) "color", NULL
10166 };
10167
10168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10170 if (!SWIG_IsOK(res1)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
10172 }
10173 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10174 ecode2 = SWIG_AsVal_int(obj1, &val2);
10175 if (!SWIG_IsOK(ecode2)) {
10176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColor" "', expected argument " "2"" of type '" "int""'");
10177 }
10178 arg2 = static_cast< int >(val2);
10179 {
10180 arg3 = &temp3;
10181 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10182 }
10183 {
10184 PyThreadState* __tstate = wxPyBeginAllowThreads();
10185 (arg1)->SetColor(arg2,(wxColour const &)*arg3);
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 resultobj = SWIG_Py_Void();
10190 return resultobj;
10191 fail:
10192 return NULL;
10193 }
10194
10195
10196 SWIGINTERN PyObject *_wrap_DockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10197 PyObject *resultobj = 0;
10198 wxDockArt *arg1 = (wxDockArt *) 0 ;
10199 wxDC *arg2 = 0 ;
10200 wxWindow *arg3 = (wxWindow *) 0 ;
10201 int arg4 ;
10202 wxRect *arg5 = 0 ;
10203 void *argp1 = 0 ;
10204 int res1 = 0 ;
10205 void *argp2 = 0 ;
10206 int res2 = 0 ;
10207 void *argp3 = 0 ;
10208 int res3 = 0 ;
10209 int val4 ;
10210 int ecode4 = 0 ;
10211 wxRect temp5 ;
10212 PyObject * obj0 = 0 ;
10213 PyObject * obj1 = 0 ;
10214 PyObject * obj2 = 0 ;
10215 PyObject * obj3 = 0 ;
10216 PyObject * obj4 = 0 ;
10217 char * kwnames[] = {
10218 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
10219 };
10220
10221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10223 if (!SWIG_IsOK(res1)) {
10224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawSash" "', expected argument " "1"" of type '" "wxDockArt *""'");
10225 }
10226 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10227 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10228 if (!SWIG_IsOK(res2)) {
10229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
10230 }
10231 if (!argp2) {
10232 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
10233 }
10234 arg2 = reinterpret_cast< wxDC * >(argp2);
10235 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10236 if (!SWIG_IsOK(res3)) {
10237 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'");
10238 }
10239 arg3 = reinterpret_cast< wxWindow * >(argp3);
10240 ecode4 = SWIG_AsVal_int(obj3, &val4);
10241 if (!SWIG_IsOK(ecode4)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawSash" "', expected argument " "4"" of type '" "int""'");
10243 }
10244 arg4 = static_cast< int >(val4);
10245 {
10246 arg5 = &temp5;
10247 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10248 }
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5);
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 resultobj = SWIG_Py_Void();
10256 return resultobj;
10257 fail:
10258 return NULL;
10259 }
10260
10261
10262 SWIGINTERN PyObject *_wrap_DockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj = 0;
10264 wxDockArt *arg1 = (wxDockArt *) 0 ;
10265 wxDC *arg2 = 0 ;
10266 wxWindow *arg3 = (wxWindow *) 0 ;
10267 int arg4 ;
10268 wxRect *arg5 = 0 ;
10269 void *argp1 = 0 ;
10270 int res1 = 0 ;
10271 void *argp2 = 0 ;
10272 int res2 = 0 ;
10273 void *argp3 = 0 ;
10274 int res3 = 0 ;
10275 int val4 ;
10276 int ecode4 = 0 ;
10277 wxRect temp5 ;
10278 PyObject * obj0 = 0 ;
10279 PyObject * obj1 = 0 ;
10280 PyObject * obj2 = 0 ;
10281 PyObject * obj3 = 0 ;
10282 PyObject * obj4 = 0 ;
10283 char * kwnames[] = {
10284 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
10285 };
10286
10287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10289 if (!SWIG_IsOK(res1)) {
10290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBackground" "', expected argument " "1"" of type '" "wxDockArt *""'");
10291 }
10292 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10293 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10294 if (!SWIG_IsOK(res2)) {
10295 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
10296 }
10297 if (!argp2) {
10298 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
10299 }
10300 arg2 = reinterpret_cast< wxDC * >(argp2);
10301 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10302 if (!SWIG_IsOK(res3)) {
10303 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'");
10304 }
10305 arg3 = reinterpret_cast< wxWindow * >(argp3);
10306 ecode4 = SWIG_AsVal_int(obj3, &val4);
10307 if (!SWIG_IsOK(ecode4)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'");
10309 }
10310 arg4 = static_cast< int >(val4);
10311 {
10312 arg5 = &temp5;
10313 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10314 }
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5);
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 resultobj = SWIG_Py_Void();
10322 return resultobj;
10323 fail:
10324 return NULL;
10325 }
10326
10327
10328 SWIGINTERN PyObject *_wrap_DockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10329 PyObject *resultobj = 0;
10330 wxDockArt *arg1 = (wxDockArt *) 0 ;
10331 wxDC *arg2 = 0 ;
10332 wxWindow *arg3 = (wxWindow *) 0 ;
10333 wxString *arg4 = 0 ;
10334 wxRect *arg5 = 0 ;
10335 wxPaneInfo *arg6 = 0 ;
10336 void *argp1 = 0 ;
10337 int res1 = 0 ;
10338 void *argp2 = 0 ;
10339 int res2 = 0 ;
10340 void *argp3 = 0 ;
10341 int res3 = 0 ;
10342 bool temp4 = false ;
10343 wxRect temp5 ;
10344 void *argp6 = 0 ;
10345 int res6 = 0 ;
10346 PyObject * obj0 = 0 ;
10347 PyObject * obj1 = 0 ;
10348 PyObject * obj2 = 0 ;
10349 PyObject * obj3 = 0 ;
10350 PyObject * obj4 = 0 ;
10351 PyObject * obj5 = 0 ;
10352 char * kwnames[] = {
10353 (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL
10354 };
10355
10356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10358 if (!SWIG_IsOK(res1)) {
10359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawCaption" "', expected argument " "1"" of type '" "wxDockArt *""'");
10360 }
10361 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10362 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10363 if (!SWIG_IsOK(res2)) {
10364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
10365 }
10366 if (!argp2) {
10367 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
10368 }
10369 arg2 = reinterpret_cast< wxDC * >(argp2);
10370 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10371 if (!SWIG_IsOK(res3)) {
10372 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'");
10373 }
10374 arg3 = reinterpret_cast< wxWindow * >(argp3);
10375 {
10376 arg4 = wxString_in_helper(obj3);
10377 if (arg4 == NULL) SWIG_fail;
10378 temp4 = true;
10379 }
10380 {
10381 arg5 = &temp5;
10382 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10383 }
10384 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxPaneInfo, 0 );
10385 if (!SWIG_IsOK(res6)) {
10386 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10387 }
10388 if (!argp6) {
10389 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10390 }
10391 arg6 = reinterpret_cast< wxPaneInfo * >(argp6);
10392 {
10393 PyThreadState* __tstate = wxPyBeginAllowThreads();
10394 (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6);
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 resultobj = SWIG_Py_Void();
10399 {
10400 if (temp4)
10401 delete arg4;
10402 }
10403 return resultobj;
10404 fail:
10405 {
10406 if (temp4)
10407 delete arg4;
10408 }
10409 return NULL;
10410 }
10411
10412
10413 SWIGINTERN PyObject *_wrap_DockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj = 0;
10415 wxDockArt *arg1 = (wxDockArt *) 0 ;
10416 wxDC *arg2 = 0 ;
10417 wxWindow *arg3 = (wxWindow *) 0 ;
10418 wxRect *arg4 = 0 ;
10419 wxPaneInfo *arg5 = 0 ;
10420 void *argp1 = 0 ;
10421 int res1 = 0 ;
10422 void *argp2 = 0 ;
10423 int res2 = 0 ;
10424 void *argp3 = 0 ;
10425 int res3 = 0 ;
10426 wxRect temp4 ;
10427 void *argp5 = 0 ;
10428 int res5 = 0 ;
10429 PyObject * obj0 = 0 ;
10430 PyObject * obj1 = 0 ;
10431 PyObject * obj2 = 0 ;
10432 PyObject * obj3 = 0 ;
10433 PyObject * obj4 = 0 ;
10434 char * kwnames[] = {
10435 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
10436 };
10437
10438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10440 if (!SWIG_IsOK(res1)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawGripper" "', expected argument " "1"" of type '" "wxDockArt *""'");
10442 }
10443 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10444 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10445 if (!SWIG_IsOK(res2)) {
10446 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
10447 }
10448 if (!argp2) {
10449 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
10450 }
10451 arg2 = reinterpret_cast< wxDC * >(argp2);
10452 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10453 if (!SWIG_IsOK(res3)) {
10454 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'");
10455 }
10456 arg3 = reinterpret_cast< wxWindow * >(argp3);
10457 {
10458 arg4 = &temp4;
10459 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
10460 }
10461 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
10462 if (!SWIG_IsOK(res5)) {
10463 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10464 }
10465 if (!argp5) {
10466 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10467 }
10468 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5);
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 resultobj = SWIG_Py_Void();
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 SWIGINTERN PyObject *_wrap_DockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj = 0;
10484 wxDockArt *arg1 = (wxDockArt *) 0 ;
10485 wxDC *arg2 = 0 ;
10486 wxWindow *arg3 = (wxWindow *) 0 ;
10487 wxRect *arg4 = 0 ;
10488 wxPaneInfo *arg5 = 0 ;
10489 void *argp1 = 0 ;
10490 int res1 = 0 ;
10491 void *argp2 = 0 ;
10492 int res2 = 0 ;
10493 void *argp3 = 0 ;
10494 int res3 = 0 ;
10495 wxRect temp4 ;
10496 void *argp5 = 0 ;
10497 int res5 = 0 ;
10498 PyObject * obj0 = 0 ;
10499 PyObject * obj1 = 0 ;
10500 PyObject * obj2 = 0 ;
10501 PyObject * obj3 = 0 ;
10502 PyObject * obj4 = 0 ;
10503 char * kwnames[] = {
10504 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
10505 };
10506
10507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10509 if (!SWIG_IsOK(res1)) {
10510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBorder" "', expected argument " "1"" of type '" "wxDockArt *""'");
10511 }
10512 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10513 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10514 if (!SWIG_IsOK(res2)) {
10515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
10516 }
10517 if (!argp2) {
10518 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
10519 }
10520 arg2 = reinterpret_cast< wxDC * >(argp2);
10521 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10522 if (!SWIG_IsOK(res3)) {
10523 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'");
10524 }
10525 arg3 = reinterpret_cast< wxWindow * >(argp3);
10526 {
10527 arg4 = &temp4;
10528 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
10529 }
10530 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
10531 if (!SWIG_IsOK(res5)) {
10532 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10533 }
10534 if (!argp5) {
10535 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10536 }
10537 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5);
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 resultobj = SWIG_Py_Void();
10545 return resultobj;
10546 fail:
10547 return NULL;
10548 }
10549
10550
10551 SWIGINTERN PyObject *_wrap_DockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10552 PyObject *resultobj = 0;
10553 wxDockArt *arg1 = (wxDockArt *) 0 ;
10554 wxDC *arg2 = 0 ;
10555 wxWindow *arg3 = (wxWindow *) 0 ;
10556 int arg4 ;
10557 int arg5 ;
10558 wxRect *arg6 = 0 ;
10559 wxPaneInfo *arg7 = 0 ;
10560 void *argp1 = 0 ;
10561 int res1 = 0 ;
10562 void *argp2 = 0 ;
10563 int res2 = 0 ;
10564 void *argp3 = 0 ;
10565 int res3 = 0 ;
10566 int val4 ;
10567 int ecode4 = 0 ;
10568 int val5 ;
10569 int ecode5 = 0 ;
10570 wxRect temp6 ;
10571 void *argp7 = 0 ;
10572 int res7 = 0 ;
10573 PyObject * obj0 = 0 ;
10574 PyObject * obj1 = 0 ;
10575 PyObject * obj2 = 0 ;
10576 PyObject * obj3 = 0 ;
10577 PyObject * obj4 = 0 ;
10578 PyObject * obj5 = 0 ;
10579 PyObject * obj6 = 0 ;
10580 char * kwnames[] = {
10581 (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL
10582 };
10583
10584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10586 if (!SWIG_IsOK(res1)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxDockArt *""'");
10588 }
10589 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10590 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10591 if (!SWIG_IsOK(res2)) {
10592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
10593 }
10594 if (!argp2) {
10595 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
10596 }
10597 arg2 = reinterpret_cast< wxDC * >(argp2);
10598 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10599 if (!SWIG_IsOK(res3)) {
10600 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'");
10601 }
10602 arg3 = reinterpret_cast< wxWindow * >(argp3);
10603 ecode4 = SWIG_AsVal_int(obj3, &val4);
10604 if (!SWIG_IsOK(ecode4)) {
10605 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'");
10606 }
10607 arg4 = static_cast< int >(val4);
10608 ecode5 = SWIG_AsVal_int(obj4, &val5);
10609 if (!SWIG_IsOK(ecode5)) {
10610 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'");
10611 }
10612 arg5 = static_cast< int >(val5);
10613 {
10614 arg6 = &temp6;
10615 if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail;
10616 }
10617 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxPaneInfo, 0 );
10618 if (!SWIG_IsOK(res7)) {
10619 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'");
10620 }
10621 if (!argp7) {
10622 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'");
10623 }
10624 arg7 = reinterpret_cast< wxPaneInfo * >(argp7);
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7);
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 resultobj = SWIG_Py_Void();
10632 return resultobj;
10633 fail:
10634 return NULL;
10635 }
10636
10637
10638 SWIGINTERN PyObject *DockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10639 PyObject *obj;
10640 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10641 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockArt, SWIG_NewClientData(obj));
10642 return SWIG_Py_Void();
10643 }
10644
10645 SWIGINTERN PyObject *_wrap_new_DefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10646 PyObject *resultobj = 0;
10647 wxDefaultDockArt *result = 0 ;
10648
10649 if (!SWIG_Python_UnpackTuple(args,"new_DefaultDockArt",0,0,0)) SWIG_fail;
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 result = (wxDefaultDockArt *)new wxDefaultDockArt();
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultDockArt, SWIG_POINTER_NEW | 0 );
10657 return resultobj;
10658 fail:
10659 return NULL;
10660 }
10661
10662
10663 SWIGINTERN PyObject *DefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10664 PyObject *obj;
10665 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10666 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultDockArt, SWIG_NewClientData(obj));
10667 return SWIG_Py_Void();
10668 }
10669
10670 SWIGINTERN PyObject *DefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10671 return SWIG_Python_InitShadowInstance(args);
10672 }
10673
10674 SWIGINTERN PyObject *_wrap_new_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj = 0;
10676 wxWindow *arg1 = (wxWindow *) 0 ;
10677 wxFrameManager *arg2 = (wxFrameManager *) 0 ;
10678 wxPaneInfo *arg3 = 0 ;
10679 int arg4 = (int) wxID_ANY ;
10680 wxFloatingPane *result = 0 ;
10681 void *argp1 = 0 ;
10682 int res1 = 0 ;
10683 void *argp2 = 0 ;
10684 int res2 = 0 ;
10685 void *argp3 = 0 ;
10686 int res3 = 0 ;
10687 int val4 ;
10688 int ecode4 = 0 ;
10689 PyObject * obj0 = 0 ;
10690 PyObject * obj1 = 0 ;
10691 PyObject * obj2 = 0 ;
10692 PyObject * obj3 = 0 ;
10693 char * kwnames[] = {
10694 (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id", NULL
10695 };
10696
10697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FloatingPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10699 if (!SWIG_IsOK(res1)) {
10700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatingPane" "', expected argument " "1"" of type '" "wxWindow *""'");
10701 }
10702 arg1 = reinterpret_cast< wxWindow * >(argp1);
10703 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrameManager, 0 | 0 );
10704 if (!SWIG_IsOK(res2)) {
10705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatingPane" "', expected argument " "2"" of type '" "wxFrameManager *""'");
10706 }
10707 arg2 = reinterpret_cast< wxFrameManager * >(argp2);
10708 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10709 if (!SWIG_IsOK(res3)) {
10710 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10711 }
10712 if (!argp3) {
10713 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10714 }
10715 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
10716 if (obj3) {
10717 ecode4 = SWIG_AsVal_int(obj3, &val4);
10718 if (!SWIG_IsOK(ecode4)) {
10719 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FloatingPane" "', expected argument " "4"" of type '" "int""'");
10720 }
10721 arg4 = static_cast< int >(val4);
10722 }
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = (wxFloatingPane *)new wxFloatingPane(arg1,arg2,(wxPaneInfo const &)*arg3,arg4);
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_NEW | 0 );
10730 return resultobj;
10731 fail:
10732 return NULL;
10733 }
10734
10735
10736 SWIGINTERN PyObject *_wrap_delete_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10737 PyObject *resultobj = 0;
10738 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10739 void *argp1 = 0 ;
10740 int res1 = 0 ;
10741 PyObject *swig_obj[1] ;
10742
10743 if (!args) SWIG_fail;
10744 swig_obj[0] = args;
10745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_DISOWN | 0 );
10746 if (!SWIG_IsOK(res1)) {
10747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatingPane" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
10748 }
10749 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
10750 {
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 delete arg1;
10753
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 resultobj = SWIG_Py_Void();
10758 return resultobj;
10759 fail:
10760 return NULL;
10761 }
10762
10763
10764 SWIGINTERN PyObject *_wrap_FloatingPane_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10765 PyObject *resultobj = 0;
10766 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10767 wxPaneInfo *arg2 = 0 ;
10768 void *argp1 = 0 ;
10769 int res1 = 0 ;
10770 void *argp2 = 0 ;
10771 int res2 = 0 ;
10772 PyObject * obj0 = 0 ;
10773 PyObject * obj1 = 0 ;
10774 char * kwnames[] = {
10775 (char *) "self",(char *) "pane", NULL
10776 };
10777
10778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FloatingPane_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail;
10779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFloatingPane, 0 | 0 );
10780 if (!SWIG_IsOK(res1)) {
10781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
10782 }
10783 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
10784 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10785 if (!SWIG_IsOK(res2)) {
10786 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
10787 }
10788 if (!argp2) {
10789 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
10790 }
10791 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
10792 {
10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 (arg1)->SetPaneWindow((wxPaneInfo const &)*arg2);
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 resultobj = SWIG_Py_Void();
10799 return resultobj;
10800 fail:
10801 return NULL;
10802 }
10803
10804
10805 SWIGINTERN PyObject *FloatingPane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10806 PyObject *obj;
10807 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10808 SWIG_TypeNewClientData(SWIGTYPE_p_wxFloatingPane, SWIG_NewClientData(obj));
10809 return SWIG_Py_Void();
10810 }
10811
10812 SWIGINTERN PyObject *FloatingPane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10813 return SWIG_Python_InitShadowInstance(args);
10814 }
10815
10816 SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj = 0;
10818 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10819 int arg2 = (int) 0 ;
10820 wxAuiNotebookEvent *result = 0 ;
10821 int val1 ;
10822 int ecode1 = 0 ;
10823 int val2 ;
10824 int ecode2 = 0 ;
10825 PyObject * obj0 = 0 ;
10826 PyObject * obj1 = 0 ;
10827 char * kwnames[] = {
10828 (char *) "command_type",(char *) "win_id", NULL
10829 };
10830
10831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10832 if (obj0) {
10833 ecode1 = SWIG_AsVal_int(obj0, &val1);
10834 if (!SWIG_IsOK(ecode1)) {
10835 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10836 }
10837 arg1 = static_cast< wxEventType >(val1);
10838 }
10839 if (obj1) {
10840 ecode2 = SWIG_AsVal_int(obj1, &val2);
10841 if (!SWIG_IsOK(ecode2)) {
10842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'");
10843 }
10844 arg2 = static_cast< int >(val2);
10845 }
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2);
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 );
10853 return resultobj;
10854 fail:
10855 return NULL;
10856 }
10857
10858
10859 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10860 PyObject *resultobj = 0;
10861 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10862 int arg2 ;
10863 void *argp1 = 0 ;
10864 int res1 = 0 ;
10865 int val2 ;
10866 int ecode2 = 0 ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 char * kwnames[] = {
10870 (char *) "self",(char *) "s", NULL
10871 };
10872
10873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
10874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10875 if (!SWIG_IsOK(res1)) {
10876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10877 }
10878 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10879 ecode2 = SWIG_AsVal_int(obj1, &val2);
10880 if (!SWIG_IsOK(ecode2)) {
10881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
10882 }
10883 arg2 = static_cast< int >(val2);
10884 {
10885 PyThreadState* __tstate = wxPyBeginAllowThreads();
10886 (arg1)->SetSelection(arg2);
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 resultobj = SWIG_Py_Void();
10891 return resultobj;
10892 fail:
10893 return NULL;
10894 }
10895
10896
10897 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10898 PyObject *resultobj = 0;
10899 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10900 int arg2 ;
10901 void *argp1 = 0 ;
10902 int res1 = 0 ;
10903 int val2 ;
10904 int ecode2 = 0 ;
10905 PyObject * obj0 = 0 ;
10906 PyObject * obj1 = 0 ;
10907 char * kwnames[] = {
10908 (char *) "self",(char *) "s", NULL
10909 };
10910
10911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
10912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10913 if (!SWIG_IsOK(res1)) {
10914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10915 }
10916 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10917 ecode2 = SWIG_AsVal_int(obj1, &val2);
10918 if (!SWIG_IsOK(ecode2)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
10920 }
10921 arg2 = static_cast< int >(val2);
10922 {
10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
10924 (arg1)->SetOldSelection(arg2);
10925 wxPyEndAllowThreads(__tstate);
10926 if (PyErr_Occurred()) SWIG_fail;
10927 }
10928 resultobj = SWIG_Py_Void();
10929 return resultobj;
10930 fail:
10931 return NULL;
10932 }
10933
10934
10935 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10936 PyObject *resultobj = 0;
10937 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10938 int result;
10939 void *argp1 = 0 ;
10940 int res1 = 0 ;
10941 PyObject *swig_obj[1] ;
10942
10943 if (!args) SWIG_fail;
10944 swig_obj[0] = args;
10945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10946 if (!SWIG_IsOK(res1)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
10948 }
10949 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection();
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 resultobj = SWIG_From_int(static_cast< int >(result));
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10964 PyObject *resultobj = 0;
10965 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10966 int result;
10967 void *argp1 = 0 ;
10968 int res1 = 0 ;
10969 PyObject *swig_obj[1] ;
10970
10971 if (!args) SWIG_fail;
10972 swig_obj[0] = args;
10973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10974 if (!SWIG_IsOK(res1)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
10976 }
10977 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection();
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 resultobj = SWIG_From_int(static_cast< int >(result));
10985 return resultobj;
10986 fail:
10987 return NULL;
10988 }
10989
10990
10991 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10992 PyObject *resultobj = 0;
10993 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10994 int arg2 ;
10995 void *argp1 = 0 ;
10996 int res1 = 0 ;
10997 int val2 ;
10998 int ecode2 = 0 ;
10999 PyObject *swig_obj[2] ;
11000
11001 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail;
11002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11003 if (!SWIG_IsOK(res1)) {
11004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11005 }
11006 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11007 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11008 if (!SWIG_IsOK(ecode2)) {
11009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'");
11010 }
11011 arg2 = static_cast< int >(val2);
11012 if (arg1) (arg1)->old_selection = arg2;
11013
11014 resultobj = SWIG_Py_Void();
11015 return resultobj;
11016 fail:
11017 return NULL;
11018 }
11019
11020
11021 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11022 PyObject *resultobj = 0;
11023 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11024 int result;
11025 void *argp1 = 0 ;
11026 int res1 = 0 ;
11027 PyObject *swig_obj[1] ;
11028
11029 if (!args) SWIG_fail;
11030 swig_obj[0] = args;
11031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11032 if (!SWIG_IsOK(res1)) {
11033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11034 }
11035 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11036 result = (int) ((arg1)->old_selection);
11037 resultobj = SWIG_From_int(static_cast< int >(result));
11038 return resultobj;
11039 fail:
11040 return NULL;
11041 }
11042
11043
11044 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11045 PyObject *resultobj = 0;
11046 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11047 int arg2 ;
11048 void *argp1 = 0 ;
11049 int res1 = 0 ;
11050 int val2 ;
11051 int ecode2 = 0 ;
11052 PyObject *swig_obj[2] ;
11053
11054 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail;
11055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11056 if (!SWIG_IsOK(res1)) {
11057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11058 }
11059 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11060 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11061 if (!SWIG_IsOK(ecode2)) {
11062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'");
11063 }
11064 arg2 = static_cast< int >(val2);
11065 if (arg1) (arg1)->selection = arg2;
11066
11067 resultobj = SWIG_Py_Void();
11068 return resultobj;
11069 fail:
11070 return NULL;
11071 }
11072
11073
11074 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11075 PyObject *resultobj = 0;
11076 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11077 int result;
11078 void *argp1 = 0 ;
11079 int res1 = 0 ;
11080 PyObject *swig_obj[1] ;
11081
11082 if (!args) SWIG_fail;
11083 swig_obj[0] = args;
11084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11085 if (!SWIG_IsOK(res1)) {
11086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11087 }
11088 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11089 result = (int) ((arg1)->selection);
11090 resultobj = SWIG_From_int(static_cast< int >(result));
11091 return resultobj;
11092 fail:
11093 return NULL;
11094 }
11095
11096
11097 SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11098 PyObject *obj;
11099 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11100 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj));
11101 return SWIG_Py_Void();
11102 }
11103
11104 SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11105 return SWIG_Python_InitShadowInstance(args);
11106 }
11107
11108 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11109 PyObject *resultobj = 0;
11110 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11111 wxWindow *arg2 = (wxWindow *) 0 ;
11112 void *argp1 = 0 ;
11113 int res1 = 0 ;
11114 void *argp2 = 0 ;
11115 int res2 = 0 ;
11116 PyObject *swig_obj[2] ;
11117
11118 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail;
11119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11120 if (!SWIG_IsOK(res1)) {
11121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11122 }
11123 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11124 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
11125 if (!SWIG_IsOK(res2)) {
11126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
11127 }
11128 arg2 = reinterpret_cast< wxWindow * >(argp2);
11129 if (arg1) (arg1)->window = arg2;
11130
11131 resultobj = SWIG_Py_Void();
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11139 PyObject *resultobj = 0;
11140 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11141 wxWindow *result = 0 ;
11142 void *argp1 = 0 ;
11143 int res1 = 0 ;
11144 PyObject *swig_obj[1] ;
11145
11146 if (!args) SWIG_fail;
11147 swig_obj[0] = args;
11148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11149 if (!SWIG_IsOK(res1)) {
11150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11151 }
11152 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11153 result = (wxWindow *) ((arg1)->window);
11154 {
11155 resultobj = wxPyMake_wxObject(result, 0);
11156 }
11157 return resultobj;
11158 fail:
11159 return NULL;
11160 }
11161
11162
11163 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11164 PyObject *resultobj = 0;
11165 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11166 wxString *arg2 = (wxString *) 0 ;
11167 void *argp1 = 0 ;
11168 int res1 = 0 ;
11169 bool temp2 = false ;
11170 PyObject *swig_obj[2] ;
11171
11172 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail;
11173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11174 if (!SWIG_IsOK(res1)) {
11175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11176 }
11177 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11178 {
11179 arg2 = wxString_in_helper(swig_obj[1]);
11180 if (arg2 == NULL) SWIG_fail;
11181 temp2 = true;
11182 }
11183 if (arg1) (arg1)->caption = *arg2;
11184
11185 resultobj = SWIG_Py_Void();
11186 {
11187 if (temp2)
11188 delete arg2;
11189 }
11190 return resultobj;
11191 fail:
11192 {
11193 if (temp2)
11194 delete arg2;
11195 }
11196 return NULL;
11197 }
11198
11199
11200 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11201 PyObject *resultobj = 0;
11202 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11203 wxString *result = 0 ;
11204 void *argp1 = 0 ;
11205 int res1 = 0 ;
11206 PyObject *swig_obj[1] ;
11207
11208 if (!args) SWIG_fail;
11209 swig_obj[0] = args;
11210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11211 if (!SWIG_IsOK(res1)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11213 }
11214 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11215 result = (wxString *)& ((arg1)->caption);
11216 {
11217 #if wxUSE_UNICODE
11218 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11219 #else
11220 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11221 #endif
11222 }
11223 return resultobj;
11224 fail:
11225 return NULL;
11226 }
11227
11228
11229 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11230 PyObject *resultobj = 0;
11231 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11232 wxBitmap *arg2 = (wxBitmap *) 0 ;
11233 void *argp1 = 0 ;
11234 int res1 = 0 ;
11235 void *argp2 = 0 ;
11236 int res2 = 0 ;
11237 PyObject *swig_obj[2] ;
11238
11239 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail;
11240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11241 if (!SWIG_IsOK(res1)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11243 }
11244 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11245 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
11246 if (!SWIG_IsOK(res2)) {
11247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
11248 }
11249 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11250 if (arg1) (arg1)->bitmap = *arg2;
11251
11252 resultobj = SWIG_Py_Void();
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11260 PyObject *resultobj = 0;
11261 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11262 wxBitmap *result = 0 ;
11263 void *argp1 = 0 ;
11264 int res1 = 0 ;
11265 PyObject *swig_obj[1] ;
11266
11267 if (!args) SWIG_fail;
11268 swig_obj[0] = args;
11269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11270 if (!SWIG_IsOK(res1)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11272 }
11273 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11274 result = (wxBitmap *)& ((arg1)->bitmap);
11275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
11276 return resultobj;
11277 fail:
11278 return NULL;
11279 }
11280
11281
11282 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11283 PyObject *resultobj = 0;
11284 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11285 wxRect *arg2 = (wxRect *) 0 ;
11286 void *argp1 = 0 ;
11287 int res1 = 0 ;
11288 void *argp2 = 0 ;
11289 int res2 = 0 ;
11290 PyObject *swig_obj[2] ;
11291
11292 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail;
11293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11294 if (!SWIG_IsOK(res1)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11296 }
11297 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11298 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
11299 if (!SWIG_IsOK(res2)) {
11300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
11301 }
11302 arg2 = reinterpret_cast< wxRect * >(argp2);
11303 if (arg1) (arg1)->rect = *arg2;
11304
11305 resultobj = SWIG_Py_Void();
11306 return resultobj;
11307 fail:
11308 return NULL;
11309 }
11310
11311
11312 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11313 PyObject *resultobj = 0;
11314 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11315 wxRect *result = 0 ;
11316 void *argp1 = 0 ;
11317 int res1 = 0 ;
11318 PyObject *swig_obj[1] ;
11319
11320 if (!args) SWIG_fail;
11321 swig_obj[0] = args;
11322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11323 if (!SWIG_IsOK(res1)) {
11324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11325 }
11326 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11327 result = (wxRect *)& ((arg1)->rect);
11328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
11329 return resultobj;
11330 fail:
11331 return NULL;
11332 }
11333
11334
11335 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11336 PyObject *resultobj = 0;
11337 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11338 bool arg2 ;
11339 void *argp1 = 0 ;
11340 int res1 = 0 ;
11341 bool val2 ;
11342 int ecode2 = 0 ;
11343 PyObject *swig_obj[2] ;
11344
11345 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail;
11346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11347 if (!SWIG_IsOK(res1)) {
11348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11349 }
11350 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11351 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
11352 if (!SWIG_IsOK(ecode2)) {
11353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'");
11354 }
11355 arg2 = static_cast< bool >(val2);
11356 if (arg1) (arg1)->active = arg2;
11357
11358 resultobj = SWIG_Py_Void();
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11366 PyObject *resultobj = 0;
11367 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11368 bool result;
11369 void *argp1 = 0 ;
11370 int res1 = 0 ;
11371 PyObject *swig_obj[1] ;
11372
11373 if (!args) SWIG_fail;
11374 swig_obj[0] = args;
11375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11376 if (!SWIG_IsOK(res1)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11378 }
11379 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11380 result = (bool) ((arg1)->active);
11381 {
11382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11383 }
11384 return resultobj;
11385 fail:
11386 return NULL;
11387 }
11388
11389
11390 SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11391 PyObject *obj;
11392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11393 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj));
11394 return SWIG_Py_Void();
11395 }
11396
11397 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11398 PyObject *resultobj = 0;
11399 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11400 int arg2 ;
11401 void *argp1 = 0 ;
11402 int res1 = 0 ;
11403 int val2 ;
11404 int ecode2 = 0 ;
11405 PyObject *swig_obj[2] ;
11406
11407 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail;
11408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11409 if (!SWIG_IsOK(res1)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11411 }
11412 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11413 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11414 if (!SWIG_IsOK(ecode2)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'");
11416 }
11417 arg2 = static_cast< int >(val2);
11418 if (arg1) (arg1)->id = arg2;
11419
11420 resultobj = SWIG_Py_Void();
11421 return resultobj;
11422 fail:
11423 return NULL;
11424 }
11425
11426
11427 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11428 PyObject *resultobj = 0;
11429 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11430 int result;
11431 void *argp1 = 0 ;
11432 int res1 = 0 ;
11433 PyObject *swig_obj[1] ;
11434
11435 if (!args) SWIG_fail;
11436 swig_obj[0] = args;
11437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11438 if (!SWIG_IsOK(res1)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11440 }
11441 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11442 result = (int) ((arg1)->id);
11443 resultobj = SWIG_From_int(static_cast< int >(result));
11444 return resultobj;
11445 fail:
11446 return NULL;
11447 }
11448
11449
11450 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11451 PyObject *resultobj = 0;
11452 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11453 int arg2 ;
11454 void *argp1 = 0 ;
11455 int res1 = 0 ;
11456 int val2 ;
11457 int ecode2 = 0 ;
11458 PyObject *swig_obj[2] ;
11459
11460 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail;
11461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11462 if (!SWIG_IsOK(res1)) {
11463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11464 }
11465 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11466 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11467 if (!SWIG_IsOK(ecode2)) {
11468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'");
11469 }
11470 arg2 = static_cast< int >(val2);
11471 if (arg1) (arg1)->cur_state = arg2;
11472
11473 resultobj = SWIG_Py_Void();
11474 return resultobj;
11475 fail:
11476 return NULL;
11477 }
11478
11479
11480 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11481 PyObject *resultobj = 0;
11482 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11483 int result;
11484 void *argp1 = 0 ;
11485 int res1 = 0 ;
11486 PyObject *swig_obj[1] ;
11487
11488 if (!args) SWIG_fail;
11489 swig_obj[0] = args;
11490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11491 if (!SWIG_IsOK(res1)) {
11492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11493 }
11494 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11495 result = (int) ((arg1)->cur_state);
11496 resultobj = SWIG_From_int(static_cast< int >(result));
11497 return resultobj;
11498 fail:
11499 return NULL;
11500 }
11501
11502
11503 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11504 PyObject *resultobj = 0;
11505 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11506 wxBitmap *arg2 = (wxBitmap *) 0 ;
11507 void *argp1 = 0 ;
11508 int res1 = 0 ;
11509 void *argp2 = 0 ;
11510 int res2 = 0 ;
11511 PyObject *swig_obj[2] ;
11512
11513 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail;
11514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11515 if (!SWIG_IsOK(res1)) {
11516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11517 }
11518 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11519 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
11520 if (!SWIG_IsOK(res2)) {
11521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
11522 }
11523 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11524 if (arg1) (arg1)->bitmap = *arg2;
11525
11526 resultobj = SWIG_Py_Void();
11527 return resultobj;
11528 fail:
11529 return NULL;
11530 }
11531
11532
11533 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11534 PyObject *resultobj = 0;
11535 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11536 wxBitmap *result = 0 ;
11537 void *argp1 = 0 ;
11538 int res1 = 0 ;
11539 PyObject *swig_obj[1] ;
11540
11541 if (!args) SWIG_fail;
11542 swig_obj[0] = args;
11543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11544 if (!SWIG_IsOK(res1)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11546 }
11547 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11548 result = (wxBitmap *)& ((arg1)->bitmap);
11549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
11550 return resultobj;
11551 fail:
11552 return NULL;
11553 }
11554
11555
11556 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11557 PyObject *resultobj = 0;
11558 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11559 wxRect *arg2 = (wxRect *) 0 ;
11560 void *argp1 = 0 ;
11561 int res1 = 0 ;
11562 void *argp2 = 0 ;
11563 int res2 = 0 ;
11564 PyObject *swig_obj[2] ;
11565
11566 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail;
11567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11568 if (!SWIG_IsOK(res1)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11570 }
11571 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11572 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
11573 if (!SWIG_IsOK(res2)) {
11574 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
11575 }
11576 arg2 = reinterpret_cast< wxRect * >(argp2);
11577 if (arg1) (arg1)->rect = *arg2;
11578
11579 resultobj = SWIG_Py_Void();
11580 return resultobj;
11581 fail:
11582 return NULL;
11583 }
11584
11585
11586 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11587 PyObject *resultobj = 0;
11588 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11589 wxRect *result = 0 ;
11590 void *argp1 = 0 ;
11591 int res1 = 0 ;
11592 PyObject *swig_obj[1] ;
11593
11594 if (!args) SWIG_fail;
11595 swig_obj[0] = args;
11596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11597 if (!SWIG_IsOK(res1)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11599 }
11600 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11601 result = (wxRect *)& ((arg1)->rect);
11602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
11603 return resultobj;
11604 fail:
11605 return NULL;
11606 }
11607
11608
11609 SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11610 PyObject *obj;
11611 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11612 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj));
11613 return SWIG_Py_Void();
11614 }
11615
11616 SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11617 PyObject *resultobj = 0;
11618 wxAuiTabContainer *result = 0 ;
11619
11620 if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail;
11621 {
11622 PyThreadState* __tstate = wxPyBeginAllowThreads();
11623 result = (wxAuiTabContainer *)new wxAuiTabContainer();
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 );
11628 return resultobj;
11629 fail:
11630 return NULL;
11631 }
11632
11633
11634 SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11635 PyObject *resultobj = 0;
11636 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11637 void *argp1 = 0 ;
11638 int res1 = 0 ;
11639 PyObject *swig_obj[1] ;
11640
11641 if (!args) SWIG_fail;
11642 swig_obj[0] = args;
11643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 );
11644 if (!SWIG_IsOK(res1)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11646 }
11647 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 delete arg1;
11651
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 resultobj = SWIG_Py_Void();
11656 return resultobj;
11657 fail:
11658 return NULL;
11659 }
11660
11661
11662 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj = 0;
11664 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11665 wxWindow *arg2 = (wxWindow *) 0 ;
11666 wxAuiNotebookPage *arg3 = 0 ;
11667 bool result;
11668 void *argp1 = 0 ;
11669 int res1 = 0 ;
11670 void *argp2 = 0 ;
11671 int res2 = 0 ;
11672 void *argp3 = 0 ;
11673 int res3 = 0 ;
11674 PyObject * obj0 = 0 ;
11675 PyObject * obj1 = 0 ;
11676 PyObject * obj2 = 0 ;
11677 char * kwnames[] = {
11678 (char *) "self",(char *) "page",(char *) "info", NULL
11679 };
11680
11681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11683 if (!SWIG_IsOK(res1)) {
11684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11685 }
11686 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11687 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11688 if (!SWIG_IsOK(res2)) {
11689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
11690 }
11691 arg2 = reinterpret_cast< wxWindow * >(argp2);
11692 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
11693 if (!SWIG_IsOK(res3)) {
11694 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11695 }
11696 if (!argp3) {
11697 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11698 }
11699 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3);
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 {
11707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11708 }
11709 return resultobj;
11710 fail:
11711 return NULL;
11712 }
11713
11714
11715 SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj = 0;
11717 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11718 wxWindow *arg2 = (wxWindow *) 0 ;
11719 wxAuiNotebookPage *arg3 = 0 ;
11720 size_t arg4 ;
11721 bool result;
11722 void *argp1 = 0 ;
11723 int res1 = 0 ;
11724 void *argp2 = 0 ;
11725 int res2 = 0 ;
11726 void *argp3 = 0 ;
11727 int res3 = 0 ;
11728 size_t val4 ;
11729 int ecode4 = 0 ;
11730 PyObject * obj0 = 0 ;
11731 PyObject * obj1 = 0 ;
11732 PyObject * obj2 = 0 ;
11733 PyObject * obj3 = 0 ;
11734 char * kwnames[] = {
11735 (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL
11736 };
11737
11738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11740 if (!SWIG_IsOK(res1)) {
11741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11742 }
11743 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11744 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11745 if (!SWIG_IsOK(res2)) {
11746 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'");
11747 }
11748 arg2 = reinterpret_cast< wxWindow * >(argp2);
11749 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
11750 if (!SWIG_IsOK(res3)) {
11751 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11752 }
11753 if (!argp3) {
11754 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11755 }
11756 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
11757 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
11758 if (!SWIG_IsOK(ecode4)) {
11759 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'");
11760 }
11761 arg4 = static_cast< size_t >(val4);
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4);
11765 wxPyEndAllowThreads(__tstate);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 {
11769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11770 }
11771 return resultobj;
11772 fail:
11773 return NULL;
11774 }
11775
11776
11777 SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11778 PyObject *resultobj = 0;
11779 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11780 wxWindow *arg2 = (wxWindow *) 0 ;
11781 bool result;
11782 void *argp1 = 0 ;
11783 int res1 = 0 ;
11784 void *argp2 = 0 ;
11785 int res2 = 0 ;
11786 PyObject * obj0 = 0 ;
11787 PyObject * obj1 = 0 ;
11788 char * kwnames[] = {
11789 (char *) "self",(char *) "page", NULL
11790 };
11791
11792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
11793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11794 if (!SWIG_IsOK(res1)) {
11795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11796 }
11797 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11798 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11799 if (!SWIG_IsOK(res2)) {
11800 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'");
11801 }
11802 arg2 = reinterpret_cast< wxWindow * >(argp2);
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 result = (bool)(arg1)->RemovePage(arg2);
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 {
11810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11811 }
11812 return resultobj;
11813 fail:
11814 return NULL;
11815 }
11816
11817
11818 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
11819 PyObject *resultobj = 0;
11820 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11821 wxWindow *arg2 = (wxWindow *) 0 ;
11822 bool result;
11823 void *argp1 = 0 ;
11824 int res1 = 0 ;
11825 void *argp2 = 0 ;
11826 int res2 = 0 ;
11827
11828 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
11829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11830 if (!SWIG_IsOK(res1)) {
11831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11832 }
11833 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11834 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11835 if (!SWIG_IsOK(res2)) {
11836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'");
11837 }
11838 arg2 = reinterpret_cast< wxWindow * >(argp2);
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 result = (bool)(arg1)->SetActivePage(arg2);
11842 wxPyEndAllowThreads(__tstate);
11843 if (PyErr_Occurred()) SWIG_fail;
11844 }
11845 {
11846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11847 }
11848 return resultobj;
11849 fail:
11850 return NULL;
11851 }
11852
11853
11854 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
11855 PyObject *resultobj = 0;
11856 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11857 size_t arg2 ;
11858 bool result;
11859 void *argp1 = 0 ;
11860 int res1 = 0 ;
11861 size_t val2 ;
11862 int ecode2 = 0 ;
11863
11864 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
11865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11866 if (!SWIG_IsOK(res1)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11868 }
11869 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11870 ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
11871 if (!SWIG_IsOK(ecode2)) {
11872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'");
11873 }
11874 arg2 = static_cast< size_t >(val2);
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 result = (bool)(arg1)->SetActivePage(arg2);
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 {
11882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11883 }
11884 return resultobj;
11885 fail:
11886 return NULL;
11887 }
11888
11889
11890 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) {
11891 int argc;
11892 PyObject *argv[3];
11893
11894 if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail;
11895 --argc;
11896 if (argc == 2) {
11897 int _v = 0;
11898 {
11899 void *vptr = 0;
11900 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0);
11901 _v = SWIG_CheckState(res);
11902 }
11903 if (!_v) goto check_1;
11904 return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv);
11905 }
11906 check_1:
11907
11908 if (argc == 2) {
11909 return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv);
11910 }
11911
11912 fail:
11913 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'");
11914 return NULL;
11915 }
11916
11917
11918 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11919 PyObject *resultobj = 0;
11920 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11921 void *argp1 = 0 ;
11922 int res1 = 0 ;
11923 PyObject *swig_obj[1] ;
11924
11925 if (!args) SWIG_fail;
11926 swig_obj[0] = args;
11927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11928 if (!SWIG_IsOK(res1)) {
11929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11930 }
11931 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11932 {
11933 PyThreadState* __tstate = wxPyBeginAllowThreads();
11934 (arg1)->SetNoneActive();
11935 wxPyEndAllowThreads(__tstate);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 }
11938 resultobj = SWIG_Py_Void();
11939 return resultobj;
11940 fail:
11941 return NULL;
11942 }
11943
11944
11945 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11946 PyObject *resultobj = 0;
11947 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11948 int result;
11949 void *argp1 = 0 ;
11950 int res1 = 0 ;
11951 PyObject *swig_obj[1] ;
11952
11953 if (!args) SWIG_fail;
11954 swig_obj[0] = args;
11955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11956 if (!SWIG_IsOK(res1)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
11958 }
11959 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage();
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 resultobj = SWIG_From_int(static_cast< int >(result));
11967 return resultobj;
11968 fail:
11969 return NULL;
11970 }
11971
11972
11973 SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11974 PyObject *resultobj = 0;
11975 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11976 int arg2 ;
11977 int arg3 ;
11978 wxWindow **arg4 = (wxWindow **) 0 ;
11979 bool result;
11980 void *argp1 = 0 ;
11981 int res1 = 0 ;
11982 int val2 ;
11983 int ecode2 = 0 ;
11984 int val3 ;
11985 int ecode3 = 0 ;
11986 void *argp4 = 0 ;
11987 int res4 = 0 ;
11988 PyObject * obj0 = 0 ;
11989 PyObject * obj1 = 0 ;
11990 PyObject * obj2 = 0 ;
11991 PyObject * obj3 = 0 ;
11992 char * kwnames[] = {
11993 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
11994 };
11995
11996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11998 if (!SWIG_IsOK(res1)) {
11999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12000 }
12001 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12002 ecode2 = SWIG_AsVal_int(obj1, &val2);
12003 if (!SWIG_IsOK(ecode2)) {
12004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'");
12005 }
12006 arg2 = static_cast< int >(val2);
12007 ecode3 = SWIG_AsVal_int(obj2, &val3);
12008 if (!SWIG_IsOK(ecode3)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'");
12010 }
12011 arg3 = static_cast< int >(val3);
12012 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 );
12013 if (!SWIG_IsOK(res4)) {
12014 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'");
12015 }
12016 arg4 = reinterpret_cast< wxWindow ** >(argp4);
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4);
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 {
12024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12025 }
12026 return resultobj;
12027 fail:
12028 return NULL;
12029 }
12030
12031
12032 SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj = 0;
12034 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12035 int arg2 ;
12036 int arg3 ;
12037 wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ;
12038 bool result;
12039 void *argp1 = 0 ;
12040 int res1 = 0 ;
12041 int val2 ;
12042 int ecode2 = 0 ;
12043 int val3 ;
12044 int ecode3 = 0 ;
12045 void *argp4 = 0 ;
12046 int res4 = 0 ;
12047 PyObject * obj0 = 0 ;
12048 PyObject * obj1 = 0 ;
12049 PyObject * obj2 = 0 ;
12050 PyObject * obj3 = 0 ;
12051 char * kwnames[] = {
12052 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
12053 };
12054
12055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12057 if (!SWIG_IsOK(res1)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12059 }
12060 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12061 ecode2 = SWIG_AsVal_int(obj1, &val2);
12062 if (!SWIG_IsOK(ecode2)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'");
12064 }
12065 arg2 = static_cast< int >(val2);
12066 ecode3 = SWIG_AsVal_int(obj2, &val3);
12067 if (!SWIG_IsOK(ecode3)) {
12068 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'");
12069 }
12070 arg3 = static_cast< int >(val3);
12071 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 );
12072 if (!SWIG_IsOK(res4)) {
12073 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'");
12074 }
12075 arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4);
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4);
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 {
12083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12084 }
12085 return resultobj;
12086 fail:
12087 return NULL;
12088 }
12089
12090
12091 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12092 PyObject *resultobj = 0;
12093 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12094 size_t arg2 ;
12095 wxWindow *result = 0 ;
12096 void *argp1 = 0 ;
12097 int res1 = 0 ;
12098 size_t val2 ;
12099 int ecode2 = 0 ;
12100 PyObject * obj0 = 0 ;
12101 PyObject * obj1 = 0 ;
12102 char * kwnames[] = {
12103 (char *) "self",(char *) "idx", NULL
12104 };
12105
12106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail;
12107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12108 if (!SWIG_IsOK(res1)) {
12109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12110 }
12111 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12112 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12113 if (!SWIG_IsOK(ecode2)) {
12114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'");
12115 }
12116 arg2 = static_cast< size_t >(val2);
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2);
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 {
12124 resultobj = wxPyMake_wxObject(result, 0);
12125 }
12126 return resultobj;
12127 fail:
12128 return NULL;
12129 }
12130
12131
12132 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12133 PyObject *resultobj = 0;
12134 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12135 wxWindow *arg2 = (wxWindow *) 0 ;
12136 int result;
12137 void *argp1 = 0 ;
12138 int res1 = 0 ;
12139 void *argp2 = 0 ;
12140 int res2 = 0 ;
12141 PyObject * obj0 = 0 ;
12142 PyObject * obj1 = 0 ;
12143 char * kwnames[] = {
12144 (char *) "self",(char *) "page", NULL
12145 };
12146
12147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12149 if (!SWIG_IsOK(res1)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12151 }
12152 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12153 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12154 if (!SWIG_IsOK(res2)) {
12155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12156 }
12157 arg2 = reinterpret_cast< wxWindow * >(argp2);
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2);
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 resultobj = SWIG_From_int(static_cast< int >(result));
12165 return resultobj;
12166 fail:
12167 return NULL;
12168 }
12169
12170
12171 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12172 PyObject *resultobj = 0;
12173 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12174 size_t result;
12175 void *argp1 = 0 ;
12176 int res1 = 0 ;
12177 PyObject *swig_obj[1] ;
12178
12179 if (!args) SWIG_fail;
12180 swig_obj[0] = args;
12181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12182 if (!SWIG_IsOK(res1)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12184 }
12185 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount();
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj = 0;
12201 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12202 size_t arg2 ;
12203 wxAuiNotebookPage *result = 0 ;
12204 void *argp1 = 0 ;
12205 int res1 = 0 ;
12206 size_t val2 ;
12207 int ecode2 = 0 ;
12208 PyObject * obj0 = 0 ;
12209 PyObject * obj1 = 0 ;
12210 char * kwnames[] = {
12211 (char *) "self",(char *) "idx", NULL
12212 };
12213
12214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
12215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12216 if (!SWIG_IsOK(res1)) {
12217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12218 }
12219 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12220 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12221 if (!SWIG_IsOK(ecode2)) {
12222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'");
12223 }
12224 arg2 = static_cast< size_t >(val2);
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 {
12228 wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2);
12229 result = (wxAuiNotebookPage *) &_result_ref;
12230 }
12231 wxPyEndAllowThreads(__tstate);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 }
12234 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12235 return resultobj;
12236 fail:
12237 return NULL;
12238 }
12239
12240
12241 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12242 PyObject *resultobj = 0;
12243 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12244 wxAuiNotebookPageArray *result = 0 ;
12245 void *argp1 = 0 ;
12246 int res1 = 0 ;
12247 PyObject *swig_obj[1] ;
12248
12249 if (!args) SWIG_fail;
12250 swig_obj[0] = args;
12251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12252 if (!SWIG_IsOK(res1)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12254 }
12255 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12256 {
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 {
12259 wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages();
12260 result = (wxAuiNotebookPageArray *) &_result_ref;
12261 }
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 }
12265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 );
12266 return resultobj;
12267 fail:
12268 return NULL;
12269 }
12270
12271
12272 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj = 0;
12274 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12275 wxFont *arg2 = 0 ;
12276 void *argp1 = 0 ;
12277 int res1 = 0 ;
12278 void *argp2 = 0 ;
12279 int res2 = 0 ;
12280 PyObject * obj0 = 0 ;
12281 PyObject * obj1 = 0 ;
12282 char * kwnames[] = {
12283 (char *) "self",(char *) "normal_font", NULL
12284 };
12285
12286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail;
12287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12288 if (!SWIG_IsOK(res1)) {
12289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12290 }
12291 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12292 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12293 if (!SWIG_IsOK(res2)) {
12294 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12295 }
12296 if (!argp2) {
12297 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12298 }
12299 arg2 = reinterpret_cast< wxFont * >(argp2);
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 (arg1)->SetNormalFont((wxFont const &)*arg2);
12303 wxPyEndAllowThreads(__tstate);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
12306 resultobj = SWIG_Py_Void();
12307 return resultobj;
12308 fail:
12309 return NULL;
12310 }
12311
12312
12313 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12314 PyObject *resultobj = 0;
12315 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12316 wxFont *arg2 = 0 ;
12317 void *argp1 = 0 ;
12318 int res1 = 0 ;
12319 void *argp2 = 0 ;
12320 int res2 = 0 ;
12321 PyObject * obj0 = 0 ;
12322 PyObject * obj1 = 0 ;
12323 char * kwnames[] = {
12324 (char *) "self",(char *) "selected_font", NULL
12325 };
12326
12327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
12328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12329 if (!SWIG_IsOK(res1)) {
12330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12331 }
12332 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12333 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12334 if (!SWIG_IsOK(res2)) {
12335 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12336 }
12337 if (!argp2) {
12338 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12339 }
12340 arg2 = reinterpret_cast< wxFont * >(argp2);
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 (arg1)->SetSelectedFont((wxFont const &)*arg2);
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
12347 resultobj = SWIG_Py_Void();
12348 return resultobj;
12349 fail:
12350 return NULL;
12351 }
12352
12353
12354 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj = 0;
12356 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12357 wxFont *arg2 = 0 ;
12358 void *argp1 = 0 ;
12359 int res1 = 0 ;
12360 void *argp2 = 0 ;
12361 int res2 = 0 ;
12362 PyObject * obj0 = 0 ;
12363 PyObject * obj1 = 0 ;
12364 char * kwnames[] = {
12365 (char *) "self",(char *) "measuring_font", NULL
12366 };
12367
12368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail;
12369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12370 if (!SWIG_IsOK(res1)) {
12371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12372 }
12373 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12374 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12375 if (!SWIG_IsOK(res2)) {
12376 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12377 }
12378 if (!argp2) {
12379 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12380 }
12381 arg2 = reinterpret_cast< wxFont * >(argp2);
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 (arg1)->SetMeasuringFont((wxFont const &)*arg2);
12385 wxPyEndAllowThreads(__tstate);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
12388 resultobj = SWIG_Py_Void();
12389 return resultobj;
12390 fail:
12391 return NULL;
12392 }
12393
12394
12395 SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12396 PyObject *resultobj = 0;
12397 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12398 void *argp1 = 0 ;
12399 int res1 = 0 ;
12400 PyObject *swig_obj[1] ;
12401
12402 if (!args) SWIG_fail;
12403 swig_obj[0] = args;
12404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12405 if (!SWIG_IsOK(res1)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12407 }
12408 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 (arg1)->DoShowHide();
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 resultobj = SWIG_Py_Void();
12416 return resultobj;
12417 fail:
12418 return NULL;
12419 }
12420
12421
12422 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj = 0;
12424 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12425 wxRect *arg2 = 0 ;
12426 void *argp1 = 0 ;
12427 int res1 = 0 ;
12428 wxRect temp2 ;
12429 PyObject * obj0 = 0 ;
12430 PyObject * obj1 = 0 ;
12431 char * kwnames[] = {
12432 (char *) "self",(char *) "rect", NULL
12433 };
12434
12435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12437 if (!SWIG_IsOK(res1)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12439 }
12440 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12441 {
12442 arg2 = &temp2;
12443 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12444 }
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 (arg1)->SetRect((wxRect const &)*arg2);
12448 wxPyEndAllowThreads(__tstate);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 resultobj = SWIG_Py_Void();
12452 return resultobj;
12453 fail:
12454 return NULL;
12455 }
12456
12457
12458 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12459 PyObject *resultobj = 0;
12460 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12461 int arg2 ;
12462 wxBitmap *arg3 = 0 ;
12463 void *argp1 = 0 ;
12464 int res1 = 0 ;
12465 int val2 ;
12466 int ecode2 = 0 ;
12467 void *argp3 = 0 ;
12468 int res3 = 0 ;
12469 PyObject * obj0 = 0 ;
12470 PyObject * obj1 = 0 ;
12471 PyObject * obj2 = 0 ;
12472 char * kwnames[] = {
12473 (char *) "self",(char *) "id",(char *) "bmp", NULL
12474 };
12475
12476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12478 if (!SWIG_IsOK(res1)) {
12479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12480 }
12481 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12482 ecode2 = SWIG_AsVal_int(obj1, &val2);
12483 if (!SWIG_IsOK(ecode2)) {
12484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'");
12485 }
12486 arg2 = static_cast< int >(val2);
12487 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
12488 if (!SWIG_IsOK(res3)) {
12489 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
12490 }
12491 if (!argp3) {
12492 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
12493 }
12494 arg3 = reinterpret_cast< wxBitmap * >(argp3);
12495 {
12496 PyThreadState* __tstate = wxPyBeginAllowThreads();
12497 (arg1)->AddButton(arg2,(wxBitmap const &)*arg3);
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 resultobj = SWIG_Py_Void();
12502 return resultobj;
12503 fail:
12504 return NULL;
12505 }
12506
12507
12508 SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12509 PyObject *obj;
12510 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12511 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj));
12512 return SWIG_Py_Void();
12513 }
12514
12515 SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12516 return SWIG_Python_InitShadowInstance(args);
12517 }
12518
12519 SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12520 PyObject *resultobj = 0;
12521 wxWindow *arg1 = (wxWindow *) 0 ;
12522 int arg2 = (int) wxID_ANY ;
12523 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12524 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12525 wxSize const &arg4_defvalue = wxDefaultSize ;
12526 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12527 long arg5 = (long) 0 ;
12528 wxAuiTabCtrl *result = 0 ;
12529 void *argp1 = 0 ;
12530 int res1 = 0 ;
12531 int val2 ;
12532 int ecode2 = 0 ;
12533 wxPoint temp3 ;
12534 wxSize temp4 ;
12535 long val5 ;
12536 int ecode5 = 0 ;
12537 PyObject * obj0 = 0 ;
12538 PyObject * obj1 = 0 ;
12539 PyObject * obj2 = 0 ;
12540 PyObject * obj3 = 0 ;
12541 PyObject * obj4 = 0 ;
12542 char * kwnames[] = {
12543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
12544 };
12545
12546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12548 if (!SWIG_IsOK(res1)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
12550 }
12551 arg1 = reinterpret_cast< wxWindow * >(argp1);
12552 if (obj1) {
12553 ecode2 = SWIG_AsVal_int(obj1, &val2);
12554 if (!SWIG_IsOK(ecode2)) {
12555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'");
12556 }
12557 arg2 = static_cast< int >(val2);
12558 }
12559 if (obj2) {
12560 {
12561 arg3 = &temp3;
12562 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12563 }
12564 }
12565 if (obj3) {
12566 {
12567 arg4 = &temp4;
12568 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12569 }
12570 }
12571 if (obj4) {
12572 ecode5 = SWIG_AsVal_long(obj4, &val5);
12573 if (!SWIG_IsOK(ecode5)) {
12574 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'");
12575 }
12576 arg5 = static_cast< long >(val5);
12577 }
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 );
12585 return resultobj;
12586 fail:
12587 return NULL;
12588 }
12589
12590
12591 SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12592 PyObject *obj;
12593 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12594 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj));
12595 return SWIG_Py_Void();
12596 }
12597
12598 SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12599 return SWIG_Python_InitShadowInstance(args);
12600 }
12601
12602 SWIGINTERN PyObject *_wrap_new_PreAuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12603 PyObject *resultobj = 0;
12604 wxAuiMultiNotebook *result = 0 ;
12605
12606 if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMultiNotebook",0,0,0)) SWIG_fail;
12607 {
12608 PyThreadState* __tstate = wxPyBeginAllowThreads();
12609 result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook();
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_OWN | 0 );
12614 return resultobj;
12615 fail:
12616 return NULL;
12617 }
12618
12619
12620 SWIGINTERN PyObject *_wrap_new_AuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj = 0;
12622 wxWindow *arg1 = (wxWindow *) 0 ;
12623 int arg2 = (int) wxID_ANY ;
12624 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12625 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12626 wxSize const &arg4_defvalue = wxDefaultSize ;
12627 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12628 long arg5 = (long) 0 ;
12629 wxAuiMultiNotebook *result = 0 ;
12630 void *argp1 = 0 ;
12631 int res1 = 0 ;
12632 int val2 ;
12633 int ecode2 = 0 ;
12634 wxPoint temp3 ;
12635 wxSize temp4 ;
12636 long val5 ;
12637 int ecode5 = 0 ;
12638 PyObject * obj0 = 0 ;
12639 PyObject * obj1 = 0 ;
12640 PyObject * obj2 = 0 ;
12641 PyObject * obj3 = 0 ;
12642 PyObject * obj4 = 0 ;
12643 char * kwnames[] = {
12644 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
12645 };
12646
12647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiMultiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12649 if (!SWIG_IsOK(res1)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMultiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'");
12651 }
12652 arg1 = reinterpret_cast< wxWindow * >(argp1);
12653 if (obj1) {
12654 ecode2 = SWIG_AsVal_int(obj1, &val2);
12655 if (!SWIG_IsOK(ecode2)) {
12656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMultiNotebook" "', expected argument " "2"" of type '" "int""'");
12657 }
12658 arg2 = static_cast< int >(val2);
12659 }
12660 if (obj2) {
12661 {
12662 arg3 = &temp3;
12663 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12664 }
12665 }
12666 if (obj3) {
12667 {
12668 arg4 = &temp4;
12669 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12670 }
12671 }
12672 if (obj4) {
12673 ecode5 = SWIG_AsVal_long(obj4, &val5);
12674 if (!SWIG_IsOK(ecode5)) {
12675 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiMultiNotebook" "', expected argument " "5"" of type '" "long""'");
12676 }
12677 arg5 = static_cast< long >(val5);
12678 }
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_NEW | 0 );
12686 return resultobj;
12687 fail:
12688 return NULL;
12689 }
12690
12691
12692 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj = 0;
12694 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12695 wxWindow *arg2 = (wxWindow *) 0 ;
12696 int arg3 = (int) wxID_ANY ;
12697 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12698 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12699 wxSize const &arg5_defvalue = wxDefaultSize ;
12700 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12701 long arg6 = (long) 0 ;
12702 bool result;
12703 void *argp1 = 0 ;
12704 int res1 = 0 ;
12705 void *argp2 = 0 ;
12706 int res2 = 0 ;
12707 int val3 ;
12708 int ecode3 = 0 ;
12709 wxPoint temp4 ;
12710 wxSize temp5 ;
12711 long val6 ;
12712 int ecode6 = 0 ;
12713 PyObject * obj0 = 0 ;
12714 PyObject * obj1 = 0 ;
12715 PyObject * obj2 = 0 ;
12716 PyObject * obj3 = 0 ;
12717 PyObject * obj4 = 0 ;
12718 PyObject * obj5 = 0 ;
12719 char * kwnames[] = {
12720 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
12721 };
12722
12723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiMultiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12725 if (!SWIG_IsOK(res1)) {
12726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12727 }
12728 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12729 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12730 if (!SWIG_IsOK(res2)) {
12731 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12732 }
12733 arg2 = reinterpret_cast< wxWindow * >(argp2);
12734 if (obj2) {
12735 ecode3 = SWIG_AsVal_int(obj2, &val3);
12736 if (!SWIG_IsOK(ecode3)) {
12737 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMultiNotebook_Create" "', expected argument " "3"" of type '" "int""'");
12738 }
12739 arg3 = static_cast< int >(val3);
12740 }
12741 if (obj3) {
12742 {
12743 arg4 = &temp4;
12744 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12745 }
12746 }
12747 if (obj4) {
12748 {
12749 arg5 = &temp5;
12750 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12751 }
12752 }
12753 if (obj5) {
12754 ecode6 = SWIG_AsVal_long(obj5, &val6);
12755 if (!SWIG_IsOK(ecode6)) {
12756 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiMultiNotebook_Create" "', expected argument " "6"" of type '" "long""'");
12757 }
12758 arg6 = static_cast< long >(val6);
12759 }
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
12763 wxPyEndAllowThreads(__tstate);
12764 if (PyErr_Occurred()) SWIG_fail;
12765 }
12766 {
12767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12768 }
12769 return resultobj;
12770 fail:
12771 return NULL;
12772 }
12773
12774
12775 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj = 0;
12777 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12778 wxWindow *arg2 = (wxWindow *) 0 ;
12779 wxString *arg3 = 0 ;
12780 bool arg4 = (bool) false ;
12781 wxBitmap const &arg5_defvalue = wxNullBitmap ;
12782 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
12783 bool result;
12784 void *argp1 = 0 ;
12785 int res1 = 0 ;
12786 void *argp2 = 0 ;
12787 int res2 = 0 ;
12788 bool temp3 = false ;
12789 bool val4 ;
12790 int ecode4 = 0 ;
12791 void *argp5 = 0 ;
12792 int res5 = 0 ;
12793 PyObject * obj0 = 0 ;
12794 PyObject * obj1 = 0 ;
12795 PyObject * obj2 = 0 ;
12796 PyObject * obj3 = 0 ;
12797 PyObject * obj4 = 0 ;
12798 char * kwnames[] = {
12799 (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
12800 };
12801
12802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiMultiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12804 if (!SWIG_IsOK(res1)) {
12805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12806 }
12807 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12808 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12809 if (!SWIG_IsOK(res2)) {
12810 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
12811 }
12812 arg2 = reinterpret_cast< wxWindow * >(argp2);
12813 {
12814 arg3 = wxString_in_helper(obj2);
12815 if (arg3 == NULL) SWIG_fail;
12816 temp3 = true;
12817 }
12818 if (obj3) {
12819 ecode4 = SWIG_AsVal_bool(obj3, &val4);
12820 if (!SWIG_IsOK(ecode4)) {
12821 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'");
12822 }
12823 arg4 = static_cast< bool >(val4);
12824 }
12825 if (obj4) {
12826 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
12827 if (!SWIG_IsOK(res5)) {
12828 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
12829 }
12830 if (!argp5) {
12831 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
12832 }
12833 arg5 = reinterpret_cast< wxBitmap * >(argp5);
12834 }
12835 {
12836 PyThreadState* __tstate = wxPyBeginAllowThreads();
12837 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5);
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
12841 {
12842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12843 }
12844 {
12845 if (temp3)
12846 delete arg3;
12847 }
12848 return resultobj;
12849 fail:
12850 {
12851 if (temp3)
12852 delete arg3;
12853 }
12854 return NULL;
12855 }
12856
12857
12858 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj = 0;
12860 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12861 size_t arg2 ;
12862 wxWindow *arg3 = (wxWindow *) 0 ;
12863 wxString *arg4 = 0 ;
12864 bool arg5 = (bool) false ;
12865 wxBitmap const &arg6_defvalue = wxNullBitmap ;
12866 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
12867 bool result;
12868 void *argp1 = 0 ;
12869 int res1 = 0 ;
12870 size_t val2 ;
12871 int ecode2 = 0 ;
12872 void *argp3 = 0 ;
12873 int res3 = 0 ;
12874 bool temp4 = false ;
12875 bool val5 ;
12876 int ecode5 = 0 ;
12877 void *argp6 = 0 ;
12878 int res6 = 0 ;
12879 PyObject * obj0 = 0 ;
12880 PyObject * obj1 = 0 ;
12881 PyObject * obj2 = 0 ;
12882 PyObject * obj3 = 0 ;
12883 PyObject * obj4 = 0 ;
12884 PyObject * obj5 = 0 ;
12885 char * kwnames[] = {
12886 (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
12887 };
12888
12889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiMultiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12891 if (!SWIG_IsOK(res1)) {
12892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12893 }
12894 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12895 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12896 if (!SWIG_IsOK(ecode2)) {
12897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
12898 }
12899 arg2 = static_cast< size_t >(val2);
12900 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12901 if (!SWIG_IsOK(res3)) {
12902 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
12903 }
12904 arg3 = reinterpret_cast< wxWindow * >(argp3);
12905 {
12906 arg4 = wxString_in_helper(obj3);
12907 if (arg4 == NULL) SWIG_fail;
12908 temp4 = true;
12909 }
12910 if (obj4) {
12911 ecode5 = SWIG_AsVal_bool(obj4, &val5);
12912 if (!SWIG_IsOK(ecode5)) {
12913 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'");
12914 }
12915 arg5 = static_cast< bool >(val5);
12916 }
12917 if (obj5) {
12918 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
12919 if (!SWIG_IsOK(res6)) {
12920 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
12921 }
12922 if (!argp6) {
12923 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
12924 }
12925 arg6 = reinterpret_cast< wxBitmap * >(argp6);
12926 }
12927 {
12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
12929 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6);
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
12933 {
12934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12935 }
12936 {
12937 if (temp4)
12938 delete arg4;
12939 }
12940 return resultobj;
12941 fail:
12942 {
12943 if (temp4)
12944 delete arg4;
12945 }
12946 return NULL;
12947 }
12948
12949
12950 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12951 PyObject *resultobj = 0;
12952 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12953 size_t arg2 ;
12954 bool result;
12955 void *argp1 = 0 ;
12956 int res1 = 0 ;
12957 size_t val2 ;
12958 int ecode2 = 0 ;
12959 PyObject * obj0 = 0 ;
12960 PyObject * obj1 = 0 ;
12961 char * kwnames[] = {
12962 (char *) "self",(char *) "page", NULL
12963 };
12964
12965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
12966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12967 if (!SWIG_IsOK(res1)) {
12968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12969 }
12970 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12971 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12972 if (!SWIG_IsOK(ecode2)) {
12973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
12974 }
12975 arg2 = static_cast< size_t >(val2);
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 result = (bool)(arg1)->DeletePage(arg2);
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 {
12983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12984 }
12985 return resultobj;
12986 fail:
12987 return NULL;
12988 }
12989
12990
12991 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj = 0;
12993 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12994 size_t arg2 ;
12995 bool result;
12996 void *argp1 = 0 ;
12997 int res1 = 0 ;
12998 size_t val2 ;
12999 int ecode2 = 0 ;
13000 PyObject * obj0 = 0 ;
13001 PyObject * obj1 = 0 ;
13002 char * kwnames[] = {
13003 (char *) "self",(char *) "page", NULL
13004 };
13005
13006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
13007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13008 if (!SWIG_IsOK(res1)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
13010 }
13011 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13012 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13013 if (!SWIG_IsOK(ecode2)) {
13014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
13015 }
13016 arg2 = static_cast< size_t >(val2);
13017 {
13018 PyThreadState* __tstate = wxPyBeginAllowThreads();
13019 result = (bool)(arg1)->RemovePage(arg2);
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 {
13024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13025 }
13026 return resultobj;
13027 fail:
13028 return NULL;
13029 }
13030
13031
13032 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13033 PyObject *resultobj = 0;
13034 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13035 size_t arg2 ;
13036 wxString *arg3 = 0 ;
13037 bool result;
13038 void *argp1 = 0 ;
13039 int res1 = 0 ;
13040 size_t val2 ;
13041 int ecode2 = 0 ;
13042 bool temp3 = false ;
13043 PyObject * obj0 = 0 ;
13044 PyObject * obj1 = 0 ;
13045 PyObject * obj2 = 0 ;
13046 char * kwnames[] = {
13047 (char *) "self",(char *) "page",(char *) "text", NULL
13048 };
13049
13050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiMultiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13052 if (!SWIG_IsOK(res1)) {
13053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
13054 }
13055 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13056 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13057 if (!SWIG_IsOK(ecode2)) {
13058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
13059 }
13060 arg2 = static_cast< size_t >(val2);
13061 {
13062 arg3 = wxString_in_helper(obj2);
13063 if (arg3 == NULL) SWIG_fail;
13064 temp3 = true;
13065 }
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 {
13073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13074 }
13075 {
13076 if (temp3)
13077 delete arg3;
13078 }
13079 return resultobj;
13080 fail:
13081 {
13082 if (temp3)
13083 delete arg3;
13084 }
13085 return NULL;
13086 }
13087
13088
13089 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13090 PyObject *resultobj = 0;
13091 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13092 size_t arg2 ;
13093 size_t result;
13094 void *argp1 = 0 ;
13095 int res1 = 0 ;
13096 size_t val2 ;
13097 int ecode2 = 0 ;
13098 PyObject * obj0 = 0 ;
13099 PyObject * obj1 = 0 ;
13100 char * kwnames[] = {
13101 (char *) "self",(char *) "new_page", NULL
13102 };
13103
13104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
13105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13106 if (!SWIG_IsOK(res1)) {
13107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
13108 }
13109 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13110 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13111 if (!SWIG_IsOK(ecode2)) {
13112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
13113 }
13114 arg2 = static_cast< size_t >(val2);
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 result = (size_t)(arg1)->SetSelection(arg2);
13118 wxPyEndAllowThreads(__tstate);
13119 if (PyErr_Occurred()) SWIG_fail;
13120 }
13121 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13122 return resultobj;
13123 fail:
13124 return NULL;
13125 }
13126
13127
13128 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13129 PyObject *resultobj = 0;
13130 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13131 int result;
13132 void *argp1 = 0 ;
13133 int res1 = 0 ;
13134 PyObject *swig_obj[1] ;
13135
13136 if (!args) SWIG_fail;
13137 swig_obj[0] = args;
13138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13139 if (!SWIG_IsOK(res1)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
13141 }
13142 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13143 {
13144 PyThreadState* __tstate = wxPyBeginAllowThreads();
13145 result = (int)((wxAuiMultiNotebook const *)arg1)->GetSelection();
13146 wxPyEndAllowThreads(__tstate);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 }
13149 resultobj = SWIG_From_int(static_cast< int >(result));
13150 return resultobj;
13151 fail:
13152 return NULL;
13153 }
13154
13155
13156 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13157 PyObject *resultobj = 0;
13158 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13159 size_t result;
13160 void *argp1 = 0 ;
13161 int res1 = 0 ;
13162 PyObject *swig_obj[1] ;
13163
13164 if (!args) SWIG_fail;
13165 swig_obj[0] = args;
13166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13167 if (!SWIG_IsOK(res1)) {
13168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
13169 }
13170 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 result = (size_t)((wxAuiMultiNotebook const *)arg1)->GetPageCount();
13174 wxPyEndAllowThreads(__tstate);
13175 if (PyErr_Occurred()) SWIG_fail;
13176 }
13177 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13178 return resultobj;
13179 fail:
13180 return NULL;
13181 }
13182
13183
13184 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13185 PyObject *resultobj = 0;
13186 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13187 size_t arg2 ;
13188 wxWindow *result = 0 ;
13189 void *argp1 = 0 ;
13190 int res1 = 0 ;
13191 size_t val2 ;
13192 int ecode2 = 0 ;
13193 PyObject * obj0 = 0 ;
13194 PyObject * obj1 = 0 ;
13195 char * kwnames[] = {
13196 (char *) "self",(char *) "page_idx", NULL
13197 };
13198
13199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
13200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13201 if (!SWIG_IsOK(res1)) {
13202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
13203 }
13204 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13205 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13206 if (!SWIG_IsOK(ecode2)) {
13207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'");
13208 }
13209 arg2 = static_cast< size_t >(val2);
13210 {
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 result = (wxWindow *)((wxAuiMultiNotebook const *)arg1)->GetPage(arg2);
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 {
13217 resultobj = wxPyMake_wxObject(result, 0);
13218 }
13219 return resultobj;
13220 fail:
13221 return NULL;
13222 }
13223
13224
13225 SWIGINTERN PyObject *AuiMultiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13226 PyObject *obj;
13227 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13228 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMultiNotebook, SWIG_NewClientData(obj));
13229 return SWIG_Py_Void();
13230 }
13231
13232 SWIGINTERN PyObject *AuiMultiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13233 return SWIG_Python_InitShadowInstance(args);
13234 }
13235
13236 SWIGINTERN PyObject *PyDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13237 PyObject *obj;
13238 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDockArt, SWIG_NewClientData(obj));
13240 return SWIG_Py_Void();
13241 }
13242
13243 static PyMethodDef SwigMethods[] = {
13244 { (char *)"new_PaneInfo", (PyCFunction)_wrap_new_PaneInfo, METH_NOARGS, NULL},
13245 { (char *)"delete_PaneInfo", (PyCFunction)_wrap_delete_PaneInfo, METH_O, NULL},
13246 { (char *)"PaneInfo_SafeSet", (PyCFunction) _wrap_PaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL},
13247 { (char *)"PaneInfo_IsOk", (PyCFunction)_wrap_PaneInfo_IsOk, METH_O, NULL},
13248 { (char *)"PaneInfo_IsFixed", (PyCFunction)_wrap_PaneInfo_IsFixed, METH_O, NULL},
13249 { (char *)"PaneInfo_IsResizable", (PyCFunction)_wrap_PaneInfo_IsResizable, METH_O, NULL},
13250 { (char *)"PaneInfo_IsShown", (PyCFunction)_wrap_PaneInfo_IsShown, METH_O, NULL},
13251 { (char *)"PaneInfo_IsFloating", (PyCFunction)_wrap_PaneInfo_IsFloating, METH_O, NULL},
13252 { (char *)"PaneInfo_IsDocked", (PyCFunction)_wrap_PaneInfo_IsDocked, METH_O, NULL},
13253 { (char *)"PaneInfo_IsToolbar", (PyCFunction)_wrap_PaneInfo_IsToolbar, METH_O, NULL},
13254 { (char *)"PaneInfo_IsTopDockable", (PyCFunction)_wrap_PaneInfo_IsTopDockable, METH_O, NULL},
13255 { (char *)"PaneInfo_IsBottomDockable", (PyCFunction)_wrap_PaneInfo_IsBottomDockable, METH_O, NULL},
13256 { (char *)"PaneInfo_IsLeftDockable", (PyCFunction)_wrap_PaneInfo_IsLeftDockable, METH_O, NULL},
13257 { (char *)"PaneInfo_IsRightDockable", (PyCFunction)_wrap_PaneInfo_IsRightDockable, METH_O, NULL},
13258 { (char *)"PaneInfo_IsFloatable", (PyCFunction)_wrap_PaneInfo_IsFloatable, METH_O, NULL},
13259 { (char *)"PaneInfo_IsMovable", (PyCFunction)_wrap_PaneInfo_IsMovable, METH_O, NULL},
13260 { (char *)"PaneInfo_HasCaption", (PyCFunction)_wrap_PaneInfo_HasCaption, METH_O, NULL},
13261 { (char *)"PaneInfo_HasGripper", (PyCFunction)_wrap_PaneInfo_HasGripper, METH_O, NULL},
13262 { (char *)"PaneInfo_HasBorder", (PyCFunction)_wrap_PaneInfo_HasBorder, METH_O, NULL},
13263 { (char *)"PaneInfo_HasCloseButton", (PyCFunction)_wrap_PaneInfo_HasCloseButton, METH_O, NULL},
13264 { (char *)"PaneInfo_HasMaximizeButton", (PyCFunction)_wrap_PaneInfo_HasMaximizeButton, METH_O, NULL},
13265 { (char *)"PaneInfo_HasMinimizeButton", (PyCFunction)_wrap_PaneInfo_HasMinimizeButton, METH_O, NULL},
13266 { (char *)"PaneInfo_HasPinButton", (PyCFunction)_wrap_PaneInfo_HasPinButton, METH_O, NULL},
13267 { (char *)"PaneInfo_HasGripperTop", (PyCFunction)_wrap_PaneInfo_HasGripperTop, METH_O, NULL},
13268 { (char *)"PaneInfo_Window", (PyCFunction) _wrap_PaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL},
13269 { (char *)"PaneInfo_Name", (PyCFunction) _wrap_PaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL},
13270 { (char *)"PaneInfo_Caption", (PyCFunction) _wrap_PaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL},
13271 { (char *)"PaneInfo_Left", (PyCFunction)_wrap_PaneInfo_Left, METH_O, NULL},
13272 { (char *)"PaneInfo_Right", (PyCFunction)_wrap_PaneInfo_Right, METH_O, NULL},
13273 { (char *)"PaneInfo_Top", (PyCFunction)_wrap_PaneInfo_Top, METH_O, NULL},
13274 { (char *)"PaneInfo_Bottom", (PyCFunction)_wrap_PaneInfo_Bottom, METH_O, NULL},
13275 { (char *)"PaneInfo_Center", (PyCFunction)_wrap_PaneInfo_Center, METH_O, NULL},
13276 { (char *)"PaneInfo_Centre", (PyCFunction)_wrap_PaneInfo_Centre, METH_O, NULL},
13277 { (char *)"PaneInfo_Direction", (PyCFunction) _wrap_PaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL},
13278 { (char *)"PaneInfo_Layer", (PyCFunction) _wrap_PaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL},
13279 { (char *)"PaneInfo_Row", (PyCFunction) _wrap_PaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL},
13280 { (char *)"PaneInfo_Position", (PyCFunction) _wrap_PaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL},
13281 { (char *)"PaneInfo_BestSize", (PyCFunction) _wrap_PaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL},
13282 { (char *)"PaneInfo_MinSize", (PyCFunction) _wrap_PaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL},
13283 { (char *)"PaneInfo_MaxSize", (PyCFunction) _wrap_PaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
13284 { (char *)"PaneInfo_FloatingPosition", (PyCFunction) _wrap_PaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL},
13285 { (char *)"PaneInfo_FloatingSize", (PyCFunction) _wrap_PaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL},
13286 { (char *)"PaneInfo_Fixed", (PyCFunction)_wrap_PaneInfo_Fixed, METH_O, NULL},
13287 { (char *)"PaneInfo_Resizable", (PyCFunction) _wrap_PaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL},
13288 { (char *)"PaneInfo_Dock", (PyCFunction)_wrap_PaneInfo_Dock, METH_O, NULL},
13289 { (char *)"PaneInfo_Float", (PyCFunction)_wrap_PaneInfo_Float, METH_O, NULL},
13290 { (char *)"PaneInfo_Hide", (PyCFunction)_wrap_PaneInfo_Hide, METH_O, NULL},
13291 { (char *)"PaneInfo_Show", (PyCFunction) _wrap_PaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL},
13292 { (char *)"PaneInfo_CaptionVisible", (PyCFunction) _wrap_PaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL},
13293 { (char *)"PaneInfo_PaneBorder", (PyCFunction) _wrap_PaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL},
13294 { (char *)"PaneInfo_Gripper", (PyCFunction) _wrap_PaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL},
13295 { (char *)"PaneInfo_GripperTop", (PyCFunction) _wrap_PaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL},
13296 { (char *)"PaneInfo_CloseButton", (PyCFunction) _wrap_PaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
13297 { (char *)"PaneInfo_MaximizeButton", (PyCFunction) _wrap_PaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
13298 { (char *)"PaneInfo_MinimizeButton", (PyCFunction) _wrap_PaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
13299 { (char *)"PaneInfo_PinButton", (PyCFunction) _wrap_PaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL},
13300 { (char *)"PaneInfo_DestroyOnClose", (PyCFunction) _wrap_PaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL},
13301 { (char *)"PaneInfo_TopDockable", (PyCFunction) _wrap_PaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13302 { (char *)"PaneInfo_BottomDockable", (PyCFunction) _wrap_PaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13303 { (char *)"PaneInfo_LeftDockable", (PyCFunction) _wrap_PaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13304 { (char *)"PaneInfo_RightDockable", (PyCFunction) _wrap_PaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13305 { (char *)"PaneInfo_Floatable", (PyCFunction) _wrap_PaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL},
13306 { (char *)"PaneInfo_Movable", (PyCFunction) _wrap_PaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL},
13307 { (char *)"PaneInfo_Dockable", (PyCFunction) _wrap_PaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL},
13308 { (char *)"PaneInfo_DefaultPane", (PyCFunction)_wrap_PaneInfo_DefaultPane, METH_O, NULL},
13309 { (char *)"PaneInfo_CentrePane", (PyCFunction)_wrap_PaneInfo_CentrePane, METH_O, NULL},
13310 { (char *)"PaneInfo_CenterPane", (PyCFunction)_wrap_PaneInfo_CenterPane, METH_O, NULL},
13311 { (char *)"PaneInfo_ToolbarPane", (PyCFunction)_wrap_PaneInfo_ToolbarPane, METH_O, NULL},
13312 { (char *)"PaneInfo_SetFlag", (PyCFunction) _wrap_PaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
13313 { (char *)"PaneInfo_HasFlag", (PyCFunction) _wrap_PaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
13314 { (char *)"PaneInfo_name_set", _wrap_PaneInfo_name_set, METH_VARARGS, NULL},
13315 { (char *)"PaneInfo_name_get", (PyCFunction)_wrap_PaneInfo_name_get, METH_O, NULL},
13316 { (char *)"PaneInfo_caption_set", _wrap_PaneInfo_caption_set, METH_VARARGS, NULL},
13317 { (char *)"PaneInfo_caption_get", (PyCFunction)_wrap_PaneInfo_caption_get, METH_O, NULL},
13318 { (char *)"PaneInfo_window_set", _wrap_PaneInfo_window_set, METH_VARARGS, NULL},
13319 { (char *)"PaneInfo_window_get", (PyCFunction)_wrap_PaneInfo_window_get, METH_O, NULL},
13320 { (char *)"PaneInfo_frame_set", _wrap_PaneInfo_frame_set, METH_VARARGS, NULL},
13321 { (char *)"PaneInfo_frame_get", (PyCFunction)_wrap_PaneInfo_frame_get, METH_O, NULL},
13322 { (char *)"PaneInfo_state_set", _wrap_PaneInfo_state_set, METH_VARARGS, NULL},
13323 { (char *)"PaneInfo_state_get", (PyCFunction)_wrap_PaneInfo_state_get, METH_O, NULL},
13324 { (char *)"PaneInfo_dock_direction_set", _wrap_PaneInfo_dock_direction_set, METH_VARARGS, NULL},
13325 { (char *)"PaneInfo_dock_direction_get", (PyCFunction)_wrap_PaneInfo_dock_direction_get, METH_O, NULL},
13326 { (char *)"PaneInfo_dock_layer_set", _wrap_PaneInfo_dock_layer_set, METH_VARARGS, NULL},
13327 { (char *)"PaneInfo_dock_layer_get", (PyCFunction)_wrap_PaneInfo_dock_layer_get, METH_O, NULL},
13328 { (char *)"PaneInfo_dock_row_set", _wrap_PaneInfo_dock_row_set, METH_VARARGS, NULL},
13329 { (char *)"PaneInfo_dock_row_get", (PyCFunction)_wrap_PaneInfo_dock_row_get, METH_O, NULL},
13330 { (char *)"PaneInfo_dock_pos_set", _wrap_PaneInfo_dock_pos_set, METH_VARARGS, NULL},
13331 { (char *)"PaneInfo_dock_pos_get", (PyCFunction)_wrap_PaneInfo_dock_pos_get, METH_O, NULL},
13332 { (char *)"PaneInfo_best_size_set", _wrap_PaneInfo_best_size_set, METH_VARARGS, NULL},
13333 { (char *)"PaneInfo_best_size_get", (PyCFunction)_wrap_PaneInfo_best_size_get, METH_O, NULL},
13334 { (char *)"PaneInfo_min_size_set", _wrap_PaneInfo_min_size_set, METH_VARARGS, NULL},
13335 { (char *)"PaneInfo_min_size_get", (PyCFunction)_wrap_PaneInfo_min_size_get, METH_O, NULL},
13336 { (char *)"PaneInfo_max_size_set", _wrap_PaneInfo_max_size_set, METH_VARARGS, NULL},
13337 { (char *)"PaneInfo_max_size_get", (PyCFunction)_wrap_PaneInfo_max_size_get, METH_O, NULL},
13338 { (char *)"PaneInfo_floating_pos_set", _wrap_PaneInfo_floating_pos_set, METH_VARARGS, NULL},
13339 { (char *)"PaneInfo_floating_pos_get", (PyCFunction)_wrap_PaneInfo_floating_pos_get, METH_O, NULL},
13340 { (char *)"PaneInfo_floating_size_set", _wrap_PaneInfo_floating_size_set, METH_VARARGS, NULL},
13341 { (char *)"PaneInfo_floating_size_get", (PyCFunction)_wrap_PaneInfo_floating_size_get, METH_O, NULL},
13342 { (char *)"PaneInfo_dock_proportion_set", _wrap_PaneInfo_dock_proportion_set, METH_VARARGS, NULL},
13343 { (char *)"PaneInfo_dock_proportion_get", (PyCFunction)_wrap_PaneInfo_dock_proportion_get, METH_O, NULL},
13344 { (char *)"PaneInfo_buttons_set", _wrap_PaneInfo_buttons_set, METH_VARARGS, NULL},
13345 { (char *)"PaneInfo_buttons_get", (PyCFunction)_wrap_PaneInfo_buttons_get, METH_O, NULL},
13346 { (char *)"PaneInfo_rect_set", _wrap_PaneInfo_rect_set, METH_VARARGS, NULL},
13347 { (char *)"PaneInfo_rect_get", (PyCFunction)_wrap_PaneInfo_rect_get, METH_O, NULL},
13348 { (char *)"PaneInfo_swigregister", PaneInfo_swigregister, METH_VARARGS, NULL},
13349 { (char *)"PaneInfo_swiginit", PaneInfo_swiginit, METH_VARARGS, NULL},
13350 { (char *)"new_FrameManager", (PyCFunction) _wrap_new_FrameManager, METH_VARARGS | METH_KEYWORDS, NULL},
13351 { (char *)"delete_FrameManager", (PyCFunction)_wrap_delete_FrameManager, METH_O, NULL},
13352 { (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL},
13353 { (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
13354 { (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL},
13355 { (char *)"FrameManager_SetManagedWindow", (PyCFunction) _wrap_FrameManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
13356 { (char *)"FrameManager_GetManagedWindow", (PyCFunction)_wrap_FrameManager_GetManagedWindow, METH_O, NULL},
13357 { (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
13358 { (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL},
13359 { (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL},
13360 { (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL},
13361 { (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL},
13362 { (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL},
13363 { (char *)"FrameManager_AddPaneAtPos", (PyCFunction) _wrap_FrameManager_AddPaneAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
13364 { (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL},
13365 { (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL},
13366 { (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL},
13367 { (char *)"FrameManager_SavePaneInfo", (PyCFunction) _wrap_FrameManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
13368 { (char *)"FrameManager_LoadPaneInfo", (PyCFunction) _wrap_FrameManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
13369 { (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL},
13370 { (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL},
13371 { (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL},
13372 { (char *)"FrameManager_DrawHintRect", (PyCFunction) _wrap_FrameManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL},
13373 { (char *)"FrameManager_ShowHint", (PyCFunction) _wrap_FrameManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL},
13374 { (char *)"FrameManager_HideHint", (PyCFunction)_wrap_FrameManager_HideHint, METH_O, NULL},
13375 { (char *)"FrameManager_OnRender", (PyCFunction) _wrap_FrameManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL},
13376 { (char *)"FrameManager_OnPaneButton", (PyCFunction) _wrap_FrameManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
13377 { (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL},
13378 { (char *)"FrameManager_swiginit", FrameManager_swiginit, METH_VARARGS, NULL},
13379 { (char *)"new_FrameManagerEvent", (PyCFunction) _wrap_new_FrameManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
13380 { (char *)"FrameManagerEvent_Clone", (PyCFunction)_wrap_FrameManagerEvent_Clone, METH_O, NULL},
13381 { (char *)"FrameManagerEvent_SetPane", (PyCFunction) _wrap_FrameManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL},
13382 { (char *)"FrameManagerEvent_SetButton", (PyCFunction) _wrap_FrameManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL},
13383 { (char *)"FrameManagerEvent_SetDC", (PyCFunction) _wrap_FrameManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
13384 { (char *)"FrameManagerEvent_GetPane", (PyCFunction)_wrap_FrameManagerEvent_GetPane, METH_O, NULL},
13385 { (char *)"FrameManagerEvent_GetButton", (PyCFunction)_wrap_FrameManagerEvent_GetButton, METH_O, NULL},
13386 { (char *)"FrameManagerEvent_GetDC", (PyCFunction)_wrap_FrameManagerEvent_GetDC, METH_O, NULL},
13387 { (char *)"FrameManagerEvent_Veto", (PyCFunction) _wrap_FrameManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
13388 { (char *)"FrameManagerEvent_GetVeto", (PyCFunction)_wrap_FrameManagerEvent_GetVeto, METH_O, NULL},
13389 { (char *)"FrameManagerEvent_SetCanVeto", (PyCFunction) _wrap_FrameManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
13390 { (char *)"FrameManagerEvent_CanVeto", (PyCFunction)_wrap_FrameManagerEvent_CanVeto, METH_O, NULL},
13391 { (char *)"FrameManagerEvent_pane_set", _wrap_FrameManagerEvent_pane_set, METH_VARARGS, NULL},
13392 { (char *)"FrameManagerEvent_pane_get", (PyCFunction)_wrap_FrameManagerEvent_pane_get, METH_O, NULL},
13393 { (char *)"FrameManagerEvent_button_set", _wrap_FrameManagerEvent_button_set, METH_VARARGS, NULL},
13394 { (char *)"FrameManagerEvent_button_get", (PyCFunction)_wrap_FrameManagerEvent_button_get, METH_O, NULL},
13395 { (char *)"FrameManagerEvent_veto_flag_set", _wrap_FrameManagerEvent_veto_flag_set, METH_VARARGS, NULL},
13396 { (char *)"FrameManagerEvent_veto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_veto_flag_get, METH_O, NULL},
13397 { (char *)"FrameManagerEvent_canveto_flag_set", _wrap_FrameManagerEvent_canveto_flag_set, METH_VARARGS, NULL},
13398 { (char *)"FrameManagerEvent_canveto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_canveto_flag_get, METH_O, NULL},
13399 { (char *)"FrameManagerEvent_dc_set", _wrap_FrameManagerEvent_dc_set, METH_VARARGS, NULL},
13400 { (char *)"FrameManagerEvent_dc_get", (PyCFunction)_wrap_FrameManagerEvent_dc_get, METH_O, NULL},
13401 { (char *)"FrameManagerEvent_swigregister", FrameManagerEvent_swigregister, METH_VARARGS, NULL},
13402 { (char *)"FrameManagerEvent_swiginit", FrameManagerEvent_swiginit, METH_VARARGS, NULL},
13403 { (char *)"new_DockInfo", (PyCFunction)_wrap_new_DockInfo, METH_NOARGS, NULL},
13404 { (char *)"DockInfo_IsOk", (PyCFunction)_wrap_DockInfo_IsOk, METH_O, NULL},
13405 { (char *)"DockInfo_IsHorizontal", (PyCFunction)_wrap_DockInfo_IsHorizontal, METH_O, NULL},
13406 { (char *)"DockInfo_IsVertical", (PyCFunction)_wrap_DockInfo_IsVertical, METH_O, NULL},
13407 { (char *)"DockInfo_panes_set", _wrap_DockInfo_panes_set, METH_VARARGS, NULL},
13408 { (char *)"DockInfo_panes_get", (PyCFunction)_wrap_DockInfo_panes_get, METH_O, NULL},
13409 { (char *)"DockInfo_rect_set", _wrap_DockInfo_rect_set, METH_VARARGS, NULL},
13410 { (char *)"DockInfo_rect_get", (PyCFunction)_wrap_DockInfo_rect_get, METH_O, NULL},
13411 { (char *)"DockInfo_dock_direction_set", _wrap_DockInfo_dock_direction_set, METH_VARARGS, NULL},
13412 { (char *)"DockInfo_dock_direction_get", (PyCFunction)_wrap_DockInfo_dock_direction_get, METH_O, NULL},
13413 { (char *)"DockInfo_dock_layer_set", _wrap_DockInfo_dock_layer_set, METH_VARARGS, NULL},
13414 { (char *)"DockInfo_dock_layer_get", (PyCFunction)_wrap_DockInfo_dock_layer_get, METH_O, NULL},
13415 { (char *)"DockInfo_dock_row_set", _wrap_DockInfo_dock_row_set, METH_VARARGS, NULL},
13416 { (char *)"DockInfo_dock_row_get", (PyCFunction)_wrap_DockInfo_dock_row_get, METH_O, NULL},
13417 { (char *)"DockInfo_size_set", _wrap_DockInfo_size_set, METH_VARARGS, NULL},
13418 { (char *)"DockInfo_size_get", (PyCFunction)_wrap_DockInfo_size_get, METH_O, NULL},
13419 { (char *)"DockInfo_min_size_set", _wrap_DockInfo_min_size_set, METH_VARARGS, NULL},
13420 { (char *)"DockInfo_min_size_get", (PyCFunction)_wrap_DockInfo_min_size_get, METH_O, NULL},
13421 { (char *)"DockInfo_resizable_set", _wrap_DockInfo_resizable_set, METH_VARARGS, NULL},
13422 { (char *)"DockInfo_resizable_get", (PyCFunction)_wrap_DockInfo_resizable_get, METH_O, NULL},
13423 { (char *)"DockInfo_toolbar_set", _wrap_DockInfo_toolbar_set, METH_VARARGS, NULL},
13424 { (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL},
13425 { (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL},
13426 { (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL},
13427 { (char *)"delete_DockInfo", (PyCFunction)_wrap_delete_DockInfo, METH_O, NULL},
13428 { (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL},
13429 { (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL},
13430 { (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL},
13431 { (char *)"DockUIPart_type_get", (PyCFunction)_wrap_DockUIPart_type_get, METH_O, NULL},
13432 { (char *)"DockUIPart_orientation_set", _wrap_DockUIPart_orientation_set, METH_VARARGS, NULL},
13433 { (char *)"DockUIPart_orientation_get", (PyCFunction)_wrap_DockUIPart_orientation_get, METH_O, NULL},
13434 { (char *)"DockUIPart_dock_set", _wrap_DockUIPart_dock_set, METH_VARARGS, NULL},
13435 { (char *)"DockUIPart_dock_get", (PyCFunction)_wrap_DockUIPart_dock_get, METH_O, NULL},
13436 { (char *)"DockUIPart_pane_set", _wrap_DockUIPart_pane_set, METH_VARARGS, NULL},
13437 { (char *)"DockUIPart_pane_get", (PyCFunction)_wrap_DockUIPart_pane_get, METH_O, NULL},
13438 { (char *)"DockUIPart_button_set", _wrap_DockUIPart_button_set, METH_VARARGS, NULL},
13439 { (char *)"DockUIPart_button_get", (PyCFunction)_wrap_DockUIPart_button_get, METH_O, NULL},
13440 { (char *)"DockUIPart_cont_sizer_set", _wrap_DockUIPart_cont_sizer_set, METH_VARARGS, NULL},
13441 { (char *)"DockUIPart_cont_sizer_get", (PyCFunction)_wrap_DockUIPart_cont_sizer_get, METH_O, NULL},
13442 { (char *)"DockUIPart_sizer_item_set", _wrap_DockUIPart_sizer_item_set, METH_VARARGS, NULL},
13443 { (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL},
13444 { (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL},
13445 { (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL},
13446 { (char *)"new_DockUIPart", (PyCFunction)_wrap_new_DockUIPart, METH_NOARGS, NULL},
13447 { (char *)"delete_DockUIPart", (PyCFunction)_wrap_delete_DockUIPart, METH_O, NULL},
13448 { (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL},
13449 { (char *)"DockUIPart_swiginit", DockUIPart_swiginit, METH_VARARGS, NULL},
13450 { (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL},
13451 { (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL},
13452 { (char *)"new_PaneButton", (PyCFunction)_wrap_new_PaneButton, METH_NOARGS, NULL},
13453 { (char *)"delete_PaneButton", (PyCFunction)_wrap_delete_PaneButton, METH_O, NULL},
13454 { (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL},
13455 { (char *)"PaneButton_swiginit", PaneButton_swiginit, METH_VARARGS, NULL},
13456 { (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL},
13457 { (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
13458 { (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
13459 { (char *)"DockArt_SetFont", (PyCFunction) _wrap_DockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
13460 { (char *)"DockArt_GetFont", (PyCFunction) _wrap_DockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
13461 { (char *)"DockArt_GetColour", (PyCFunction) _wrap_DockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
13462 { (char *)"DockArt_SetColour", (PyCFunction) _wrap_DockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
13463 { (char *)"DockArt_GetColor", (PyCFunction) _wrap_DockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL},
13464 { (char *)"DockArt_SetColor", (PyCFunction) _wrap_DockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL},
13465 { (char *)"DockArt_DrawSash", (PyCFunction) _wrap_DockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL},
13466 { (char *)"DockArt_DrawBackground", (PyCFunction) _wrap_DockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
13467 { (char *)"DockArt_DrawCaption", (PyCFunction) _wrap_DockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL},
13468 { (char *)"DockArt_DrawGripper", (PyCFunction) _wrap_DockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL},
13469 { (char *)"DockArt_DrawBorder", (PyCFunction) _wrap_DockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL},
13470 { (char *)"DockArt_DrawPaneButton", (PyCFunction) _wrap_DockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
13471 { (char *)"DockArt_swigregister", DockArt_swigregister, METH_VARARGS, NULL},
13472 { (char *)"new_DefaultDockArt", (PyCFunction)_wrap_new_DefaultDockArt, METH_NOARGS, NULL},
13473 { (char *)"DefaultDockArt_swigregister", DefaultDockArt_swigregister, METH_VARARGS, NULL},
13474 { (char *)"DefaultDockArt_swiginit", DefaultDockArt_swiginit, METH_VARARGS, NULL},
13475 { (char *)"new_FloatingPane", (PyCFunction) _wrap_new_FloatingPane, METH_VARARGS | METH_KEYWORDS, NULL},
13476 { (char *)"delete_FloatingPane", (PyCFunction)_wrap_delete_FloatingPane, METH_O, NULL},
13477 { (char *)"FloatingPane_SetPaneWindow", (PyCFunction) _wrap_FloatingPane_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL},
13478 { (char *)"FloatingPane_swigregister", FloatingPane_swigregister, METH_VARARGS, NULL},
13479 { (char *)"FloatingPane_swiginit", FloatingPane_swiginit, METH_VARARGS, NULL},
13480 { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
13481 { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
13482 { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
13483 { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL},
13484 { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL},
13485 { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL},
13486 { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL},
13487 { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL},
13488 { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL},
13489 { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL},
13490 { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL},
13491 { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL},
13492 { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL},
13493 { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL},
13494 { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL},
13495 { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL},
13496 { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL},
13497 { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL},
13498 { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL},
13499 { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL},
13500 { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL},
13501 { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL},
13502 { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL},
13503 { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL},
13504 { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL},
13505 { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL},
13506 { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL},
13507 { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL},
13508 { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL},
13509 { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL},
13510 { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL},
13511 { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL},
13512 { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL},
13513 { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
13514 { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
13515 { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
13516 { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL},
13517 { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL},
13518 { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL},
13519 { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
13520 { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
13521 { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL},
13522 { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
13523 { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL},
13524 { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
13525 { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL},
13526 { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL},
13527 { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
13528 { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL},
13529 { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL},
13530 { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
13531 { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL},
13532 { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL},
13533 { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL},
13534 { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
13535 { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL},
13536 { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL},
13537 { (char *)"new_PreAuiMultiNotebook", (PyCFunction)_wrap_new_PreAuiMultiNotebook, METH_NOARGS, NULL},
13538 { (char *)"new_AuiMultiNotebook", (PyCFunction) _wrap_new_AuiMultiNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
13539 { (char *)"AuiMultiNotebook_Create", (PyCFunction) _wrap_AuiMultiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
13540 { (char *)"AuiMultiNotebook_AddPage", (PyCFunction) _wrap_AuiMultiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
13541 { (char *)"AuiMultiNotebook_InsertPage", (PyCFunction) _wrap_AuiMultiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
13542 { (char *)"AuiMultiNotebook_DeletePage", (PyCFunction) _wrap_AuiMultiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
13543 { (char *)"AuiMultiNotebook_RemovePage", (PyCFunction) _wrap_AuiMultiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
13544 { (char *)"AuiMultiNotebook_SetPageText", (PyCFunction) _wrap_AuiMultiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
13545 { (char *)"AuiMultiNotebook_SetSelection", (PyCFunction) _wrap_AuiMultiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
13546 { (char *)"AuiMultiNotebook_GetSelection", (PyCFunction)_wrap_AuiMultiNotebook_GetSelection, METH_O, NULL},
13547 { (char *)"AuiMultiNotebook_GetPageCount", (PyCFunction)_wrap_AuiMultiNotebook_GetPageCount, METH_O, NULL},
13548 { (char *)"AuiMultiNotebook_GetPage", (PyCFunction) _wrap_AuiMultiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
13549 { (char *)"AuiMultiNotebook_swigregister", AuiMultiNotebook_swigregister, METH_VARARGS, NULL},
13550 { (char *)"AuiMultiNotebook_swiginit", AuiMultiNotebook_swiginit, METH_VARARGS, NULL},
13551 { (char *)"PyDockArt_swigregister", PyDockArt_swigregister, METH_VARARGS, NULL},
13552 { NULL, NULL, 0, NULL }
13553 };
13554
13555
13556 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13557
13558 static void *_p_wxFloatingPaneTo_p_wxMiniFrame(void *x) {
13559 return (void *)((wxMiniFrame *) ((wxFloatingPane *) x));
13560 }
13561 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
13562 return (void *)((wxSizer *) ((wxBoxSizer *) x));
13563 }
13564 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
13565 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
13566 }
13567 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
13568 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
13569 }
13570 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
13571 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
13572 }
13573 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
13574 return (void *)((wxSizer *) ((wxGridSizer *) x));
13575 }
13576 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
13577 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
13578 }
13579 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
13580 return (void *)((wxSizer *) ((wxPySizer *) x));
13581 }
13582 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
13583 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
13584 }
13585 static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) {
13586 return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
13587 }
13588 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
13589 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
13590 }
13591 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
13592 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
13593 }
13594 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
13595 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
13596 }
13597 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
13598 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
13599 }
13600 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
13601 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
13602 }
13603 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
13604 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
13605 }
13606 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
13607 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
13608 }
13609 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
13610 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
13611 }
13612 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
13613 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
13614 }
13615 static void *_p_wxFloatingPaneTo_p_wxTopLevelWindow(void *x) {
13616 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
13617 }
13618 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
13619 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
13620 }
13621 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
13622 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
13623 }
13624 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
13625 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13626 }
13627 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
13628 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
13629 }
13630 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13631 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
13632 }
13633 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13634 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
13635 }
13636 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
13637 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
13638 }
13639 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
13640 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
13641 }
13642 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
13643 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
13644 }
13645 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13646 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
13647 }
13648 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13649 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13650 }
13651 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
13652 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13653 }
13654 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
13655 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13656 }
13657 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
13658 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
13659 }
13660 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
13661 return (void *)((wxWindow *) ((wxMenuBar *) x));
13662 }
13663 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
13664 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13665 }
13666 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
13667 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13668 }
13669 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
13670 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13671 }
13672 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
13673 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13674 }
13675 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
13676 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13677 }
13678 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
13679 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13680 }
13681 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
13682 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13683 }
13684 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
13685 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13686 }
13687 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
13688 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13689 }
13690 static void *_p_wxPanelTo_p_wxWindow(void *x) {
13691 return (void *)((wxWindow *) ((wxPanel *) x));
13692 }
13693 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
13694 return (void *)((wxWindow *) ((wxStatusBar *) x));
13695 }
13696 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
13697 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
13698 }
13699 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
13700 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13701 }
13702 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
13703 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13704 }
13705 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
13706 return (void *)((wxWindow *) ((wxPopupWindow *) x));
13707 }
13708 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
13709 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
13710 }
13711 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
13712 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
13713 }
13714 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
13715 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
13716 }
13717 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
13718 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
13719 }
13720 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
13721 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
13722 }
13723 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
13724 return (void *)((wxWindow *) ((wxSashWindow *) x));
13725 }
13726 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
13727 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
13728 }
13729 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
13730 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13731 }
13732 static void *_p_wxControlTo_p_wxWindow(void *x) {
13733 return (void *)((wxWindow *) ((wxControl *) x));
13734 }
13735 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
13736 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
13737 }
13738 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
13739 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13740 }
13741 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
13742 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13743 }
13744 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
13745 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
13746 }
13747 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
13748 return (void *)((wxWindow *) ((wxPyWindow *) x));
13749 }
13750 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
13751 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13752 }
13753 static void *_p_wxFloatingPaneTo_p_wxWindow(void *x) {
13754 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
13755 }
13756 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
13757 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13758 }
13759 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
13760 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13761 }
13762 static void *_p_wxAuiMultiNotebookTo_p_wxWindow(void *x) {
13763 return (void *)((wxWindow *) (wxControl *) ((wxAuiMultiNotebook *) x));
13764 }
13765 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
13766 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
13767 }
13768 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
13769 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13770 }
13771 static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) {
13772 return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x));
13773 }
13774 static void *_p_wxFrameTo_p_wxWindow(void *x) {
13775 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
13776 }
13777 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
13778 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13779 }
13780 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
13781 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13782 }
13783 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
13784 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13785 }
13786 static void *_p_wxDialogTo_p_wxWindow(void *x) {
13787 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
13788 }
13789 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
13790 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13791 }
13792 static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) {
13793 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x));
13794 }
13795 static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) {
13796 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x));
13797 }
13798 static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) {
13799 return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x));
13800 }
13801 static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) {
13802 return (void *)((wxWindow **) ((wxMenuBar **) x));
13803 }
13804 static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) {
13805 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x));
13806 }
13807 static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) {
13808 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x));
13809 }
13810 static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) {
13811 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x));
13812 }
13813 static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) {
13814 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x));
13815 }
13816 static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) {
13817 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x));
13818 }
13819 static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) {
13820 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x));
13821 }
13822 static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) {
13823 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x));
13824 }
13825 static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) {
13826 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x));
13827 }
13828 static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) {
13829 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x));
13830 }
13831 static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) {
13832 return (void *)((wxWindow **) ((wxPanel **) x));
13833 }
13834 static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) {
13835 return (void *)((wxWindow **) ((wxStatusBar **) x));
13836 }
13837 static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) {
13838 return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x));
13839 }
13840 static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) {
13841 return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x));
13842 }
13843 static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) {
13844 return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x));
13845 }
13846 static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) {
13847 return (void *)((wxWindow **) ((wxPopupWindow **) x));
13848 }
13849 static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) {
13850 return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x));
13851 }
13852 static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) {
13853 return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x));
13854 }
13855 static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) {
13856 return (void *)((wxWindow **) ((wxTopLevelWindow **) x));
13857 }
13858 static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) {
13859 return (void *)((wxWindow **) ((wxSplashScreenWindow **) x));
13860 }
13861 static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) {
13862 return (void *)((wxWindow **) ((wxSplitterWindow **) x));
13863 }
13864 static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) {
13865 return (void *)((wxWindow **) ((wxSashWindow **) x));
13866 }
13867 static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) {
13868 return (void *)((wxWindow **) ((wxMDIClientWindow **) x));
13869 }
13870 static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) {
13871 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x));
13872 }
13873 static void *_p_p_wxControlTo_p_p_wxWindow(void *x) {
13874 return (void *)((wxWindow **) ((wxControl **) x));
13875 }
13876 static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) {
13877 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x));
13878 }
13879 static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) {
13880 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x));
13881 }
13882 static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) {
13883 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x));
13884 }
13885 static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) {
13886 return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x));
13887 }
13888 static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) {
13889 return (void *)((wxWindow **) ((wxPyWindow **) x));
13890 }
13891 static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) {
13892 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x));
13893 }
13894 static void *_p_p_wxFloatingPaneTo_p_p_wxWindow(void *x) {
13895 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane **) x));
13896 }
13897 static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) {
13898 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x));
13899 }
13900 static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) {
13901 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x));
13902 }
13903 static void *_p_p_wxAuiMultiNotebookTo_p_p_wxWindow(void *x) {
13904 return (void *)((wxWindow **) (wxControl *) ((wxAuiMultiNotebook **) x));
13905 }
13906 static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) {
13907 return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x));
13908 }
13909 static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) {
13910 return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x));
13911 }
13912 static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) {
13913 return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x));
13914 }
13915 static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) {
13916 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x));
13917 }
13918 static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) {
13919 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x));
13920 }
13921 static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) {
13922 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x));
13923 }
13924 static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) {
13925 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x));
13926 }
13927 static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) {
13928 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x));
13929 }
13930 static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) {
13931 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x));
13932 }
13933 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
13934 return (void *)((wxControl *) ((wxControlWithItems *) x));
13935 }
13936 static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) {
13937 return (void *)((wxControl *) ((wxAuiTabCtrl *) x));
13938 }
13939 static void *_p_wxAuiMultiNotebookTo_p_wxControl(void *x) {
13940 return (void *)((wxControl *) ((wxAuiMultiNotebook *) x));
13941 }
13942 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
13943 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
13944 }
13945 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
13946 return (void *)((wxEvent *) ((wxMenuEvent *) x));
13947 }
13948 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
13949 return (void *)((wxEvent *) ((wxCloseEvent *) x));
13950 }
13951 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
13952 return (void *)((wxEvent *) ((wxMouseEvent *) x));
13953 }
13954 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
13955 return (void *)((wxEvent *) ((wxEraseEvent *) x));
13956 }
13957 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
13958 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
13959 }
13960 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
13961 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
13962 }
13963 static void *_p_wxFrameManagerEventTo_p_wxEvent(void *x) {
13964 return (void *)((wxEvent *) ((wxFrameManagerEvent *) x));
13965 }
13966 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
13967 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
13968 }
13969 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
13970 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
13971 }
13972 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
13973 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
13974 }
13975 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
13976 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
13977 }
13978 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
13979 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
13980 }
13981 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
13982 return (void *)((wxEvent *) ((wxPyEvent *) x));
13983 }
13984 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
13985 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
13986 }
13987 static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) {
13988 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
13989 }
13990 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
13991 return (void *)((wxEvent *) ((wxIdleEvent *) x));
13992 }
13993 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
13994 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
13995 }
13996 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
13997 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
13998 }
13999 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
14000 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
14001 }
14002 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
14003 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
14004 }
14005 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
14006 return (void *)((wxEvent *) ((wxActivateEvent *) x));
14007 }
14008 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
14009 return (void *)((wxEvent *) ((wxSizeEvent *) x));
14010 }
14011 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
14012 return (void *)((wxEvent *) ((wxMoveEvent *) x));
14013 }
14014 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
14015 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
14016 }
14017 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
14018 return (void *)((wxEvent *) ((wxPaintEvent *) x));
14019 }
14020 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
14021 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
14022 }
14023 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
14024 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
14025 }
14026 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
14027 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
14028 }
14029 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
14030 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
14031 }
14032 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
14033 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
14034 }
14035 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
14036 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
14037 }
14038 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
14039 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
14040 }
14041 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
14042 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
14043 }
14044 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
14045 return (void *)((wxEvent *) ((wxFocusEvent *) x));
14046 }
14047 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
14048 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
14049 }
14050 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
14051 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
14052 }
14053 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
14054 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
14055 }
14056 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
14057 return (void *)((wxEvent *) ((wxShowEvent *) x));
14058 }
14059 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
14060 return (void *)((wxEvent *) ((wxCommandEvent *) x));
14061 }
14062 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
14063 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
14064 }
14065 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
14066 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14067 }
14068 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
14069 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
14070 }
14071 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
14072 return (void *)((wxEvent *) ((wxKeyEvent *) x));
14073 }
14074 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
14075 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
14076 }
14077 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
14078 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
14079 }
14080 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
14081 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
14082 }
14083 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
14084 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
14085 }
14086 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
14087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
14088 }
14089 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
14090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14091 }
14092 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
14093 return (void *)((wxObject *) ((wxSizerItem *) x));
14094 }
14095 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
14096 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
14097 }
14098 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
14099 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
14100 }
14101 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
14102 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
14103 }
14104 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
14105 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
14106 }
14107 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
14108 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
14109 }
14110 static void *_p_wxSizerTo_p_wxObject(void *x) {
14111 return (void *)((wxObject *) ((wxSizer *) x));
14112 }
14113 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
14114 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
14115 }
14116 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
14117 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
14118 }
14119 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
14120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
14121 }
14122 static void *_p_wxEventTo_p_wxObject(void *x) {
14123 return (void *)((wxObject *) ((wxEvent *) x));
14124 }
14125 static void *_p_wxFontDataTo_p_wxObject(void *x) {
14126 return (void *)((wxObject *) ((wxFontData *) x));
14127 }
14128 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
14129 return (void *)((wxObject *) ((wxPrintData *) x));
14130 }
14131 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
14132 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
14133 }
14134 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
14135 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
14136 }
14137 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
14138 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
14139 }
14140 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
14141 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
14142 }
14143 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
14144 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
14145 }
14146 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
14147 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
14148 }
14149 static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) {
14150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
14151 }
14152 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
14153 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
14154 }
14155 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
14156 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
14157 }
14158 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
14159 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
14160 }
14161 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
14162 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
14163 }
14164 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
14165 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
14166 }
14167 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
14168 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
14169 }
14170 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
14171 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
14172 }
14173 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
14174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14175 }
14176 static void *_p_wxControlTo_p_wxObject(void *x) {
14177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
14178 }
14179 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
14180 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
14181 }
14182 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
14183 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
14184 }
14185 static void *_p_wxFrameManagerEventTo_p_wxObject(void *x) {
14186 return (void *)((wxObject *) (wxEvent *) ((wxFrameManagerEvent *) x));
14187 }
14188 static void *_p_wxFSFileTo_p_wxObject(void *x) {
14189 return (void *)((wxObject *) ((wxFSFile *) x));
14190 }
14191 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
14192 return (void *)((wxObject *) ((wxFindReplaceData *) x));
14193 }
14194 static void *_p_wxPySizerTo_p_wxObject(void *x) {
14195 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
14196 }
14197 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
14198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14199 }
14200 static void *_p_wxAuiMultiNotebookTo_p_wxObject(void *x) {
14201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x));
14202 }
14203 static void *_p_wxColourDataTo_p_wxObject(void *x) {
14204 return (void *)((wxObject *) ((wxColourData *) x));
14205 }
14206 static void *_p_wxPyEventTo_p_wxObject(void *x) {
14207 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
14208 }
14209 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
14210 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
14211 }
14212 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
14213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
14214 }
14215 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
14216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14217 }
14218 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
14219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14220 }
14221 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
14222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14223 }
14224 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
14225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14226 }
14227 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
14228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14229 }
14230 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
14231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
14232 }
14233 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
14234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
14235 }
14236 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
14237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14238 }
14239 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
14240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14241 }
14242 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
14243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14244 }
14245 static void *_p_wxShowEventTo_p_wxObject(void *x) {
14246 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
14247 }
14248 static void *_p_wxPrinterTo_p_wxObject(void *x) {
14249 return (void *)((wxObject *) ((wxPrinter *) x));
14250 }
14251 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
14252 return (void *)((wxObject *) ((wxMenuItem *) x));
14253 }
14254 static void *_p_wxDateEventTo_p_wxObject(void *x) {
14255 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
14256 }
14257 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
14258 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
14259 }
14260 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
14261 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
14262 }
14263 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
14264 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
14265 }
14266 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
14267 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
14268 }
14269 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
14270 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
14271 }
14272 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
14273 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
14274 }
14275 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
14276 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
14277 }
14278 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
14279 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
14280 }
14281 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
14282 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
14283 }
14284 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
14285 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
14286 }
14287 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
14288 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
14289 }
14290 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
14291 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
14292 }
14293 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
14294 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
14295 }
14296 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
14297 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
14298 }
14299 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
14300 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
14301 }
14302 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
14303 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
14304 }
14305 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
14306 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
14307 }
14308 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
14309 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
14310 }
14311 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
14312 return (void *)((wxObject *) ((wxImageHandler *) x));
14313 }
14314 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
14315 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
14316 }
14317 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
14318 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
14319 }
14320 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
14321 return (void *)((wxObject *) ((wxEvtHandler *) x));
14322 }
14323 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
14324 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
14325 }
14326 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
14327 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
14328 }
14329 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
14330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14331 }
14332 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
14333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14334 }
14335 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
14336 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
14337 }
14338 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
14339 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
14340 }
14341 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
14342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14343 }
14344 static void *_p_wxImageTo_p_wxObject(void *x) {
14345 return (void *)((wxObject *) ((wxImage *) x));
14346 }
14347 static void *_p_wxFrameTo_p_wxObject(void *x) {
14348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
14349 }
14350 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
14351 return (void *)((wxObject *) ((wxPyPrintout *) x));
14352 }
14353 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
14354 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
14355 }
14356 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
14357 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
14358 }
14359 static void *_p_wxFloatingPaneTo_p_wxObject(void *x) {
14360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
14361 }
14362 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
14363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
14364 }
14365 static void *_p_wxFrameManagerTo_p_wxObject(void *x) {
14366 return (void *)((wxObject *) (wxEvtHandler *) ((wxFrameManager *) x));
14367 }
14368 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
14369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14370 }
14371 static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) {
14372 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
14373 }
14374 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
14375 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14376 }
14377 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
14378 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
14379 }
14380 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
14381 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
14382 }
14383 static void *_p_wxWindowTo_p_wxObject(void *x) {
14384 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
14385 }
14386 static void *_p_wxMenuTo_p_wxObject(void *x) {
14387 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
14388 }
14389 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
14390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
14391 }
14392 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
14393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
14394 }
14395 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
14396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
14397 }
14398 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
14399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
14400 }
14401 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
14402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
14403 }
14404 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
14405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
14406 }
14407 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
14408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
14409 }
14410 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
14411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
14412 }
14413 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
14414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14415 }
14416 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
14417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
14418 }
14419 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
14420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
14421 }
14422 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
14423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
14424 }
14425 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
14426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
14427 }
14428 static void *_p_wxSashEventTo_p_wxObject(void *x) {
14429 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
14430 }
14431 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
14432 return (void *)((wxObject *) ((wxPrintPreview *) x));
14433 }
14434 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
14435 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
14436 }
14437 static void *_p_wxPanelTo_p_wxObject(void *x) {
14438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
14439 }
14440 static void *_p_wxDialogTo_p_wxObject(void *x) {
14441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
14442 }
14443 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
14444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14445 }
14446 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
14447 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14448 }
14449 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
14450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14451 }
14452 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
14453 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
14454 }
14455 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
14456 return (void *)((wxObject *) ((wxPrintDialog *) x));
14457 }
14458 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
14459 return (void *)((wxObject *) ((wxFileSystem *) x));
14460 }
14461 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
14462 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
14463 }
14464 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
14465 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
14466 }
14467 static void *_p_wxPyAppTo_p_wxObject(void *x) {
14468 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
14469 }
14470 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
14471 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
14472 }
14473 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
14474 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
14475 }
14476 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
14477 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
14478 }
14479 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
14480 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
14481 }
14482 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
14483 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
14484 }
14485 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
14486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
14487 }
14488 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
14489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14490 }
14491 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
14492 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
14493 }
14494 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
14495 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
14496 }
14497 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
14498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
14499 }
14500 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
14501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
14502 }
14503 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
14504 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
14505 }
14506 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
14507 return (void *)((wxObject *) ((wxPrintDialogData *) x));
14508 }
14509 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
14510 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
14511 }
14512 static void *_p_wxValidatorTo_p_wxObject(void *x) {
14513 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
14514 }
14515 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
14516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14517 }
14518 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
14519 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14520 }
14521 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
14522 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
14523 }
14524 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
14525 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
14526 }
14527 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
14528 return (void *)((wxEvtHandler *) ((wxValidator *) x));
14529 }
14530 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
14531 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
14532 }
14533 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
14534 return (void *)((wxEvtHandler *) ((wxMenu *) x));
14535 }
14536 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
14537 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
14538 }
14539 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
14540 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14541 }
14542 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
14543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14544 }
14545 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
14546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14547 }
14548 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
14549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14550 }
14551 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
14552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
14553 }
14554 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
14555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14556 }
14557 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
14558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14559 }
14560 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
14561 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14562 }
14563 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
14564 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
14565 }
14566 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
14567 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
14568 }
14569 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
14570 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
14571 }
14572 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
14573 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
14574 }
14575 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
14576 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14577 }
14578 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
14579 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
14580 }
14581 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
14582 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
14583 }
14584 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
14585 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
14586 }
14587 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
14588 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
14589 }
14590 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
14591 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
14592 }
14593 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
14594 return (void *)((wxEvtHandler *) ((wxWindow *) x));
14595 }
14596 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
14597 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
14598 }
14599 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
14600 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
14601 }
14602 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
14603 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
14604 }
14605 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
14606 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
14607 }
14608 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
14609 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
14610 }
14611 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
14612 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
14613 }
14614 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
14615 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14616 }
14617 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
14618 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14619 }
14620 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
14621 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
14622 }
14623 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
14624 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
14625 }
14626 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
14627 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
14628 }
14629 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
14630 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14631 }
14632 static void *_p_wxFloatingPaneTo_p_wxEvtHandler(void *x) {
14633 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
14634 }
14635 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
14636 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14637 }
14638 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
14639 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14640 }
14641 static void *_p_wxAuiMultiNotebookTo_p_wxEvtHandler(void *x) {
14642 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x));
14643 }
14644 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
14645 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
14646 }
14647 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
14648 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14649 }
14650 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
14651 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
14652 }
14653 static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) {
14654 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
14655 }
14656 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
14657 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
14658 }
14659 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
14660 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14661 }
14662 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
14663 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14664 }
14665 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
14666 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
14667 }
14668 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
14669 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14670 }
14671 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
14672 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14673 }
14674 static void *_p_wxFrameManagerTo_p_wxEvtHandler(void *x) {
14675 return (void *)((wxEvtHandler *) ((wxFrameManager *) x));
14676 }
14677 static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) {
14678 return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x));
14679 }
14680 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
14681 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
14682 }
14683 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
14684 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
14685 }
14686 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
14687 return (void *)((wxFrame *) ((wxProgressDialog *) x));
14688 }
14689 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
14690 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
14691 }
14692 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
14693 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14694 }
14695 static void *_p_wxFloatingPaneTo_p_wxFrame(void *x) {
14696 return (void *)((wxFrame *) (wxMiniFrame *) ((wxFloatingPane *) x));
14697 }
14698 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
14699 return (void *)((wxFrame *) ((wxMiniFrame *) x));
14700 }
14701 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
14702 return (void *)((wxFrame *) ((wxSplashScreen *) x));
14703 }
14704 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
14705 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
14706 }
14707 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
14708 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
14709 }
14710 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
14711 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14712 }
14713 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
14714 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
14715 }
14716 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
14717 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
14718 }
14719 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
14720 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
14721 }
14722 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
14723 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
14724 }
14725 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
14726 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
14727 }
14728 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
14729 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
14730 }
14731 static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) {
14732 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
14733 }
14734 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
14735 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
14736 }
14737 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
14738 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
14739 }
14740 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
14741 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
14742 }
14743 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
14744 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
14745 }
14746 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
14747 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
14748 }
14749 static void *_p_wxDefaultDockArtTo_p_wxDockArt(void *x) {
14750 return (void *)((wxDockArt *) ((wxDefaultDockArt *) x));
14751 }
14752 static void *_p_wxPyDockArtTo_p_wxDockArt(void *x) {
14753 return (void *)((wxDockArt *) (wxDefaultDockArt *) ((wxPyDockArt *) x));
14754 }
14755 static void *_p_wxPyDockArtTo_p_wxDefaultDockArt(void *x) {
14756 return (void *)((wxDefaultDockArt *) ((wxPyDockArt *) x));
14757 }
14758 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
14759 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};
14760 static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
14761 static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0};
14762 static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0};
14763 static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0};
14764 static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0};
14765 static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0};
14766 static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0};
14767 static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
14768 static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0};
14769 static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0};
14770 static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
14771 static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
14772 static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
14773 static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
14774 static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
14775 static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0};
14776 static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0};
14777 static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0};
14778 static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
14779 static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0};
14780 static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
14781 static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0};
14782 static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
14783 static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0};
14784 static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
14785 static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
14786 static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0};
14787 static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0};
14788 static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
14789 static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
14790 static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0};
14791 static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
14792 static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0};
14793 static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
14794 static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0};
14795 static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0};
14796 static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
14797 static swig_type_info _swigt__p_p_wxFloatingPane = {"_p_p_wxFloatingPane", 0, 0, 0, 0, 0};
14798 static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
14799 static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0};
14800 static swig_type_info _swigt__p_p_wxAuiMultiNotebook = {"_p_p_wxAuiMultiNotebook", 0, 0, 0, 0, 0};
14801 static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
14802 static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
14803 static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0};
14804 static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0};
14805 static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0};
14806 static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0};
14807 static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0};
14808 static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0};
14809 static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
14810 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
14811 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
14812 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
14813 static swig_type_info _swigt__p_wxAuiMultiNotebook = {"_p_wxAuiMultiNotebook", "wxAuiMultiNotebook *", 0, 0, (void*)0, 0};
14814 static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0};
14815 static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0};
14816 static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0};
14817 static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0};
14818 static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0};
14819 static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0};
14820 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
14821 static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
14822 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
14823 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
14824 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
14825 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
14826 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
14827 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
14828 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
14829 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
14830 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
14831 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
14832 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
14833 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
14834 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
14835 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
14836 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
14837 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
14838 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
14839 static swig_type_info _swigt__p_wxDefaultDockArt = {"_p_wxDefaultDockArt", "wxDefaultDockArt *", 0, 0, (void*)0, 0};
14840 static swig_type_info _swigt__p_wxDockArt = {"_p_wxDockArt", "wxDockArt *", 0, 0, (void*)0, 0};
14841 static swig_type_info _swigt__p_wxDockInfo = {"_p_wxDockInfo", "wxDockInfo *", 0, 0, (void*)0, 0};
14842 static swig_type_info _swigt__p_wxDockUIPart = {"_p_wxDockUIPart", "wxDockUIPart *", 0, 0, (void*)0, 0};
14843 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
14844 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
14845 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
14846 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
14847 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
14848 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
14849 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
14850 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
14851 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
14852 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
14853 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
14854 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
14855 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
14856 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
14857 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
14858 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
14859 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
14860 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
14861 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
14862 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
14863 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
14864 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
14865 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
14866 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
14867 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
14868 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
14869 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
14870 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
14871 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
14872 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
14873 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
14874 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
14875 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
14876 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
14877 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
14878 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
14879 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
14880 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
14881 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
14882 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
14883 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
14884 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
14885 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
14886 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
14887 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
14888 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
14889 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
14890 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0};
14891 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
14892 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
14893 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0};
14894 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
14895 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
14896 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
14897 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
14898 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
14899 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
14900 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
14901 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
14902 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
14903 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
14904 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
14905 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
14906 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
14907 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
14908 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
14909 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
14910 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
14911 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
14912 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
14913 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
14914 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
14915 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
14916 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
14917 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
14918 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
14919 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
14920 static swig_type_info _swigt__p_wxFloatingPane = {"_p_wxFloatingPane", "wxFloatingPane *", 0, 0, (void*)0, 0};
14921 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
14922 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
14923 static swig_type_info _swigt__p_wxFrameManager = {"_p_wxFrameManager", "wxFrameManager *", 0, 0, (void*)0, 0};
14924 static swig_type_info _swigt__p_wxFrameManagerEvent = {"_p_wxFrameManagerEvent", "wxFrameManagerEvent *", 0, 0, (void*)0, 0};
14925 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
14926 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
14927 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
14928 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
14929 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
14930 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
14931 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
14932 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
14933 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
14934 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
14935 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
14936 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
14937 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
14938 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
14939 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
14940 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
14941 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
14942 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
14943 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
14944 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
14945 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
14946 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
14947 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
14948 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
14949 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
14950 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
14951 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
14952 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
14953 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
14954 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
14955 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
14956 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
14957 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
14958 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
14959 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
14960 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
14961 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
14962 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
14963 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
14964 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
14965 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
14966 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
14967 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
14968 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
14969 static swig_type_info _swigt__p_wxPaneButton = {"_p_wxPaneButton", "wxPaneButton *", 0, 0, (void*)0, 0};
14970 static swig_type_info _swigt__p_wxPaneButtonArray = {"_p_wxPaneButtonArray", "wxPaneButtonArray *", 0, 0, (void*)0, 0};
14971 static swig_type_info _swigt__p_wxPaneInfo = {"_p_wxPaneInfo", "wxPaneInfo *", 0, 0, (void*)0, 0};
14972 static swig_type_info _swigt__p_wxPaneInfoPtrArray = {"_p_wxPaneInfoPtrArray", "wxPaneInfoPtrArray *", 0, 0, (void*)0, 0};
14973 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
14974 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
14975 static swig_type_info _swigt__p_wxPyDockArt = {"_p_wxPyDockArt", "wxPyDockArt *", 0, 0, (void*)0, 0};
14976 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
14977 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
14978 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
14979 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
14980 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
14981 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
14982 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
14983
14984 static swig_type_info *swig_type_initial[] = {
14985 &_swigt__p_char,
14986 &_swigt__p_form_ops_t,
14987 &_swigt__p_int,
14988 &_swigt__p_p_wxAuiMultiNotebook,
14989 &_swigt__p_p_wxAuiTabContainerButton,
14990 &_swigt__p_p_wxAuiTabCtrl,
14991 &_swigt__p_p_wxColourDialog,
14992 &_swigt__p_p_wxControl,
14993 &_swigt__p_p_wxControlWithItems,
14994 &_swigt__p_p_wxDialog,
14995 &_swigt__p_p_wxDirDialog,
14996 &_swigt__p_p_wxFileDialog,
14997 &_swigt__p_p_wxFindReplaceDialog,
14998 &_swigt__p_p_wxFloatingPane,
14999 &_swigt__p_p_wxFontDialog,
15000 &_swigt__p_p_wxFrame,
15001 &_swigt__p_p_wxMDIChildFrame,
15002 &_swigt__p_p_wxMDIClientWindow,
15003 &_swigt__p_p_wxMDIParentFrame,
15004 &_swigt__p_p_wxMenuBar,
15005 &_swigt__p_p_wxMessageDialog,
15006 &_swigt__p_p_wxMiniFrame,
15007 &_swigt__p_p_wxMultiChoiceDialog,
15008 &_swigt__p_p_wxNumberEntryDialog,
15009 &_swigt__p_p_wxPanel,
15010 &_swigt__p_p_wxPasswordEntryDialog,
15011 &_swigt__p_p_wxPopupWindow,
15012 &_swigt__p_p_wxPreviewCanvas,
15013 &_swigt__p_p_wxPreviewControlBar,
15014 &_swigt__p_p_wxPreviewFrame,
15015 &_swigt__p_p_wxProgressDialog,
15016 &_swigt__p_p_wxPyHtmlListBox,
15017 &_swigt__p_p_wxPyPanel,
15018 &_swigt__p_p_wxPyPopupTransientWindow,
15019 &_swigt__p_p_wxPyPreviewControlBar,
15020 &_swigt__p_p_wxPyPreviewFrame,
15021 &_swigt__p_p_wxPyScrolledWindow,
15022 &_swigt__p_p_wxPyVListBox,
15023 &_swigt__p_p_wxPyVScrolledWindow,
15024 &_swigt__p_p_wxPyWindow,
15025 &_swigt__p_p_wxSashLayoutWindow,
15026 &_swigt__p_p_wxSashWindow,
15027 &_swigt__p_p_wxScrolledWindow,
15028 &_swigt__p_p_wxSingleChoiceDialog,
15029 &_swigt__p_p_wxSplashScreen,
15030 &_swigt__p_p_wxSplashScreenWindow,
15031 &_swigt__p_p_wxSplitterWindow,
15032 &_swigt__p_p_wxStatusBar,
15033 &_swigt__p_p_wxTextEntryDialog,
15034 &_swigt__p_p_wxTipWindow,
15035 &_swigt__p_p_wxTopLevelWindow,
15036 &_swigt__p_p_wxWindow,
15037 &_swigt__p_unsigned_char,
15038 &_swigt__p_unsigned_int,
15039 &_swigt__p_unsigned_long,
15040 &_swigt__p_wxANIHandler,
15041 &_swigt__p_wxAcceleratorTable,
15042 &_swigt__p_wxActivateEvent,
15043 &_swigt__p_wxAuiMultiNotebook,
15044 &_swigt__p_wxAuiNotebookEvent,
15045 &_swigt__p_wxAuiNotebookPage,
15046 &_swigt__p_wxAuiNotebookPageArray,
15047 &_swigt__p_wxAuiTabContainer,
15048 &_swigt__p_wxAuiTabContainerButton,
15049 &_swigt__p_wxAuiTabCtrl,
15050 &_swigt__p_wxBMPHandler,
15051 &_swigt__p_wxBitmap,
15052 &_swigt__p_wxBoxSizer,
15053 &_swigt__p_wxCURHandler,
15054 &_swigt__p_wxCalculateLayoutEvent,
15055 &_swigt__p_wxChildFocusEvent,
15056 &_swigt__p_wxClipboardTextEvent,
15057 &_swigt__p_wxCloseEvent,
15058 &_swigt__p_wxColor,
15059 &_swigt__p_wxColour,
15060 &_swigt__p_wxColourData,
15061 &_swigt__p_wxColourDialog,
15062 &_swigt__p_wxCommandEvent,
15063 &_swigt__p_wxContextMenuEvent,
15064 &_swigt__p_wxControl,
15065 &_swigt__p_wxControlWithItems,
15066 &_swigt__p_wxDC,
15067 &_swigt__p_wxDateEvent,
15068 &_swigt__p_wxDefaultDockArt,
15069 &_swigt__p_wxDialog,
15070 &_swigt__p_wxDirDialog,
15071 &_swigt__p_wxDisplayChangedEvent,
15072 &_swigt__p_wxDockArt,
15073 &_swigt__p_wxDockInfo,
15074 &_swigt__p_wxDockUIPart,
15075 &_swigt__p_wxDropFilesEvent,
15076 &_swigt__p_wxDuplexMode,
15077 &_swigt__p_wxEraseEvent,
15078 &_swigt__p_wxEvent,
15079 &_swigt__p_wxEvtHandler,
15080 &_swigt__p_wxFSFile,
15081 &_swigt__p_wxFileDialog,
15082 &_swigt__p_wxFileSystem,
15083 &_swigt__p_wxFindDialogEvent,
15084 &_swigt__p_wxFindReplaceData,
15085 &_swigt__p_wxFindReplaceDialog,
15086 &_swigt__p_wxFlexGridSizer,
15087 &_swigt__p_wxFloatingPane,
15088 &_swigt__p_wxFocusEvent,
15089 &_swigt__p_wxFont,
15090 &_swigt__p_wxFontData,
15091 &_swigt__p_wxFontDialog,
15092 &_swigt__p_wxFrame,
15093 &_swigt__p_wxFrameManager,
15094 &_swigt__p_wxFrameManagerEvent,
15095 &_swigt__p_wxGBSizerItem,
15096 &_swigt__p_wxGIFHandler,
15097 &_swigt__p_wxGridBagSizer,
15098 &_swigt__p_wxGridSizer,
15099 &_swigt__p_wxICOHandler,
15100 &_swigt__p_wxIconizeEvent,
15101 &_swigt__p_wxIdleEvent,
15102 &_swigt__p_wxImage,
15103 &_swigt__p_wxImageHandler,
15104 &_swigt__p_wxIndividualLayoutConstraint,
15105 &_swigt__p_wxInitDialogEvent,
15106 &_swigt__p_wxJPEGHandler,
15107 &_swigt__p_wxKeyEvent,
15108 &_swigt__p_wxLayoutAlgorithm,
15109 &_swigt__p_wxLayoutConstraints,
15110 &_swigt__p_wxMDIChildFrame,
15111 &_swigt__p_wxMDIClientWindow,
15112 &_swigt__p_wxMDIParentFrame,
15113 &_swigt__p_wxMaximizeEvent,
15114 &_swigt__p_wxMenu,
15115 &_swigt__p_wxMenuBar,
15116 &_swigt__p_wxMenuEvent,
15117 &_swigt__p_wxMenuItem,
15118 &_swigt__p_wxMessageDialog,
15119 &_swigt__p_wxMiniFrame,
15120 &_swigt__p_wxMouseCaptureChangedEvent,
15121 &_swigt__p_wxMouseCaptureLostEvent,
15122 &_swigt__p_wxMouseEvent,
15123 &_swigt__p_wxMoveEvent,
15124 &_swigt__p_wxMultiChoiceDialog,
15125 &_swigt__p_wxNavigationKeyEvent,
15126 &_swigt__p_wxNcPaintEvent,
15127 &_swigt__p_wxNotifyEvent,
15128 &_swigt__p_wxNumberEntryDialog,
15129 &_swigt__p_wxObject,
15130 &_swigt__p_wxPCXHandler,
15131 &_swigt__p_wxPNGHandler,
15132 &_swigt__p_wxPNMHandler,
15133 &_swigt__p_wxPageSetupDialog,
15134 &_swigt__p_wxPageSetupDialogData,
15135 &_swigt__p_wxPaintEvent,
15136 &_swigt__p_wxPaletteChangedEvent,
15137 &_swigt__p_wxPaneButton,
15138 &_swigt__p_wxPaneButtonArray,
15139 &_swigt__p_wxPaneInfo,
15140 &_swigt__p_wxPaneInfoPtrArray,
15141 &_swigt__p_wxPanel,
15142 &_swigt__p_wxPaperSize,
15143 &_swigt__p_wxPasswordEntryDialog,
15144 &_swigt__p_wxPoint,
15145 &_swigt__p_wxPopupWindow,
15146 &_swigt__p_wxPreviewCanvas,
15147 &_swigt__p_wxPreviewControlBar,
15148 &_swigt__p_wxPreviewFrame,
15149 &_swigt__p_wxPrintData,
15150 &_swigt__p_wxPrintDialog,
15151 &_swigt__p_wxPrintDialogData,
15152 &_swigt__p_wxPrintPreview,
15153 &_swigt__p_wxPrinter,
15154 &_swigt__p_wxProgressDialog,
15155 &_swigt__p_wxPyApp,
15156 &_swigt__p_wxPyCommandEvent,
15157 &_swigt__p_wxPyDockArt,
15158 &_swigt__p_wxPyEvent,
15159 &_swigt__p_wxPyHtmlListBox,
15160 &_swigt__p_wxPyImageHandler,
15161 &_swigt__p_wxPyPanel,
15162 &_swigt__p_wxPyPopupTransientWindow,
15163 &_swigt__p_wxPyPreviewControlBar,
15164 &_swigt__p_wxPyPreviewFrame,
15165 &_swigt__p_wxPyPrintPreview,
15166 &_swigt__p_wxPyPrintout,
15167 &_swigt__p_wxPyScrolledWindow,
15168 &_swigt__p_wxPySizer,
15169 &_swigt__p_wxPyTaskBarIcon,
15170 &_swigt__p_wxPyVListBox,
15171 &_swigt__p_wxPyVScrolledWindow,
15172 &_swigt__p_wxPyValidator,
15173 &_swigt__p_wxPyWindow,
15174 &_swigt__p_wxQueryLayoutInfoEvent,
15175 &_swigt__p_wxQueryNewPaletteEvent,
15176 &_swigt__p_wxRect,
15177 &_swigt__p_wxSashEvent,
15178 &_swigt__p_wxSashLayoutWindow,
15179 &_swigt__p_wxSashWindow,
15180 &_swigt__p_wxScrollEvent,
15181 &_swigt__p_wxScrollWinEvent,
15182 &_swigt__p_wxScrolledWindow,
15183 &_swigt__p_wxSetCursorEvent,
15184 &_swigt__p_wxShowEvent,
15185 &_swigt__p_wxSingleChoiceDialog,
15186 &_swigt__p_wxSize,
15187 &_swigt__p_wxSizeEvent,
15188 &_swigt__p_wxSizer,
15189 &_swigt__p_wxSizerItem,
15190 &_swigt__p_wxSplashScreen,
15191 &_swigt__p_wxSplashScreenWindow,
15192 &_swigt__p_wxSplitterEvent,
15193 &_swigt__p_wxSplitterWindow,
15194 &_swigt__p_wxStaticBoxSizer,
15195 &_swigt__p_wxStatusBar,
15196 &_swigt__p_wxStdDialogButtonSizer,
15197 &_swigt__p_wxString,
15198 &_swigt__p_wxSysColourChangedEvent,
15199 &_swigt__p_wxTIFFHandler,
15200 &_swigt__p_wxTaskBarIconEvent,
15201 &_swigt__p_wxTextEntryDialog,
15202 &_swigt__p_wxTipWindow,
15203 &_swigt__p_wxTopLevelWindow,
15204 &_swigt__p_wxUpdateUIEvent,
15205 &_swigt__p_wxValidator,
15206 &_swigt__p_wxWindow,
15207 &_swigt__p_wxWindowCreateEvent,
15208 &_swigt__p_wxWindowDestroyEvent,
15209 &_swigt__p_wxXPMHandler,
15210 };
15211
15212 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
15213 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
15214 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
15215 static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
15216 static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
15217 static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
15218 static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
15219 static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
15220 static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
15221 static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
15222 static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
15223 static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15224 static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15225 static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15226 static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15227 static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15228 static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
15229 static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
15230 static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
15231 static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15232 static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
15233 static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
15234 static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
15235 static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
15236 static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15237 static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
15238 static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
15239 static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
15240 static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
15241 static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
15242 static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15243 static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15244 static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15245 static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
15246 static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
15247 static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
15248 static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
15249 static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
15250 static swig_cast_info _swigc__p_p_wxFloatingPane[] = {{&_swigt__p_p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
15251 static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
15252 static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
15253 static swig_cast_info _swigc__p_p_wxAuiMultiNotebook[] = {{&_swigt__p_p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}};
15254 static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15255 static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15256 static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
15257 static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
15258 static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
15259 static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
15260 static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
15261 static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
15262 static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
15263 static swig_cast_info _swigc__p_p_wxWindow[] = { {&_swigt__p_p_wxSplashScreen, _p_p_wxSplashScreenTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMiniFrame, _p_p_wxMiniFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPanel, _p_p_wxPyPanelTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMenuBar, _p_p_wxMenuBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFindReplaceDialog, _p_p_wxFindReplaceDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxProgressDialog, _p_p_wxProgressDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMessageDialog, _p_p_wxMessageDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxNumberEntryDialog, _p_p_wxNumberEntryDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPasswordEntryDialog, _p_p_wxPasswordEntryDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxTextEntryDialog, _p_p_wxTextEntryDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSingleChoiceDialog, _p_p_wxSingleChoiceDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMultiChoiceDialog, _p_p_wxMultiChoiceDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFileDialog, _p_p_wxFileDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPanel, _p_p_wxPanelTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxStatusBar, _p_p_wxStatusBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyVScrolledWindow, _p_p_wxPyVScrolledWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxTipWindow, _p_p_wxTipWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPopupTransientWindow, _p_p_wxPyPopupTransientWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPopupWindow, _p_p_wxPopupWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSashLayoutWindow, _p_p_wxSashLayoutWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxScrolledWindow, _p_p_wxScrolledWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxTopLevelWindow, _p_p_wxTopLevelWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSplashScreenWindow, _p_p_wxSplashScreenWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSplitterWindow, _p_p_wxSplitterWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSashWindow, _p_p_wxSashWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMDIClientWindow, _p_p_wxMDIClientWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyScrolledWindow, _p_p_wxPyScrolledWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxWindow, 0, 0, 0}, {&_swigt__p_p_wxPreviewFrame, _p_p_wxPreviewFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPreviewFrame, _p_p_wxPyPreviewFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxControl, _p_p_wxControlTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMDIChildFrame, _p_p_wxMDIChildFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxControlWithItems, _p_p_wxControlWithItemsTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyWindow, _p_p_wxPyWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPreviewCanvas, _p_p_wxPreviewCanvasTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFloatingPane, _p_p_wxFloatingPaneTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyHtmlListBox, _p_p_wxPyHtmlListBoxTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyVListBox, _p_p_wxPyVListBoxTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxAuiMultiNotebook, _p_p_wxAuiMultiNotebookTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPreviewControlBar, _p_p_wxPreviewControlBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPreviewControlBar, _p_p_wxPyPreviewControlBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxAuiTabCtrl, _p_p_wxAuiTabCtrlTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFrame, _p_p_wxFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFontDialog, _p_p_wxFontDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxDirDialog, _p_p_wxDirDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxColourDialog, _p_p_wxColourDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxDialog, _p_p_wxDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMDIParentFrame, _p_p_wxMDIParentFrameTo_p_p_wxWindow, 0, 0},{0, 0, 0, 0}};
15264 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
15265 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
15266 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
15267 static swig_cast_info _swigc__p_wxAuiMultiNotebook[] = { {&_swigt__p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}};
15268 static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
15269 static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}};
15270 static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}};
15271 static swig_cast_info _swigc__p_wxAuiTabContainer[] = { {&_swigt__p_wxAuiTabContainer, 0, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxAuiTabContainer, 0, 0},{0, 0, 0, 0}};
15272 static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
15273 static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
15274 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
15275 static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}};
15276 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
15277 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
15278 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
15279 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
15280 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
15281 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
15282 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
15283 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
15284 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
15285 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
15286 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
15287 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
15288 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
15289 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
15290 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
15291 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
15292 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
15293 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}};
15294 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}};
15295 static swig_cast_info _swigc__p_wxDockInfo[] = { {&_swigt__p_wxDockInfo, 0, 0, 0},{0, 0, 0, 0}};
15296 static swig_cast_info _swigc__p_wxDockUIPart[] = { {&_swigt__p_wxDockUIPart, 0, 0, 0},{0, 0, 0, 0}};
15297 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
15298 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
15299 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
15300 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
15301 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
15302 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
15303 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
15304 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
15305 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
15306 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
15307 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
15308 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
15309 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
15310 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
15311 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
15312 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
15313 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
15314 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
15315 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
15316 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15317 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15318 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15319 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15320 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
15321 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
15322 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
15323 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
15324 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
15325 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
15326 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
15327 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
15328 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFrameManagerEvent, _p_wxFrameManagerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
15329 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
15330 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
15331 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
15332 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
15333 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
15334 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15335 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
15336 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15337 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
15338 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
15339 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
15340 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15341 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15342 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15343 static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
15344 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
15345 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
15346 static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15347 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
15348 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15349 static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
15350 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
15351 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
15352 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
15353 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
15354 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
15355 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15356 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15357 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15358 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
15359 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
15360 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
15361 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
15362 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
15363 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
15364 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15365 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15366 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
15367 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
15368 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
15369 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
15370 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
15371 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
15372 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
15373 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrameManager, _p_wxFrameManagerTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
15374 static swig_cast_info _swigc__p_wxFloatingPane[] = { {&_swigt__p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
15375 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
15376 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}};
15377 static swig_cast_info _swigc__p_wxFrameManager[] = { {&_swigt__p_wxFrameManager, 0, 0, 0},{0, 0, 0, 0}};
15378 static swig_cast_info _swigc__p_wxFrameManagerEvent[] = { {&_swigt__p_wxFrameManagerEvent, 0, 0, 0},{0, 0, 0, 0}};
15379 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}};
15380 static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
15381 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
15382 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
15383 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
15384 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
15385 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
15386 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
15387 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
15388 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
15389 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
15390 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
15391 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
15392 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
15393 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
15394 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
15395 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
15396 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
15397 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
15398 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
15399 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
15400 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
15401 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
15402 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
15403 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
15404 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
15405 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
15406 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
15407 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
15408 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
15409 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
15410 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
15411 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
15412 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
15413 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
15414 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
15415 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
15416 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
15417 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
15418 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
15419 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
15420 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
15421 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
15422 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrameManagerEvent, _p_wxFrameManagerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrameManager, _p_wxFrameManagerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
15423 static swig_cast_info _swigc__p_wxPaneButton[] = { {&_swigt__p_wxPaneButton, 0, 0, 0},{0, 0, 0, 0}};
15424 static swig_cast_info _swigc__p_wxPaneButtonArray[] = { {&_swigt__p_wxPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}};
15425 static swig_cast_info _swigc__p_wxPaneInfo[] = { {&_swigt__p_wxPaneInfo, 0, 0, 0},{0, 0, 0, 0}};
15426 static swig_cast_info _swigc__p_wxPaneInfoPtrArray[] = { {&_swigt__p_wxPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}};
15427 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
15428 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
15429 static swig_cast_info _swigc__p_wxPyDockArt[] = { {&_swigt__p_wxPyDockArt, 0, 0, 0},{0, 0, 0, 0}};
15430 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
15431 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
15432 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}};
15433 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}};
15434 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
15435 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}};
15436 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
15437
15438 static swig_cast_info *swig_cast_initial[] = {
15439 _swigc__p_char,
15440 _swigc__p_form_ops_t,
15441 _swigc__p_int,
15442 _swigc__p_p_wxAuiMultiNotebook,
15443 _swigc__p_p_wxAuiTabContainerButton,
15444 _swigc__p_p_wxAuiTabCtrl,
15445 _swigc__p_p_wxColourDialog,
15446 _swigc__p_p_wxControl,
15447 _swigc__p_p_wxControlWithItems,
15448 _swigc__p_p_wxDialog,
15449 _swigc__p_p_wxDirDialog,
15450 _swigc__p_p_wxFileDialog,
15451 _swigc__p_p_wxFindReplaceDialog,
15452 _swigc__p_p_wxFloatingPane,
15453 _swigc__p_p_wxFontDialog,
15454 _swigc__p_p_wxFrame,
15455 _swigc__p_p_wxMDIChildFrame,
15456 _swigc__p_p_wxMDIClientWindow,
15457 _swigc__p_p_wxMDIParentFrame,
15458 _swigc__p_p_wxMenuBar,
15459 _swigc__p_p_wxMessageDialog,
15460 _swigc__p_p_wxMiniFrame,
15461 _swigc__p_p_wxMultiChoiceDialog,
15462 _swigc__p_p_wxNumberEntryDialog,
15463 _swigc__p_p_wxPanel,
15464 _swigc__p_p_wxPasswordEntryDialog,
15465 _swigc__p_p_wxPopupWindow,
15466 _swigc__p_p_wxPreviewCanvas,
15467 _swigc__p_p_wxPreviewControlBar,
15468 _swigc__p_p_wxPreviewFrame,
15469 _swigc__p_p_wxProgressDialog,
15470 _swigc__p_p_wxPyHtmlListBox,
15471 _swigc__p_p_wxPyPanel,
15472 _swigc__p_p_wxPyPopupTransientWindow,
15473 _swigc__p_p_wxPyPreviewControlBar,
15474 _swigc__p_p_wxPyPreviewFrame,
15475 _swigc__p_p_wxPyScrolledWindow,
15476 _swigc__p_p_wxPyVListBox,
15477 _swigc__p_p_wxPyVScrolledWindow,
15478 _swigc__p_p_wxPyWindow,
15479 _swigc__p_p_wxSashLayoutWindow,
15480 _swigc__p_p_wxSashWindow,
15481 _swigc__p_p_wxScrolledWindow,
15482 _swigc__p_p_wxSingleChoiceDialog,
15483 _swigc__p_p_wxSplashScreen,
15484 _swigc__p_p_wxSplashScreenWindow,
15485 _swigc__p_p_wxSplitterWindow,
15486 _swigc__p_p_wxStatusBar,
15487 _swigc__p_p_wxTextEntryDialog,
15488 _swigc__p_p_wxTipWindow,
15489 _swigc__p_p_wxTopLevelWindow,
15490 _swigc__p_p_wxWindow,
15491 _swigc__p_unsigned_char,
15492 _swigc__p_unsigned_int,
15493 _swigc__p_unsigned_long,
15494 _swigc__p_wxANIHandler,
15495 _swigc__p_wxAcceleratorTable,
15496 _swigc__p_wxActivateEvent,
15497 _swigc__p_wxAuiMultiNotebook,
15498 _swigc__p_wxAuiNotebookEvent,
15499 _swigc__p_wxAuiNotebookPage,
15500 _swigc__p_wxAuiNotebookPageArray,
15501 _swigc__p_wxAuiTabContainer,
15502 _swigc__p_wxAuiTabContainerButton,
15503 _swigc__p_wxAuiTabCtrl,
15504 _swigc__p_wxBMPHandler,
15505 _swigc__p_wxBitmap,
15506 _swigc__p_wxBoxSizer,
15507 _swigc__p_wxCURHandler,
15508 _swigc__p_wxCalculateLayoutEvent,
15509 _swigc__p_wxChildFocusEvent,
15510 _swigc__p_wxClipboardTextEvent,
15511 _swigc__p_wxCloseEvent,
15512 _swigc__p_wxColor,
15513 _swigc__p_wxColour,
15514 _swigc__p_wxColourData,
15515 _swigc__p_wxColourDialog,
15516 _swigc__p_wxCommandEvent,
15517 _swigc__p_wxContextMenuEvent,
15518 _swigc__p_wxControl,
15519 _swigc__p_wxControlWithItems,
15520 _swigc__p_wxDC,
15521 _swigc__p_wxDateEvent,
15522 _swigc__p_wxDefaultDockArt,
15523 _swigc__p_wxDialog,
15524 _swigc__p_wxDirDialog,
15525 _swigc__p_wxDisplayChangedEvent,
15526 _swigc__p_wxDockArt,
15527 _swigc__p_wxDockInfo,
15528 _swigc__p_wxDockUIPart,
15529 _swigc__p_wxDropFilesEvent,
15530 _swigc__p_wxDuplexMode,
15531 _swigc__p_wxEraseEvent,
15532 _swigc__p_wxEvent,
15533 _swigc__p_wxEvtHandler,
15534 _swigc__p_wxFSFile,
15535 _swigc__p_wxFileDialog,
15536 _swigc__p_wxFileSystem,
15537 _swigc__p_wxFindDialogEvent,
15538 _swigc__p_wxFindReplaceData,
15539 _swigc__p_wxFindReplaceDialog,
15540 _swigc__p_wxFlexGridSizer,
15541 _swigc__p_wxFloatingPane,
15542 _swigc__p_wxFocusEvent,
15543 _swigc__p_wxFont,
15544 _swigc__p_wxFontData,
15545 _swigc__p_wxFontDialog,
15546 _swigc__p_wxFrame,
15547 _swigc__p_wxFrameManager,
15548 _swigc__p_wxFrameManagerEvent,
15549 _swigc__p_wxGBSizerItem,
15550 _swigc__p_wxGIFHandler,
15551 _swigc__p_wxGridBagSizer,
15552 _swigc__p_wxGridSizer,
15553 _swigc__p_wxICOHandler,
15554 _swigc__p_wxIconizeEvent,
15555 _swigc__p_wxIdleEvent,
15556 _swigc__p_wxImage,
15557 _swigc__p_wxImageHandler,
15558 _swigc__p_wxIndividualLayoutConstraint,
15559 _swigc__p_wxInitDialogEvent,
15560 _swigc__p_wxJPEGHandler,
15561 _swigc__p_wxKeyEvent,
15562 _swigc__p_wxLayoutAlgorithm,
15563 _swigc__p_wxLayoutConstraints,
15564 _swigc__p_wxMDIChildFrame,
15565 _swigc__p_wxMDIClientWindow,
15566 _swigc__p_wxMDIParentFrame,
15567 _swigc__p_wxMaximizeEvent,
15568 _swigc__p_wxMenu,
15569 _swigc__p_wxMenuBar,
15570 _swigc__p_wxMenuEvent,
15571 _swigc__p_wxMenuItem,
15572 _swigc__p_wxMessageDialog,
15573 _swigc__p_wxMiniFrame,
15574 _swigc__p_wxMouseCaptureChangedEvent,
15575 _swigc__p_wxMouseCaptureLostEvent,
15576 _swigc__p_wxMouseEvent,
15577 _swigc__p_wxMoveEvent,
15578 _swigc__p_wxMultiChoiceDialog,
15579 _swigc__p_wxNavigationKeyEvent,
15580 _swigc__p_wxNcPaintEvent,
15581 _swigc__p_wxNotifyEvent,
15582 _swigc__p_wxNumberEntryDialog,
15583 _swigc__p_wxObject,
15584 _swigc__p_wxPCXHandler,
15585 _swigc__p_wxPNGHandler,
15586 _swigc__p_wxPNMHandler,
15587 _swigc__p_wxPageSetupDialog,
15588 _swigc__p_wxPageSetupDialogData,
15589 _swigc__p_wxPaintEvent,
15590 _swigc__p_wxPaletteChangedEvent,
15591 _swigc__p_wxPaneButton,
15592 _swigc__p_wxPaneButtonArray,
15593 _swigc__p_wxPaneInfo,
15594 _swigc__p_wxPaneInfoPtrArray,
15595 _swigc__p_wxPanel,
15596 _swigc__p_wxPaperSize,
15597 _swigc__p_wxPasswordEntryDialog,
15598 _swigc__p_wxPoint,
15599 _swigc__p_wxPopupWindow,
15600 _swigc__p_wxPreviewCanvas,
15601 _swigc__p_wxPreviewControlBar,
15602 _swigc__p_wxPreviewFrame,
15603 _swigc__p_wxPrintData,
15604 _swigc__p_wxPrintDialog,
15605 _swigc__p_wxPrintDialogData,
15606 _swigc__p_wxPrintPreview,
15607 _swigc__p_wxPrinter,
15608 _swigc__p_wxProgressDialog,
15609 _swigc__p_wxPyApp,
15610 _swigc__p_wxPyCommandEvent,
15611 _swigc__p_wxPyDockArt,
15612 _swigc__p_wxPyEvent,
15613 _swigc__p_wxPyHtmlListBox,
15614 _swigc__p_wxPyImageHandler,
15615 _swigc__p_wxPyPanel,
15616 _swigc__p_wxPyPopupTransientWindow,
15617 _swigc__p_wxPyPreviewControlBar,
15618 _swigc__p_wxPyPreviewFrame,
15619 _swigc__p_wxPyPrintPreview,
15620 _swigc__p_wxPyPrintout,
15621 _swigc__p_wxPyScrolledWindow,
15622 _swigc__p_wxPySizer,
15623 _swigc__p_wxPyTaskBarIcon,
15624 _swigc__p_wxPyVListBox,
15625 _swigc__p_wxPyVScrolledWindow,
15626 _swigc__p_wxPyValidator,
15627 _swigc__p_wxPyWindow,
15628 _swigc__p_wxQueryLayoutInfoEvent,
15629 _swigc__p_wxQueryNewPaletteEvent,
15630 _swigc__p_wxRect,
15631 _swigc__p_wxSashEvent,
15632 _swigc__p_wxSashLayoutWindow,
15633 _swigc__p_wxSashWindow,
15634 _swigc__p_wxScrollEvent,
15635 _swigc__p_wxScrollWinEvent,
15636 _swigc__p_wxScrolledWindow,
15637 _swigc__p_wxSetCursorEvent,
15638 _swigc__p_wxShowEvent,
15639 _swigc__p_wxSingleChoiceDialog,
15640 _swigc__p_wxSize,
15641 _swigc__p_wxSizeEvent,
15642 _swigc__p_wxSizer,
15643 _swigc__p_wxSizerItem,
15644 _swigc__p_wxSplashScreen,
15645 _swigc__p_wxSplashScreenWindow,
15646 _swigc__p_wxSplitterEvent,
15647 _swigc__p_wxSplitterWindow,
15648 _swigc__p_wxStaticBoxSizer,
15649 _swigc__p_wxStatusBar,
15650 _swigc__p_wxStdDialogButtonSizer,
15651 _swigc__p_wxString,
15652 _swigc__p_wxSysColourChangedEvent,
15653 _swigc__p_wxTIFFHandler,
15654 _swigc__p_wxTaskBarIconEvent,
15655 _swigc__p_wxTextEntryDialog,
15656 _swigc__p_wxTipWindow,
15657 _swigc__p_wxTopLevelWindow,
15658 _swigc__p_wxUpdateUIEvent,
15659 _swigc__p_wxValidator,
15660 _swigc__p_wxWindow,
15661 _swigc__p_wxWindowCreateEvent,
15662 _swigc__p_wxWindowDestroyEvent,
15663 _swigc__p_wxXPMHandler,
15664 };
15665
15666
15667 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15668
15669 static swig_const_info swig_const_table[] = {
15670 {0, 0, 0, 0.0, 0, 0}};
15671
15672 #ifdef __cplusplus
15673 }
15674 #endif
15675 /* -----------------------------------------------------------------------------
15676 * Type initialization:
15677 * This problem is tough by the requirement that no dynamic
15678 * memory is used. Also, since swig_type_info structures store pointers to
15679 * swig_cast_info structures and swig_cast_info structures store pointers back
15680 * to swig_type_info structures, we need some lookup code at initialization.
15681 * The idea is that swig generates all the structures that are needed.
15682 * The runtime then collects these partially filled structures.
15683 * The SWIG_InitializeModule function takes these initial arrays out of
15684 * swig_module, and does all the lookup, filling in the swig_module.types
15685 * array with the correct data and linking the correct swig_cast_info
15686 * structures together.
15687 *
15688 * The generated swig_type_info structures are assigned staticly to an initial
15689 * array. We just loop though that array, and handle each type individually.
15690 * First we lookup if this type has been already loaded, and if so, use the
15691 * loaded structure instead of the generated one. Then we have to fill in the
15692 * cast linked list. The cast data is initially stored in something like a
15693 * two-dimensional array. Each row corresponds to a type (there are the same
15694 * number of rows as there are in the swig_type_initial array). Each entry in
15695 * a column is one of the swig_cast_info structures for that type.
15696 * The cast_initial array is actually an array of arrays, because each row has
15697 * a variable number of columns. So to actually build the cast linked list,
15698 * we find the array of casts associated with the type, and loop through it
15699 * adding the casts to the list. The one last trick we need to do is making
15700 * sure the type pointer in the swig_cast_info struct is correct.
15701 *
15702 * First off, we lookup the cast->type name to see if it is already loaded.
15703 * There are three cases to handle:
15704 * 1) If the cast->type has already been loaded AND the type we are adding
15705 * casting info to has not been loaded (it is in this module), THEN we
15706 * replace the cast->type pointer with the type pointer that has already
15707 * been loaded.
15708 * 2) If BOTH types (the one we are adding casting info to, and the
15709 * cast->type) are loaded, THEN the cast info has already been loaded by
15710 * the previous module so we just ignore it.
15711 * 3) Finally, if cast->type has not already been loaded, then we add that
15712 * swig_cast_info to the linked list (because the cast->type) pointer will
15713 * be correct.
15714 * ----------------------------------------------------------------------------- */
15715
15716 #ifdef __cplusplus
15717 extern "C" {
15718 #if 0
15719 } /* c-mode */
15720 #endif
15721 #endif
15722
15723 #if 0
15724 #define SWIGRUNTIME_DEBUG
15725 #endif
15726
15727 SWIGRUNTIME void
15728 SWIG_InitializeModule(void *clientdata) {
15729 size_t i;
15730 swig_module_info *module_head;
15731 static int init_run = 0;
15732
15733 clientdata = clientdata;
15734
15735 if (init_run) return;
15736 init_run = 1;
15737
15738 /* Initialize the swig_module */
15739 swig_module.type_initial = swig_type_initial;
15740 swig_module.cast_initial = swig_cast_initial;
15741
15742 /* Try and load any already created modules */
15743 module_head = SWIG_GetModule(clientdata);
15744 if (module_head) {
15745 swig_module.next = module_head->next;
15746 module_head->next = &swig_module;
15747 } else {
15748 /* This is the first module loaded */
15749 swig_module.next = &swig_module;
15750 SWIG_SetModule(clientdata, &swig_module);
15751 }
15752
15753 /* Now work on filling in swig_module.types */
15754 #ifdef SWIGRUNTIME_DEBUG
15755 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
15756 #endif
15757 for (i = 0; i < swig_module.size; ++i) {
15758 swig_type_info *type = 0;
15759 swig_type_info *ret;
15760 swig_cast_info *cast;
15761
15762 #ifdef SWIGRUNTIME_DEBUG
15763 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
15764 #endif
15765
15766 /* if there is another module already loaded */
15767 if (swig_module.next != &swig_module) {
15768 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
15769 }
15770 if (type) {
15771 /* Overwrite clientdata field */
15772 #ifdef SWIGRUNTIME_DEBUG
15773 printf("SWIG_InitializeModule: found type %s\n", type->name);
15774 #endif
15775 if (swig_module.type_initial[i]->clientdata) {
15776 type->clientdata = swig_module.type_initial[i]->clientdata;
15777 #ifdef SWIGRUNTIME_DEBUG
15778 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
15779 #endif
15780 }
15781 } else {
15782 type = swig_module.type_initial[i];
15783 }
15784
15785 /* Insert casting types */
15786 cast = swig_module.cast_initial[i];
15787 while (cast->type) {
15788 /* Don't need to add information already in the list */
15789 ret = 0;
15790 #ifdef SWIGRUNTIME_DEBUG
15791 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
15792 #endif
15793 if (swig_module.next != &swig_module) {
15794 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
15795 #ifdef SWIGRUNTIME_DEBUG
15796 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
15797 #endif
15798 }
15799 if (ret) {
15800 if (type == swig_module.type_initial[i]) {
15801 #ifdef SWIGRUNTIME_DEBUG
15802 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
15803 #endif
15804 cast->type = ret;
15805 ret = 0;
15806 } else {
15807 /* Check for casting already in the list */
15808 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
15809 #ifdef SWIGRUNTIME_DEBUG
15810 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
15811 #endif
15812 if (!ocast) ret = 0;
15813 }
15814 }
15815
15816 if (!ret) {
15817 #ifdef SWIGRUNTIME_DEBUG
15818 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
15819 #endif
15820 if (type->cast) {
15821 type->cast->prev = cast;
15822 cast->next = type->cast;
15823 }
15824 type->cast = cast;
15825 }
15826 cast++;
15827 }
15828 /* Set entry in modules->types array equal to the type */
15829 swig_module.types[i] = type;
15830 }
15831 swig_module.types[i] = 0;
15832
15833 #ifdef SWIGRUNTIME_DEBUG
15834 printf("**** SWIG_InitializeModule: Cast List ******\n");
15835 for (i = 0; i < swig_module.size; ++i) {
15836 int j = 0;
15837 swig_cast_info *cast = swig_module.cast_initial[i];
15838 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
15839 while (cast->type) {
15840 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
15841 cast++;
15842 ++j;
15843 }
15844 printf("---- Total casts: %d\n",j);
15845 }
15846 printf("**** SWIG_InitializeModule: Cast List ******\n");
15847 #endif
15848 }
15849
15850 /* This function will propagate the clientdata field of type to
15851 * any new swig_type_info structures that have been added into the list
15852 * of equivalent types. It is like calling
15853 * SWIG_TypeClientData(type, clientdata) a second time.
15854 */
15855 SWIGRUNTIME void
15856 SWIG_PropagateClientData(void) {
15857 size_t i;
15858 swig_cast_info *equiv;
15859 static int init_run = 0;
15860
15861 if (init_run) return;
15862 init_run = 1;
15863
15864 for (i = 0; i < swig_module.size; i++) {
15865 if (swig_module.types[i]->clientdata) {
15866 equiv = swig_module.types[i]->cast;
15867 while (equiv) {
15868 if (!equiv->converter) {
15869 if (equiv->type && !equiv->type->clientdata)
15870 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
15871 }
15872 equiv = equiv->next;
15873 }
15874 }
15875 }
15876 }
15877
15878 #ifdef __cplusplus
15879 #if 0
15880 {
15881 /* c-mode */
15882 #endif
15883 }
15884 #endif
15885
15886
15887
15888 #ifdef __cplusplus
15889 extern "C" {
15890 #endif
15891
15892 /* Python-specific SWIG API */
15893 #define SWIG_newvarlink() SWIG_Python_newvarlink()
15894 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
15895 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
15896
15897 /* -----------------------------------------------------------------------------
15898 * global variable support code.
15899 * ----------------------------------------------------------------------------- */
15900
15901 typedef struct swig_globalvar {
15902 char *name; /* Name of global variable */
15903 PyObject *(*get_attr)(void); /* Return the current value */
15904 int (*set_attr)(PyObject *); /* Set the value */
15905 struct swig_globalvar *next;
15906 } swig_globalvar;
15907
15908 typedef struct swig_varlinkobject {
15909 PyObject_HEAD
15910 swig_globalvar *vars;
15911 } swig_varlinkobject;
15912
15913 SWIGINTERN PyObject *
15914 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
15915 return PyString_FromString("<Swig global variables>");
15916 }
15917
15918 SWIGINTERN PyObject *
15919 swig_varlink_str(swig_varlinkobject *v) {
15920 PyObject *str = PyString_FromString("(");
15921 swig_globalvar *var;
15922 for (var = v->vars; var; var=var->next) {
15923 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
15924 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
15925 }
15926 PyString_ConcatAndDel(&str,PyString_FromString(")"));
15927 return str;
15928 }
15929
15930 SWIGINTERN int
15931 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
15932 PyObject *str = swig_varlink_str(v);
15933 fprintf(fp,"Swig global variables ");
15934 fprintf(fp,"%s\n", PyString_AsString(str));
15935 Py_DECREF(str);
15936 return 0;
15937 }
15938
15939 SWIGINTERN void
15940 swig_varlink_dealloc(swig_varlinkobject *v) {
15941 swig_globalvar *var = v->vars;
15942 while (var) {
15943 swig_globalvar *n = var->next;
15944 free(var->name);
15945 free(var);
15946 var = n;
15947 }
15948 }
15949
15950 SWIGINTERN PyObject *
15951 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
15952 PyObject *res = NULL;
15953 swig_globalvar *var = v->vars;
15954 while (var) {
15955 if (strcmp(var->name,n) == 0) {
15956 res = (*var->get_attr)();
15957 break;
15958 }
15959 var = var->next;
15960 }
15961 if (res == NULL && !PyErr_Occurred()) {
15962 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
15963 }
15964 return res;
15965 }
15966
15967 SWIGINTERN int
15968 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
15969 int res = 1;
15970 swig_globalvar *var = v->vars;
15971 while (var) {
15972 if (strcmp(var->name,n) == 0) {
15973 res = (*var->set_attr)(p);
15974 break;
15975 }
15976 var = var->next;
15977 }
15978 if (res == 1 && !PyErr_Occurred()) {
15979 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
15980 }
15981 return res;
15982 }
15983
15984 SWIGINTERN PyTypeObject*
15985 swig_varlink_type(void) {
15986 static char varlink__doc__[] = "Swig var link object";
15987 static PyTypeObject varlink_type;
15988 static int type_init = 0;
15989 if (!type_init) {
15990 const PyTypeObject tmp
15991 = {
15992 PyObject_HEAD_INIT(NULL)
15993 0, /* Number of items in variable part (ob_size) */
15994 (char *)"swigvarlink", /* Type name (tp_name) */
15995 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
15996 0, /* Itemsize (tp_itemsize) */
15997 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
15998 (printfunc) swig_varlink_print, /* Print (tp_print) */
15999 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
16000 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
16001 0, /* tp_compare */
16002 (reprfunc) swig_varlink_repr, /* tp_repr */
16003 0, /* tp_as_number */
16004 0, /* tp_as_sequence */
16005 0, /* tp_as_mapping */
16006 0, /* tp_hash */
16007 0, /* tp_call */
16008 (reprfunc)swig_varlink_str, /* tp_str */
16009 0, /* tp_getattro */
16010 0, /* tp_setattro */
16011 0, /* tp_as_buffer */
16012 0, /* tp_flags */
16013 varlink__doc__, /* tp_doc */
16014 0, /* tp_traverse */
16015 0, /* tp_clear */
16016 0, /* tp_richcompare */
16017 0, /* tp_weaklistoffset */
16018 #if PY_VERSION_HEX >= 0x02020000
16019 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
16020 #endif
16021 #if PY_VERSION_HEX >= 0x02030000
16022 0, /* tp_del */
16023 #endif
16024 #ifdef COUNT_ALLOCS
16025 0,0,0,0 /* tp_alloc -> tp_next */
16026 #endif
16027 };
16028 varlink_type = tmp;
16029 varlink_type.ob_type = &PyType_Type;
16030 type_init = 1;
16031 }
16032 return &varlink_type;
16033 }
16034
16035 /* Create a variable linking object for use later */
16036 SWIGINTERN PyObject *
16037 SWIG_Python_newvarlink(void) {
16038 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
16039 if (result) {
16040 result->vars = 0;
16041 }
16042 return ((PyObject*) result);
16043 }
16044
16045 SWIGINTERN void
16046 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
16047 swig_varlinkobject *v = (swig_varlinkobject *) p;
16048 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
16049 if (gv) {
16050 size_t size = strlen(name)+1;
16051 gv->name = (char *)malloc(size);
16052 if (gv->name) {
16053 strncpy(gv->name,name,size);
16054 gv->get_attr = get_attr;
16055 gv->set_attr = set_attr;
16056 gv->next = v->vars;
16057 }
16058 }
16059 v->vars = gv;
16060 }
16061
16062 SWIGINTERN PyObject *
16063 SWIG_globals() {
16064 static PyObject *_SWIG_globals = 0;
16065 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
16066 return _SWIG_globals;
16067 }
16068
16069 /* -----------------------------------------------------------------------------
16070 * constants/methods manipulation
16071 * ----------------------------------------------------------------------------- */
16072
16073 /* Install Constants */
16074 SWIGINTERN void
16075 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
16076 PyObject *obj = 0;
16077 size_t i;
16078 for (i = 0; constants[i].type; ++i) {
16079 switch(constants[i].type) {
16080 case SWIG_PY_POINTER:
16081 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
16082 break;
16083 case SWIG_PY_BINARY:
16084 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
16085 break;
16086 default:
16087 obj = 0;
16088 break;
16089 }
16090 if (obj) {
16091 PyDict_SetItemString(d, constants[i].name, obj);
16092 Py_DECREF(obj);
16093 }
16094 }
16095 }
16096
16097 /* -----------------------------------------------------------------------------*/
16098 /* Fix SwigMethods to carry the callback ptrs when needed */
16099 /* -----------------------------------------------------------------------------*/
16100
16101 SWIGINTERN void
16102 SWIG_Python_FixMethods(PyMethodDef *methods,
16103 swig_const_info *const_table,
16104 swig_type_info **types,
16105 swig_type_info **types_initial) {
16106 size_t i;
16107 for (i = 0; methods[i].ml_name; ++i) {
16108 const char *c = methods[i].ml_doc;
16109 if (c && (c = strstr(c, "swig_ptr: "))) {
16110 int j;
16111 swig_const_info *ci = 0;
16112 const char *name = c + 10;
16113 for (j = 0; const_table[j].type; ++j) {
16114 if (strncmp(const_table[j].name, name,
16115 strlen(const_table[j].name)) == 0) {
16116 ci = &(const_table[j]);
16117 break;
16118 }
16119 }
16120 if (ci) {
16121 size_t shift = (ci->ptype) - types;
16122 swig_type_info *ty = types_initial[shift];
16123 size_t ldoc = (c - methods[i].ml_doc);
16124 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
16125 char *ndoc = (char*)malloc(ldoc + lptr + 10);
16126 if (ndoc) {
16127 char *buff = ndoc;
16128 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
16129 if (ptr) {
16130 strncpy(buff, methods[i].ml_doc, ldoc);
16131 buff += ldoc;
16132 strncpy(buff, "swig_ptr: ", 10);
16133 buff += 10;
16134 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
16135 methods[i].ml_doc = ndoc;
16136 }
16137 }
16138 }
16139 }
16140 }
16141 }
16142
16143 #ifdef __cplusplus
16144 }
16145 #endif
16146
16147 /* -----------------------------------------------------------------------------*
16148 * Partial Init method
16149 * -----------------------------------------------------------------------------*/
16150
16151 #ifdef __cplusplus
16152 extern "C"
16153 #endif
16154 SWIGEXPORT void SWIG_init(void) {
16155 PyObject *m, *d;
16156
16157 /* Fix SwigMethods to carry the callback ptrs when needed */
16158 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
16159
16160 m = Py_InitModule((char *) SWIG_name, SwigMethods);
16161 d = PyModule_GetDict(m);
16162
16163 SWIG_InitializeModule(0);
16164 SWIG_InstallConstants(d,swig_const_table);
16165
16166
16167 SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1)));
16168 SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE)));
16169 SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP)));
16170 SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT)));
16171 SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM)));
16172 SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT)));
16173 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER)));
16174 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE)));
16175 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING)));
16176 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE)));
16177 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG)));
16178 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT)));
16179 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT_FADE)));
16180 SWIG_Python_SetConstant(d, "AUI_MGR_DISABLE_VENETIAN_BLINDS",SWIG_From_int(static_cast< int >(wxAUI_MGR_DISABLE_VENETIAN_BLINDS)));
16181 SWIG_Python_SetConstant(d, "AUI_MGR_DISABLE_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_DISABLE_VENETIAN_BLINDS_FADE)));
16182 SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT)));
16183 SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE)));
16184 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE)));
16185 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE)));
16186 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE)));
16187 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE)));
16188 SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR)));
16189 SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR)));
16190 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR)));
16191 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR)));
16192 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR)));
16193 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR)));
16194 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR)));
16195 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR)));
16196 SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR)));
16197 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR)));
16198 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT)));
16199 SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE)));
16200 SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE)));
16201 SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL)));
16202 SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL)));
16203 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL)));
16204 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER)));
16205 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED)));
16206 SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE)));
16207 SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW)));
16208 SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK)));
16209 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
16210 SWIG_addvarlink(SWIG_globals(),(char*)"NullDockInfo",NullDockInfo_get, NullDockInfo_set);
16211 SWIG_addvarlink(SWIG_globals(),(char*)"NullPaneInfo",NullPaneInfo_get, NullPaneInfo_set);
16212 SWIG_Python_SetConstant(d, "PaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloating)));
16213 SWIG_Python_SetConstant(d, "PaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxPaneInfo::optionHidden)));
16214 SWIG_Python_SetConstant(d, "PaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionLeftDockable)));
16215 SWIG_Python_SetConstant(d, "PaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionRightDockable)));
16216 SWIG_Python_SetConstant(d, "PaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionTopDockable)));
16217 SWIG_Python_SetConstant(d, "PaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionBottomDockable)));
16218 SWIG_Python_SetConstant(d, "PaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloatable)));
16219 SWIG_Python_SetConstant(d, "PaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionMovable)));
16220 SWIG_Python_SetConstant(d, "PaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionResizable)));
16221 SWIG_Python_SetConstant(d, "PaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxPaneInfo::optionPaneBorder)));
16222 SWIG_Python_SetConstant(d, "PaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxPaneInfo::optionCaption)));
16223 SWIG_Python_SetConstant(d, "PaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripper)));
16224 SWIG_Python_SetConstant(d, "PaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxPaneInfo::optionDestroyOnClose)));
16225 SWIG_Python_SetConstant(d, "PaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxPaneInfo::optionToolbar)));
16226 SWIG_Python_SetConstant(d, "PaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxPaneInfo::optionActive)));
16227 SWIG_Python_SetConstant(d, "PaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripperTop)));
16228 SWIG_Python_SetConstant(d, "PaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonClose)));
16229 SWIG_Python_SetConstant(d, "PaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMaximize)));
16230 SWIG_Python_SetConstant(d, "PaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMinimize)));
16231 SWIG_Python_SetConstant(d, "PaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonPin)));
16232 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom1)));
16233 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom2)));
16234 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom3)));
16235 SWIG_Python_SetConstant(d, "PaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxPaneInfo::actionPane)));
16236 SWIG_Python_SetConstant(d, "DockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxDockUIPart::typeCaption)));
16237 SWIG_Python_SetConstant(d, "DockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxDockUIPart::typeGripper)));
16238 SWIG_Python_SetConstant(d, "DockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDock)));
16239 SWIG_Python_SetConstant(d, "DockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDockSizer)));
16240 SWIG_Python_SetConstant(d, "DockUIPart_typePane",SWIG_From_int(static_cast< int >(wxDockUIPart::typePane)));
16241 SWIG_Python_SetConstant(d, "DockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneSizer)));
16242 SWIG_Python_SetConstant(d, "DockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxDockUIPart::typeBackground)));
16243 SWIG_Python_SetConstant(d, "DockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneBorder)));
16244 SWIG_Python_SetConstant(d, "DockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneButton)));
16245 PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON));
16246 PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE));
16247 PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER));
16248 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED));
16249 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING));
16250 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON));
16251 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG));
16252 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG));
16253 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION));
16254 }
16255