]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_core_wrap.cpp
Applied patch [ 1341085 ] richtext xml build fix
[wxWidgets.git] / wxPython / src / msw / _core_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
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
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 if (str)
1041 Py_DECREF(str);
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049 }
1050
1051 SWIGRUNTIMEINLINE void
1052 SWIG_Python_NullRef(const char *type)
1053 {
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059 }
1060
1061 SWIGRUNTIME int
1062 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063 {
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084 }
1085
1086 SWIGRUNTIME int
1087 SWIG_Python_ArgFail(int argnum)
1088 {
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097 }
1098
1099
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104 /* Convert a pointer value */
1105 SWIGRUNTIME int
1106 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137 #else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155 #endif
1156
1157 type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172 type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195 }
1196
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIGRUNTIME void *
1199 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209 }
1210
1211 /* Convert a packed value value */
1212 SWIGRUNTIME int
1213 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219 #else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224 #endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232 type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242 }
1243
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject *
1246 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254 #else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260 #endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276 }
1277
1278 SWIGRUNTIME PyObject *
1279 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287 #else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293 #endif
1294 return robj;
1295 }
1296
1297 /* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312 #else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320 #endif
1321 return (swig_type_info **) type_pointer;
1322 }
1323
1324 /*
1325 Search for a swig_type_info structure
1326 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331 }
1332
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335 #ifdef __cplusplus
1336 }
1337 #endif
1338
1339
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1341
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1345 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1347 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1348 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349 #define SWIGTYPE_p_wxSizer swig_types[7]
1350 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1355 #define SWIGTYPE_p_wxEvent swig_types[13]
1356 #define SWIGTYPE_p_buffer swig_types[14]
1357 #define SWIGTYPE_p_wxMenu swig_types[15]
1358 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1359 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1362 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxFont swig_types[27]
1370 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372 #define SWIGTYPE_p_wxFSFile swig_types[30]
1373 #define SWIGTYPE_p_wxCaret swig_types[31]
1374 #define SWIGTYPE_ptrdiff_t swig_types[32]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_p_wxRegion swig_types[34]
1377 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1378 #define SWIGTYPE_p_int swig_types[36]
1379 #define SWIGTYPE_p_wxSize swig_types[37]
1380 #define SWIGTYPE_p_wxDC swig_types[38]
1381 #define SWIGTYPE_p_wxPySizer swig_types[39]
1382 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1383 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1384 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1385 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1388 #define SWIGTYPE_p_wxArrayString swig_types[46]
1389 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1390 #define SWIGTYPE_p_wxToolTip swig_types[48]
1391 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1392 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1393 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1394 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1395 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1396 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1397 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1398 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1399 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1400 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1401 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1402 #define SWIGTYPE_p_long swig_types[60]
1403 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1404 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1405 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1406 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1407 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1408 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1409 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1410 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1411 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1412 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1413 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1414 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1415 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1416 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1417 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1418 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1419 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1420 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1421 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1422 #define SWIGTYPE_p_wxRect swig_types[80]
1423 #define SWIGTYPE_p_wxButton swig_types[81]
1424 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1425 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1426 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1427 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1428 #define SWIGTYPE_p_char swig_types[86]
1429 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1430 #define SWIGTYPE_p_wxImage swig_types[88]
1431 #define SWIGTYPE_p_wxFrame swig_types[89]
1432 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1434 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1435 #define SWIGTYPE_p_wxPoint swig_types[93]
1436 #define SWIGTYPE_p_wxCursor swig_types[94]
1437 #define SWIGTYPE_p_wxObject swig_types[95]
1438 #define SWIGTYPE_p_wxInputStream swig_types[96]
1439 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1440 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1441 #define SWIGTYPE_p_wxDateTime swig_types[99]
1442 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1443 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1444 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1445 #define SWIGTYPE_p_unsigned_long swig_types[103]
1446 #define SWIGTYPE_p_wxWindow swig_types[104]
1447 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1448 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1449 #define SWIGTYPE_p_wxBitmap swig_types[107]
1450 #define SWIGTYPE_unsigned_int swig_types[108]
1451 #define SWIGTYPE_p_unsigned_int swig_types[109]
1452 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1453 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1454 #define SWIGTYPE_p_unsigned_char swig_types[112]
1455 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1456 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1457 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1458 #define SWIGTYPE_p_wxPyApp swig_types[116]
1459 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1460 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1461 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1462 #define SWIGTYPE_p_wxQuantize swig_types[120]
1463 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1464 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1465 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1467 #define SWIGTYPE_p_wxColour swig_types[125]
1468 #define SWIGTYPE_p_wxValidator swig_types[126]
1469 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1470 static swig_type_info *swig_types[129];
1471
1472 /* -------- TYPES TABLE (END) -------- */
1473
1474
1475 /*-----------------------------------------------
1476 @(target):= _core_.so
1477 ------------------------------------------------*/
1478 #define SWIG_init init_core_
1479
1480 #define SWIG_name "_core_"
1481
1482 #include "wx/wxPython/wxPython_int.h"
1483 #include "wx/wxPython/pyclasses.h"
1484
1485
1486 #ifndef wxPyUSE_EXPORT
1487 // Helper functions for dealing with SWIG objects and such. These are
1488 // located here so they know about the SWIG types and functions declared
1489 // in the wrapper code.
1490
1491 #include <wx/hashmap.h>
1492 WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
1493
1494
1495 // Maintains a hashmap of className to swig_type_info pointers. Given the
1496 // name of a class either looks up the type info in the cache, or scans the
1497 // SWIG tables for it.
1498 extern PyObject* wxPyPtrTypeMap;
1499 static
1500 swig_type_info* wxPyFindSwigType(const wxChar* className) {
1501
1502 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
1503
1504 if (typeInfoCache == NULL)
1505 typeInfoCache = new wxPyTypeInfoHashMap;
1506
1507 wxString name(className);
1508 swig_type_info* swigType = (*typeInfoCache)[name];
1509
1510 if (! swigType) {
1511 // it wasn't in the cache, so look it up from SWIG
1512 name.Append(wxT(" *"));
1513 swigType = SWIG_TypeQuery(name.mb_str());
1514
1515 // if it still wasn't found, try looking for a mapped name
1516 if (!swigType) {
1517 PyObject* item;
1518 name = className;
1519
1520 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
1521 (char*)(const char*)name.mbc_str())) != NULL) {
1522 name = wxString(PyString_AsString(item), *wxConvCurrent);
1523 name.Append(wxT(" *"));
1524 swigType = SWIG_TypeQuery(name.mb_str());
1525 }
1526 }
1527 if (swigType) {
1528 // and add it to the map if found
1529 (*typeInfoCache)[className] = swigType;
1530 }
1531 }
1532 return swigType;
1533 }
1534
1535
1536 // Check if a class name is a type known to SWIG
1537 bool wxPyCheckSwigType(const wxChar* className) {
1538
1539 swig_type_info* swigType = wxPyFindSwigType(className);
1540 return swigType != NULL;
1541 }
1542
1543
1544 // Given a pointer to a C++ object and a class name, construct a Python proxy
1545 // object for it.
1546 PyObject* wxPyConstructObject(void* ptr,
1547 const wxChar* className,
1548 int setThisOwn) {
1549
1550 swig_type_info* swigType = wxPyFindSwigType(className);
1551 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
1552
1553 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
1554 }
1555
1556
1557 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1558 // Ensures that the proxy object is of the specified (or derived) type. If
1559 // not able to perform the conversion then a Python exception is set and the
1560 // error should be handled properly in the caller. Returns True on success.
1561 bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
1562 const wxChar* className) {
1563
1564 swig_type_info* swigType = wxPyFindSwigType(className);
1565 wxCHECK_MSG(swigType != NULL, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1566
1567 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
1568 }
1569
1570
1571 // Make a SWIGified pointer object suitable for a .this attribute
1572 PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
1573
1574 PyObject* robj = NULL;
1575
1576 swig_type_info* swigType = wxPyFindSwigType(className);
1577 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
1578
1579 #ifdef SWIG_COBJECT_TYPES
1580 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)swigType->name);
1581 #else
1582 {
1583 char result[1024];
1584 robj = SWIG_PackVoidPtr(result, ptr, swigType->name, sizeof(result)) ?
1585 PyString_FromString(result) : 0;
1586 }
1587 #endif
1588
1589 return robj;
1590 }
1591
1592
1593
1594
1595 // Export a C API in a struct. Other modules will be able to load this from
1596 // the wx._core_ module and will then have safe access to these functions,
1597 // even if they are located in another shared library.
1598 static wxPyCoreAPI API = {
1599
1600 wxPyCheckSwigType,
1601 wxPyConstructObject,
1602 wxPyConvertSwigPtr,
1603 wxPyMakeSwigPtr,
1604
1605 wxPyBeginAllowThreads,
1606 wxPyEndAllowThreads,
1607 wxPyBeginBlockThreads,
1608 wxPyEndBlockThreads,
1609
1610 wxPy_ConvertList,
1611
1612 wxString_in_helper,
1613 Py2wxString,
1614 wx2PyString,
1615
1616 byte_LIST_helper,
1617 int_LIST_helper,
1618 long_LIST_helper,
1619 string_LIST_helper,
1620 wxPoint_LIST_helper,
1621 wxBitmap_LIST_helper,
1622 wxString_LIST_helper,
1623 wxAcceleratorEntry_LIST_helper,
1624
1625 wxSize_helper,
1626 wxPoint_helper,
1627 wxRealPoint_helper,
1628 wxRect_helper,
1629 wxColour_helper,
1630 wxPoint2D_helper,
1631
1632 wxPySimple_typecheck,
1633 wxColour_typecheck,
1634
1635 wxPyCBH_setCallbackInfo,
1636 wxPyCBH_findCallback,
1637 wxPyCBH_callCallback,
1638 wxPyCBH_callCallbackObj,
1639 wxPyCBH_delete,
1640
1641 wxPyMake_wxObject,
1642 wxPyMake_wxSizer,
1643 wxPyPtrTypeMap_Add,
1644 wxPy2int_seq_helper,
1645 wxPy4int_seq_helper,
1646 wxArrayString2PyList_helper,
1647 wxArrayInt2PyList_helper,
1648
1649 wxPyClientData_dtor,
1650 wxPyUserData_dtor,
1651 wxPyOORClientData_dtor,
1652
1653 wxPyCBInputStream_create,
1654 wxPyCBInputStream_copy,
1655
1656 wxPyInstance_Check,
1657 wxPySwigInstance_Check,
1658
1659 wxPyCheckForApp
1660
1661 };
1662
1663 #endif
1664
1665
1666 #if !WXWIN_COMPATIBILITY_2_4
1667 #define wxHIDE_READONLY 0
1668 #endif
1669
1670
1671 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1672 #define SWIG_From_int PyInt_FromLong
1673 /*@@*/
1674
1675
1676 #if ! wxUSE_HOTKEY
1677 enum wxHotkeyModifier
1678 {
1679 wxMOD_NONE = 0,
1680 wxMOD_ALT = 1,
1681 wxMOD_CONTROL = 2,
1682 wxMOD_SHIFT = 4,
1683 wxMOD_WIN = 8
1684 };
1685 #define wxEVT_HOTKEY 9999
1686 #endif
1687
1688 static const wxString wxPyEmptyString(wxEmptyString);
1689 static wxString wxObject_GetClassName(wxObject *self){
1690 return self->GetClassInfo()->GetClassName();
1691 }
1692 static void wxObject_Destroy(wxObject *self){
1693 delete self;
1694 }
1695
1696 #ifndef __WXMAC__
1697 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1698 #endif
1699
1700
1701 #include <limits.h>
1702
1703
1704 SWIGINTERN int
1705 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1706 const char *errmsg)
1707 {
1708 if (value < min_value) {
1709 if (errmsg) {
1710 PyErr_Format(PyExc_OverflowError,
1711 "value %ld is less than '%s' minimum %ld",
1712 value, errmsg, min_value);
1713 }
1714 return 0;
1715 } else if (value > max_value) {
1716 if (errmsg) {
1717 PyErr_Format(PyExc_OverflowError,
1718 "value %ld is greater than '%s' maximum %ld",
1719 value, errmsg, max_value);
1720 }
1721 return 0;
1722 }
1723 return 1;
1724 }
1725
1726
1727 SWIGINTERN int
1728 SWIG_AsVal_long(PyObject* obj, long* val)
1729 {
1730 if (PyNumber_Check(obj)) {
1731 if (val) *val = PyInt_AsLong(obj);
1732 return 1;
1733 }
1734 else {
1735 SWIG_type_error("number", obj);
1736 }
1737 return 0;
1738 }
1739
1740
1741 #if INT_MAX != LONG_MAX
1742 SWIGINTERN int
1743 SWIG_AsVal_int(PyObject *obj, int *val)
1744 {
1745 const char* errmsg = val ? "int" : (char*)0;
1746 long v;
1747 if (SWIG_AsVal_long(obj, &v)) {
1748 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1749 if (val) *val = (int)(v);
1750 return 1;
1751 } else {
1752 return 0;
1753 }
1754 } else {
1755 PyErr_Clear();
1756 }
1757 if (val) {
1758 SWIG_type_error(errmsg, obj);
1759 }
1760 return 0;
1761 }
1762 #else
1763 SWIGINTERNSHORT int
1764 SWIG_AsVal_int(PyObject *obj, int *val)
1765 {
1766 return SWIG_AsVal_long(obj,(long*)val);
1767 }
1768 #endif
1769
1770
1771 SWIGINTERNSHORT int
1772 SWIG_As_int(PyObject* obj)
1773 {
1774 int v;
1775 if (!SWIG_AsVal_int(obj, &v)) {
1776 /*
1777 this is needed to make valgrind/purify happier.
1778 */
1779 memset((void*)&v, 0, sizeof(int));
1780 }
1781 return v;
1782 }
1783
1784
1785 SWIGINTERNSHORT int
1786 SWIG_Check_int(PyObject* obj)
1787 {
1788 return SWIG_AsVal_int(obj, (int*)0);
1789 }
1790
1791 static PyObject *wxSize_Get(wxSize *self){
1792 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1793 PyObject* tup = PyTuple_New(2);
1794 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1795 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1796 wxPyEndBlockThreads(blocked);
1797 return tup;
1798 }
1799
1800 SWIGINTERN int
1801 SWIG_AsVal_double(PyObject *obj, double* val)
1802 {
1803 if (PyNumber_Check(obj)) {
1804 if (val) *val = PyFloat_AsDouble(obj);
1805 return 1;
1806 }
1807 else {
1808 SWIG_type_error("number", obj);
1809 }
1810 return 0;
1811 }
1812
1813
1814 SWIGINTERNSHORT double
1815 SWIG_As_double(PyObject* obj)
1816 {
1817 double v;
1818 if (!SWIG_AsVal_double(obj, &v)) {
1819 /*
1820 this is needed to make valgrind/purify happier.
1821 */
1822 memset((void*)&v, 0, sizeof(double));
1823 }
1824 return v;
1825 }
1826
1827
1828 SWIGINTERNSHORT int
1829 SWIG_Check_double(PyObject* obj)
1830 {
1831 return SWIG_AsVal_double(obj, (double*)0);
1832 }
1833
1834
1835 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1836 #define SWIG_From_double PyFloat_FromDouble
1837 /*@@*/
1838
1839 static void wxRealPoint_Set(wxRealPoint *self,double x,double y){
1840 self->x = x;
1841 self->y = y;
1842 }
1843 static PyObject *wxRealPoint_Get(wxRealPoint *self){
1844 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1845 PyObject* tup = PyTuple_New(2);
1846 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
1847 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
1848 wxPyEndBlockThreads(blocked);
1849 return tup;
1850 }
1851
1852 SWIGINTERNSHORT long
1853 SWIG_As_long(PyObject* obj)
1854 {
1855 long v;
1856 if (!SWIG_AsVal_long(obj, &v)) {
1857 /*
1858 this is needed to make valgrind/purify happier.
1859 */
1860 memset((void*)&v, 0, sizeof(long));
1861 }
1862 return v;
1863 }
1864
1865
1866 SWIGINTERNSHORT int
1867 SWIG_Check_long(PyObject* obj)
1868 {
1869 return SWIG_AsVal_long(obj, (long*)0);
1870 }
1871
1872 static void wxPoint_Set(wxPoint *self,long x,long y){
1873 self->x = x;
1874 self->y = y;
1875 }
1876 static PyObject *wxPoint_Get(wxPoint *self){
1877 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1878 PyObject* tup = PyTuple_New(2);
1879 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1880 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1881 wxPyEndBlockThreads(blocked);
1882 return tup;
1883 }
1884 static void wxRect_Set(wxRect *self,int x=0,int y=0,int width=0,int height=0){
1885 self->x = x;
1886 self->y = y;
1887 self->width = width;
1888 self->height = height;
1889 }
1890 static PyObject *wxRect_Get(wxRect *self){
1891 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1892 PyObject* tup = PyTuple_New(4);
1893 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1894 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1895 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
1896 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
1897 wxPyEndBlockThreads(blocked);
1898 return tup;
1899 }
1900
1901 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
1902 wxRegion reg1(*r1);
1903 wxRegion reg2(*r2);
1904 wxRect dest(0,0,0,0);
1905 PyObject* obj;
1906
1907 reg1.Intersect(reg2);
1908 dest = reg1.GetBox();
1909
1910 if (dest != wxRect(0,0,0,0)) {
1911 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1912 wxRect* newRect = new wxRect(dest);
1913 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), true);
1914 wxPyEndBlockThreads(blocked);
1915 return obj;
1916 }
1917 Py_INCREF(Py_None);
1918 return Py_None;
1919 }
1920
1921
1922 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1923 PyObject* o2;
1924 PyObject* o3;
1925
1926 if (!target) {
1927 target = o;
1928 } else if (target == Py_None) {
1929 Py_DECREF(Py_None);
1930 target = o;
1931 } else {
1932 if (!PyTuple_Check(target)) {
1933 o2 = target;
1934 target = PyTuple_New(1);
1935 PyTuple_SetItem(target, 0, o2);
1936 }
1937 o3 = PyTuple_New(1);
1938 PyTuple_SetItem(o3, 0, o);
1939
1940 o2 = target;
1941 target = PySequence_Concat(o2, o3);
1942 Py_DECREF(o2);
1943 Py_DECREF(o3);
1944 }
1945 return target;
1946 }
1947
1948
1949 static void wxPoint2D_Set(wxPoint2D *self,double x=0,double y=0){
1950 self->m_x = x;
1951 self->m_y = y;
1952 }
1953 static PyObject *wxPoint2D_Get(wxPoint2D *self){
1954 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1955 PyObject* tup = PyTuple_New(2);
1956 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
1957 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
1958 wxPyEndBlockThreads(blocked);
1959 return tup;
1960 }
1961
1962 #include "wx/wxPython/pyistream.h"
1963
1964 static wxPyInputStream *new_wxPyInputStream(PyObject *p){
1965 wxInputStream* wxis = wxPyCBInputStream::create(p);
1966 if (wxis)
1967 return new wxPyInputStream(wxis);
1968 else
1969 return NULL;
1970 }
1971
1972 SWIGINTERNSHORT PyObject*
1973 SWIG_From_char(char c)
1974 {
1975 return PyString_FromStringAndSize(&c,1);
1976 }
1977
1978
1979 SWIGINTERNSHORT PyObject*
1980 SWIG_From_unsigned_SS_long(unsigned long value)
1981 {
1982 return (value > LONG_MAX) ?
1983 PyLong_FromUnsignedLong(value)
1984 : PyInt_FromLong((long)(value));
1985 }
1986
1987
1988 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1989 SWIGINTERN int
1990 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
1991 {
1992 static swig_type_info* pchar_info = 0;
1993 char* vptr = 0;
1994 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
1995 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
1996 if (cptr) *cptr = vptr;
1997 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1998 return SWIG_OLDOBJ;
1999 } else {
2000 PyErr_Clear();
2001 if (PyString_Check(obj)) {
2002 if (cptr) {
2003 *cptr = PyString_AS_STRING(obj);
2004 if (psize) {
2005 *psize = PyString_GET_SIZE(obj) + 1;
2006 }
2007 }
2008 return SWIG_PYSTR;
2009 }
2010 }
2011 if (cptr) {
2012 SWIG_type_error("char *", obj);
2013 }
2014 return 0;
2015 }
2016
2017
2018 SWIGINTERN int
2019 SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
2020 {
2021 char* cptr; size_t csize;
2022 if (SWIG_AsCharPtrAndSize(obj, &cptr, &csize)) {
2023 /* in C you can do:
2024
2025 char x[5] = "hello";
2026
2027 ie, assing the array using an extra '0' char.
2028 */
2029 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
2030 if (csize <= size) {
2031 if (val) {
2032 if (csize) memcpy(val, cptr, csize);
2033 if (csize < size) memset(val + csize, 0, size - csize);
2034 }
2035 return 1;
2036 }
2037 }
2038 if (val) {
2039 PyErr_Format(PyExc_TypeError,
2040 "a char array of maximum size %lu is expected",
2041 (unsigned long) size);
2042 }
2043 return 0;
2044 }
2045
2046
2047 SWIGINTERN int
2048 SWIG_AsVal_char(PyObject *obj, char *val)
2049 {
2050 const char* errmsg = val ? "char" : (char*)0;
2051 long v;
2052 if (SWIG_AsVal_long(obj, &v)) {
2053 if (SWIG_CheckLongInRange(v, CHAR_MIN,CHAR_MAX, errmsg)) {
2054 if (val) *val = (char)(v);
2055 return 1;
2056 } else {
2057 return 0;
2058 }
2059 } else {
2060 PyErr_Clear();
2061 return SWIG_AsCharArray(obj, val, 1);
2062 }
2063 }
2064
2065
2066 SWIGINTERNSHORT char
2067 SWIG_As_char(PyObject* obj)
2068 {
2069 char v;
2070 if (!SWIG_AsVal_char(obj, &v)) {
2071 /*
2072 this is needed to make valgrind/purify happier.
2073 */
2074 memset((void*)&v, 0, sizeof(char));
2075 }
2076 return v;
2077 }
2078
2079
2080 SWIGINTERNSHORT int
2081 SWIG_Check_char(PyObject* obj)
2082 {
2083 return SWIG_AsVal_char(obj, (char*)0);
2084 }
2085
2086
2087 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2088 #define SWIG_From_long PyInt_FromLong
2089 /*@@*/
2090
2091 static void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
2092 // We use only strings for the streams, not unicode
2093 PyObject* str = PyObject_Str(obj);
2094 if (! str) {
2095 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
2096 return;
2097 }
2098 self->Write(PyString_AS_STRING(str),
2099 PyString_GET_SIZE(str));
2100 Py_DECREF(str);
2101 }
2102
2103 #include "wx/wxPython/pyistream.h"
2104
2105
2106 class wxPyFileSystemHandler : public wxFileSystemHandler
2107 {
2108 public:
2109 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2110
2111 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
2112 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
2113 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
2114 DEC_PYCALLBACK_STRING__pure(FindNext);
2115
2116 wxString GetProtocol(const wxString& location) {
2117 return wxFileSystemHandler::GetProtocol(location);
2118 }
2119
2120 wxString GetLeftLocation(const wxString& location) {
2121 return wxFileSystemHandler::GetLeftLocation(location);
2122 }
2123
2124 wxString GetAnchor(const wxString& location) {
2125 return wxFileSystemHandler::GetAnchor(location);
2126 }
2127
2128 wxString GetRightLocation(const wxString& location) {
2129 return wxFileSystemHandler::GetRightLocation(location);
2130 }
2131
2132 wxString GetMimeTypeFromExt(const wxString& location) {
2133 return wxFileSystemHandler::GetMimeTypeFromExt(location);
2134 }
2135
2136 PYPRIVATE;
2137 };
2138
2139
2140 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
2141 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
2142 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
2143 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
2144
2145
2146 SWIGINTERN int
2147 SWIG_AsVal_bool(PyObject *obj, bool *val)
2148 {
2149 if (obj == Py_True) {
2150 if (val) *val = true;
2151 return 1;
2152 }
2153 if (obj == Py_False) {
2154 if (val) *val = false;
2155 return 1;
2156 }
2157 int res = 0;
2158 if (SWIG_AsVal_int(obj, &res)) {
2159 if (val) *val = res ? true : false;
2160 return 1;
2161 } else {
2162 PyErr_Clear();
2163 }
2164 if (val) {
2165 SWIG_type_error("bool", obj);
2166 }
2167 return 0;
2168 }
2169
2170
2171 SWIGINTERNSHORT bool
2172 SWIG_As_bool(PyObject* obj)
2173 {
2174 bool v;
2175 if (!SWIG_AsVal_bool(obj, &v)) {
2176 /*
2177 this is needed to make valgrind/purify happier.
2178 */
2179 memset((void*)&v, 0, sizeof(bool));
2180 }
2181 return v;
2182 }
2183
2184
2185 SWIGINTERNSHORT int
2186 SWIG_Check_bool(PyObject* obj)
2187 {
2188 return SWIG_AsVal_bool(obj, (bool*)0);
2189 }
2190
2191 static wxString FileSystem_URLToFileName(wxString const &url){
2192 wxFileName fname = wxFileSystem::URLToFileName(url);
2193 return fname.GetFullPath();
2194 }
2195
2196 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
2197 wxImage& image,
2198 long type) {
2199 wxMemoryFSHandler::AddFile(filename, image, type);
2200 }
2201
2202 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
2203 const wxBitmap& bitmap,
2204 long type) {
2205 wxMemoryFSHandler::AddFile(filename, bitmap, type);
2206 }
2207
2208 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
2209 PyObject* data) {
2210 if (! PyString_Check(data)) {
2211 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2212 "Expected string object"));
2213 return;
2214 }
2215
2216 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2217 void* ptr = (void*)PyString_AsString(data);
2218 size_t size = PyString_Size(data);
2219 wxPyEndBlockThreads(blocked);
2220
2221 wxMemoryFSHandler::AddFile(filename, ptr, size);
2222 }
2223
2224
2225 #include "wx/wxPython/pyistream.h"
2226
2227
2228 SWIGINTERN int
2229 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
2230 {
2231 long v = 0;
2232 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2233 SWIG_type_error("unsigned number", obj);
2234 }
2235 else if (val)
2236 *val = (unsigned long)v;
2237 return 1;
2238 }
2239
2240
2241 SWIGINTERNSHORT int
2242 SWIG_CheckUnsignedLongInRange(unsigned long value,
2243 unsigned long max_value,
2244 const char *errmsg)
2245 {
2246 if (value > max_value) {
2247 if (errmsg) {
2248 PyErr_Format(PyExc_OverflowError,
2249 "value %lu is greater than '%s' minimum %lu",
2250 value, errmsg, max_value);
2251 }
2252 return 0;
2253 }
2254 return 1;
2255 }
2256
2257
2258 SWIGINTERN int
2259 SWIG_AsVal_unsigned_SS_char(PyObject *obj, unsigned char *val)
2260 {
2261 const char* errmsg = val ? "unsigned char" : (char*)0;
2262 unsigned long v;
2263 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2264 if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) {
2265 if (val) *val = (unsigned char)(v);
2266 return 1;
2267 } else {
2268 return 0;
2269 }
2270 } else {
2271 PyErr_Clear();
2272 }
2273 if (val) {
2274 SWIG_type_error(errmsg, obj);
2275 }
2276 return 0;
2277 }
2278
2279
2280 SWIGINTERNSHORT unsigned char
2281 SWIG_As_unsigned_SS_char(PyObject* obj)
2282 {
2283 unsigned char v;
2284 if (!SWIG_AsVal_unsigned_SS_char(obj, &v)) {
2285 /*
2286 this is needed to make valgrind/purify happier.
2287 */
2288 memset((void*)&v, 0, sizeof(unsigned char));
2289 }
2290 return v;
2291 }
2292
2293
2294 SWIGINTERNSHORT int
2295 SWIG_Check_unsigned_SS_char(PyObject* obj)
2296 {
2297 return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0);
2298 }
2299
2300
2301 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2302 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2303 /*@@*/
2304
2305
2306
2307 SWIGINTERNSHORT unsigned long
2308 SWIG_As_unsigned_SS_long(PyObject* obj)
2309 {
2310 unsigned long v;
2311 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2312 /*
2313 this is needed to make valgrind/purify happier.
2314 */
2315 memset((void*)&v, 0, sizeof(unsigned long));
2316 }
2317 return v;
2318 }
2319
2320
2321 SWIGINTERNSHORT int
2322 SWIG_Check_unsigned_SS_long(PyObject* obj)
2323 {
2324 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2325 }
2326
2327 static unsigned long wxImageHistogram_GetCount(wxImageHistogram *self,unsigned long key){
2328 wxImageHistogramEntry e = (*self)[key];
2329 return e.value;
2330 }
2331 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram *self,byte r,byte g,byte b){
2332 unsigned long key = wxImageHistogram::MakeKey(r, g, b);
2333 wxImageHistogramEntry e = (*self)[key];
2334 return e.value;
2335 }
2336 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram *self,wxColour const &colour){
2337 unsigned long key = wxImageHistogram::MakeKey(colour.Red(),
2338 colour.Green(),
2339 colour.Blue());
2340 wxImageHistogramEntry e = (*self)[key];
2341 return e.value;
2342 }
2343
2344 typedef unsigned char* buffer;
2345
2346 static wxImage *new_wxImage(int width=0,int height=0,bool clear=true){
2347 if (width > 0 && height > 0)
2348 return new wxImage(width, height, clear);
2349 else
2350 return new wxImage;
2351 }
2352 static wxImage *new_wxImage(wxBitmap const &bitmap){
2353 return new wxImage(bitmap.ConvertToImage());
2354 }
2355 static wxImage *new_wxImage(int width,int height,buffer data,int DATASIZE){
2356 if (DATASIZE != width*height*3) {
2357 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2358 return NULL;
2359 }
2360
2361 // Copy the source data so the wxImage can clean it up later
2362 buffer copy = (buffer)malloc(DATASIZE);
2363 if (copy == NULL) {
2364 wxPyBLOCK_THREADS(PyErr_NoMemory());
2365 return NULL;
2366 }
2367 memcpy(copy, data, DATASIZE);
2368 return new wxImage(width, height, copy, false);
2369 }
2370 static wxImage *new_wxImage(int width,int height,buffer data,int DATASIZE,buffer alpha,int ALPHASIZE){
2371 if (DATASIZE != width*height*3) {
2372 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2373 return NULL;
2374 }
2375 if (ALPHASIZE != width*height) {
2376 wxPyErr_SetString(PyExc_ValueError, "Invalid alpha buffer size.");
2377 return NULL;
2378 }
2379
2380 // Copy the source data so the wxImage can clean it up later
2381 buffer dcopy = (buffer)malloc(DATASIZE);
2382 if (dcopy == NULL) {
2383 wxPyBLOCK_THREADS(PyErr_NoMemory());
2384 return NULL;
2385 }
2386 memcpy(dcopy, data, DATASIZE);
2387
2388 buffer acopy = (buffer)malloc(ALPHASIZE);
2389 if (acopy == NULL) {
2390 wxPyBLOCK_THREADS(PyErr_NoMemory());
2391 return NULL;
2392 }
2393 memcpy(acopy, alpha, ALPHASIZE);
2394
2395 return new wxImage(width, height, dcopy, acopy, false);
2396 }
2397 static wxSize wxImage_GetSize(wxImage *self){
2398 wxSize size(self->GetWidth(), self->GetHeight());
2399 return size;
2400 }
2401 static PyObject *wxImage_GetData(wxImage *self){
2402 buffer data = self->GetData();
2403 int len = self->GetWidth() * self->GetHeight() * 3;
2404 PyObject* rv;
2405 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
2406 return rv;
2407 }
2408 static void wxImage_SetData(wxImage *self,buffer data,int DATASIZE){
2409 if (DATASIZE != self->GetWidth() * self->GetHeight() * 3) {
2410 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2411 return;
2412 }
2413 buffer copy = (buffer)malloc(DATASIZE);
2414 if (copy == NULL) {
2415 wxPyBLOCK_THREADS(PyErr_NoMemory());
2416 return;
2417 }
2418 memcpy(copy, data, DATASIZE);
2419 self->SetData(copy, false);
2420 // wxImage takes ownership of copy...
2421 }
2422 static PyObject *wxImage_GetDataBuffer(wxImage *self){
2423 buffer data = self->GetData();
2424 int len = self->GetWidth() * self->GetHeight() * 3;
2425 PyObject* rv;
2426 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
2427 return rv;
2428 }
2429 static void wxImage_SetDataBuffer(wxImage *self,buffer data,int DATASIZE){
2430 if (DATASIZE != self->GetWidth() * self->GetHeight() * 3) {
2431 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2432 return;
2433 }
2434 self->SetData(data, true);
2435 }
2436 static PyObject *wxImage_GetAlphaData(wxImage *self){
2437 buffer data = self->GetAlpha();
2438 if (! data) {
2439 RETURN_NONE();
2440 } else {
2441 int len = self->GetWidth() * self->GetHeight();
2442 PyObject* rv;
2443 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
2444 return rv;
2445 }
2446 }
2447 static void wxImage_SetAlphaData(wxImage *self,buffer alpha,int ALPHASIZE){
2448 if (ALPHASIZE != self->GetWidth() * self->GetHeight()) {
2449 wxPyErr_SetString(PyExc_ValueError, "Invalid alpha buffer size.");
2450 return;
2451 }
2452 buffer acopy = (buffer)malloc(ALPHASIZE);
2453 if (acopy == NULL) {
2454 wxPyBLOCK_THREADS(PyErr_NoMemory());
2455 return;
2456 }
2457 memcpy(acopy, alpha, ALPHASIZE);
2458 self->SetAlpha(acopy, false);
2459 // wxImage takes ownership of acopy...
2460 }
2461 static PyObject *wxImage_GetAlphaBuffer(wxImage *self){
2462 buffer data = self->GetAlpha();
2463 int len = self->GetWidth() * self->GetHeight();
2464 PyObject* rv;
2465 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
2466 return rv;
2467 }
2468 static void wxImage_SetAlphaBuffer(wxImage *self,buffer alpha,int ALPHASIZE){
2469 if (ALPHASIZE != self->GetWidth() * self->GetHeight()) {
2470 wxPyErr_SetString(PyExc_ValueError, "Invalid alpha buffer size.");
2471 return;
2472 }
2473 self->SetAlpha(alpha, true);
2474 }
2475 static wxBitmap wxImage_ConvertToBitmap(wxImage *self,int depth=-1){
2476 wxBitmap bitmap(*self, depth);
2477 return bitmap;
2478 }
2479 static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,byte red,byte green,byte blue){
2480 wxImage mono = self->ConvertToMono( red, green, blue );
2481 wxBitmap bitmap( mono, 1 );
2482 return bitmap;
2483 }
2484 static const wxString wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME);
2485 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
2486 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
2487 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
2488 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
2489 static const wxString wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX);
2490 static const wxString wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY);
2491 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
2492 static const wxString wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY);
2493 static const wxString wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE);
2494 static const wxString wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL);
2495 static const wxString wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION);
2496 static const wxString wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR);
2497 static const wxString wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT);
2498 static const wxString wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH);
2499
2500 #include <wx/quantize.h>
2501
2502 static bool Quantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){
2503 return wxQuantize::Quantize(src, dest,
2504 //NULL, // palette
2505 desiredNoColours,
2506 NULL, // eightBitData
2507 flags);
2508 }
2509 static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
2510 if (PyCallable_Check(func)) {
2511 self->Connect(id, lastId, eventType,
2512 (wxObjectEventFunction) &wxPyCallback::EventThunker,
2513 new wxPyCallback(func));
2514 }
2515 else if (func == Py_None) {
2516 self->Disconnect(id, lastId, eventType,
2517 (wxObjectEventFunction)
2518 &wxPyCallback::EventThunker);
2519 }
2520 else {
2521 wxPyBLOCK_THREADS(
2522 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
2523 }
2524 }
2525 static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId=-1,wxEventType eventType=wxEVT_NULL){
2526 return self->Disconnect(id, lastId, eventType,
2527 (wxObjectEventFunction)
2528 &wxPyCallback::EventThunker);
2529 }
2530 static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self,bool incref=true){
2531 if (_self && _self != Py_None) {
2532 self->SetClientObject(new wxPyOORClientData(_self, incref));
2533 }
2534 else {
2535 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
2536 if (data) {
2537 self->SetClientObject(NULL); // This will delete it too
2538 }
2539 }
2540 }
2541
2542 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){
2543 #if wxUSE_UNICODE
2544 return self->GetUnicodeKey();
2545 #else
2546 return 0;
2547 #endif
2548 }
2549
2550 #if UINT_MAX < LONG_MAX
2551 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2552 #define SWIG_From_unsigned_SS_int SWIG_From_long
2553 /*@@*/
2554 #else
2555 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2556 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2557 /*@@*/
2558 #endif
2559
2560
2561 #if UINT_MAX != ULONG_MAX
2562 SWIGINTERN int
2563 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2564 {
2565 const char* errmsg = val ? "unsigned int" : (char*)0;
2566 unsigned long v;
2567 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2568 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2569 if (val) *val = (unsigned int)(v);
2570 return 1;
2571 }
2572 } else {
2573 PyErr_Clear();
2574 }
2575 if (val) {
2576 SWIG_type_error(errmsg, obj);
2577 }
2578 return 0;
2579 }
2580 #else
2581 SWIGINTERNSHORT unsigned int
2582 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2583 {
2584 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2585 }
2586 #endif
2587
2588
2589 SWIGINTERNSHORT unsigned int
2590 SWIG_As_unsigned_SS_int(PyObject* obj)
2591 {
2592 unsigned int v;
2593 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2594 /*
2595 this is needed to make valgrind/purify happier.
2596 */
2597 memset((void*)&v, 0, sizeof(unsigned int));
2598 }
2599 return v;
2600 }
2601
2602
2603 SWIGINTERNSHORT int
2604 SWIG_Check_unsigned_SS_int(PyObject* obj)
2605 {
2606 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2607 }
2608
2609 static void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
2610 self->m_size = size;
2611 }
2612 static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
2613 int count = self->GetNumberOfFiles();
2614 wxString* files = self->GetFiles();
2615 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2616 PyObject* list = PyList_New(count);
2617
2618 if (!list) {
2619 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
2620 wxPyEndBlockThreads(blocked);
2621 return NULL;
2622 }
2623
2624 for (int i=0; i<count; i++) {
2625 PyList_SetItem(list, i, wx2PyString(files[i]));
2626 }
2627 wxPyEndBlockThreads(blocked);
2628 return list;
2629 }
2630
2631
2632 static wxPyApp *new_wxPyApp(){
2633 wxPythonApp = new wxPyApp();
2634 return wxPythonApp;
2635 }
2636
2637 void wxApp_CleanUp() {
2638 __wxPyCleanup();
2639 }
2640
2641
2642 wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
2643
2644
2645 SWIGINTERNSHORT int
2646 SWIG_AsCharPtr(PyObject *obj, char **val)
2647 {
2648 if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
2649 return 1;
2650 }
2651 if (val) {
2652 PyErr_Clear();
2653 SWIG_type_error("char *", obj);
2654 }
2655 return 0;
2656 }
2657
2658
2659 SWIGINTERN PyObject *
2660 SWIG_FromCharPtr(const char* cptr)
2661 {
2662 if (cptr) {
2663 size_t size = strlen(cptr);
2664 if (size > INT_MAX) {
2665 return SWIG_NewPointerObj((char*)(cptr),
2666 SWIG_TypeQuery("char *"), 0);
2667 } else {
2668 if (size != 0) {
2669 return PyString_FromStringAndSize(cptr, size);
2670 } else {
2671 return PyString_FromString(cptr);
2672 }
2673 }
2674 }
2675 Py_INCREF(Py_None);
2676 return Py_None;
2677 }
2678
2679
2680 #ifdef __WXMAC__
2681
2682 // A dummy class that raises an exception if used...
2683 class wxEventLoop
2684 {
2685 public:
2686 wxEventLoop() { wxPyRaiseNotImplemented(); }
2687 int Run() { return 0; }
2688 void Exit(int rc = 0) {}
2689 bool Pending() const { return false; }
2690 bool Dispatch() { return false; }
2691 bool IsRunning() const { return false; }
2692 static wxEventLoop *GetActive() { wxPyRaiseNotImplemented(); return NULL; }
2693 static void SetActive(wxEventLoop* loop) { wxPyRaiseNotImplemented(); }
2694 };
2695
2696 #else
2697
2698 #include <wx/evtloop.h>
2699
2700 #endif
2701
2702
2703
2704 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2705 static wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
2706 static void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
2707 static PyObject *wxWindow_GetChildren(wxWindow *self){
2708 wxWindowList& list = self->GetChildren();
2709 return wxPy_ConvertList(&list);
2710 }
2711 static bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
2712 #if wxUSE_HOTKEY
2713 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
2714 #else
2715 return false;
2716 #endif
2717 }
2718 static bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
2719
2720
2721
2722 return false;
2723
2724 }
2725 static long wxWindow_GetHandle(wxWindow *self){
2726 return wxPyGetWinHandle(self);
2727 }
2728 static void wxWindow_AssociateHandle(wxWindow *self,long handle){
2729 self->AssociateHandle((WXWidget)handle);
2730 }
2731
2732 wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
2733 return wxWindow::FindWindowById(id, parent);
2734 }
2735
2736 wxWindow* wxFindWindowByName( const wxString& name,
2737 const wxWindow *parent = NULL ) {
2738 return wxWindow::FindWindowByName(name, parent);
2739 }
2740
2741 wxWindow* wxFindWindowByLabel( const wxString& label,
2742 const wxWindow *parent = NULL ) {
2743 return wxWindow::FindWindowByLabel(label, parent);
2744 }
2745
2746
2747 #ifdef __WXMSW__
2748 #include <wx/msw/private.h> // to get wxGetWindowId
2749 #endif
2750
2751
2752 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
2753 #ifdef __WXMSW__
2754 WXHWND hWnd = (WXHWND)_hWnd;
2755 long id = wxGetWindowId(hWnd);
2756 wxWindow* win = new wxWindow;
2757 parent->AddChild(win);
2758 win->SetEventHandler(win);
2759 win->SetHWND(hWnd);
2760 win->SetId(id);
2761 win->SubclassWin(hWnd);
2762 win->AdoptAttributesFromHWND();
2763 win->SetupColours();
2764 return win;
2765 #else
2766 wxPyRaiseNotImplemented();
2767 return NULL;
2768 #endif
2769 }
2770
2771
2772 PyObject* GetTopLevelWindows() {
2773 return wxPy_ConvertList(&wxTopLevelWindows);
2774 }
2775
2776
2777 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
2778 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
2779 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
2780
2781 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
2782
2783 static void wxMenu_Destroy(wxMenu *self){ delete self; }
2784 static PyObject *wxMenu_GetMenuItems(wxMenu *self){
2785 wxMenuItemList& list = self->GetMenuItems();
2786 return wxPy_ConvertList(&list);
2787 }
2788 static void MenuBar_SetAutoWindowMenu(bool enable){}
2789 static bool MenuBar_GetAutoWindowMenu(){ return false; }
2790 static const wxString wxPyControlNameStr(wxControlNameStr);
2791 static int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData=NULL){
2792 if (clientData) {
2793 wxPyClientData* data = new wxPyClientData(clientData);
2794 return self->Append(item, data);
2795 } else
2796 return self->Append(item);
2797 }
2798 static int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData=NULL){
2799 if (clientData) {
2800 wxPyClientData* data = new wxPyClientData(clientData);
2801 return self->Insert(item, pos, data);
2802 } else
2803 return self->Insert(item, pos);
2804 }
2805 static PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
2806 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
2807 if (data) {
2808 Py_INCREF(data->m_obj);
2809 return data->m_obj;
2810 } else {
2811 Py_INCREF(Py_None);
2812 return Py_None;
2813 }
2814 }
2815 static void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
2816 wxPyClientData* data = new wxPyClientData(clientData);
2817 self->SetClientObject(n, data);
2818 }
2819
2820
2821 static wxSizerItem *new_wxSizerItem(wxWindow *window,int proportion,int flag,int border,PyObject *userData=NULL){
2822 wxPyUserData* data = NULL;
2823 if ( userData ) {
2824 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2825 data = new wxPyUserData(userData);
2826 wxPyEndBlockThreads(blocked);
2827 }
2828 return new wxSizerItem(window, proportion, flag, border, data);
2829 }
2830 static wxSizerItem *new_wxSizerItem(int width,int height,int proportion,int flag,int border,PyObject *userData=NULL){
2831 wxPyUserData* data = NULL;
2832 if ( userData ) {
2833 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2834 data = new wxPyUserData(userData);
2835 wxPyEndBlockThreads(blocked);
2836 }
2837 return new wxSizerItem(width, height, proportion, flag, border, data);
2838 }
2839 static wxSizerItem *new_wxSizerItem(wxSizer *sizer,int proportion,int flag,int border,PyObject *userData=NULL){
2840 wxPyUserData* data = NULL;
2841 if ( userData ) {
2842 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2843 data = new wxPyUserData(userData);
2844 wxPyEndBlockThreads(blocked);
2845 }
2846 return new wxSizerItem(sizer, proportion, flag, border, data);
2847 }
2848
2849 #include <float.h>
2850 SWIGINTERN int
2851 SWIG_CheckDoubleInRange(double value, double min_value,
2852 double max_value, const char* errmsg)
2853 {
2854 if (value < min_value) {
2855 if (errmsg) {
2856 PyErr_Format(PyExc_OverflowError,
2857 "value %g is less than %s minimum %g",
2858 value, errmsg, min_value);
2859 }
2860 return 0;
2861 } else if (value > max_value) {
2862 if (errmsg) {
2863 PyErr_Format(PyExc_OverflowError,
2864 "value %g is greater than %s maximum %g",
2865 value, errmsg, max_value);
2866 }
2867 return 0;
2868 }
2869 return 1;
2870 }
2871
2872
2873 SWIGINTERN int
2874 SWIG_AsVal_float(PyObject *obj, float *val)
2875 {
2876 const char* errmsg = val ? "float" : (char*)0;
2877 double v;
2878 if (SWIG_AsVal_double(obj, &v)) {
2879 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
2880 if (val) *val = (float)(v);
2881 return 1;
2882 } else {
2883 return 0;
2884 }
2885 } else {
2886 PyErr_Clear();
2887 }
2888 if (val) {
2889 SWIG_type_error(errmsg, obj);
2890 }
2891 return 0;
2892 }
2893
2894
2895 SWIGINTERNSHORT float
2896 SWIG_As_float(PyObject* obj)
2897 {
2898 float v;
2899 if (!SWIG_AsVal_float(obj, &v)) {
2900 /*
2901 this is needed to make valgrind/purify happier.
2902 */
2903 memset((void*)&v, 0, sizeof(float));
2904 }
2905 return v;
2906 }
2907
2908
2909 SWIGINTERNSHORT int
2910 SWIG_Check_float(PyObject* obj)
2911 {
2912 return SWIG_AsVal_float(obj, (float*)0);
2913 }
2914
2915
2916 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2917 #define SWIG_From_float PyFloat_FromDouble
2918 /*@@*/
2919
2920 static PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
2921 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
2922 if (data) {
2923 Py_INCREF(data->m_obj);
2924 return data->m_obj;
2925 } else {
2926 Py_INCREF(Py_None);
2927 return Py_None;
2928 }
2929 }
2930
2931 // Figure out the type of the sizer item
2932
2933 struct wxPySizerItemInfo {
2934 wxPySizerItemInfo()
2935 : window(NULL), sizer(NULL), gotSize(false),
2936 size(wxDefaultSize), gotPos(false), pos(-1)
2937 {}
2938
2939 wxWindow* window;
2940 wxSizer* sizer;
2941 bool gotSize;
2942 wxSize size;
2943 bool gotPos;
2944 int pos;
2945 };
2946
2947 static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
2948
2949 wxPySizerItemInfo info;
2950 wxSize size;
2951 wxSize* sizePtr = &size;
2952
2953 // Find out what the type of the item is
2954 // try wxWindow
2955 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
2956 PyErr_Clear();
2957 info.window = NULL;
2958
2959 // try wxSizer
2960 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
2961 PyErr_Clear();
2962 info.sizer = NULL;
2963
2964 // try wxSize or (w,h)
2965 if ( checkSize && wxSize_helper(item, &sizePtr)) {
2966 info.size = *sizePtr;
2967 info.gotSize = true;
2968 }
2969
2970 // or a single int
2971 if (checkIdx && PyInt_Check(item)) {
2972 info.pos = PyInt_AsLong(item);
2973 info.gotPos = true;
2974 }
2975 }
2976 }
2977
2978 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
2979 // no expected type, figure out what kind of error message to generate
2980 if ( !checkSize && !checkIdx )
2981 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
2982 else if ( checkSize && !checkIdx )
2983 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2984 else if ( !checkSize && checkIdx)
2985 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
2986 else
2987 // can this one happen?
2988 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2989 }
2990
2991 return info;
2992 }
2993
2994 static void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
2995 if (!self->GetClientObject())
2996 self->SetClientObject(new wxPyOORClientData(_self));
2997 }
2998 static wxSizerItem *wxSizer_Add(wxSizer *self,PyObject *item,int proportion=0,int flag=0,int border=0,PyObject *userData=NULL){
2999
3000 wxPyUserData* data = NULL;
3001 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3002 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
3003 if ( userData && (info.window || info.sizer || info.gotSize) )
3004 data = new wxPyUserData(userData);
3005 wxPyEndBlockThreads(blocked);
3006
3007 // Now call the real Add method if a valid item type was found
3008 if ( info.window )
3009 return self->Add(info.window, proportion, flag, border, data);
3010 else if ( info.sizer )
3011 return self->Add(info.sizer, proportion, flag, border, data);
3012 else if (info.gotSize)
3013 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
3014 proportion, flag, border, data);
3015 else
3016 return NULL;
3017 }
3018 static wxSizerItem *wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion=0,int flag=0,int border=0,PyObject *userData=NULL){
3019
3020 wxPyUserData* data = NULL;
3021 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3022 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
3023 if ( userData && (info.window || info.sizer || info.gotSize) )
3024 data = new wxPyUserData(userData);
3025 wxPyEndBlockThreads(blocked);
3026
3027 // Now call the real Insert method if a valid item type was found
3028 if ( info.window )
3029 return self->Insert(before, info.window, proportion, flag, border, data);
3030 else if ( info.sizer )
3031 return self->Insert(before, info.sizer, proportion, flag, border, data);
3032 else if (info.gotSize)
3033 return self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
3034 proportion, flag, border, data);
3035 else
3036 return NULL;
3037 }
3038 static wxSizerItem *wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion=0,int flag=0,int border=0,PyObject *userData=NULL){
3039
3040 wxPyUserData* data = NULL;
3041 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3042 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
3043 if ( userData && (info.window || info.sizer || info.gotSize) )
3044 data = new wxPyUserData(userData);
3045 wxPyEndBlockThreads(blocked);
3046
3047 // Now call the real Prepend method if a valid item type was found
3048 if ( info.window )
3049 return self->Prepend(info.window, proportion, flag, border, data);
3050 else if ( info.sizer )
3051 return self->Prepend(info.sizer, proportion, flag, border, data);
3052 else if (info.gotSize)
3053 return self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
3054 proportion, flag, border, data);
3055 else
3056 return NULL;
3057 }
3058 static bool wxSizer_Remove(wxSizer *self,PyObject *item){
3059 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3060 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
3061 wxPyEndBlockThreads(blocked);
3062 if ( info.window )
3063 return self->Remove(info.window);
3064 else if ( info.sizer )
3065 return self->Remove(info.sizer);
3066 else if ( info.gotPos )
3067 return self->Remove(info.pos);
3068 else
3069 return false;
3070 }
3071 static bool wxSizer_Detach(wxSizer *self,PyObject *item){
3072 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3073 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
3074 wxPyEndBlockThreads(blocked);
3075 if ( info.window )
3076 return self->Detach(info.window);
3077 else if ( info.sizer )
3078 return self->Detach(info.sizer);
3079 else if ( info.gotPos )
3080 return self->Detach(info.pos);
3081 else
3082 return false;
3083 }
3084 static wxSizerItem *wxSizer_GetItem(wxSizer *self,PyObject *item){
3085 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3086 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
3087 wxPyEndBlockThreads(blocked);
3088 if ( info.window )
3089 return self->GetItem(info.window);
3090 else if ( info.sizer )
3091 return self->GetItem(info.sizer);
3092 else if ( info.gotPos )
3093 return self->GetItem(info.pos);
3094 else
3095 return NULL;
3096 }
3097 static void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
3098 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3099 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
3100 wxPyEndBlockThreads(blocked);
3101 if ( info.window )
3102 self->SetItemMinSize(info.window, size);
3103 else if ( info.sizer )
3104 self->SetItemMinSize(info.sizer, size);
3105 else if ( info.gotPos )
3106 self->SetItemMinSize(info.pos, size);
3107 }
3108 static PyObject *wxSizer_GetChildren(wxSizer *self){
3109 wxSizerItemList& list = self->GetChildren();
3110 return wxPy_ConvertList(&list);
3111 }
3112 static bool wxSizer_Show(wxSizer *self,PyObject *item,bool show=true,bool recursive=false){
3113 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3114 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
3115 wxPyEndBlockThreads(blocked);
3116 if ( info.window )
3117 return self->Show(info.window, show, recursive);
3118 else if ( info.sizer )
3119 return self->Show(info.sizer, show, recursive);
3120 else if ( info.gotPos )
3121 return self->Show(info.pos, show);
3122 else
3123 return false;
3124 }
3125 static bool wxSizer_IsShown(wxSizer *self,PyObject *item){
3126 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3127 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false);
3128 wxPyEndBlockThreads(blocked);
3129 if ( info.window )
3130 return self->IsShown(info.window);
3131 else if ( info.sizer )
3132 return self->IsShown(info.sizer);
3133 else if ( info.gotPos )
3134 return self->IsShown(info.pos);
3135 else
3136 return false;
3137 }
3138
3139 // See pyclasses.h
3140 IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
3141 IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
3142 IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
3143
3144
3145
3146
3147 bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
3148 {
3149 if (source == Py_None) {
3150 **obj = wxGBPosition(-1,-1);
3151 return true;
3152 }
3153 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
3154 }
3155
3156 bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
3157 {
3158 if (source == Py_None) {
3159 **obj = wxGBSpan(-1,-1);
3160 return true;
3161 }
3162 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
3163 }
3164
3165
3166 static void wxGBPosition_Set(wxGBPosition *self,int row=0,int col=0){
3167 self->SetRow(row);
3168 self->SetCol(col);
3169 }
3170 static PyObject *wxGBPosition_Get(wxGBPosition *self){
3171 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3172 PyObject* tup = PyTuple_New(2);
3173 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
3174 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
3175 wxPyEndBlockThreads(blocked);
3176 return tup;
3177 }
3178 static void wxGBSpan_Set(wxGBSpan *self,int rowspan=1,int colspan=1){
3179 self->SetRowspan(rowspan);
3180 self->SetColspan(colspan);
3181 }
3182 static PyObject *wxGBSpan_Get(wxGBSpan *self){
3183 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3184 PyObject* tup = PyTuple_New(2);
3185 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
3186 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
3187 wxPyEndBlockThreads(blocked);
3188 return tup;
3189 }
3190 static wxGBSizerItem *new_wxGBSizerItem(wxWindow *window,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData=NULL){
3191 wxPyUserData* data = NULL;
3192 if ( userData ) {
3193 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3194 data = new wxPyUserData(userData);
3195 wxPyEndBlockThreads(blocked);
3196 }
3197 return new wxGBSizerItem(window, pos, span, flag, border, data);
3198 }
3199 static wxGBSizerItem *new_wxGBSizerItem(wxSizer *sizer,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData=NULL){
3200 wxPyUserData* data = NULL;
3201 if ( userData ) {
3202 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3203 data = new wxPyUserData(userData);
3204 wxPyEndBlockThreads(blocked);
3205 }
3206 return new wxGBSizerItem(sizer, pos, span, flag, border, data);
3207 }
3208 static wxGBSizerItem *new_wxGBSizerItem(int width,int height,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData=NULL){
3209 wxPyUserData* data = NULL;
3210 if ( userData ) {
3211 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3212 data = new wxPyUserData(userData);
3213 wxPyEndBlockThreads(blocked);
3214 }
3215 return new wxGBSizerItem(width, height, pos, span, flag, border, data);
3216 }
3217 static wxGBPosition wxGBSizerItem_GetEndPos(wxGBSizerItem *self){
3218 int row, col;
3219 self->GetEndPos(row, col);
3220 return wxGBPosition(row, col);
3221 }
3222 static wxGBSizerItem *wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span=wxDefaultSpan,int flag=0,int border=0,PyObject *userData=NULL){
3223
3224 wxPyUserData* data = NULL;
3225 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3226 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
3227 if ( userData && (info.window || info.sizer || info.gotSize) )
3228 data = new wxPyUserData(userData);
3229 wxPyEndBlockThreads(blocked);
3230
3231 // Now call the real Add method if a valid item type was found
3232 if ( info.window )
3233 return (wxGBSizerItem*)self->Add(info.window, pos, span, flag, border, data);
3234 else if ( info.sizer )
3235 return (wxGBSizerItem*)self->Add(info.sizer, pos, span, flag, border, data);
3236 else if (info.gotSize)
3237 return (wxGBSizerItem*)self->Add(info.size.GetWidth(), info.size.GetHeight(),
3238 pos, span, flag, border, data);
3239 return NULL;
3240 }
3241
3242
3243 #ifdef __cplusplus
3244 extern "C" {
3245 #endif
3246 static int _wrap_EmptyString_set(PyObject *) {
3247 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
3248 return 1;
3249 }
3250
3251
3252 static PyObject *_wrap_EmptyString_get(void) {
3253 PyObject *pyobj;
3254
3255 {
3256 #if wxUSE_UNICODE
3257 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
3258 #else
3259 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
3260 #endif
3261 }
3262 return pyobj;
3263 }
3264
3265
3266 static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
3267 PyObject *resultobj;
3268 wxObject *arg1 = (wxObject *) 0 ;
3269 wxString result;
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
3276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
3277 if (SWIG_arg_fail(1)) SWIG_fail;
3278 {
3279 PyThreadState* __tstate = wxPyBeginAllowThreads();
3280 result = wxObject_GetClassName(arg1);
3281
3282 wxPyEndAllowThreads(__tstate);
3283 if (PyErr_Occurred()) SWIG_fail;
3284 }
3285 {
3286 #if wxUSE_UNICODE
3287 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3288 #else
3289 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3290 #endif
3291 }
3292 return resultobj;
3293 fail:
3294 return NULL;
3295 }
3296
3297
3298 static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
3299 PyObject *resultobj;
3300 wxObject *arg1 = (wxObject *) 0 ;
3301 PyObject * obj0 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self", NULL
3304 };
3305
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
3307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
3308 if (SWIG_arg_fail(1)) SWIG_fail;
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 wxObject_Destroy(arg1);
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 Py_INCREF(Py_None); resultobj = Py_None;
3317 return resultobj;
3318 fail:
3319 return NULL;
3320 }
3321
3322
3323 static PyObject * Object_swigregister(PyObject *, PyObject *args) {
3324 PyObject *obj;
3325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3326 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
3327 Py_INCREF(obj);
3328 return Py_BuildValue((char *)"");
3329 }
3330 static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxSize *arg1 = (wxSize *) 0 ;
3333 int arg2 ;
3334 PyObject * obj0 = 0 ;
3335 PyObject * obj1 = 0 ;
3336 char *kwnames[] = {
3337 (char *) "self",(char *) "x", NULL
3338 };
3339
3340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
3341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3342 if (SWIG_arg_fail(1)) SWIG_fail;
3343 {
3344 arg2 = (int)(SWIG_As_int(obj1));
3345 if (SWIG_arg_fail(2)) SWIG_fail;
3346 }
3347 if (arg1) (arg1)->x = arg2;
3348
3349 Py_INCREF(Py_None); resultobj = Py_None;
3350 return resultobj;
3351 fail:
3352 return NULL;
3353 }
3354
3355
3356 static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
3357 PyObject *resultobj;
3358 wxSize *arg1 = (wxSize *) 0 ;
3359 int result;
3360 PyObject * obj0 = 0 ;
3361 char *kwnames[] = {
3362 (char *) "self", NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
3366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3367 if (SWIG_arg_fail(1)) SWIG_fail;
3368 result = (int) ((arg1)->x);
3369
3370 {
3371 resultobj = SWIG_From_int((int)(result));
3372 }
3373 return resultobj;
3374 fail:
3375 return NULL;
3376 }
3377
3378
3379 static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
3380 PyObject *resultobj;
3381 wxSize *arg1 = (wxSize *) 0 ;
3382 int arg2 ;
3383 PyObject * obj0 = 0 ;
3384 PyObject * obj1 = 0 ;
3385 char *kwnames[] = {
3386 (char *) "self",(char *) "y", NULL
3387 };
3388
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
3390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3391 if (SWIG_arg_fail(1)) SWIG_fail;
3392 {
3393 arg2 = (int)(SWIG_As_int(obj1));
3394 if (SWIG_arg_fail(2)) SWIG_fail;
3395 }
3396 if (arg1) (arg1)->y = arg2;
3397
3398 Py_INCREF(Py_None); resultobj = Py_None;
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxSize *arg1 = (wxSize *) 0 ;
3408 int result;
3409 PyObject * obj0 = 0 ;
3410 char *kwnames[] = {
3411 (char *) "self", NULL
3412 };
3413
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
3415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3416 if (SWIG_arg_fail(1)) SWIG_fail;
3417 result = (int) ((arg1)->y);
3418
3419 {
3420 resultobj = SWIG_From_int((int)(result));
3421 }
3422 return resultobj;
3423 fail:
3424 return NULL;
3425 }
3426
3427
3428 static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj;
3430 int arg1 = (int) 0 ;
3431 int arg2 = (int) 0 ;
3432 wxSize *result;
3433 PyObject * obj0 = 0 ;
3434 PyObject * obj1 = 0 ;
3435 char *kwnames[] = {
3436 (char *) "w",(char *) "h", NULL
3437 };
3438
3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
3440 if (obj0) {
3441 {
3442 arg1 = (int)(SWIG_As_int(obj0));
3443 if (SWIG_arg_fail(1)) SWIG_fail;
3444 }
3445 }
3446 if (obj1) {
3447 {
3448 arg2 = (int)(SWIG_As_int(obj1));
3449 if (SWIG_arg_fail(2)) SWIG_fail;
3450 }
3451 }
3452 {
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 result = (wxSize *)new wxSize(arg1,arg2);
3455
3456 wxPyEndAllowThreads(__tstate);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
3460 return resultobj;
3461 fail:
3462 return NULL;
3463 }
3464
3465
3466 static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) {
3467 PyObject *resultobj;
3468 wxSize *arg1 = (wxSize *) 0 ;
3469 PyObject * obj0 = 0 ;
3470 char *kwnames[] = {
3471 (char *) "self", NULL
3472 };
3473
3474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
3475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3476 if (SWIG_arg_fail(1)) SWIG_fail;
3477 {
3478 PyThreadState* __tstate = wxPyBeginAllowThreads();
3479 delete arg1;
3480
3481 wxPyEndAllowThreads(__tstate);
3482 if (PyErr_Occurred()) SWIG_fail;
3483 }
3484 Py_INCREF(Py_None); resultobj = Py_None;
3485 return resultobj;
3486 fail:
3487 return NULL;
3488 }
3489
3490
3491 static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
3492 PyObject *resultobj;
3493 wxSize *arg1 = (wxSize *) 0 ;
3494 wxSize *arg2 = 0 ;
3495 bool result;
3496 wxSize temp2 ;
3497 PyObject * obj0 = 0 ;
3498 PyObject * obj1 = 0 ;
3499 char *kwnames[] = {
3500 (char *) "self",(char *) "sz", NULL
3501 };
3502
3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
3504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3505 if (SWIG_arg_fail(1)) SWIG_fail;
3506 {
3507 arg2 = &temp2;
3508 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3509 }
3510 {
3511 PyThreadState* __tstate = wxPyBeginAllowThreads();
3512 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
3513
3514 wxPyEndAllowThreads(__tstate);
3515 if (PyErr_Occurred()) SWIG_fail;
3516 }
3517 {
3518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3519 }
3520 return resultobj;
3521 fail:
3522 return NULL;
3523 }
3524
3525
3526 static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
3527 PyObject *resultobj;
3528 wxSize *arg1 = (wxSize *) 0 ;
3529 wxSize *arg2 = 0 ;
3530 bool result;
3531 wxSize temp2 ;
3532 PyObject * obj0 = 0 ;
3533 PyObject * obj1 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self",(char *) "sz", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
3539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail;
3541 {
3542 arg2 = &temp2;
3543 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3544 }
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
3547 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
3548
3549 wxPyEndAllowThreads(__tstate);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 }
3552 {
3553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3554 }
3555 return resultobj;
3556 fail:
3557 return NULL;
3558 }
3559
3560
3561 static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) {
3562 PyObject *resultobj;
3563 wxSize *arg1 = (wxSize *) 0 ;
3564 wxSize *arg2 = 0 ;
3565 wxSize result;
3566 wxSize temp2 ;
3567 PyObject * obj0 = 0 ;
3568 PyObject * obj1 = 0 ;
3569 char *kwnames[] = {
3570 (char *) "self",(char *) "sz", NULL
3571 };
3572
3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
3574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3575 if (SWIG_arg_fail(1)) SWIG_fail;
3576 {
3577 arg2 = &temp2;
3578 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3579 }
3580 {
3581 PyThreadState* __tstate = wxPyBeginAllowThreads();
3582 result = (arg1)->operator +((wxSize const &)*arg2);
3583
3584 wxPyEndAllowThreads(__tstate);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
3587 {
3588 wxSize * resultptr;
3589 resultptr = new wxSize((wxSize &)(result));
3590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3591 }
3592 return resultobj;
3593 fail:
3594 return NULL;
3595 }
3596
3597
3598 static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
3599 PyObject *resultobj;
3600 wxSize *arg1 = (wxSize *) 0 ;
3601 wxSize *arg2 = 0 ;
3602 wxSize result;
3603 wxSize temp2 ;
3604 PyObject * obj0 = 0 ;
3605 PyObject * obj1 = 0 ;
3606 char *kwnames[] = {
3607 (char *) "self",(char *) "sz", NULL
3608 };
3609
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
3611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail;
3613 {
3614 arg2 = &temp2;
3615 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3616 }
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = (arg1)->operator -((wxSize const &)*arg2);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 {
3625 wxSize * resultptr;
3626 resultptr = new wxSize((wxSize &)(result));
3627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3628 }
3629 return resultobj;
3630 fail:
3631 return NULL;
3632 }
3633
3634
3635 static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxSize *arg1 = (wxSize *) 0 ;
3638 wxSize *arg2 = 0 ;
3639 wxSize temp2 ;
3640 PyObject * obj0 = 0 ;
3641 PyObject * obj1 = 0 ;
3642 char *kwnames[] = {
3643 (char *) "self",(char *) "sz", NULL
3644 };
3645
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
3647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3648 if (SWIG_arg_fail(1)) SWIG_fail;
3649 {
3650 arg2 = &temp2;
3651 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3652 }
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 (arg1)->IncTo((wxSize const &)*arg2);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 Py_INCREF(Py_None); resultobj = Py_None;
3661 return resultobj;
3662 fail:
3663 return NULL;
3664 }
3665
3666
3667 static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) {
3668 PyObject *resultobj;
3669 wxSize *arg1 = (wxSize *) 0 ;
3670 wxSize *arg2 = 0 ;
3671 wxSize temp2 ;
3672 PyObject * obj0 = 0 ;
3673 PyObject * obj1 = 0 ;
3674 char *kwnames[] = {
3675 (char *) "self",(char *) "sz", NULL
3676 };
3677
3678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
3679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3680 if (SWIG_arg_fail(1)) SWIG_fail;
3681 {
3682 arg2 = &temp2;
3683 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3684 }
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 (arg1)->DecTo((wxSize const &)*arg2);
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 Py_INCREF(Py_None); resultobj = Py_None;
3693 return resultobj;
3694 fail:
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxSize *arg1 = (wxSize *) 0 ;
3702 int arg2 ;
3703 int arg3 ;
3704 PyObject * obj0 = 0 ;
3705 PyObject * obj1 = 0 ;
3706 PyObject * obj2 = 0 ;
3707 char *kwnames[] = {
3708 (char *) "self",(char *) "w",(char *) "h", NULL
3709 };
3710
3711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
3712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3713 if (SWIG_arg_fail(1)) SWIG_fail;
3714 {
3715 arg2 = (int)(SWIG_As_int(obj1));
3716 if (SWIG_arg_fail(2)) SWIG_fail;
3717 }
3718 {
3719 arg3 = (int)(SWIG_As_int(obj2));
3720 if (SWIG_arg_fail(3)) SWIG_fail;
3721 }
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 (arg1)->Set(arg2,arg3);
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 Py_INCREF(Py_None); resultobj = Py_None;
3730 return resultobj;
3731 fail:
3732 return NULL;
3733 }
3734
3735
3736 static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj;
3738 wxSize *arg1 = (wxSize *) 0 ;
3739 int arg2 ;
3740 PyObject * obj0 = 0 ;
3741 PyObject * obj1 = 0 ;
3742 char *kwnames[] = {
3743 (char *) "self",(char *) "w", NULL
3744 };
3745
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
3747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3748 if (SWIG_arg_fail(1)) SWIG_fail;
3749 {
3750 arg2 = (int)(SWIG_As_int(obj1));
3751 if (SWIG_arg_fail(2)) SWIG_fail;
3752 }
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 (arg1)->SetWidth(arg2);
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 Py_INCREF(Py_None); resultobj = Py_None;
3761 return resultobj;
3762 fail:
3763 return NULL;
3764 }
3765
3766
3767 static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 wxSize *arg1 = (wxSize *) 0 ;
3770 int arg2 ;
3771 PyObject * obj0 = 0 ;
3772 PyObject * obj1 = 0 ;
3773 char *kwnames[] = {
3774 (char *) "self",(char *) "h", NULL
3775 };
3776
3777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
3778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3779 if (SWIG_arg_fail(1)) SWIG_fail;
3780 {
3781 arg2 = (int)(SWIG_As_int(obj1));
3782 if (SWIG_arg_fail(2)) SWIG_fail;
3783 }
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 (arg1)->SetHeight(arg2);
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 Py_INCREF(Py_None); resultobj = Py_None;
3792 return resultobj;
3793 fail:
3794 return NULL;
3795 }
3796
3797
3798 static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3799 PyObject *resultobj;
3800 wxSize *arg1 = (wxSize *) 0 ;
3801 int result;
3802 PyObject * obj0 = 0 ;
3803 char *kwnames[] = {
3804 (char *) "self", NULL
3805 };
3806
3807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
3808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3809 if (SWIG_arg_fail(1)) SWIG_fail;
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 result = (int)((wxSize const *)arg1)->GetWidth();
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 {
3818 resultobj = SWIG_From_int((int)(result));
3819 }
3820 return resultobj;
3821 fail:
3822 return NULL;
3823 }
3824
3825
3826 static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
3827 PyObject *resultobj;
3828 wxSize *arg1 = (wxSize *) 0 ;
3829 int result;
3830 PyObject * obj0 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "self", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
3836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3837 if (SWIG_arg_fail(1)) SWIG_fail;
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (int)((wxSize const *)arg1)->GetHeight();
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 {
3846 resultobj = SWIG_From_int((int)(result));
3847 }
3848 return resultobj;
3849 fail:
3850 return NULL;
3851 }
3852
3853
3854 static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) {
3855 PyObject *resultobj;
3856 wxSize *arg1 = (wxSize *) 0 ;
3857 bool result;
3858 PyObject * obj0 = 0 ;
3859 char *kwnames[] = {
3860 (char *) "self", NULL
3861 };
3862
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
3864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3865 if (SWIG_arg_fail(1)) SWIG_fail;
3866 {
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
3873 {
3874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3875 }
3876 return resultobj;
3877 fail:
3878 return NULL;
3879 }
3880
3881
3882 static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
3883 PyObject *resultobj;
3884 wxSize *arg1 = (wxSize *) 0 ;
3885 wxSize *arg2 = 0 ;
3886 wxSize temp2 ;
3887 PyObject * obj0 = 0 ;
3888 PyObject * obj1 = 0 ;
3889 char *kwnames[] = {
3890 (char *) "self",(char *) "size", NULL
3891 };
3892
3893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
3894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3895 if (SWIG_arg_fail(1)) SWIG_fail;
3896 {
3897 arg2 = &temp2;
3898 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3899 }
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 (arg1)->SetDefaults((wxSize const &)*arg2);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 Py_INCREF(Py_None); resultobj = Py_None;
3908 return resultobj;
3909 fail:
3910 return NULL;
3911 }
3912
3913
3914 static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxSize *arg1 = (wxSize *) 0 ;
3917 PyObject *result;
3918 PyObject * obj0 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
3924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3925 if (SWIG_arg_fail(1)) SWIG_fail;
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 result = (PyObject *)wxSize_Get(arg1);
3929
3930 wxPyEndAllowThreads(__tstate);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 }
3933 resultobj = result;
3934 return resultobj;
3935 fail:
3936 return NULL;
3937 }
3938
3939
3940 static PyObject * Size_swigregister(PyObject *, PyObject *args) {
3941 PyObject *obj;
3942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3943 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
3944 Py_INCREF(obj);
3945 return Py_BuildValue((char *)"");
3946 }
3947 static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj;
3949 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3950 double arg2 ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953 char *kwnames[] = {
3954 (char *) "self",(char *) "x", NULL
3955 };
3956
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
3958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
3959 if (SWIG_arg_fail(1)) SWIG_fail;
3960 {
3961 arg2 = (double)(SWIG_As_double(obj1));
3962 if (SWIG_arg_fail(2)) SWIG_fail;
3963 }
3964 if (arg1) (arg1)->x = arg2;
3965
3966 Py_INCREF(Py_None); resultobj = Py_None;
3967 return resultobj;
3968 fail:
3969 return NULL;
3970 }
3971
3972
3973 static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
3974 PyObject *resultobj;
3975 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3976 double result;
3977 PyObject * obj0 = 0 ;
3978 char *kwnames[] = {
3979 (char *) "self", NULL
3980 };
3981
3982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
3983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
3984 if (SWIG_arg_fail(1)) SWIG_fail;
3985 result = (double) ((arg1)->x);
3986
3987 {
3988 resultobj = SWIG_From_double((double)(result));
3989 }
3990 return resultobj;
3991 fail:
3992 return NULL;
3993 }
3994
3995
3996 static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
3997 PyObject *resultobj;
3998 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3999 double arg2 ;
4000 PyObject * obj0 = 0 ;
4001 PyObject * obj1 = 0 ;
4002 char *kwnames[] = {
4003 (char *) "self",(char *) "y", NULL
4004 };
4005
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
4007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4008 if (SWIG_arg_fail(1)) SWIG_fail;
4009 {
4010 arg2 = (double)(SWIG_As_double(obj1));
4011 if (SWIG_arg_fail(2)) SWIG_fail;
4012 }
4013 if (arg1) (arg1)->y = arg2;
4014
4015 Py_INCREF(Py_None); resultobj = Py_None;
4016 return resultobj;
4017 fail:
4018 return NULL;
4019 }
4020
4021
4022 static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
4023 PyObject *resultobj;
4024 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4025 double result;
4026 PyObject * obj0 = 0 ;
4027 char *kwnames[] = {
4028 (char *) "self", NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
4032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4033 if (SWIG_arg_fail(1)) SWIG_fail;
4034 result = (double) ((arg1)->y);
4035
4036 {
4037 resultobj = SWIG_From_double((double)(result));
4038 }
4039 return resultobj;
4040 fail:
4041 return NULL;
4042 }
4043
4044
4045 static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 double arg1 = (double) 0.0 ;
4048 double arg2 = (double) 0.0 ;
4049 wxRealPoint *result;
4050 PyObject * obj0 = 0 ;
4051 PyObject * obj1 = 0 ;
4052 char *kwnames[] = {
4053 (char *) "x",(char *) "y", NULL
4054 };
4055
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
4057 if (obj0) {
4058 {
4059 arg1 = (double)(SWIG_As_double(obj0));
4060 if (SWIG_arg_fail(1)) SWIG_fail;
4061 }
4062 }
4063 if (obj1) {
4064 {
4065 arg2 = (double)(SWIG_As_double(obj1));
4066 if (SWIG_arg_fail(2)) SWIG_fail;
4067 }
4068 }
4069 {
4070 PyThreadState* __tstate = wxPyBeginAllowThreads();
4071 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
4072
4073 wxPyEndAllowThreads(__tstate);
4074 if (PyErr_Occurred()) SWIG_fail;
4075 }
4076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
4077 return resultobj;
4078 fail:
4079 return NULL;
4080 }
4081
4082
4083 static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4084 PyObject *resultobj;
4085 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4086 PyObject * obj0 = 0 ;
4087 char *kwnames[] = {
4088 (char *) "self", NULL
4089 };
4090
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
4092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4093 if (SWIG_arg_fail(1)) SWIG_fail;
4094 {
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 delete arg1;
4097
4098 wxPyEndAllowThreads(__tstate);
4099 if (PyErr_Occurred()) SWIG_fail;
4100 }
4101 Py_INCREF(Py_None); resultobj = Py_None;
4102 return resultobj;
4103 fail:
4104 return NULL;
4105 }
4106
4107
4108 static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
4109 PyObject *resultobj;
4110 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4111 wxRealPoint *arg2 = 0 ;
4112 bool result;
4113 wxRealPoint temp2 ;
4114 PyObject * obj0 = 0 ;
4115 PyObject * obj1 = 0 ;
4116 char *kwnames[] = {
4117 (char *) "self",(char *) "pt", NULL
4118 };
4119
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
4121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4122 if (SWIG_arg_fail(1)) SWIG_fail;
4123 {
4124 arg2 = &temp2;
4125 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4126 }
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
4130
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4134 {
4135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4136 }
4137 return resultobj;
4138 fail:
4139 return NULL;
4140 }
4141
4142
4143 static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
4144 PyObject *resultobj;
4145 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4146 wxRealPoint *arg2 = 0 ;
4147 bool result;
4148 wxRealPoint temp2 ;
4149 PyObject * obj0 = 0 ;
4150 PyObject * obj1 = 0 ;
4151 char *kwnames[] = {
4152 (char *) "self",(char *) "pt", NULL
4153 };
4154
4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
4156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4157 if (SWIG_arg_fail(1)) SWIG_fail;
4158 {
4159 arg2 = &temp2;
4160 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4161 }
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 {
4170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4171 }
4172 return resultobj;
4173 fail:
4174 return NULL;
4175 }
4176
4177
4178 static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) {
4179 PyObject *resultobj;
4180 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4181 wxRealPoint *arg2 = 0 ;
4182 wxRealPoint result;
4183 wxRealPoint temp2 ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self",(char *) "pt", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
4191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4192 if (SWIG_arg_fail(1)) SWIG_fail;
4193 {
4194 arg2 = &temp2;
4195 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4196 }
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 result = (arg1)->operator +((wxRealPoint const &)*arg2);
4200
4201 wxPyEndAllowThreads(__tstate);
4202 if (PyErr_Occurred()) SWIG_fail;
4203 }
4204 {
4205 wxRealPoint * resultptr;
4206 resultptr = new wxRealPoint((wxRealPoint &)(result));
4207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
4208 }
4209 return resultobj;
4210 fail:
4211 return NULL;
4212 }
4213
4214
4215 static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
4216 PyObject *resultobj;
4217 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4218 wxRealPoint *arg2 = 0 ;
4219 wxRealPoint result;
4220 wxRealPoint temp2 ;
4221 PyObject * obj0 = 0 ;
4222 PyObject * obj1 = 0 ;
4223 char *kwnames[] = {
4224 (char *) "self",(char *) "pt", NULL
4225 };
4226
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
4228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4229 if (SWIG_arg_fail(1)) SWIG_fail;
4230 {
4231 arg2 = &temp2;
4232 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4233 }
4234 {
4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
4236 result = (arg1)->operator -((wxRealPoint const &)*arg2);
4237
4238 wxPyEndAllowThreads(__tstate);
4239 if (PyErr_Occurred()) SWIG_fail;
4240 }
4241 {
4242 wxRealPoint * resultptr;
4243 resultptr = new wxRealPoint((wxRealPoint &)(result));
4244 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
4245 }
4246 return resultobj;
4247 fail:
4248 return NULL;
4249 }
4250
4251
4252 static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
4253 PyObject *resultobj;
4254 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4255 double arg2 ;
4256 double arg3 ;
4257 PyObject * obj0 = 0 ;
4258 PyObject * obj1 = 0 ;
4259 PyObject * obj2 = 0 ;
4260 char *kwnames[] = {
4261 (char *) "self",(char *) "x",(char *) "y", NULL
4262 };
4263
4264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
4265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4266 if (SWIG_arg_fail(1)) SWIG_fail;
4267 {
4268 arg2 = (double)(SWIG_As_double(obj1));
4269 if (SWIG_arg_fail(2)) SWIG_fail;
4270 }
4271 {
4272 arg3 = (double)(SWIG_As_double(obj2));
4273 if (SWIG_arg_fail(3)) SWIG_fail;
4274 }
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 wxRealPoint_Set(arg1,arg2,arg3);
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 Py_INCREF(Py_None); resultobj = Py_None;
4283 return resultobj;
4284 fail:
4285 return NULL;
4286 }
4287
4288
4289 static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) {
4290 PyObject *resultobj;
4291 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4292 PyObject *result;
4293 PyObject * obj0 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "self", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
4299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4300 if (SWIG_arg_fail(1)) SWIG_fail;
4301 {
4302 PyThreadState* __tstate = wxPyBeginAllowThreads();
4303 result = (PyObject *)wxRealPoint_Get(arg1);
4304
4305 wxPyEndAllowThreads(__tstate);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 resultobj = result;
4309 return resultobj;
4310 fail:
4311 return NULL;
4312 }
4313
4314
4315 static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) {
4316 PyObject *obj;
4317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4318 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
4319 Py_INCREF(obj);
4320 return Py_BuildValue((char *)"");
4321 }
4322 static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
4323 PyObject *resultobj;
4324 wxPoint *arg1 = (wxPoint *) 0 ;
4325 int arg2 ;
4326 PyObject * obj0 = 0 ;
4327 PyObject * obj1 = 0 ;
4328 char *kwnames[] = {
4329 (char *) "self",(char *) "x", NULL
4330 };
4331
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
4333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4334 if (SWIG_arg_fail(1)) SWIG_fail;
4335 {
4336 arg2 = (int)(SWIG_As_int(obj1));
4337 if (SWIG_arg_fail(2)) SWIG_fail;
4338 }
4339 if (arg1) (arg1)->x = arg2;
4340
4341 Py_INCREF(Py_None); resultobj = Py_None;
4342 return resultobj;
4343 fail:
4344 return NULL;
4345 }
4346
4347
4348 static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
4349 PyObject *resultobj;
4350 wxPoint *arg1 = (wxPoint *) 0 ;
4351 int result;
4352 PyObject * obj0 = 0 ;
4353 char *kwnames[] = {
4354 (char *) "self", NULL
4355 };
4356
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
4358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4359 if (SWIG_arg_fail(1)) SWIG_fail;
4360 result = (int) ((arg1)->x);
4361
4362 {
4363 resultobj = SWIG_From_int((int)(result));
4364 }
4365 return resultobj;
4366 fail:
4367 return NULL;
4368 }
4369
4370
4371 static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
4372 PyObject *resultobj;
4373 wxPoint *arg1 = (wxPoint *) 0 ;
4374 int arg2 ;
4375 PyObject * obj0 = 0 ;
4376 PyObject * obj1 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "self",(char *) "y", NULL
4379 };
4380
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
4382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail;
4384 {
4385 arg2 = (int)(SWIG_As_int(obj1));
4386 if (SWIG_arg_fail(2)) SWIG_fail;
4387 }
4388 if (arg1) (arg1)->y = arg2;
4389
4390 Py_INCREF(Py_None); resultobj = Py_None;
4391 return resultobj;
4392 fail:
4393 return NULL;
4394 }
4395
4396
4397 static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
4398 PyObject *resultobj;
4399 wxPoint *arg1 = (wxPoint *) 0 ;
4400 int result;
4401 PyObject * obj0 = 0 ;
4402 char *kwnames[] = {
4403 (char *) "self", NULL
4404 };
4405
4406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
4407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4408 if (SWIG_arg_fail(1)) SWIG_fail;
4409 result = (int) ((arg1)->y);
4410
4411 {
4412 resultobj = SWIG_From_int((int)(result));
4413 }
4414 return resultobj;
4415 fail:
4416 return NULL;
4417 }
4418
4419
4420 static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) {
4421 PyObject *resultobj;
4422 int arg1 = (int) 0 ;
4423 int arg2 = (int) 0 ;
4424 wxPoint *result;
4425 PyObject * obj0 = 0 ;
4426 PyObject * obj1 = 0 ;
4427 char *kwnames[] = {
4428 (char *) "x",(char *) "y", NULL
4429 };
4430
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
4432 if (obj0) {
4433 {
4434 arg1 = (int)(SWIG_As_int(obj0));
4435 if (SWIG_arg_fail(1)) SWIG_fail;
4436 }
4437 }
4438 if (obj1) {
4439 {
4440 arg2 = (int)(SWIG_As_int(obj1));
4441 if (SWIG_arg_fail(2)) SWIG_fail;
4442 }
4443 }
4444 {
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 result = (wxPoint *)new wxPoint(arg1,arg2);
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
4452 return resultobj;
4453 fail:
4454 return NULL;
4455 }
4456
4457
4458 static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) {
4459 PyObject *resultobj;
4460 wxPoint *arg1 = (wxPoint *) 0 ;
4461 PyObject * obj0 = 0 ;
4462 char *kwnames[] = {
4463 (char *) "self", NULL
4464 };
4465
4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
4467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4468 if (SWIG_arg_fail(1)) SWIG_fail;
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 delete arg1;
4472
4473 wxPyEndAllowThreads(__tstate);
4474 if (PyErr_Occurred()) SWIG_fail;
4475 }
4476 Py_INCREF(Py_None); resultobj = Py_None;
4477 return resultobj;
4478 fail:
4479 return NULL;
4480 }
4481
4482
4483 static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
4484 PyObject *resultobj;
4485 wxPoint *arg1 = (wxPoint *) 0 ;
4486 wxPoint *arg2 = 0 ;
4487 bool result;
4488 wxPoint temp2 ;
4489 PyObject * obj0 = 0 ;
4490 PyObject * obj1 = 0 ;
4491 char *kwnames[] = {
4492 (char *) "self",(char *) "pt", NULL
4493 };
4494
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
4496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4497 if (SWIG_arg_fail(1)) SWIG_fail;
4498 {
4499 arg2 = &temp2;
4500 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4501 }
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 {
4510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4511 }
4512 return resultobj;
4513 fail:
4514 return NULL;
4515 }
4516
4517
4518 static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj;
4520 wxPoint *arg1 = (wxPoint *) 0 ;
4521 wxPoint *arg2 = 0 ;
4522 bool result;
4523 wxPoint temp2 ;
4524 PyObject * obj0 = 0 ;
4525 PyObject * obj1 = 0 ;
4526 char *kwnames[] = {
4527 (char *) "self",(char *) "pt", NULL
4528 };
4529
4530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
4531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4532 if (SWIG_arg_fail(1)) SWIG_fail;
4533 {
4534 arg2 = &temp2;
4535 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4536 }
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 {
4545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4546 }
4547 return resultobj;
4548 fail:
4549 return NULL;
4550 }
4551
4552
4553 static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj;
4555 wxPoint *arg1 = (wxPoint *) 0 ;
4556 wxPoint *arg2 = 0 ;
4557 wxPoint result;
4558 wxPoint temp2 ;
4559 PyObject * obj0 = 0 ;
4560 PyObject * obj1 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self",(char *) "pt", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
4566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4567 if (SWIG_arg_fail(1)) SWIG_fail;
4568 {
4569 arg2 = &temp2;
4570 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4571 }
4572 {
4573 PyThreadState* __tstate = wxPyBeginAllowThreads();
4574 result = (arg1)->operator +((wxPoint const &)*arg2);
4575
4576 wxPyEndAllowThreads(__tstate);
4577 if (PyErr_Occurred()) SWIG_fail;
4578 }
4579 {
4580 wxPoint * resultptr;
4581 resultptr = new wxPoint((wxPoint &)(result));
4582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4583 }
4584 return resultobj;
4585 fail:
4586 return NULL;
4587 }
4588
4589
4590 static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
4591 PyObject *resultobj;
4592 wxPoint *arg1 = (wxPoint *) 0 ;
4593 wxPoint *arg2 = 0 ;
4594 wxPoint result;
4595 wxPoint temp2 ;
4596 PyObject * obj0 = 0 ;
4597 PyObject * obj1 = 0 ;
4598 char *kwnames[] = {
4599 (char *) "self",(char *) "pt", NULL
4600 };
4601
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
4603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4604 if (SWIG_arg_fail(1)) SWIG_fail;
4605 {
4606 arg2 = &temp2;
4607 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4608 }
4609 {
4610 PyThreadState* __tstate = wxPyBeginAllowThreads();
4611 result = (arg1)->operator -((wxPoint const &)*arg2);
4612
4613 wxPyEndAllowThreads(__tstate);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 }
4616 {
4617 wxPoint * resultptr;
4618 resultptr = new wxPoint((wxPoint &)(result));
4619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4620 }
4621 return resultobj;
4622 fail:
4623 return NULL;
4624 }
4625
4626
4627 static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
4628 PyObject *resultobj;
4629 wxPoint *arg1 = (wxPoint *) 0 ;
4630 wxPoint *arg2 = 0 ;
4631 wxPoint *result;
4632 wxPoint temp2 ;
4633 PyObject * obj0 = 0 ;
4634 PyObject * obj1 = 0 ;
4635 char *kwnames[] = {
4636 (char *) "self",(char *) "pt", NULL
4637 };
4638
4639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
4640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4641 if (SWIG_arg_fail(1)) SWIG_fail;
4642 {
4643 arg2 = &temp2;
4644 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4645 }
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 {
4649 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
4650 result = (wxPoint *) &_result_ref;
4651 }
4652
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
4657 return resultobj;
4658 fail:
4659 return NULL;
4660 }
4661
4662
4663 static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
4664 PyObject *resultobj;
4665 wxPoint *arg1 = (wxPoint *) 0 ;
4666 wxPoint *arg2 = 0 ;
4667 wxPoint *result;
4668 wxPoint temp2 ;
4669 PyObject * obj0 = 0 ;
4670 PyObject * obj1 = 0 ;
4671 char *kwnames[] = {
4672 (char *) "self",(char *) "pt", NULL
4673 };
4674
4675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
4676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4677 if (SWIG_arg_fail(1)) SWIG_fail;
4678 {
4679 arg2 = &temp2;
4680 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4681 }
4682 {
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 {
4685 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
4686 result = (wxPoint *) &_result_ref;
4687 }
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
4693 return resultobj;
4694 fail:
4695 return NULL;
4696 }
4697
4698
4699 static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) {
4700 PyObject *resultobj;
4701 wxPoint *arg1 = (wxPoint *) 0 ;
4702 long arg2 ;
4703 long arg3 ;
4704 PyObject * obj0 = 0 ;
4705 PyObject * obj1 = 0 ;
4706 PyObject * obj2 = 0 ;
4707 char *kwnames[] = {
4708 (char *) "self",(char *) "x",(char *) "y", NULL
4709 };
4710
4711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
4712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4713 if (SWIG_arg_fail(1)) SWIG_fail;
4714 {
4715 arg2 = (long)(SWIG_As_long(obj1));
4716 if (SWIG_arg_fail(2)) SWIG_fail;
4717 }
4718 {
4719 arg3 = (long)(SWIG_As_long(obj2));
4720 if (SWIG_arg_fail(3)) SWIG_fail;
4721 }
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 wxPoint_Set(arg1,arg2,arg3);
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 Py_INCREF(Py_None); resultobj = Py_None;
4730 return resultobj;
4731 fail:
4732 return NULL;
4733 }
4734
4735
4736 static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) {
4737 PyObject *resultobj;
4738 wxPoint *arg1 = (wxPoint *) 0 ;
4739 PyObject *result;
4740 PyObject * obj0 = 0 ;
4741 char *kwnames[] = {
4742 (char *) "self", NULL
4743 };
4744
4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
4746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4747 if (SWIG_arg_fail(1)) SWIG_fail;
4748 {
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 result = (PyObject *)wxPoint_Get(arg1);
4751
4752 wxPyEndAllowThreads(__tstate);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 resultobj = result;
4756 return resultobj;
4757 fail:
4758 return NULL;
4759 }
4760
4761
4762 static PyObject * Point_swigregister(PyObject *, PyObject *args) {
4763 PyObject *obj;
4764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4765 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
4766 Py_INCREF(obj);
4767 return Py_BuildValue((char *)"");
4768 }
4769 static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
4770 PyObject *resultobj;
4771 int arg1 = (int) 0 ;
4772 int arg2 = (int) 0 ;
4773 int arg3 = (int) 0 ;
4774 int arg4 = (int) 0 ;
4775 wxRect *result;
4776 PyObject * obj0 = 0 ;
4777 PyObject * obj1 = 0 ;
4778 PyObject * obj2 = 0 ;
4779 PyObject * obj3 = 0 ;
4780 char *kwnames[] = {
4781 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4782 };
4783
4784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4785 if (obj0) {
4786 {
4787 arg1 = (int)(SWIG_As_int(obj0));
4788 if (SWIG_arg_fail(1)) SWIG_fail;
4789 }
4790 }
4791 if (obj1) {
4792 {
4793 arg2 = (int)(SWIG_As_int(obj1));
4794 if (SWIG_arg_fail(2)) SWIG_fail;
4795 }
4796 }
4797 if (obj2) {
4798 {
4799 arg3 = (int)(SWIG_As_int(obj2));
4800 if (SWIG_arg_fail(3)) SWIG_fail;
4801 }
4802 }
4803 if (obj3) {
4804 {
4805 arg4 = (int)(SWIG_As_int(obj3));
4806 if (SWIG_arg_fail(4)) SWIG_fail;
4807 }
4808 }
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
4817 return resultobj;
4818 fail:
4819 return NULL;
4820 }
4821
4822
4823 static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) {
4824 PyObject *resultobj;
4825 wxPoint *arg1 = 0 ;
4826 wxPoint *arg2 = 0 ;
4827 wxRect *result;
4828 wxPoint temp1 ;
4829 wxPoint temp2 ;
4830 PyObject * obj0 = 0 ;
4831 PyObject * obj1 = 0 ;
4832 char *kwnames[] = {
4833 (char *) "topLeft",(char *) "bottomRight", NULL
4834 };
4835
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
4837 {
4838 arg1 = &temp1;
4839 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4840 }
4841 {
4842 arg2 = &temp2;
4843 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4844 }
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
4853 return resultobj;
4854 fail:
4855 return NULL;
4856 }
4857
4858
4859 static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) {
4860 PyObject *resultobj;
4861 wxPoint *arg1 = 0 ;
4862 wxSize *arg2 = 0 ;
4863 wxRect *result;
4864 wxPoint temp1 ;
4865 wxSize temp2 ;
4866 PyObject * obj0 = 0 ;
4867 PyObject * obj1 = 0 ;
4868 char *kwnames[] = {
4869 (char *) "pos",(char *) "size", NULL
4870 };
4871
4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
4873 {
4874 arg1 = &temp1;
4875 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4876 }
4877 {
4878 arg2 = &temp2;
4879 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4880 }
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
4889 return resultobj;
4890 fail:
4891 return NULL;
4892 }
4893
4894
4895 static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxSize *arg1 = 0 ;
4898 wxRect *result;
4899 wxSize temp1 ;
4900 PyObject * obj0 = 0 ;
4901 char *kwnames[] = {
4902 (char *) "size", NULL
4903 };
4904
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RectS",kwnames,&obj0)) goto fail;
4906 {
4907 arg1 = &temp1;
4908 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
4909 }
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = (wxRect *)new wxRect((wxSize const &)*arg1);
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
4918 return resultobj;
4919 fail:
4920 return NULL;
4921 }
4922
4923
4924 static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
4925 PyObject *resultobj;
4926 wxRect *arg1 = (wxRect *) 0 ;
4927 PyObject * obj0 = 0 ;
4928 char *kwnames[] = {
4929 (char *) "self", NULL
4930 };
4931
4932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
4933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
4934 if (SWIG_arg_fail(1)) SWIG_fail;
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 delete arg1;
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 Py_INCREF(Py_None); resultobj = Py_None;
4943 return resultobj;
4944 fail:
4945 return NULL;
4946 }
4947
4948
4949 static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxRect *arg1 = (wxRect *) 0 ;
4952 int result;
4953 PyObject * obj0 = 0 ;
4954 char *kwnames[] = {
4955 (char *) "self", NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
4959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
4960 if (SWIG_arg_fail(1)) SWIG_fail;
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 result = (int)((wxRect const *)arg1)->GetX();
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 {
4969 resultobj = SWIG_From_int((int)(result));
4970 }
4971 return resultobj;
4972 fail:
4973 return NULL;
4974 }
4975
4976
4977 static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
4978 PyObject *resultobj;
4979 wxRect *arg1 = (wxRect *) 0 ;
4980 int arg2 ;
4981 PyObject * obj0 = 0 ;
4982 PyObject * obj1 = 0 ;
4983 char *kwnames[] = {
4984 (char *) "self",(char *) "x", NULL
4985 };
4986
4987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
4988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
4989 if (SWIG_arg_fail(1)) SWIG_fail;
4990 {
4991 arg2 = (int)(SWIG_As_int(obj1));
4992 if (SWIG_arg_fail(2)) SWIG_fail;
4993 }
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 (arg1)->SetX(arg2);
4997
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 Py_INCREF(Py_None); resultobj = Py_None;
5002 return resultobj;
5003 fail:
5004 return NULL;
5005 }
5006
5007
5008 static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
5009 PyObject *resultobj;
5010 wxRect *arg1 = (wxRect *) 0 ;
5011 int result;
5012 PyObject * obj0 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
5018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail;
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 result = (int)(arg1)->GetY();
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 {
5028 resultobj = SWIG_From_int((int)(result));
5029 }
5030 return resultobj;
5031 fail:
5032 return NULL;
5033 }
5034
5035
5036 static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
5037 PyObject *resultobj;
5038 wxRect *arg1 = (wxRect *) 0 ;
5039 int arg2 ;
5040 PyObject * obj0 = 0 ;
5041 PyObject * obj1 = 0 ;
5042 char *kwnames[] = {
5043 (char *) "self",(char *) "y", NULL
5044 };
5045
5046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
5047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5048 if (SWIG_arg_fail(1)) SWIG_fail;
5049 {
5050 arg2 = (int)(SWIG_As_int(obj1));
5051 if (SWIG_arg_fail(2)) SWIG_fail;
5052 }
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 (arg1)->SetY(arg2);
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 Py_INCREF(Py_None); resultobj = Py_None;
5061 return resultobj;
5062 fail:
5063 return NULL;
5064 }
5065
5066
5067 static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxRect *arg1 = (wxRect *) 0 ;
5070 int result;
5071 PyObject * obj0 = 0 ;
5072 char *kwnames[] = {
5073 (char *) "self", NULL
5074 };
5075
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
5077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5078 if (SWIG_arg_fail(1)) SWIG_fail;
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 result = (int)((wxRect const *)arg1)->GetWidth();
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) SWIG_fail;
5085 }
5086 {
5087 resultobj = SWIG_From_int((int)(result));
5088 }
5089 return resultobj;
5090 fail:
5091 return NULL;
5092 }
5093
5094
5095 static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj;
5097 wxRect *arg1 = (wxRect *) 0 ;
5098 int arg2 ;
5099 PyObject * obj0 = 0 ;
5100 PyObject * obj1 = 0 ;
5101 char *kwnames[] = {
5102 (char *) "self",(char *) "w", NULL
5103 };
5104
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
5106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5107 if (SWIG_arg_fail(1)) SWIG_fail;
5108 {
5109 arg2 = (int)(SWIG_As_int(obj1));
5110 if (SWIG_arg_fail(2)) SWIG_fail;
5111 }
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 (arg1)->SetWidth(arg2);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 Py_INCREF(Py_None); resultobj = Py_None;
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxRect *arg1 = (wxRect *) 0 ;
5129 int result;
5130 PyObject * obj0 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
5136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5137 if (SWIG_arg_fail(1)) SWIG_fail;
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 result = (int)((wxRect const *)arg1)->GetHeight();
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 {
5146 resultobj = SWIG_From_int((int)(result));
5147 }
5148 return resultobj;
5149 fail:
5150 return NULL;
5151 }
5152
5153
5154 static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5155 PyObject *resultobj;
5156 wxRect *arg1 = (wxRect *) 0 ;
5157 int arg2 ;
5158 PyObject * obj0 = 0 ;
5159 PyObject * obj1 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self",(char *) "h", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
5165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5166 if (SWIG_arg_fail(1)) SWIG_fail;
5167 {
5168 arg2 = (int)(SWIG_As_int(obj1));
5169 if (SWIG_arg_fail(2)) SWIG_fail;
5170 }
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 (arg1)->SetHeight(arg2);
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 Py_INCREF(Py_None); resultobj = Py_None;
5179 return resultobj;
5180 fail:
5181 return NULL;
5182 }
5183
5184
5185 static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxRect *arg1 = (wxRect *) 0 ;
5188 wxPoint result;
5189 PyObject * obj0 = 0 ;
5190 char *kwnames[] = {
5191 (char *) "self", NULL
5192 };
5193
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
5195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5196 if (SWIG_arg_fail(1)) SWIG_fail;
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 result = ((wxRect const *)arg1)->GetPosition();
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 {
5205 wxPoint * resultptr;
5206 resultptr = new wxPoint((wxPoint &)(result));
5207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5208 }
5209 return resultobj;
5210 fail:
5211 return NULL;
5212 }
5213
5214
5215 static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxRect *arg1 = (wxRect *) 0 ;
5218 wxPoint *arg2 = 0 ;
5219 wxPoint temp2 ;
5220 PyObject * obj0 = 0 ;
5221 PyObject * obj1 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self",(char *) "p", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
5227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5228 if (SWIG_arg_fail(1)) SWIG_fail;
5229 {
5230 arg2 = &temp2;
5231 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5232 }
5233 {
5234 PyThreadState* __tstate = wxPyBeginAllowThreads();
5235 (arg1)->SetPosition((wxPoint const &)*arg2);
5236
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) SWIG_fail;
5239 }
5240 Py_INCREF(Py_None); resultobj = Py_None;
5241 return resultobj;
5242 fail:
5243 return NULL;
5244 }
5245
5246
5247 static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
5248 PyObject *resultobj;
5249 wxRect *arg1 = (wxRect *) 0 ;
5250 wxSize result;
5251 PyObject * obj0 = 0 ;
5252 char *kwnames[] = {
5253 (char *) "self", NULL
5254 };
5255
5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
5257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5258 if (SWIG_arg_fail(1)) SWIG_fail;
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 result = ((wxRect const *)arg1)->GetSize();
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 {
5267 wxSize * resultptr;
5268 resultptr = new wxSize((wxSize &)(result));
5269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5270 }
5271 return resultobj;
5272 fail:
5273 return NULL;
5274 }
5275
5276
5277 static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
5278 PyObject *resultobj;
5279 wxRect *arg1 = (wxRect *) 0 ;
5280 wxSize *arg2 = 0 ;
5281 wxSize temp2 ;
5282 PyObject * obj0 = 0 ;
5283 PyObject * obj1 = 0 ;
5284 char *kwnames[] = {
5285 (char *) "self",(char *) "s", NULL
5286 };
5287
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
5289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5290 if (SWIG_arg_fail(1)) SWIG_fail;
5291 {
5292 arg2 = &temp2;
5293 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5294 }
5295 {
5296 PyThreadState* __tstate = wxPyBeginAllowThreads();
5297 (arg1)->SetSize((wxSize const &)*arg2);
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 }
5302 Py_INCREF(Py_None); resultobj = Py_None;
5303 return resultobj;
5304 fail:
5305 return NULL;
5306 }
5307
5308
5309 static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
5310 PyObject *resultobj;
5311 wxRect *arg1 = (wxRect *) 0 ;
5312 bool result;
5313 PyObject * obj0 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_IsEmpty",kwnames,&obj0)) goto fail;
5319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5320 if (SWIG_arg_fail(1)) SWIG_fail;
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 result = (bool)((wxRect const *)arg1)->IsEmpty();
5324
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
5328 {
5329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5330 }
5331 return resultobj;
5332 fail:
5333 return NULL;
5334 }
5335
5336
5337 static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
5338 PyObject *resultobj;
5339 wxRect *arg1 = (wxRect *) 0 ;
5340 wxPoint result;
5341 PyObject * obj0 = 0 ;
5342 char *kwnames[] = {
5343 (char *) "self", NULL
5344 };
5345
5346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
5347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5348 if (SWIG_arg_fail(1)) SWIG_fail;
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 result = ((wxRect const *)arg1)->GetTopLeft();
5352
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 }
5356 {
5357 wxPoint * resultptr;
5358 resultptr = new wxPoint((wxPoint &)(result));
5359 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5360 }
5361 return resultobj;
5362 fail:
5363 return NULL;
5364 }
5365
5366
5367 static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj;
5369 wxRect *arg1 = (wxRect *) 0 ;
5370 wxPoint *arg2 = 0 ;
5371 wxPoint temp2 ;
5372 PyObject * obj0 = 0 ;
5373 PyObject * obj1 = 0 ;
5374 char *kwnames[] = {
5375 (char *) "self",(char *) "p", NULL
5376 };
5377
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
5379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5380 if (SWIG_arg_fail(1)) SWIG_fail;
5381 {
5382 arg2 = &temp2;
5383 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5384 }
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 (arg1)->SetTopLeft((wxPoint const &)*arg2);
5388
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 Py_INCREF(Py_None); resultobj = Py_None;
5393 return resultobj;
5394 fail:
5395 return NULL;
5396 }
5397
5398
5399 static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj;
5401 wxRect *arg1 = (wxRect *) 0 ;
5402 wxPoint result;
5403 PyObject * obj0 = 0 ;
5404 char *kwnames[] = {
5405 (char *) "self", NULL
5406 };
5407
5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
5409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5410 if (SWIG_arg_fail(1)) SWIG_fail;
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 result = ((wxRect const *)arg1)->GetBottomRight();
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 {
5419 wxPoint * resultptr;
5420 resultptr = new wxPoint((wxPoint &)(result));
5421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5422 }
5423 return resultobj;
5424 fail:
5425 return NULL;
5426 }
5427
5428
5429 static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
5430 PyObject *resultobj;
5431 wxRect *arg1 = (wxRect *) 0 ;
5432 wxPoint *arg2 = 0 ;
5433 wxPoint temp2 ;
5434 PyObject * obj0 = 0 ;
5435 PyObject * obj1 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self",(char *) "p", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
5441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5442 if (SWIG_arg_fail(1)) SWIG_fail;
5443 {
5444 arg2 = &temp2;
5445 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5446 }
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 (arg1)->SetBottomRight((wxPoint const &)*arg2);
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 Py_INCREF(Py_None); resultobj = Py_None;
5455 return resultobj;
5456 fail:
5457 return NULL;
5458 }
5459
5460
5461 static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
5462 PyObject *resultobj;
5463 wxRect *arg1 = (wxRect *) 0 ;
5464 int result;
5465 PyObject * obj0 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
5471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5472 if (SWIG_arg_fail(1)) SWIG_fail;
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 result = (int)((wxRect const *)arg1)->GetLeft();
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 {
5481 resultobj = SWIG_From_int((int)(result));
5482 }
5483 return resultobj;
5484 fail:
5485 return NULL;
5486 }
5487
5488
5489 static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj;
5491 wxRect *arg1 = (wxRect *) 0 ;
5492 int result;
5493 PyObject * obj0 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
5499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail;
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 result = (int)((wxRect const *)arg1)->GetTop();
5504
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 {
5509 resultobj = SWIG_From_int((int)(result));
5510 }
5511 return resultobj;
5512 fail:
5513 return NULL;
5514 }
5515
5516
5517 static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
5518 PyObject *resultobj;
5519 wxRect *arg1 = (wxRect *) 0 ;
5520 int result;
5521 PyObject * obj0 = 0 ;
5522 char *kwnames[] = {
5523 (char *) "self", NULL
5524 };
5525
5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
5527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5528 if (SWIG_arg_fail(1)) SWIG_fail;
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 result = (int)((wxRect const *)arg1)->GetBottom();
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 {
5537 resultobj = SWIG_From_int((int)(result));
5538 }
5539 return resultobj;
5540 fail:
5541 return NULL;
5542 }
5543
5544
5545 static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxRect *arg1 = (wxRect *) 0 ;
5548 int result;
5549 PyObject * obj0 = 0 ;
5550 char *kwnames[] = {
5551 (char *) "self", NULL
5552 };
5553
5554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
5555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5556 if (SWIG_arg_fail(1)) SWIG_fail;
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 result = (int)((wxRect const *)arg1)->GetRight();
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 {
5565 resultobj = SWIG_From_int((int)(result));
5566 }
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxRect *arg1 = (wxRect *) 0 ;
5576 int arg2 ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "self",(char *) "left", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
5584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5585 if (SWIG_arg_fail(1)) SWIG_fail;
5586 {
5587 arg2 = (int)(SWIG_As_int(obj1));
5588 if (SWIG_arg_fail(2)) SWIG_fail;
5589 }
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->SetLeft(arg2);
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601 }
5602
5603
5604 static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) {
5605 PyObject *resultobj;
5606 wxRect *arg1 = (wxRect *) 0 ;
5607 int arg2 ;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 char *kwnames[] = {
5611 (char *) "self",(char *) "right", NULL
5612 };
5613
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
5615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5616 if (SWIG_arg_fail(1)) SWIG_fail;
5617 {
5618 arg2 = (int)(SWIG_As_int(obj1));
5619 if (SWIG_arg_fail(2)) SWIG_fail;
5620 }
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 (arg1)->SetRight(arg2);
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 Py_INCREF(Py_None); resultobj = Py_None;
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxRect *arg1 = (wxRect *) 0 ;
5638 int arg2 ;
5639 PyObject * obj0 = 0 ;
5640 PyObject * obj1 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "self",(char *) "top", NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
5646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail;
5648 {
5649 arg2 = (int)(SWIG_As_int(obj1));
5650 if (SWIG_arg_fail(2)) SWIG_fail;
5651 }
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 (arg1)->SetTop(arg2);
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 Py_INCREF(Py_None); resultobj = Py_None;
5660 return resultobj;
5661 fail:
5662 return NULL;
5663 }
5664
5665
5666 static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj;
5668 wxRect *arg1 = (wxRect *) 0 ;
5669 int arg2 ;
5670 PyObject * obj0 = 0 ;
5671 PyObject * obj1 = 0 ;
5672 char *kwnames[] = {
5673 (char *) "self",(char *) "bottom", NULL
5674 };
5675
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
5677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5678 if (SWIG_arg_fail(1)) SWIG_fail;
5679 {
5680 arg2 = (int)(SWIG_As_int(obj1));
5681 if (SWIG_arg_fail(2)) SWIG_fail;
5682 }
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 (arg1)->SetBottom(arg2);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 Py_INCREF(Py_None); resultobj = Py_None;
5691 return resultobj;
5692 fail:
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxRect *arg1 = (wxRect *) 0 ;
5700 int arg2 ;
5701 int arg3 ;
5702 wxRect *result;
5703 PyObject * obj0 = 0 ;
5704 PyObject * obj1 = 0 ;
5705 PyObject * obj2 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "self",(char *) "dx",(char *) "dy", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
5711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5712 if (SWIG_arg_fail(1)) SWIG_fail;
5713 {
5714 arg2 = (int)(SWIG_As_int(obj1));
5715 if (SWIG_arg_fail(2)) SWIG_fail;
5716 }
5717 {
5718 arg3 = (int)(SWIG_As_int(obj2));
5719 if (SWIG_arg_fail(3)) SWIG_fail;
5720 }
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 {
5724 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
5725 result = (wxRect *) &_result_ref;
5726 }
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
5732 return resultobj;
5733 fail:
5734 return NULL;
5735 }
5736
5737
5738 static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) {
5739 PyObject *resultobj;
5740 wxRect *arg1 = (wxRect *) 0 ;
5741 int arg2 ;
5742 int arg3 ;
5743 wxRect *result;
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 PyObject * obj2 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self",(char *) "dx",(char *) "dy", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
5752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail;
5754 {
5755 arg2 = (int)(SWIG_As_int(obj1));
5756 if (SWIG_arg_fail(2)) SWIG_fail;
5757 }
5758 {
5759 arg3 = (int)(SWIG_As_int(obj2));
5760 if (SWIG_arg_fail(3)) SWIG_fail;
5761 }
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 {
5765 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
5766 result = (wxRect *) &_result_ref;
5767 }
5768
5769 wxPyEndAllowThreads(__tstate);
5770 if (PyErr_Occurred()) SWIG_fail;
5771 }
5772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
5773 return resultobj;
5774 fail:
5775 return NULL;
5776 }
5777
5778
5779 static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) {
5780 PyObject *resultobj;
5781 wxRect *arg1 = (wxRect *) 0 ;
5782 int arg2 ;
5783 int arg3 ;
5784 PyObject * obj0 = 0 ;
5785 PyObject * obj1 = 0 ;
5786 PyObject * obj2 = 0 ;
5787 char *kwnames[] = {
5788 (char *) "self",(char *) "dx",(char *) "dy", NULL
5789 };
5790
5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
5792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5793 if (SWIG_arg_fail(1)) SWIG_fail;
5794 {
5795 arg2 = (int)(SWIG_As_int(obj1));
5796 if (SWIG_arg_fail(2)) SWIG_fail;
5797 }
5798 {
5799 arg3 = (int)(SWIG_As_int(obj2));
5800 if (SWIG_arg_fail(3)) SWIG_fail;
5801 }
5802 {
5803 PyThreadState* __tstate = wxPyBeginAllowThreads();
5804 (arg1)->Offset(arg2,arg3);
5805
5806 wxPyEndAllowThreads(__tstate);
5807 if (PyErr_Occurred()) SWIG_fail;
5808 }
5809 Py_INCREF(Py_None); resultobj = Py_None;
5810 return resultobj;
5811 fail:
5812 return NULL;
5813 }
5814
5815
5816 static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
5817 PyObject *resultobj;
5818 wxRect *arg1 = (wxRect *) 0 ;
5819 wxPoint *arg2 = 0 ;
5820 wxPoint temp2 ;
5821 PyObject * obj0 = 0 ;
5822 PyObject * obj1 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self",(char *) "pt", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
5828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5829 if (SWIG_arg_fail(1)) SWIG_fail;
5830 {
5831 arg2 = &temp2;
5832 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5833 }
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 (arg1)->Offset((wxPoint const &)*arg2);
5837
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 Py_INCREF(Py_None); resultobj = Py_None;
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
5849 PyObject *resultobj;
5850 wxRect *arg1 = (wxRect *) 0 ;
5851 wxRect *arg2 = 0 ;
5852 wxRect result;
5853 wxRect temp2 ;
5854 PyObject * obj0 = 0 ;
5855 PyObject * obj1 = 0 ;
5856 char *kwnames[] = {
5857 (char *) "self",(char *) "rect", NULL
5858 };
5859
5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
5861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5862 if (SWIG_arg_fail(1)) SWIG_fail;
5863 {
5864 arg2 = &temp2;
5865 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5866 }
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (arg1)->Intersect((wxRect const &)*arg2);
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 {
5875 wxRect * resultptr;
5876 resultptr = new wxRect((wxRect &)(result));
5877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5878 }
5879 return resultobj;
5880 fail:
5881 return NULL;
5882 }
5883
5884
5885 static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) {
5886 PyObject *resultobj;
5887 wxRect *arg1 = (wxRect *) 0 ;
5888 wxRect *arg2 = 0 ;
5889 wxRect result;
5890 wxRect temp2 ;
5891 PyObject * obj0 = 0 ;
5892 PyObject * obj1 = 0 ;
5893 char *kwnames[] = {
5894 (char *) "self",(char *) "rect", NULL
5895 };
5896
5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Union",kwnames,&obj0,&obj1)) goto fail;
5898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5899 if (SWIG_arg_fail(1)) SWIG_fail;
5900 {
5901 arg2 = &temp2;
5902 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5903 }
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (arg1)->Union((wxRect const &)*arg2);
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 {
5912 wxRect * resultptr;
5913 resultptr = new wxRect((wxRect &)(result));
5914 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5915 }
5916 return resultobj;
5917 fail:
5918 return NULL;
5919 }
5920
5921
5922 static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj;
5924 wxRect *arg1 = (wxRect *) 0 ;
5925 wxRect *arg2 = 0 ;
5926 wxRect result;
5927 wxRect temp2 ;
5928 PyObject * obj0 = 0 ;
5929 PyObject * obj1 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self",(char *) "rect", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
5935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5936 if (SWIG_arg_fail(1)) SWIG_fail;
5937 {
5938 arg2 = &temp2;
5939 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5940 }
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
5944
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 {
5949 wxRect * resultptr;
5950 resultptr = new wxRect((wxRect &)(result));
5951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5952 }
5953 return resultobj;
5954 fail:
5955 return NULL;
5956 }
5957
5958
5959 static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
5960 PyObject *resultobj;
5961 wxRect *arg1 = (wxRect *) 0 ;
5962 wxRect *arg2 = 0 ;
5963 wxRect *result;
5964 wxRect temp2 ;
5965 PyObject * obj0 = 0 ;
5966 PyObject * obj1 = 0 ;
5967 char *kwnames[] = {
5968 (char *) "self",(char *) "rect", NULL
5969 };
5970
5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
5972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
5973 if (SWIG_arg_fail(1)) SWIG_fail;
5974 {
5975 arg2 = &temp2;
5976 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5977 }
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 {
5981 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
5982 result = (wxRect *) &_result_ref;
5983 }
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
5989 return resultobj;
5990 fail:
5991 return NULL;
5992 }
5993
5994
5995 static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj;
5997 wxRect *arg1 = (wxRect *) 0 ;
5998 wxRect *arg2 = 0 ;
5999 bool result;
6000 wxRect temp2 ;
6001 PyObject * obj0 = 0 ;
6002 PyObject * obj1 = 0 ;
6003 char *kwnames[] = {
6004 (char *) "self",(char *) "rect", NULL
6005 };
6006
6007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
6008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6009 if (SWIG_arg_fail(1)) SWIG_fail;
6010 {
6011 arg2 = &temp2;
6012 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6013 }
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 {
6022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6023 }
6024 return resultobj;
6025 fail:
6026 return NULL;
6027 }
6028
6029
6030 static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
6031 PyObject *resultobj;
6032 wxRect *arg1 = (wxRect *) 0 ;
6033 wxRect *arg2 = 0 ;
6034 bool result;
6035 wxRect temp2 ;
6036 PyObject * obj0 = 0 ;
6037 PyObject * obj1 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self",(char *) "rect", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
6043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6044 if (SWIG_arg_fail(1)) SWIG_fail;
6045 {
6046 arg2 = &temp2;
6047 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6048 }
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 {
6057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6058 }
6059 return resultobj;
6060 fail:
6061 return NULL;
6062 }
6063
6064
6065 static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj;
6067 wxRect *arg1 = (wxRect *) 0 ;
6068 int arg2 ;
6069 int arg3 ;
6070 bool result;
6071 PyObject * obj0 = 0 ;
6072 PyObject * obj1 = 0 ;
6073 PyObject * obj2 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "x",(char *) "y", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6080 if (SWIG_arg_fail(1)) SWIG_fail;
6081 {
6082 arg2 = (int)(SWIG_As_int(obj1));
6083 if (SWIG_arg_fail(2)) SWIG_fail;
6084 }
6085 {
6086 arg3 = (int)(SWIG_As_int(obj2));
6087 if (SWIG_arg_fail(3)) SWIG_fail;
6088 }
6089 {
6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6091 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
6092
6093 wxPyEndAllowThreads(__tstate);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 }
6096 {
6097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6098 }
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxRect *arg1 = (wxRect *) 0 ;
6108 wxPoint *arg2 = 0 ;
6109 bool result;
6110 wxPoint temp2 ;
6111 PyObject * obj0 = 0 ;
6112 PyObject * obj1 = 0 ;
6113 char *kwnames[] = {
6114 (char *) "self",(char *) "pt", NULL
6115 };
6116
6117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
6118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6119 if (SWIG_arg_fail(1)) SWIG_fail;
6120 {
6121 arg2 = &temp2;
6122 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6123 }
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 {
6132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6133 }
6134 return resultobj;
6135 fail:
6136 return NULL;
6137 }
6138
6139
6140 static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
6141 PyObject *resultobj;
6142 wxRect *arg1 = (wxRect *) 0 ;
6143 wxRect *arg2 = 0 ;
6144 bool result;
6145 wxRect temp2 ;
6146 PyObject * obj0 = 0 ;
6147 PyObject * obj1 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "self",(char *) "rect", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
6153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6154 if (SWIG_arg_fail(1)) SWIG_fail;
6155 {
6156 arg2 = &temp2;
6157 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6158 }
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
6162
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 }
6166 {
6167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6168 }
6169 return resultobj;
6170 fail:
6171 return NULL;
6172 }
6173
6174
6175 static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj;
6177 wxRect *arg1 = (wxRect *) 0 ;
6178 int arg2 ;
6179 PyObject * obj0 = 0 ;
6180 PyObject * obj1 = 0 ;
6181 char *kwnames[] = {
6182 (char *) "self",(char *) "x", NULL
6183 };
6184
6185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
6186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6187 if (SWIG_arg_fail(1)) SWIG_fail;
6188 {
6189 arg2 = (int)(SWIG_As_int(obj1));
6190 if (SWIG_arg_fail(2)) SWIG_fail;
6191 }
6192 if (arg1) (arg1)->x = arg2;
6193
6194 Py_INCREF(Py_None); resultobj = Py_None;
6195 return resultobj;
6196 fail:
6197 return NULL;
6198 }
6199
6200
6201 static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
6202 PyObject *resultobj;
6203 wxRect *arg1 = (wxRect *) 0 ;
6204 int result;
6205 PyObject * obj0 = 0 ;
6206 char *kwnames[] = {
6207 (char *) "self", NULL
6208 };
6209
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
6211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6212 if (SWIG_arg_fail(1)) SWIG_fail;
6213 result = (int) ((arg1)->x);
6214
6215 {
6216 resultobj = SWIG_From_int((int)(result));
6217 }
6218 return resultobj;
6219 fail:
6220 return NULL;
6221 }
6222
6223
6224 static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
6225 PyObject *resultobj;
6226 wxRect *arg1 = (wxRect *) 0 ;
6227 int arg2 ;
6228 PyObject * obj0 = 0 ;
6229 PyObject * obj1 = 0 ;
6230 char *kwnames[] = {
6231 (char *) "self",(char *) "y", NULL
6232 };
6233
6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
6235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6236 if (SWIG_arg_fail(1)) SWIG_fail;
6237 {
6238 arg2 = (int)(SWIG_As_int(obj1));
6239 if (SWIG_arg_fail(2)) SWIG_fail;
6240 }
6241 if (arg1) (arg1)->y = arg2;
6242
6243 Py_INCREF(Py_None); resultobj = Py_None;
6244 return resultobj;
6245 fail:
6246 return NULL;
6247 }
6248
6249
6250 static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj;
6252 wxRect *arg1 = (wxRect *) 0 ;
6253 int result;
6254 PyObject * obj0 = 0 ;
6255 char *kwnames[] = {
6256 (char *) "self", NULL
6257 };
6258
6259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
6260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6261 if (SWIG_arg_fail(1)) SWIG_fail;
6262 result = (int) ((arg1)->y);
6263
6264 {
6265 resultobj = SWIG_From_int((int)(result));
6266 }
6267 return resultobj;
6268 fail:
6269 return NULL;
6270 }
6271
6272
6273 static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
6274 PyObject *resultobj;
6275 wxRect *arg1 = (wxRect *) 0 ;
6276 int arg2 ;
6277 PyObject * obj0 = 0 ;
6278 PyObject * obj1 = 0 ;
6279 char *kwnames[] = {
6280 (char *) "self",(char *) "width", NULL
6281 };
6282
6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
6284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6285 if (SWIG_arg_fail(1)) SWIG_fail;
6286 {
6287 arg2 = (int)(SWIG_As_int(obj1));
6288 if (SWIG_arg_fail(2)) SWIG_fail;
6289 }
6290 if (arg1) (arg1)->width = arg2;
6291
6292 Py_INCREF(Py_None); resultobj = Py_None;
6293 return resultobj;
6294 fail:
6295 return NULL;
6296 }
6297
6298
6299 static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
6300 PyObject *resultobj;
6301 wxRect *arg1 = (wxRect *) 0 ;
6302 int result;
6303 PyObject * obj0 = 0 ;
6304 char *kwnames[] = {
6305 (char *) "self", NULL
6306 };
6307
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
6309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6310 if (SWIG_arg_fail(1)) SWIG_fail;
6311 result = (int) ((arg1)->width);
6312
6313 {
6314 resultobj = SWIG_From_int((int)(result));
6315 }
6316 return resultobj;
6317 fail:
6318 return NULL;
6319 }
6320
6321
6322 static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj;
6324 wxRect *arg1 = (wxRect *) 0 ;
6325 int arg2 ;
6326 PyObject * obj0 = 0 ;
6327 PyObject * obj1 = 0 ;
6328 char *kwnames[] = {
6329 (char *) "self",(char *) "height", NULL
6330 };
6331
6332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
6333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6334 if (SWIG_arg_fail(1)) SWIG_fail;
6335 {
6336 arg2 = (int)(SWIG_As_int(obj1));
6337 if (SWIG_arg_fail(2)) SWIG_fail;
6338 }
6339 if (arg1) (arg1)->height = arg2;
6340
6341 Py_INCREF(Py_None); resultobj = Py_None;
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxRect *arg1 = (wxRect *) 0 ;
6351 int result;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
6358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6359 if (SWIG_arg_fail(1)) SWIG_fail;
6360 result = (int) ((arg1)->height);
6361
6362 {
6363 resultobj = SWIG_From_int((int)(result));
6364 }
6365 return resultobj;
6366 fail:
6367 return NULL;
6368 }
6369
6370
6371 static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 wxRect *arg1 = (wxRect *) 0 ;
6374 int arg2 = (int) 0 ;
6375 int arg3 = (int) 0 ;
6376 int arg4 = (int) 0 ;
6377 int arg5 = (int) 0 ;
6378 PyObject * obj0 = 0 ;
6379 PyObject * obj1 = 0 ;
6380 PyObject * obj2 = 0 ;
6381 PyObject * obj3 = 0 ;
6382 PyObject * obj4 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail;
6390 if (obj1) {
6391 {
6392 arg2 = (int)(SWIG_As_int(obj1));
6393 if (SWIG_arg_fail(2)) SWIG_fail;
6394 }
6395 }
6396 if (obj2) {
6397 {
6398 arg3 = (int)(SWIG_As_int(obj2));
6399 if (SWIG_arg_fail(3)) SWIG_fail;
6400 }
6401 }
6402 if (obj3) {
6403 {
6404 arg4 = (int)(SWIG_As_int(obj3));
6405 if (SWIG_arg_fail(4)) SWIG_fail;
6406 }
6407 }
6408 if (obj4) {
6409 {
6410 arg5 = (int)(SWIG_As_int(obj4));
6411 if (SWIG_arg_fail(5)) SWIG_fail;
6412 }
6413 }
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
6417
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 Py_INCREF(Py_None); resultobj = Py_None;
6422 return resultobj;
6423 fail:
6424 return NULL;
6425 }
6426
6427
6428 static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) {
6429 PyObject *resultobj;
6430 wxRect *arg1 = (wxRect *) 0 ;
6431 PyObject *result;
6432 PyObject * obj0 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "self", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
6438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6439 if (SWIG_arg_fail(1)) SWIG_fail;
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = (PyObject *)wxRect_Get(arg1);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 resultobj = result;
6448 return resultobj;
6449 fail:
6450 return NULL;
6451 }
6452
6453
6454 static PyObject * Rect_swigregister(PyObject *, PyObject *args) {
6455 PyObject *obj;
6456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6457 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
6458 Py_INCREF(obj);
6459 return Py_BuildValue((char *)"");
6460 }
6461 static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
6462 PyObject *resultobj;
6463 wxRect *arg1 = (wxRect *) 0 ;
6464 wxRect *arg2 = (wxRect *) 0 ;
6465 PyObject *result;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "r1",(char *) "r2", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
6473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6474 if (SWIG_arg_fail(1)) SWIG_fail;
6475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6476 if (SWIG_arg_fail(2)) SWIG_fail;
6477 {
6478 if (!wxPyCheckForApp()) SWIG_fail;
6479 PyThreadState* __tstate = wxPyBeginAllowThreads();
6480 result = (PyObject *)wxIntersectRect(arg1,arg2);
6481
6482 wxPyEndAllowThreads(__tstate);
6483 if (PyErr_Occurred()) SWIG_fail;
6484 }
6485 resultobj = result;
6486 return resultobj;
6487 fail:
6488 return NULL;
6489 }
6490
6491
6492 static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) {
6493 PyObject *resultobj;
6494 double arg1 = (double) 0.0 ;
6495 double arg2 = (double) 0.0 ;
6496 wxPoint2D *result;
6497 PyObject * obj0 = 0 ;
6498 PyObject * obj1 = 0 ;
6499 char *kwnames[] = {
6500 (char *) "x",(char *) "y", NULL
6501 };
6502
6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
6504 if (obj0) {
6505 {
6506 arg1 = (double)(SWIG_As_double(obj0));
6507 if (SWIG_arg_fail(1)) SWIG_fail;
6508 }
6509 }
6510 if (obj1) {
6511 {
6512 arg2 = (double)(SWIG_As_double(obj1));
6513 if (SWIG_arg_fail(2)) SWIG_fail;
6514 }
6515 }
6516 {
6517 PyThreadState* __tstate = wxPyBeginAllowThreads();
6518 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
6519
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj;
6532 wxPoint2D *arg1 = 0 ;
6533 wxPoint2D *result;
6534 wxPoint2D temp1 ;
6535 PyObject * obj0 = 0 ;
6536 char *kwnames[] = {
6537 (char *) "pt", NULL
6538 };
6539
6540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
6541 {
6542 arg1 = &temp1;
6543 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
6544 }
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
6553 return resultobj;
6554 fail:
6555 return NULL;
6556 }
6557
6558
6559 static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxPoint *arg1 = 0 ;
6562 wxPoint2D *result;
6563 wxPoint temp1 ;
6564 PyObject * obj0 = 0 ;
6565 char *kwnames[] = {
6566 (char *) "pt", NULL
6567 };
6568
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
6570 {
6571 arg1 = &temp1;
6572 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
6573 }
6574 {
6575 PyThreadState* __tstate = wxPyBeginAllowThreads();
6576 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
6577
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
6581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
6582 return resultobj;
6583 fail:
6584 return NULL;
6585 }
6586
6587
6588 static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) {
6589 PyObject *resultobj;
6590 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6591 int *arg2 = (int *) 0 ;
6592 int *arg3 = (int *) 0 ;
6593 int temp2 ;
6594 int res2 = 0 ;
6595 int temp3 ;
6596 int res3 = 0 ;
6597 PyObject * obj0 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self", NULL
6600 };
6601
6602 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6603 arg3 = &temp3; res3 = SWIG_NEWOBJ;
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
6605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6606 if (SWIG_arg_fail(1)) SWIG_fail;
6607 {
6608 PyThreadState* __tstate = wxPyBeginAllowThreads();
6609 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
6610
6611 wxPyEndAllowThreads(__tstate);
6612 if (PyErr_Occurred()) SWIG_fail;
6613 }
6614 Py_INCREF(Py_None); resultobj = Py_None;
6615 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6616 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6617 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6618 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6628 int *arg2 = (int *) 0 ;
6629 int *arg3 = (int *) 0 ;
6630 int temp2 ;
6631 int res2 = 0 ;
6632 int temp3 ;
6633 int res3 = 0 ;
6634 PyObject * obj0 = 0 ;
6635 char *kwnames[] = {
6636 (char *) "self", NULL
6637 };
6638
6639 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6640 arg3 = &temp3; res3 = SWIG_NEWOBJ;
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
6642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6643 if (SWIG_arg_fail(1)) SWIG_fail;
6644 {
6645 PyThreadState* __tstate = wxPyBeginAllowThreads();
6646 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
6647
6648 wxPyEndAllowThreads(__tstate);
6649 if (PyErr_Occurred()) SWIG_fail;
6650 }
6651 Py_INCREF(Py_None); resultobj = Py_None;
6652 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6653 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6654 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6655 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
6656 return resultobj;
6657 fail:
6658 return NULL;
6659 }
6660
6661
6662 static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6665 double result;
6666 PyObject * obj0 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
6672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6673 if (SWIG_arg_fail(1)) SWIG_fail;
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 {
6682 resultobj = SWIG_From_double((double)(result));
6683 }
6684 return resultobj;
6685 fail:
6686 return NULL;
6687 }
6688
6689
6690 static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
6691 PyObject *resultobj;
6692 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6693 double result;
6694 PyObject * obj0 = 0 ;
6695 char *kwnames[] = {
6696 (char *) "self", NULL
6697 };
6698
6699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
6700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6701 if (SWIG_arg_fail(1)) SWIG_fail;
6702 {
6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
6704 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
6705
6706 wxPyEndAllowThreads(__tstate);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 }
6709 {
6710 resultobj = SWIG_From_double((double)(result));
6711 }
6712 return resultobj;
6713 fail:
6714 return NULL;
6715 }
6716
6717
6718 static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
6719 PyObject *resultobj;
6720 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6721 double arg2 ;
6722 PyObject * obj0 = 0 ;
6723 PyObject * obj1 = 0 ;
6724 char *kwnames[] = {
6725 (char *) "self",(char *) "length", NULL
6726 };
6727
6728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
6729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6730 if (SWIG_arg_fail(1)) SWIG_fail;
6731 {
6732 arg2 = (double)(SWIG_As_double(obj1));
6733 if (SWIG_arg_fail(2)) SWIG_fail;
6734 }
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 (arg1)->SetVectorLength(arg2);
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 Py_INCREF(Py_None); resultobj = Py_None;
6743 return resultobj;
6744 fail:
6745 return NULL;
6746 }
6747
6748
6749 static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj;
6751 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6752 double arg2 ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "self",(char *) "degrees", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
6760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6761 if (SWIG_arg_fail(1)) SWIG_fail;
6762 {
6763 arg2 = (double)(SWIG_As_double(obj1));
6764 if (SWIG_arg_fail(2)) SWIG_fail;
6765 }
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 (arg1)->SetVectorAngle(arg2);
6769
6770 wxPyEndAllowThreads(__tstate);
6771 if (PyErr_Occurred()) SWIG_fail;
6772 }
6773 Py_INCREF(Py_None); resultobj = Py_None;
6774 return resultobj;
6775 fail:
6776 return NULL;
6777 }
6778
6779
6780 static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) {
6781 PyObject *resultobj;
6782 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6783 wxPoint2D *arg2 = 0 ;
6784 double result;
6785 wxPoint2D temp2 ;
6786 PyObject * obj0 = 0 ;
6787 PyObject * obj1 = 0 ;
6788 char *kwnames[] = {
6789 (char *) "self",(char *) "pt", NULL
6790 };
6791
6792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
6793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6794 if (SWIG_arg_fail(1)) SWIG_fail;
6795 {
6796 arg2 = &temp2;
6797 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6798 }
6799 {
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
6802
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 {
6807 resultobj = SWIG_From_double((double)(result));
6808 }
6809 return resultobj;
6810 fail:
6811 return NULL;
6812 }
6813
6814
6815 static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) {
6816 PyObject *resultobj;
6817 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6818 wxPoint2D *arg2 = 0 ;
6819 double result;
6820 wxPoint2D temp2 ;
6821 PyObject * obj0 = 0 ;
6822 PyObject * obj1 = 0 ;
6823 char *kwnames[] = {
6824 (char *) "self",(char *) "pt", NULL
6825 };
6826
6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
6828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6829 if (SWIG_arg_fail(1)) SWIG_fail;
6830 {
6831 arg2 = &temp2;
6832 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6833 }
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 {
6842 resultobj = SWIG_From_double((double)(result));
6843 }
6844 return resultobj;
6845 fail:
6846 return NULL;
6847 }
6848
6849
6850 static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) {
6851 PyObject *resultobj;
6852 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6853 wxPoint2D *arg2 = 0 ;
6854 double result;
6855 wxPoint2D temp2 ;
6856 PyObject * obj0 = 0 ;
6857 PyObject * obj1 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self",(char *) "vec", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
6863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail;
6865 {
6866 arg2 = &temp2;
6867 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6868 }
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
6872
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 {
6877 resultobj = SWIG_From_double((double)(result));
6878 }
6879 return resultobj;
6880 fail:
6881 return NULL;
6882 }
6883
6884
6885 static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj;
6887 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6888 wxPoint2D *arg2 = 0 ;
6889 double result;
6890 wxPoint2D temp2 ;
6891 PyObject * obj0 = 0 ;
6892 PyObject * obj1 = 0 ;
6893 char *kwnames[] = {
6894 (char *) "self",(char *) "vec", NULL
6895 };
6896
6897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
6898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6899 if (SWIG_arg_fail(1)) SWIG_fail;
6900 {
6901 arg2 = &temp2;
6902 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6903 }
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 {
6912 resultobj = SWIG_From_double((double)(result));
6913 }
6914 return resultobj;
6915 fail:
6916 return NULL;
6917 }
6918
6919
6920 static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj;
6922 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6923 wxPoint2D result;
6924 PyObject * obj0 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
6930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail;
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 result = (arg1)->operator -();
6935
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 {
6940 wxPoint2D * resultptr;
6941 resultptr = new wxPoint2D((wxPoint2D &)(result));
6942 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
6943 }
6944 return resultobj;
6945 fail:
6946 return NULL;
6947 }
6948
6949
6950 static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj;
6952 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6953 wxPoint2D *arg2 = 0 ;
6954 wxPoint2D *result;
6955 wxPoint2D temp2 ;
6956 PyObject * obj0 = 0 ;
6957 PyObject * obj1 = 0 ;
6958 char *kwnames[] = {
6959 (char *) "self",(char *) "pt", NULL
6960 };
6961
6962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
6963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
6964 if (SWIG_arg_fail(1)) SWIG_fail;
6965 {
6966 arg2 = &temp2;
6967 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6968 }
6969 {
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 {
6972 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
6973 result = (wxPoint2D *) &_result_ref;
6974 }
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6989 wxPoint2D *arg2 = 0 ;
6990 wxPoint2D *result;
6991 wxPoint2D temp2 ;
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "pt", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
6999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
7000 if (SWIG_arg_fail(1)) SWIG_fail;
7001 {
7002 arg2 = &temp2;
7003 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7004 }
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 {
7008 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
7009 result = (wxPoint2D *) &_result_ref;
7010 }
7011
7012 wxPyEndAllowThreads(__tstate);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 }
7015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
7016 return resultobj;
7017 fail:
7018 return NULL;
7019 }
7020
7021
7022 static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj;
7024 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7025 wxPoint2D *arg2 = 0 ;
7026 wxPoint2D *result;
7027 wxPoint2D temp2 ;
7028 PyObject * obj0 = 0 ;
7029 PyObject * obj1 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self",(char *) "pt", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
7035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
7036 if (SWIG_arg_fail(1)) SWIG_fail;
7037 {
7038 arg2 = &temp2;
7039 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7040 }
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 {
7044 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
7045 result = (wxPoint2D *) &_result_ref;
7046 }
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
7052 return resultobj;
7053 fail:
7054 return NULL;
7055 }
7056
7057
7058 static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj;
7060 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7061 wxPoint2D *arg2 = 0 ;
7062 wxPoint2D *result;
7063 wxPoint2D temp2 ;
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "self",(char *) "pt", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
7071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
7072 if (SWIG_arg_fail(1)) SWIG_fail;
7073 {
7074 arg2 = &temp2;
7075 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7076 }
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 {
7080 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
7081 result = (wxPoint2D *) &_result_ref;
7082 }
7083
7084 wxPyEndAllowThreads(__tstate);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 }
7087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
7088 return resultobj;
7089 fail:
7090 return NULL;
7091 }
7092
7093
7094 static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7095 PyObject *resultobj;
7096 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7097 wxPoint2D *arg2 = 0 ;
7098 bool result;
7099 wxPoint2D temp2 ;
7100 PyObject * obj0 = 0 ;
7101 PyObject * obj1 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self",(char *) "pt", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
7107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7108 if (SWIG_arg_fail(1)) SWIG_fail;
7109 {
7110 arg2 = &temp2;
7111 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7112 }
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 {
7121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7122 }
7123 return resultobj;
7124 fail:
7125 return NULL;
7126 }
7127
7128
7129 static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7132 wxPoint2D *arg2 = 0 ;
7133 bool result;
7134 wxPoint2D temp2 ;
7135 PyObject * obj0 = 0 ;
7136 PyObject * obj1 = 0 ;
7137 char *kwnames[] = {
7138 (char *) "self",(char *) "pt", NULL
7139 };
7140
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
7142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7143 if (SWIG_arg_fail(1)) SWIG_fail;
7144 {
7145 arg2 = &temp2;
7146 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7147 }
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 {
7156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7157 }
7158 return resultobj;
7159 fail:
7160 return NULL;
7161 }
7162
7163
7164 static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj;
7166 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7167 double arg2 ;
7168 PyObject * obj0 = 0 ;
7169 PyObject * obj1 = 0 ;
7170 char *kwnames[] = {
7171 (char *) "self",(char *) "m_x", NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
7175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7176 if (SWIG_arg_fail(1)) SWIG_fail;
7177 {
7178 arg2 = (double)(SWIG_As_double(obj1));
7179 if (SWIG_arg_fail(2)) SWIG_fail;
7180 }
7181 if (arg1) (arg1)->m_x = arg2;
7182
7183 Py_INCREF(Py_None); resultobj = Py_None;
7184 return resultobj;
7185 fail:
7186 return NULL;
7187 }
7188
7189
7190 static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7193 double result;
7194 PyObject * obj0 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
7200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7201 if (SWIG_arg_fail(1)) SWIG_fail;
7202 result = (double) ((arg1)->m_x);
7203
7204 {
7205 resultobj = SWIG_From_double((double)(result));
7206 }
7207 return resultobj;
7208 fail:
7209 return NULL;
7210 }
7211
7212
7213 static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
7214 PyObject *resultobj;
7215 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7216 double arg2 ;
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 char *kwnames[] = {
7220 (char *) "self",(char *) "m_y", NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
7224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7225 if (SWIG_arg_fail(1)) SWIG_fail;
7226 {
7227 arg2 = (double)(SWIG_As_double(obj1));
7228 if (SWIG_arg_fail(2)) SWIG_fail;
7229 }
7230 if (arg1) (arg1)->m_y = arg2;
7231
7232 Py_INCREF(Py_None); resultobj = Py_None;
7233 return resultobj;
7234 fail:
7235 return NULL;
7236 }
7237
7238
7239 static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj;
7241 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7242 double result;
7243 PyObject * obj0 = 0 ;
7244 char *kwnames[] = {
7245 (char *) "self", NULL
7246 };
7247
7248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
7249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7250 if (SWIG_arg_fail(1)) SWIG_fail;
7251 result = (double) ((arg1)->m_y);
7252
7253 {
7254 resultobj = SWIG_From_double((double)(result));
7255 }
7256 return resultobj;
7257 fail:
7258 return NULL;
7259 }
7260
7261
7262 static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7263 PyObject *resultobj;
7264 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7265 double arg2 = (double) 0 ;
7266 double arg3 = (double) 0 ;
7267 PyObject * obj0 = 0 ;
7268 PyObject * obj1 = 0 ;
7269 PyObject * obj2 = 0 ;
7270 char *kwnames[] = {
7271 (char *) "self",(char *) "x",(char *) "y", NULL
7272 };
7273
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
7275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7276 if (SWIG_arg_fail(1)) SWIG_fail;
7277 if (obj1) {
7278 {
7279 arg2 = (double)(SWIG_As_double(obj1));
7280 if (SWIG_arg_fail(2)) SWIG_fail;
7281 }
7282 }
7283 if (obj2) {
7284 {
7285 arg3 = (double)(SWIG_As_double(obj2));
7286 if (SWIG_arg_fail(3)) SWIG_fail;
7287 }
7288 }
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 wxPoint2D_Set(arg1,arg2,arg3);
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 Py_INCREF(Py_None); resultobj = Py_None;
7297 return resultobj;
7298 fail:
7299 return NULL;
7300 }
7301
7302
7303 static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7304 PyObject *resultobj;
7305 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7306 PyObject *result;
7307 PyObject * obj0 = 0 ;
7308 char *kwnames[] = {
7309 (char *) "self", NULL
7310 };
7311
7312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
7313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail;
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (PyObject *)wxPoint2D_Get(arg1);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 resultobj = result;
7323 return resultobj;
7324 fail:
7325 return NULL;
7326 }
7327
7328
7329 static PyObject * Point2D_swigregister(PyObject *, PyObject *args) {
7330 PyObject *obj;
7331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7332 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
7333 Py_INCREF(obj);
7334 return Py_BuildValue((char *)"");
7335 }
7336 static int _wrap_DefaultPosition_set(PyObject *) {
7337 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
7338 return 1;
7339 }
7340
7341
7342 static PyObject *_wrap_DefaultPosition_get(void) {
7343 PyObject *pyobj;
7344
7345 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
7346 return pyobj;
7347 }
7348
7349
7350 static int _wrap_DefaultSize_set(PyObject *) {
7351 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
7352 return 1;
7353 }
7354
7355
7356 static PyObject *_wrap_DefaultSize_get(void) {
7357 PyObject *pyobj;
7358
7359 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
7360 return pyobj;
7361 }
7362
7363
7364 static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj;
7366 PyObject *arg1 = (PyObject *) 0 ;
7367 wxPyInputStream *result;
7368 PyObject * obj0 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "p", NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
7374 arg1 = obj0;
7375 {
7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
7377 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
7378
7379 wxPyEndAllowThreads(__tstate);
7380 if (PyErr_Occurred()) SWIG_fail;
7381 }
7382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
7383 return resultobj;
7384 fail:
7385 return NULL;
7386 }
7387
7388
7389 static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
7390 PyObject *resultobj;
7391 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7392 PyObject * obj0 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_InputStream",kwnames,&obj0)) goto fail;
7398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7399 if (SWIG_arg_fail(1)) SWIG_fail;
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 delete arg1;
7403
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 Py_INCREF(Py_None); resultobj = Py_None;
7408 return resultobj;
7409 fail:
7410 return NULL;
7411 }
7412
7413
7414 static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj;
7416 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7417 PyObject * obj0 = 0 ;
7418 char *kwnames[] = {
7419 (char *) "self", NULL
7420 };
7421
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
7423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7424 if (SWIG_arg_fail(1)) SWIG_fail;
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 (arg1)->close();
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 Py_INCREF(Py_None); resultobj = Py_None;
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7442 PyObject * obj0 = 0 ;
7443 char *kwnames[] = {
7444 (char *) "self", NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
7448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7449 if (SWIG_arg_fail(1)) SWIG_fail;
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 (arg1)->flush();
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
7457 Py_INCREF(Py_None); resultobj = Py_None;
7458 return resultobj;
7459 fail:
7460 return NULL;
7461 }
7462
7463
7464 static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) {
7465 PyObject *resultobj;
7466 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7467 bool result;
7468 PyObject * obj0 = 0 ;
7469 char *kwnames[] = {
7470 (char *) "self", NULL
7471 };
7472
7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
7474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7475 if (SWIG_arg_fail(1)) SWIG_fail;
7476 {
7477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7478 result = (bool)(arg1)->eof();
7479
7480 wxPyEndAllowThreads(__tstate);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
7483 {
7484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7485 }
7486 return resultobj;
7487 fail:
7488 return NULL;
7489 }
7490
7491
7492 static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) {
7493 PyObject *resultobj;
7494 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7495 int arg2 = (int) -1 ;
7496 PyObject *result;
7497 PyObject * obj0 = 0 ;
7498 PyObject * obj1 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "self",(char *) "size", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
7504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7505 if (SWIG_arg_fail(1)) SWIG_fail;
7506 if (obj1) {
7507 {
7508 arg2 = (int)(SWIG_As_int(obj1));
7509 if (SWIG_arg_fail(2)) SWIG_fail;
7510 }
7511 }
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 result = (PyObject *)(arg1)->read(arg2);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 resultobj = result;
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7529 int arg2 = (int) -1 ;
7530 PyObject *result;
7531 PyObject * obj0 = 0 ;
7532 PyObject * obj1 = 0 ;
7533 char *kwnames[] = {
7534 (char *) "self",(char *) "size", NULL
7535 };
7536
7537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
7538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7539 if (SWIG_arg_fail(1)) SWIG_fail;
7540 if (obj1) {
7541 {
7542 arg2 = (int)(SWIG_As_int(obj1));
7543 if (SWIG_arg_fail(2)) SWIG_fail;
7544 }
7545 }
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 result = (PyObject *)(arg1)->readline(arg2);
7549
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 resultobj = result;
7554 return resultobj;
7555 fail:
7556 return NULL;
7557 }
7558
7559
7560 static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj;
7562 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7563 int arg2 = (int) -1 ;
7564 PyObject *result;
7565 PyObject * obj0 = 0 ;
7566 PyObject * obj1 = 0 ;
7567 char *kwnames[] = {
7568 (char *) "self",(char *) "sizehint", NULL
7569 };
7570
7571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
7572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7573 if (SWIG_arg_fail(1)) SWIG_fail;
7574 if (obj1) {
7575 {
7576 arg2 = (int)(SWIG_As_int(obj1));
7577 if (SWIG_arg_fail(2)) SWIG_fail;
7578 }
7579 }
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 result = (PyObject *)(arg1)->readlines(arg2);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 resultobj = result;
7588 return resultobj;
7589 fail:
7590 return NULL;
7591 }
7592
7593
7594 static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7597 int arg2 ;
7598 int arg3 = (int) 0 ;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 PyObject * obj2 = 0 ;
7602 char *kwnames[] = {
7603 (char *) "self",(char *) "offset",(char *) "whence", NULL
7604 };
7605
7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
7607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7608 if (SWIG_arg_fail(1)) SWIG_fail;
7609 {
7610 arg2 = (int)(SWIG_As_int(obj1));
7611 if (SWIG_arg_fail(2)) SWIG_fail;
7612 }
7613 if (obj2) {
7614 {
7615 arg3 = (int)(SWIG_As_int(obj2));
7616 if (SWIG_arg_fail(3)) SWIG_fail;
7617 }
7618 }
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 (arg1)->seek(arg2,arg3);
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 Py_INCREF(Py_None); resultobj = Py_None;
7627 return resultobj;
7628 fail:
7629 return NULL;
7630 }
7631
7632
7633 static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) {
7634 PyObject *resultobj;
7635 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7636 int result;
7637 PyObject * obj0 = 0 ;
7638 char *kwnames[] = {
7639 (char *) "self", NULL
7640 };
7641
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
7643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7644 if (SWIG_arg_fail(1)) SWIG_fail;
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 result = (int)(arg1)->tell();
7648
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 {
7653 resultobj = SWIG_From_int((int)(result));
7654 }
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7664 char result;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
7671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7672 if (SWIG_arg_fail(1)) SWIG_fail;
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (char)(arg1)->Peek();
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 {
7681 resultobj = SWIG_From_char((char)(result));
7682 }
7683 return resultobj;
7684 fail:
7685 return NULL;
7686 }
7687
7688
7689 static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) {
7690 PyObject *resultobj;
7691 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7692 char result;
7693 PyObject * obj0 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "self", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
7699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7700 if (SWIG_arg_fail(1)) SWIG_fail;
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 result = (char)(arg1)->GetC();
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 {
7709 resultobj = SWIG_From_char((char)(result));
7710 }
7711 return resultobj;
7712 fail:
7713 return NULL;
7714 }
7715
7716
7717 static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj;
7719 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7720 size_t result;
7721 PyObject * obj0 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "self", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
7727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 result = (size_t)(arg1)->LastRead();
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 {
7737 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
7738 }
7739 return resultobj;
7740 fail:
7741 return NULL;
7742 }
7743
7744
7745 static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
7746 PyObject *resultobj;
7747 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7748 bool result;
7749 PyObject * obj0 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
7755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7756 if (SWIG_arg_fail(1)) SWIG_fail;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 result = (bool)(arg1)->CanRead();
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 {
7765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7766 }
7767 return resultobj;
7768 fail:
7769 return NULL;
7770 }
7771
7772
7773 static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj;
7775 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7776 bool result;
7777 PyObject * obj0 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
7783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail;
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 result = (bool)(arg1)->Eof();
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 {
7793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7794 }
7795 return resultobj;
7796 fail:
7797 return NULL;
7798 }
7799
7800
7801 static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) {
7802 PyObject *resultobj;
7803 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7804 char arg2 ;
7805 bool result;
7806 PyObject * obj0 = 0 ;
7807 PyObject * obj1 = 0 ;
7808 char *kwnames[] = {
7809 (char *) "self",(char *) "c", NULL
7810 };
7811
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
7813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail;
7815 {
7816 arg2 = (char)(SWIG_As_char(obj1));
7817 if (SWIG_arg_fail(2)) SWIG_fail;
7818 }
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 result = (bool)(arg1)->Ungetch(arg2);
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 {
7827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7828 }
7829 return resultobj;
7830 fail:
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7838 long arg2 ;
7839 wxSeekMode arg3 = (wxSeekMode) wxFromStart ;
7840 long result;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj1 = 0 ;
7843 PyObject * obj2 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self",(char *) "pos",(char *) "mode", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
7849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7850 if (SWIG_arg_fail(1)) SWIG_fail;
7851 {
7852 arg2 = (long)(SWIG_As_long(obj1));
7853 if (SWIG_arg_fail(2)) SWIG_fail;
7854 }
7855 if (obj2) {
7856 {
7857 arg3 = (wxSeekMode)(SWIG_As_int(obj2));
7858 if (SWIG_arg_fail(3)) SWIG_fail;
7859 }
7860 }
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 {
7869 resultobj = SWIG_From_long((long)(result));
7870 }
7871 return resultobj;
7872 fail:
7873 return NULL;
7874 }
7875
7876
7877 static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) {
7878 PyObject *resultobj;
7879 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7880 long result;
7881 PyObject * obj0 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
7887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7888 if (SWIG_arg_fail(1)) SWIG_fail;
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 result = (long)(arg1)->TellI();
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 {
7897 resultobj = SWIG_From_long((long)(result));
7898 }
7899 return resultobj;
7900 fail:
7901 return NULL;
7902 }
7903
7904
7905 static PyObject * InputStream_swigregister(PyObject *, PyObject *args) {
7906 PyObject *obj;
7907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7908 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
7909 Py_INCREF(obj);
7910 return Py_BuildValue((char *)"");
7911 }
7912 static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) {
7913 PyObject *resultobj;
7914 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
7915 PyObject *arg2 = (PyObject *) 0 ;
7916 PyObject * obj0 = 0 ;
7917 PyObject * obj1 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "self",(char *) "obj", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
7923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxOutputStream, SWIG_POINTER_EXCEPTION | 0);
7924 if (SWIG_arg_fail(1)) SWIG_fail;
7925 arg2 = obj1;
7926 {
7927 PyThreadState* __tstate = wxPyBeginAllowThreads();
7928 wxOutputStream_write(arg1,arg2);
7929
7930 wxPyEndAllowThreads(__tstate);
7931 if (PyErr_Occurred()) SWIG_fail;
7932 }
7933 Py_INCREF(Py_None); resultobj = Py_None;
7934 return resultobj;
7935 fail:
7936 return NULL;
7937 }
7938
7939
7940 static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) {
7941 PyObject *obj;
7942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7943 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
7944 Py_INCREF(obj);
7945 return Py_BuildValue((char *)"");
7946 }
7947 static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
7948 PyObject *resultobj;
7949 wxInputStream *arg1 = (wxInputStream *) 0 ;
7950 wxString *arg2 = 0 ;
7951 wxString *arg3 = 0 ;
7952 wxString *arg4 = 0 ;
7953 wxDateTime arg5 ;
7954 wxFSFile *result;
7955 wxPyInputStream *temp1 ;
7956 bool temp2 = false ;
7957 bool temp3 = false ;
7958 bool temp4 = false ;
7959 PyObject * obj0 = 0 ;
7960 PyObject * obj1 = 0 ;
7961 PyObject * obj2 = 0 ;
7962 PyObject * obj3 = 0 ;
7963 PyObject * obj4 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7969 {
7970 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7971 arg1 = wxPyCBInputStream_copy((wxPyCBInputStream*)temp1->m_wxis);
7972 } else {
7973 PyErr_Clear(); // clear the failure of the wxPyConvert above
7974 arg1 = wxPyCBInputStream_create(obj0, true);
7975 if (arg1 == NULL) {
7976 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
7977 SWIG_fail;
7978 }
7979 }
7980 }
7981 {
7982 arg2 = wxString_in_helper(obj1);
7983 if (arg2 == NULL) SWIG_fail;
7984 temp2 = true;
7985 }
7986 {
7987 arg3 = wxString_in_helper(obj2);
7988 if (arg3 == NULL) SWIG_fail;
7989 temp3 = true;
7990 }
7991 {
7992 arg4 = wxString_in_helper(obj3);
7993 if (arg4 == NULL) SWIG_fail;
7994 temp4 = true;
7995 }
7996 {
7997 wxDateTime * argp;
7998 SWIG_Python_ConvertPtr(obj4, (void **)&argp, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION);
7999 if (SWIG_arg_fail(5)) SWIG_fail;
8000 if (argp == NULL) {
8001 SWIG_null_ref("wxDateTime");
8002 }
8003 if (SWIG_arg_fail(5)) SWIG_fail;
8004 arg5 = *argp;
8005 }
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 {
8014 resultobj = wxPyMake_wxObject(result, 1);
8015 }
8016 {
8017 if (temp2)
8018 delete arg2;
8019 }
8020 {
8021 if (temp3)
8022 delete arg3;
8023 }
8024 {
8025 if (temp4)
8026 delete arg4;
8027 }
8028 return resultobj;
8029 fail:
8030 {
8031 if (temp2)
8032 delete arg2;
8033 }
8034 {
8035 if (temp3)
8036 delete arg3;
8037 }
8038 {
8039 if (temp4)
8040 delete arg4;
8041 }
8042 return NULL;
8043 }
8044
8045
8046 static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxFSFile *arg1 = (wxFSFile *) 0 ;
8049 PyObject * obj0 = 0 ;
8050 char *kwnames[] = {
8051 (char *) "self", NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
8055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8056 if (SWIG_arg_fail(1)) SWIG_fail;
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 delete arg1;
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 Py_INCREF(Py_None); resultobj = Py_None;
8065 return resultobj;
8066 fail:
8067 return NULL;
8068 }
8069
8070
8071 static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) {
8072 PyObject *resultobj;
8073 wxFSFile *arg1 = (wxFSFile *) 0 ;
8074 wxInputStream *result;
8075 PyObject * obj0 = 0 ;
8076 char *kwnames[] = {
8077 (char *) "self", NULL
8078 };
8079
8080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
8081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8082 if (SWIG_arg_fail(1)) SWIG_fail;
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 result = (wxInputStream *)(arg1)->GetStream();
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 {
8091 wxPyInputStream * _ptr = NULL;
8092
8093 if (result) {
8094 _ptr = new wxPyInputStream(result);
8095 }
8096 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
8097 }
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxFSFile *arg1 = (wxFSFile *) 0 ;
8107 wxString *result;
8108 PyObject * obj0 = 0 ;
8109 char *kwnames[] = {
8110 (char *) "self", NULL
8111 };
8112
8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
8114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8115 if (SWIG_arg_fail(1)) SWIG_fail;
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 {
8119 wxString const &_result_ref = (arg1)->GetMimeType();
8120 result = (wxString *) &_result_ref;
8121 }
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 {
8127 #if wxUSE_UNICODE
8128 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8129 #else
8130 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8131 #endif
8132 }
8133 return resultobj;
8134 fail:
8135 return NULL;
8136 }
8137
8138
8139 static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) {
8140 PyObject *resultobj;
8141 wxFSFile *arg1 = (wxFSFile *) 0 ;
8142 wxString *result;
8143 PyObject * obj0 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
8149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8150 if (SWIG_arg_fail(1)) SWIG_fail;
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 {
8154 wxString const &_result_ref = (arg1)->GetLocation();
8155 result = (wxString *) &_result_ref;
8156 }
8157
8158 wxPyEndAllowThreads(__tstate);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 {
8162 #if wxUSE_UNICODE
8163 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8164 #else
8165 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8166 #endif
8167 }
8168 return resultobj;
8169 fail:
8170 return NULL;
8171 }
8172
8173
8174 static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj;
8176 wxFSFile *arg1 = (wxFSFile *) 0 ;
8177 wxString *result;
8178 PyObject * obj0 = 0 ;
8179 char *kwnames[] = {
8180 (char *) "self", NULL
8181 };
8182
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
8184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail;
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 {
8189 wxString const &_result_ref = (arg1)->GetAnchor();
8190 result = (wxString *) &_result_ref;
8191 }
8192
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 {
8197 #if wxUSE_UNICODE
8198 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8199 #else
8200 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8201 #endif
8202 }
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxFSFile *arg1 = (wxFSFile *) 0 ;
8212 wxDateTime result;
8213 PyObject * obj0 = 0 ;
8214 char *kwnames[] = {
8215 (char *) "self", NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
8219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8220 if (SWIG_arg_fail(1)) SWIG_fail;
8221 {
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 result = (arg1)->GetModificationTime();
8224
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 {
8229 wxDateTime * resultptr;
8230 resultptr = new wxDateTime((wxDateTime &)(result));
8231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
8232 }
8233 return resultobj;
8234 fail:
8235 return NULL;
8236 }
8237
8238
8239 static PyObject * FSFile_swigregister(PyObject *, PyObject *args) {
8240 PyObject *obj;
8241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8242 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
8243 Py_INCREF(obj);
8244 return Py_BuildValue((char *)"");
8245 }
8246 static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) {
8247 PyObject *obj;
8248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8249 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
8250 Py_INCREF(obj);
8251 return Py_BuildValue((char *)"");
8252 }
8253 static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj;
8255 wxPyFileSystemHandler *result;
8256 char *kwnames[] = {
8257 NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
8261 {
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
8269 return resultobj;
8270 fail:
8271 return NULL;
8272 }
8273
8274
8275 static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8276 PyObject *resultobj;
8277 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8278 PyObject *arg2 = (PyObject *) 0 ;
8279 PyObject *arg3 = (PyObject *) 0 ;
8280 PyObject * obj0 = 0 ;
8281 PyObject * obj1 = 0 ;
8282 PyObject * obj2 = 0 ;
8283 char *kwnames[] = {
8284 (char *) "self",(char *) "self",(char *) "_class", NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8289 if (SWIG_arg_fail(1)) SWIG_fail;
8290 arg2 = obj1;
8291 arg3 = obj2;
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 (arg1)->_setCallbackInfo(arg2,arg3);
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 Py_INCREF(Py_None); resultobj = Py_None;
8300 return resultobj;
8301 fail:
8302 return NULL;
8303 }
8304
8305
8306 static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj;
8308 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8309 wxString *arg2 = 0 ;
8310 bool result;
8311 bool temp2 = false ;
8312 PyObject * obj0 = 0 ;
8313 PyObject * obj1 = 0 ;
8314 char *kwnames[] = {
8315 (char *) "self",(char *) "location", NULL
8316 };
8317
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
8319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail;
8321 {
8322 arg2 = wxString_in_helper(obj1);
8323 if (arg2 == NULL) SWIG_fail;
8324 temp2 = true;
8325 }
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
8329
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 {
8334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8335 }
8336 {
8337 if (temp2)
8338 delete arg2;
8339 }
8340 return resultobj;
8341 fail:
8342 {
8343 if (temp2)
8344 delete arg2;
8345 }
8346 return NULL;
8347 }
8348
8349
8350 static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj;
8352 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8353 wxFileSystem *arg2 = 0 ;
8354 wxString *arg3 = 0 ;
8355 wxFSFile *result;
8356 bool temp3 = false ;
8357 PyObject * obj0 = 0 ;
8358 PyObject * obj1 = 0 ;
8359 PyObject * obj2 = 0 ;
8360 char *kwnames[] = {
8361 (char *) "self",(char *) "fs",(char *) "location", NULL
8362 };
8363
8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
8365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8366 if (SWIG_arg_fail(1)) SWIG_fail;
8367 {
8368 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8369 if (SWIG_arg_fail(2)) SWIG_fail;
8370 if (arg2 == NULL) {
8371 SWIG_null_ref("wxFileSystem");
8372 }
8373 if (SWIG_arg_fail(2)) SWIG_fail;
8374 }
8375 {
8376 arg3 = wxString_in_helper(obj2);
8377 if (arg3 == NULL) SWIG_fail;
8378 temp3 = true;
8379 }
8380 {
8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8382 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
8383
8384 wxPyEndAllowThreads(__tstate);
8385 if (PyErr_Occurred()) SWIG_fail;
8386 }
8387 {
8388 resultobj = wxPyMake_wxObject(result, 1);
8389 }
8390 {
8391 if (temp3)
8392 delete arg3;
8393 }
8394 return resultobj;
8395 fail:
8396 {
8397 if (temp3)
8398 delete arg3;
8399 }
8400 return NULL;
8401 }
8402
8403
8404 static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8407 wxString *arg2 = 0 ;
8408 int arg3 = (int) 0 ;
8409 wxString result;
8410 bool temp2 = false ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 PyObject * obj2 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self",(char *) "spec",(char *) "flags", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
8419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8420 if (SWIG_arg_fail(1)) SWIG_fail;
8421 {
8422 arg2 = wxString_in_helper(obj1);
8423 if (arg2 == NULL) SWIG_fail;
8424 temp2 = true;
8425 }
8426 if (obj2) {
8427 {
8428 arg3 = (int)(SWIG_As_int(obj2));
8429 if (SWIG_arg_fail(3)) SWIG_fail;
8430 }
8431 }
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 {
8440 #if wxUSE_UNICODE
8441 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8442 #else
8443 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8444 #endif
8445 }
8446 {
8447 if (temp2)
8448 delete arg2;
8449 }
8450 return resultobj;
8451 fail:
8452 {
8453 if (temp2)
8454 delete arg2;
8455 }
8456 return NULL;
8457 }
8458
8459
8460 static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
8461 PyObject *resultobj;
8462 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8463 wxString result;
8464 PyObject * obj0 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
8470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8471 if (SWIG_arg_fail(1)) SWIG_fail;
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 result = (arg1)->FindNext();
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 {
8480 #if wxUSE_UNICODE
8481 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8482 #else
8483 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8484 #endif
8485 }
8486 return resultobj;
8487 fail:
8488 return NULL;
8489 }
8490
8491
8492 static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj;
8494 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8495 wxString *arg2 = 0 ;
8496 wxString result;
8497 bool temp2 = false ;
8498 PyObject * obj0 = 0 ;
8499 PyObject * obj1 = 0 ;
8500 char *kwnames[] = {
8501 (char *) "self",(char *) "location", NULL
8502 };
8503
8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
8505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8506 if (SWIG_arg_fail(1)) SWIG_fail;
8507 {
8508 arg2 = wxString_in_helper(obj1);
8509 if (arg2 == NULL) SWIG_fail;
8510 temp2 = true;
8511 }
8512 {
8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
8514 result = (arg1)->GetProtocol((wxString const &)*arg2);
8515
8516 wxPyEndAllowThreads(__tstate);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 {
8520 #if wxUSE_UNICODE
8521 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8522 #else
8523 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8524 #endif
8525 }
8526 {
8527 if (temp2)
8528 delete arg2;
8529 }
8530 return resultobj;
8531 fail:
8532 {
8533 if (temp2)
8534 delete arg2;
8535 }
8536 return NULL;
8537 }
8538
8539
8540 static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8543 wxString *arg2 = 0 ;
8544 wxString result;
8545 bool temp2 = false ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self",(char *) "location", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
8553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail;
8555 {
8556 arg2 = wxString_in_helper(obj1);
8557 if (arg2 == NULL) SWIG_fail;
8558 temp2 = true;
8559 }
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
8563
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
8567 {
8568 #if wxUSE_UNICODE
8569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8570 #else
8571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8572 #endif
8573 }
8574 {
8575 if (temp2)
8576 delete arg2;
8577 }
8578 return resultobj;
8579 fail:
8580 {
8581 if (temp2)
8582 delete arg2;
8583 }
8584 return NULL;
8585 }
8586
8587
8588 static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8589 PyObject *resultobj;
8590 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8591 wxString *arg2 = 0 ;
8592 wxString result;
8593 bool temp2 = false ;
8594 PyObject * obj0 = 0 ;
8595 PyObject * obj1 = 0 ;
8596 char *kwnames[] = {
8597 (char *) "self",(char *) "location", NULL
8598 };
8599
8600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
8601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8602 if (SWIG_arg_fail(1)) SWIG_fail;
8603 {
8604 arg2 = wxString_in_helper(obj1);
8605 if (arg2 == NULL) SWIG_fail;
8606 temp2 = true;
8607 }
8608 {
8609 PyThreadState* __tstate = wxPyBeginAllowThreads();
8610 result = (arg1)->GetAnchor((wxString const &)*arg2);
8611
8612 wxPyEndAllowThreads(__tstate);
8613 if (PyErr_Occurred()) SWIG_fail;
8614 }
8615 {
8616 #if wxUSE_UNICODE
8617 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8618 #else
8619 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8620 #endif
8621 }
8622 {
8623 if (temp2)
8624 delete arg2;
8625 }
8626 return resultobj;
8627 fail:
8628 {
8629 if (temp2)
8630 delete arg2;
8631 }
8632 return NULL;
8633 }
8634
8635
8636 static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) {
8637 PyObject *resultobj;
8638 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8639 wxString *arg2 = 0 ;
8640 wxString result;
8641 bool temp2 = false ;
8642 PyObject * obj0 = 0 ;
8643 PyObject * obj1 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "location", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
8649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8650 if (SWIG_arg_fail(1)) SWIG_fail;
8651 {
8652 arg2 = wxString_in_helper(obj1);
8653 if (arg2 == NULL) SWIG_fail;
8654 temp2 = true;
8655 }
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (arg1)->GetRightLocation((wxString const &)*arg2);
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 {
8664 #if wxUSE_UNICODE
8665 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8666 #else
8667 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8668 #endif
8669 }
8670 {
8671 if (temp2)
8672 delete arg2;
8673 }
8674 return resultobj;
8675 fail:
8676 {
8677 if (temp2)
8678 delete arg2;
8679 }
8680 return NULL;
8681 }
8682
8683
8684 static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) {
8685 PyObject *resultobj;
8686 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8687 wxString *arg2 = 0 ;
8688 wxString result;
8689 bool temp2 = false ;
8690 PyObject * obj0 = 0 ;
8691 PyObject * obj1 = 0 ;
8692 char *kwnames[] = {
8693 (char *) "self",(char *) "location", NULL
8694 };
8695
8696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
8697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8698 if (SWIG_arg_fail(1)) SWIG_fail;
8699 {
8700 arg2 = wxString_in_helper(obj1);
8701 if (arg2 == NULL) SWIG_fail;
8702 temp2 = true;
8703 }
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
8707
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 {
8712 #if wxUSE_UNICODE
8713 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8714 #else
8715 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8716 #endif
8717 }
8718 {
8719 if (temp2)
8720 delete arg2;
8721 }
8722 return resultobj;
8723 fail:
8724 {
8725 if (temp2)
8726 delete arg2;
8727 }
8728 return NULL;
8729 }
8730
8731
8732 static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) {
8733 PyObject *obj;
8734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8735 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
8736 Py_INCREF(obj);
8737 return Py_BuildValue((char *)"");
8738 }
8739 static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxFileSystem *result;
8742 char *kwnames[] = {
8743 NULL
8744 };
8745
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
8747 {
8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
8749 result = (wxFileSystem *)new wxFileSystem();
8750
8751 wxPyEndAllowThreads(__tstate);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 }
8754 {
8755 resultobj = wxPyMake_wxObject(result, 1);
8756 }
8757 return resultobj;
8758 fail:
8759 return NULL;
8760 }
8761
8762
8763 static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
8764 PyObject *resultobj;
8765 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8766 PyObject * obj0 = 0 ;
8767 char *kwnames[] = {
8768 (char *) "self", NULL
8769 };
8770
8771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
8772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8773 if (SWIG_arg_fail(1)) SWIG_fail;
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 delete arg1;
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
8781 Py_INCREF(Py_None); resultobj = Py_None;
8782 return resultobj;
8783 fail:
8784 return NULL;
8785 }
8786
8787
8788 static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) {
8789 PyObject *resultobj;
8790 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8791 wxString *arg2 = 0 ;
8792 bool arg3 = (bool) false ;
8793 bool temp2 = false ;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 PyObject * obj2 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8803 if (SWIG_arg_fail(1)) SWIG_fail;
8804 {
8805 arg2 = wxString_in_helper(obj1);
8806 if (arg2 == NULL) SWIG_fail;
8807 temp2 = true;
8808 }
8809 if (obj2) {
8810 {
8811 arg3 = (bool)(SWIG_As_bool(obj2));
8812 if (SWIG_arg_fail(3)) SWIG_fail;
8813 }
8814 }
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 Py_INCREF(Py_None); resultobj = Py_None;
8823 {
8824 if (temp2)
8825 delete arg2;
8826 }
8827 return resultobj;
8828 fail:
8829 {
8830 if (temp2)
8831 delete arg2;
8832 }
8833 return NULL;
8834 }
8835
8836
8837 static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj;
8839 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8840 wxString result;
8841 PyObject * obj0 = 0 ;
8842 char *kwnames[] = {
8843 (char *) "self", NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
8847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8848 if (SWIG_arg_fail(1)) SWIG_fail;
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 result = (arg1)->GetPath();
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 {
8857 #if wxUSE_UNICODE
8858 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8859 #else
8860 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8861 #endif
8862 }
8863 return resultobj;
8864 fail:
8865 return NULL;
8866 }
8867
8868
8869 static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj;
8871 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8872 wxString *arg2 = 0 ;
8873 wxFSFile *result;
8874 bool temp2 = false ;
8875 PyObject * obj0 = 0 ;
8876 PyObject * obj1 = 0 ;
8877 char *kwnames[] = {
8878 (char *) "self",(char *) "location", NULL
8879 };
8880
8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
8882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8883 if (SWIG_arg_fail(1)) SWIG_fail;
8884 {
8885 arg2 = wxString_in_helper(obj1);
8886 if (arg2 == NULL) SWIG_fail;
8887 temp2 = true;
8888 }
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 {
8897 resultobj = wxPyMake_wxObject(result, 1);
8898 }
8899 {
8900 if (temp2)
8901 delete arg2;
8902 }
8903 return resultobj;
8904 fail:
8905 {
8906 if (temp2)
8907 delete arg2;
8908 }
8909 return NULL;
8910 }
8911
8912
8913 static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj;
8915 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8916 wxString *arg2 = 0 ;
8917 int arg3 = (int) 0 ;
8918 wxString result;
8919 bool temp2 = false ;
8920 PyObject * obj0 = 0 ;
8921 PyObject * obj1 = 0 ;
8922 PyObject * obj2 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "self",(char *) "spec",(char *) "flags", NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
8928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8929 if (SWIG_arg_fail(1)) SWIG_fail;
8930 {
8931 arg2 = wxString_in_helper(obj1);
8932 if (arg2 == NULL) SWIG_fail;
8933 temp2 = true;
8934 }
8935 if (obj2) {
8936 {
8937 arg3 = (int)(SWIG_As_int(obj2));
8938 if (SWIG_arg_fail(3)) SWIG_fail;
8939 }
8940 }
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 {
8949 #if wxUSE_UNICODE
8950 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8951 #else
8952 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8953 #endif
8954 }
8955 {
8956 if (temp2)
8957 delete arg2;
8958 }
8959 return resultobj;
8960 fail:
8961 {
8962 if (temp2)
8963 delete arg2;
8964 }
8965 return NULL;
8966 }
8967
8968
8969 static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
8970 PyObject *resultobj;
8971 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8972 wxString result;
8973 PyObject * obj0 = 0 ;
8974 char *kwnames[] = {
8975 (char *) "self", NULL
8976 };
8977
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
8979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8980 if (SWIG_arg_fail(1)) SWIG_fail;
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (arg1)->FindNext();
8984
8985 wxPyEndAllowThreads(__tstate);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 {
8989 #if wxUSE_UNICODE
8990 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8991 #else
8992 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8993 #endif
8994 }
8995 return resultobj;
8996 fail:
8997 return NULL;
8998 }
8999
9000
9001 static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
9002 PyObject *resultobj;
9003 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
9004 PyObject * obj0 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "handler", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
9010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
9011 if (SWIG_arg_fail(1)) SWIG_fail;
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 wxFileSystem::AddHandler(arg1);
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 Py_INCREF(Py_None); resultobj = Py_None;
9020 return resultobj;
9021 fail:
9022 return NULL;
9023 }
9024
9025
9026 static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
9027 PyObject *resultobj;
9028 char *kwnames[] = {
9029 NULL
9030 };
9031
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 wxFileSystem::CleanUpHandlers();
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 Py_INCREF(Py_None); resultobj = Py_None;
9041 return resultobj;
9042 fail:
9043 return NULL;
9044 }
9045
9046
9047 static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj;
9049 wxString *arg1 = 0 ;
9050 wxString result;
9051 bool temp1 = false ;
9052 PyObject * obj0 = 0 ;
9053 char *kwnames[] = {
9054 (char *) "filename", NULL
9055 };
9056
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
9058 {
9059 arg1 = wxString_in_helper(obj0);
9060 if (arg1 == NULL) SWIG_fail;
9061 temp1 = true;
9062 }
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 {
9071 #if wxUSE_UNICODE
9072 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9073 #else
9074 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9075 #endif
9076 }
9077 {
9078 if (temp1)
9079 delete arg1;
9080 }
9081 return resultobj;
9082 fail:
9083 {
9084 if (temp1)
9085 delete arg1;
9086 }
9087 return NULL;
9088 }
9089
9090
9091 static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
9092 PyObject *resultobj;
9093 wxString *arg1 = 0 ;
9094 wxString result;
9095 bool temp1 = false ;
9096 PyObject * obj0 = 0 ;
9097 char *kwnames[] = {
9098 (char *) "url", NULL
9099 };
9100
9101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
9102 {
9103 arg1 = wxString_in_helper(obj0);
9104 if (arg1 == NULL) SWIG_fail;
9105 temp1 = true;
9106 }
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 result = FileSystem_URLToFileName((wxString const &)*arg1);
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 {
9115 #if wxUSE_UNICODE
9116 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9117 #else
9118 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9119 #endif
9120 }
9121 {
9122 if (temp1)
9123 delete arg1;
9124 }
9125 return resultobj;
9126 fail:
9127 {
9128 if (temp1)
9129 delete arg1;
9130 }
9131 return NULL;
9132 }
9133
9134
9135 static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
9136 PyObject *obj;
9137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9138 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
9139 Py_INCREF(obj);
9140 return Py_BuildValue((char *)"");
9141 }
9142 static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxInternetFSHandler *result;
9145 char *kwnames[] = {
9146 NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 result = (wxInternetFSHandler *)new wxInternetFSHandler();
9153
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
9158 return resultobj;
9159 fail:
9160 return NULL;
9161 }
9162
9163
9164 static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj;
9166 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
9167 wxString *arg2 = 0 ;
9168 bool result;
9169 bool temp2 = false ;
9170 PyObject * obj0 = 0 ;
9171 PyObject * obj1 = 0 ;
9172 char *kwnames[] = {
9173 (char *) "self",(char *) "location", NULL
9174 };
9175
9176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
9177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxInternetFSHandler, SWIG_POINTER_EXCEPTION | 0);
9178 if (SWIG_arg_fail(1)) SWIG_fail;
9179 {
9180 arg2 = wxString_in_helper(obj1);
9181 if (arg2 == NULL) SWIG_fail;
9182 temp2 = true;
9183 }
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 {
9192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9193 }
9194 {
9195 if (temp2)
9196 delete arg2;
9197 }
9198 return resultobj;
9199 fail:
9200 {
9201 if (temp2)
9202 delete arg2;
9203 }
9204 return NULL;
9205 }
9206
9207
9208 static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
9209 PyObject *resultobj;
9210 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
9211 wxFileSystem *arg2 = 0 ;
9212 wxString *arg3 = 0 ;
9213 wxFSFile *result;
9214 bool temp3 = false ;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 PyObject * obj2 = 0 ;
9218 char *kwnames[] = {
9219 (char *) "self",(char *) "fs",(char *) "location", NULL
9220 };
9221
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxInternetFSHandler, SWIG_POINTER_EXCEPTION | 0);
9224 if (SWIG_arg_fail(1)) SWIG_fail;
9225 {
9226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9227 if (SWIG_arg_fail(2)) SWIG_fail;
9228 if (arg2 == NULL) {
9229 SWIG_null_ref("wxFileSystem");
9230 }
9231 if (SWIG_arg_fail(2)) SWIG_fail;
9232 }
9233 {
9234 arg3 = wxString_in_helper(obj2);
9235 if (arg3 == NULL) SWIG_fail;
9236 temp3 = true;
9237 }
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 {
9246 resultobj = wxPyMake_wxObject(result, 1);
9247 }
9248 {
9249 if (temp3)
9250 delete arg3;
9251 }
9252 return resultobj;
9253 fail:
9254 {
9255 if (temp3)
9256 delete arg3;
9257 }
9258 return NULL;
9259 }
9260
9261
9262 static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) {
9263 PyObject *obj;
9264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9265 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
9266 Py_INCREF(obj);
9267 return Py_BuildValue((char *)"");
9268 }
9269 static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj;
9271 wxZipFSHandler *result;
9272 char *kwnames[] = {
9273 NULL
9274 };
9275
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 result = (wxZipFSHandler *)new wxZipFSHandler();
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
9285 return resultobj;
9286 fail:
9287 return NULL;
9288 }
9289
9290
9291 static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
9292 PyObject *resultobj;
9293 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9294 wxString *arg2 = 0 ;
9295 bool result;
9296 bool temp2 = false ;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9299 char *kwnames[] = {
9300 (char *) "self",(char *) "location", NULL
9301 };
9302
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
9304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail;
9306 {
9307 arg2 = wxString_in_helper(obj1);
9308 if (arg2 == NULL) SWIG_fail;
9309 temp2 = true;
9310 }
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
9314
9315 wxPyEndAllowThreads(__tstate);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 }
9318 {
9319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9320 }
9321 {
9322 if (temp2)
9323 delete arg2;
9324 }
9325 return resultobj;
9326 fail:
9327 {
9328 if (temp2)
9329 delete arg2;
9330 }
9331 return NULL;
9332 }
9333
9334
9335 static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9338 wxFileSystem *arg2 = 0 ;
9339 wxString *arg3 = 0 ;
9340 wxFSFile *result;
9341 bool temp3 = false ;
9342 PyObject * obj0 = 0 ;
9343 PyObject * obj1 = 0 ;
9344 PyObject * obj2 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self",(char *) "fs",(char *) "location", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9351 if (SWIG_arg_fail(1)) SWIG_fail;
9352 {
9353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9354 if (SWIG_arg_fail(2)) SWIG_fail;
9355 if (arg2 == NULL) {
9356 SWIG_null_ref("wxFileSystem");
9357 }
9358 if (SWIG_arg_fail(2)) SWIG_fail;
9359 }
9360 {
9361 arg3 = wxString_in_helper(obj2);
9362 if (arg3 == NULL) SWIG_fail;
9363 temp3 = true;
9364 }
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 {
9373 resultobj = wxPyMake_wxObject(result, 1);
9374 }
9375 {
9376 if (temp3)
9377 delete arg3;
9378 }
9379 return resultobj;
9380 fail:
9381 {
9382 if (temp3)
9383 delete arg3;
9384 }
9385 return NULL;
9386 }
9387
9388
9389 static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9392 wxString *arg2 = 0 ;
9393 int arg3 = (int) 0 ;
9394 wxString result;
9395 bool temp2 = false ;
9396 PyObject * obj0 = 0 ;
9397 PyObject * obj1 = 0 ;
9398 PyObject * obj2 = 0 ;
9399 char *kwnames[] = {
9400 (char *) "self",(char *) "spec",(char *) "flags", NULL
9401 };
9402
9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
9404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9405 if (SWIG_arg_fail(1)) SWIG_fail;
9406 {
9407 arg2 = wxString_in_helper(obj1);
9408 if (arg2 == NULL) SWIG_fail;
9409 temp2 = true;
9410 }
9411 if (obj2) {
9412 {
9413 arg3 = (int)(SWIG_As_int(obj2));
9414 if (SWIG_arg_fail(3)) SWIG_fail;
9415 }
9416 }
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 {
9425 #if wxUSE_UNICODE
9426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9427 #else
9428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9429 #endif
9430 }
9431 {
9432 if (temp2)
9433 delete arg2;
9434 }
9435 return resultobj;
9436 fail:
9437 {
9438 if (temp2)
9439 delete arg2;
9440 }
9441 return NULL;
9442 }
9443
9444
9445 static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj;
9447 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9448 wxString result;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
9455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9456 if (SWIG_arg_fail(1)) SWIG_fail;
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 result = (arg1)->FindNext();
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 {
9465 #if wxUSE_UNICODE
9466 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9467 #else
9468 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9469 #endif
9470 }
9471 return resultobj;
9472 fail:
9473 return NULL;
9474 }
9475
9476
9477 static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) {
9478 PyObject *obj;
9479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9480 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
9481 Py_INCREF(obj);
9482 return Py_BuildValue((char *)"");
9483 }
9484 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj;
9486 wxString *arg1 = 0 ;
9487 wxImage *arg2 = 0 ;
9488 long arg3 ;
9489 bool temp1 = false ;
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492 PyObject * obj2 = 0 ;
9493 char *kwnames[] = {
9494 (char *) "filename",(char *) "image",(char *) "type", NULL
9495 };
9496
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
9498 {
9499 arg1 = wxString_in_helper(obj0);
9500 if (arg1 == NULL) SWIG_fail;
9501 temp1 = true;
9502 }
9503 {
9504 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
9505 if (SWIG_arg_fail(2)) SWIG_fail;
9506 if (arg2 == NULL) {
9507 SWIG_null_ref("wxImage");
9508 }
9509 if (SWIG_arg_fail(2)) SWIG_fail;
9510 }
9511 {
9512 arg3 = (long)(SWIG_As_long(obj2));
9513 if (SWIG_arg_fail(3)) SWIG_fail;
9514 }
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 Py_INCREF(Py_None); resultobj = Py_None;
9523 {
9524 if (temp1)
9525 delete arg1;
9526 }
9527 return resultobj;
9528 fail:
9529 {
9530 if (temp1)
9531 delete arg1;
9532 }
9533 return NULL;
9534 }
9535
9536
9537 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
9538 PyObject *resultobj;
9539 wxString *arg1 = 0 ;
9540 wxBitmap *arg2 = 0 ;
9541 long arg3 ;
9542 bool temp1 = false ;
9543 PyObject * obj0 = 0 ;
9544 PyObject * obj1 = 0 ;
9545 PyObject * obj2 = 0 ;
9546 char *kwnames[] = {
9547 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
9551 {
9552 arg1 = wxString_in_helper(obj0);
9553 if (arg1 == NULL) SWIG_fail;
9554 temp1 = true;
9555 }
9556 {
9557 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
9558 if (SWIG_arg_fail(2)) SWIG_fail;
9559 if (arg2 == NULL) {
9560 SWIG_null_ref("wxBitmap");
9561 }
9562 if (SWIG_arg_fail(2)) SWIG_fail;
9563 }
9564 {
9565 arg3 = (long)(SWIG_As_long(obj2));
9566 if (SWIG_arg_fail(3)) SWIG_fail;
9567 }
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 Py_INCREF(Py_None); resultobj = Py_None;
9576 {
9577 if (temp1)
9578 delete arg1;
9579 }
9580 return resultobj;
9581 fail:
9582 {
9583 if (temp1)
9584 delete arg1;
9585 }
9586 return NULL;
9587 }
9588
9589
9590 static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj;
9592 wxString *arg1 = 0 ;
9593 PyObject *arg2 = (PyObject *) 0 ;
9594 bool temp1 = false ;
9595 PyObject * obj0 = 0 ;
9596 PyObject * obj1 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "filename",(char *) "data", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
9602 {
9603 arg1 = wxString_in_helper(obj0);
9604 if (arg1 == NULL) SWIG_fail;
9605 temp1 = true;
9606 }
9607 arg2 = obj1;
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
9611
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 Py_INCREF(Py_None); resultobj = Py_None;
9616 {
9617 if (temp1)
9618 delete arg1;
9619 }
9620 return resultobj;
9621 fail:
9622 {
9623 if (temp1)
9624 delete arg1;
9625 }
9626 return NULL;
9627 }
9628
9629
9630 static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxMemoryFSHandler *result;
9633 char *kwnames[] = {
9634 NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
9646 return resultobj;
9647 fail:
9648 return NULL;
9649 }
9650
9651
9652 static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
9653 PyObject *resultobj;
9654 wxString *arg1 = 0 ;
9655 bool temp1 = false ;
9656 PyObject * obj0 = 0 ;
9657 char *kwnames[] = {
9658 (char *) "filename", NULL
9659 };
9660
9661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
9662 {
9663 arg1 = wxString_in_helper(obj0);
9664 if (arg1 == NULL) SWIG_fail;
9665 temp1 = true;
9666 }
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
9670
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 Py_INCREF(Py_None); resultobj = Py_None;
9675 {
9676 if (temp1)
9677 delete arg1;
9678 }
9679 return resultobj;
9680 fail:
9681 {
9682 if (temp1)
9683 delete arg1;
9684 }
9685 return NULL;
9686 }
9687
9688
9689 static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9692 wxString *arg2 = 0 ;
9693 bool result;
9694 bool temp2 = false ;
9695 PyObject * obj0 = 0 ;
9696 PyObject * obj1 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self",(char *) "location", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
9702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
9703 if (SWIG_arg_fail(1)) SWIG_fail;
9704 {
9705 arg2 = wxString_in_helper(obj1);
9706 if (arg2 == NULL) SWIG_fail;
9707 temp2 = true;
9708 }
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
9712
9713 wxPyEndAllowThreads(__tstate);
9714 if (PyErr_Occurred()) SWIG_fail;
9715 }
9716 {
9717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9718 }
9719 {
9720 if (temp2)
9721 delete arg2;
9722 }
9723 return resultobj;
9724 fail:
9725 {
9726 if (temp2)
9727 delete arg2;
9728 }
9729 return NULL;
9730 }
9731
9732
9733 static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9736 wxFileSystem *arg2 = 0 ;
9737 wxString *arg3 = 0 ;
9738 wxFSFile *result;
9739 bool temp3 = false ;
9740 PyObject * obj0 = 0 ;
9741 PyObject * obj1 = 0 ;
9742 PyObject * obj2 = 0 ;
9743 char *kwnames[] = {
9744 (char *) "self",(char *) "fs",(char *) "location", NULL
9745 };
9746
9747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
9749 if (SWIG_arg_fail(1)) SWIG_fail;
9750 {
9751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9752 if (SWIG_arg_fail(2)) SWIG_fail;
9753 if (arg2 == NULL) {
9754 SWIG_null_ref("wxFileSystem");
9755 }
9756 if (SWIG_arg_fail(2)) SWIG_fail;
9757 }
9758 {
9759 arg3 = wxString_in_helper(obj2);
9760 if (arg3 == NULL) SWIG_fail;
9761 temp3 = true;
9762 }
9763 {
9764 PyThreadState* __tstate = wxPyBeginAllowThreads();
9765 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
9766
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 {
9771 resultobj = wxPyMake_wxObject(result, 1);
9772 }
9773 {
9774 if (temp3)
9775 delete arg3;
9776 }
9777 return resultobj;
9778 fail:
9779 {
9780 if (temp3)
9781 delete arg3;
9782 }
9783 return NULL;
9784 }
9785
9786
9787 static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj;
9789 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9790 wxString *arg2 = 0 ;
9791 int arg3 = (int) 0 ;
9792 wxString result;
9793 bool temp2 = false ;
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
9796 PyObject * obj2 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self",(char *) "spec",(char *) "flags", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
9802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
9803 if (SWIG_arg_fail(1)) SWIG_fail;
9804 {
9805 arg2 = wxString_in_helper(obj1);
9806 if (arg2 == NULL) SWIG_fail;
9807 temp2 = true;
9808 }
9809 if (obj2) {
9810 {
9811 arg3 = (int)(SWIG_As_int(obj2));
9812 if (SWIG_arg_fail(3)) SWIG_fail;
9813 }
9814 }
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 {
9823 #if wxUSE_UNICODE
9824 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9825 #else
9826 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9827 #endif
9828 }
9829 {
9830 if (temp2)
9831 delete arg2;
9832 }
9833 return resultobj;
9834 fail:
9835 {
9836 if (temp2)
9837 delete arg2;
9838 }
9839 return NULL;
9840 }
9841
9842
9843 static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
9844 PyObject *resultobj;
9845 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9846 wxString result;
9847 PyObject * obj0 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
9853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail;
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 result = (arg1)->FindNext();
9858
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
9862 {
9863 #if wxUSE_UNICODE
9864 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9865 #else
9866 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9867 #endif
9868 }
9869 return resultobj;
9870 fail:
9871 return NULL;
9872 }
9873
9874
9875 static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) {
9876 PyObject *obj;
9877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9878 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
9879 Py_INCREF(obj);
9880 return Py_BuildValue((char *)"");
9881 }
9882 static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
9883 PyObject *resultobj;
9884 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9885 wxString result;
9886 PyObject * obj0 = 0 ;
9887 char *kwnames[] = {
9888 (char *) "self", NULL
9889 };
9890
9891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
9892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
9893 if (SWIG_arg_fail(1)) SWIG_fail;
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 result = (arg1)->GetName();
9897
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 {
9902 #if wxUSE_UNICODE
9903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9904 #else
9905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9906 #endif
9907 }
9908 return resultobj;
9909 fail:
9910 return NULL;
9911 }
9912
9913
9914 static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
9915 PyObject *resultobj;
9916 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9917 wxString result;
9918 PyObject * obj0 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
9924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail;
9926 {
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 result = (arg1)->GetExtension();
9929
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 {
9934 #if wxUSE_UNICODE
9935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9936 #else
9937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9938 #endif
9939 }
9940 return resultobj;
9941 fail:
9942 return NULL;
9943 }
9944
9945
9946 static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
9947 PyObject *resultobj;
9948 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9949 long result;
9950 PyObject * obj0 = 0 ;
9951 char *kwnames[] = {
9952 (char *) "self", NULL
9953 };
9954
9955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
9956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
9957 if (SWIG_arg_fail(1)) SWIG_fail;
9958 {
9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
9960 result = (long)(arg1)->GetType();
9961
9962 wxPyEndAllowThreads(__tstate);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 }
9965 {
9966 resultobj = SWIG_From_long((long)(result));
9967 }
9968 return resultobj;
9969 fail:
9970 return NULL;
9971 }
9972
9973
9974 static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
9975 PyObject *resultobj;
9976 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9977 wxString result;
9978 PyObject * obj0 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
9984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
9985 if (SWIG_arg_fail(1)) SWIG_fail;
9986 {
9987 PyThreadState* __tstate = wxPyBeginAllowThreads();
9988 result = (arg1)->GetMimeType();
9989
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 {
9994 #if wxUSE_UNICODE
9995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9996 #else
9997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9998 #endif
9999 }
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10009 wxString *arg2 = 0 ;
10010 bool result;
10011 bool temp2 = false ;
10012 PyObject * obj0 = 0 ;
10013 PyObject * obj1 = 0 ;
10014 char *kwnames[] = {
10015 (char *) "self",(char *) "name", NULL
10016 };
10017
10018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
10019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10020 if (SWIG_arg_fail(1)) SWIG_fail;
10021 {
10022 arg2 = wxString_in_helper(obj1);
10023 if (arg2 == NULL) SWIG_fail;
10024 temp2 = true;
10025 }
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
10028 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
10033 {
10034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10035 }
10036 {
10037 if (temp2)
10038 delete arg2;
10039 }
10040 return resultobj;
10041 fail:
10042 {
10043 if (temp2)
10044 delete arg2;
10045 }
10046 return NULL;
10047 }
10048
10049
10050 static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
10051 PyObject *resultobj;
10052 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10053 wxString *arg2 = 0 ;
10054 bool temp2 = false ;
10055 PyObject * obj0 = 0 ;
10056 PyObject * obj1 = 0 ;
10057 char *kwnames[] = {
10058 (char *) "self",(char *) "name", NULL
10059 };
10060
10061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
10062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10063 if (SWIG_arg_fail(1)) SWIG_fail;
10064 {
10065 arg2 = wxString_in_helper(obj1);
10066 if (arg2 == NULL) SWIG_fail;
10067 temp2 = true;
10068 }
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 (arg1)->SetName((wxString const &)*arg2);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 Py_INCREF(Py_None); resultobj = Py_None;
10077 {
10078 if (temp2)
10079 delete arg2;
10080 }
10081 return resultobj;
10082 fail:
10083 {
10084 if (temp2)
10085 delete arg2;
10086 }
10087 return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10094 wxString *arg2 = 0 ;
10095 bool temp2 = false ;
10096 PyObject * obj0 = 0 ;
10097 PyObject * obj1 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "self",(char *) "extension", NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
10103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10104 if (SWIG_arg_fail(1)) SWIG_fail;
10105 {
10106 arg2 = wxString_in_helper(obj1);
10107 if (arg2 == NULL) SWIG_fail;
10108 temp2 = true;
10109 }
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 (arg1)->SetExtension((wxString const &)*arg2);
10113
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
10117 Py_INCREF(Py_None); resultobj = Py_None;
10118 {
10119 if (temp2)
10120 delete arg2;
10121 }
10122 return resultobj;
10123 fail:
10124 {
10125 if (temp2)
10126 delete arg2;
10127 }
10128 return NULL;
10129 }
10130
10131
10132 static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
10133 PyObject *resultobj;
10134 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10135 long arg2 ;
10136 PyObject * obj0 = 0 ;
10137 PyObject * obj1 = 0 ;
10138 char *kwnames[] = {
10139 (char *) "self",(char *) "type", NULL
10140 };
10141
10142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
10143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10144 if (SWIG_arg_fail(1)) SWIG_fail;
10145 {
10146 arg2 = (long)(SWIG_As_long(obj1));
10147 if (SWIG_arg_fail(2)) SWIG_fail;
10148 }
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 (arg1)->SetType(arg2);
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 Py_INCREF(Py_None); resultobj = Py_None;
10157 return resultobj;
10158 fail:
10159 return NULL;
10160 }
10161
10162
10163 static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
10164 PyObject *resultobj;
10165 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10166 wxString *arg2 = 0 ;
10167 bool temp2 = false ;
10168 PyObject * obj0 = 0 ;
10169 PyObject * obj1 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "self",(char *) "mimetype", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
10175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10176 if (SWIG_arg_fail(1)) SWIG_fail;
10177 {
10178 arg2 = wxString_in_helper(obj1);
10179 if (arg2 == NULL) SWIG_fail;
10180 temp2 = true;
10181 }
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 (arg1)->SetMimeType((wxString const &)*arg2);
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 Py_INCREF(Py_None); resultobj = Py_None;
10190 {
10191 if (temp2)
10192 delete arg2;
10193 }
10194 return resultobj;
10195 fail:
10196 {
10197 if (temp2)
10198 delete arg2;
10199 }
10200 return NULL;
10201 }
10202
10203
10204 static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) {
10205 PyObject *obj;
10206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10207 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
10208 Py_INCREF(obj);
10209 return Py_BuildValue((char *)"");
10210 }
10211 static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
10212 PyObject *resultobj;
10213 wxImageHistogram *result;
10214 char *kwnames[] = {
10215 NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (wxImageHistogram *)new wxImageHistogram();
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
10227 return resultobj;
10228 fail:
10229 return NULL;
10230 }
10231
10232
10233 static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj;
10235 byte arg1 ;
10236 byte arg2 ;
10237 byte arg3 ;
10238 unsigned long result;
10239 PyObject * obj0 = 0 ;
10240 PyObject * obj1 = 0 ;
10241 PyObject * obj2 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "r",(char *) "g",(char *) "b", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
10247 {
10248 arg1 = (byte)(SWIG_As_unsigned_SS_char(obj0));
10249 if (SWIG_arg_fail(1)) SWIG_fail;
10250 }
10251 {
10252 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
10253 if (SWIG_arg_fail(2)) SWIG_fail;
10254 }
10255 {
10256 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
10257 if (SWIG_arg_fail(3)) SWIG_fail;
10258 }
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 {
10267 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10268 }
10269 return resultobj;
10270 fail:
10271 return NULL;
10272 }
10273
10274
10275 static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
10276 PyObject *resultobj;
10277 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
10278 byte *arg2 = (byte *) 0 ;
10279 byte *arg3 = (byte *) 0 ;
10280 byte *arg4 = (byte *) 0 ;
10281 byte arg5 = (byte) 1 ;
10282 byte arg6 = (byte) 0 ;
10283 byte arg7 = (byte) 0 ;
10284 bool result;
10285 byte temp2 ;
10286 int res2 = 0 ;
10287 byte temp3 ;
10288 int res3 = 0 ;
10289 byte temp4 ;
10290 int res4 = 0 ;
10291 PyObject * obj0 = 0 ;
10292 PyObject * obj1 = 0 ;
10293 PyObject * obj2 = 0 ;
10294 PyObject * obj3 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10297 };
10298
10299 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10300 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10301 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10304 if (SWIG_arg_fail(1)) SWIG_fail;
10305 if (obj1) {
10306 {
10307 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj1));
10308 if (SWIG_arg_fail(5)) SWIG_fail;
10309 }
10310 }
10311 if (obj2) {
10312 {
10313 arg6 = (byte)(SWIG_As_unsigned_SS_char(obj2));
10314 if (SWIG_arg_fail(6)) SWIG_fail;
10315 }
10316 }
10317 if (obj3) {
10318 {
10319 arg7 = (byte)(SWIG_As_unsigned_SS_char(obj3));
10320 if (SWIG_arg_fail(7)) SWIG_fail;
10321 }
10322 }
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 {
10331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10332 }
10333 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10334 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
10335 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10336 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
10337 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10338 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
10339 return resultobj;
10340 fail:
10341 return NULL;
10342 }
10343
10344
10345 static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
10346 PyObject *resultobj;
10347 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
10348 unsigned long arg2 ;
10349 unsigned long result;
10350 PyObject * obj0 = 0 ;
10351 PyObject * obj1 = 0 ;
10352 char *kwnames[] = {
10353 (char *) "self",(char *) "key", NULL
10354 };
10355
10356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHistogram_GetCount",kwnames,&obj0,&obj1)) goto fail;
10357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10358 if (SWIG_arg_fail(1)) SWIG_fail;
10359 {
10360 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10361 if (SWIG_arg_fail(2)) SWIG_fail;
10362 }
10363 {
10364 PyThreadState* __tstate = wxPyBeginAllowThreads();
10365 result = (unsigned long)wxImageHistogram_GetCount(arg1,arg2);
10366
10367 wxPyEndAllowThreads(__tstate);
10368 if (PyErr_Occurred()) SWIG_fail;
10369 }
10370 {
10371 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10372 }
10373 return resultobj;
10374 fail:
10375 return NULL;
10376 }
10377
10378
10379 static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj;
10381 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
10382 byte arg2 ;
10383 byte arg3 ;
10384 byte arg4 ;
10385 unsigned long result;
10386 PyObject * obj0 = 0 ;
10387 PyObject * obj1 = 0 ;
10388 PyObject * obj2 = 0 ;
10389 PyObject * obj3 = 0 ;
10390 char *kwnames[] = {
10391 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10392 };
10393
10394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10396 if (SWIG_arg_fail(1)) SWIG_fail;
10397 {
10398 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
10399 if (SWIG_arg_fail(2)) SWIG_fail;
10400 }
10401 {
10402 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
10403 if (SWIG_arg_fail(3)) SWIG_fail;
10404 }
10405 {
10406 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
10407 if (SWIG_arg_fail(4)) SWIG_fail;
10408 }
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 result = (unsigned long)wxImageHistogram_GetCountRGB(arg1,arg2,arg3,arg4);
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 {
10417 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10418 }
10419 return resultobj;
10420 fail:
10421 return NULL;
10422 }
10423
10424
10425 static PyObject *_wrap_ImageHistogram_GetCountColour(PyObject *, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
10428 wxColour *arg2 = 0 ;
10429 unsigned long result;
10430 wxColour temp2 ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 char *kwnames[] = {
10434 (char *) "self",(char *) "colour", NULL
10435 };
10436
10437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHistogram_GetCountColour",kwnames,&obj0,&obj1)) goto fail;
10438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10439 if (SWIG_arg_fail(1)) SWIG_fail;
10440 {
10441 arg2 = &temp2;
10442 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10443 }
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 result = (unsigned long)wxImageHistogram_GetCountColour(arg1,(wxColour const &)*arg2);
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 {
10452 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10453 }
10454 return resultobj;
10455 fail:
10456 return NULL;
10457 }
10458
10459
10460 static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) {
10461 PyObject *obj;
10462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10463 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
10464 Py_INCREF(obj);
10465 return Py_BuildValue((char *)"");
10466 }
10467 static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) {
10468 PyObject *resultobj;
10469 wxString *arg1 = 0 ;
10470 long arg2 = (long) wxBITMAP_TYPE_ANY ;
10471 int arg3 = (int) -1 ;
10472 wxImage *result;
10473 bool temp1 = false ;
10474 PyObject * obj0 = 0 ;
10475 PyObject * obj1 = 0 ;
10476 PyObject * obj2 = 0 ;
10477 char *kwnames[] = {
10478 (char *) "name",(char *) "type",(char *) "index", NULL
10479 };
10480
10481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
10482 {
10483 arg1 = wxString_in_helper(obj0);
10484 if (arg1 == NULL) SWIG_fail;
10485 temp1 = true;
10486 }
10487 if (obj1) {
10488 {
10489 arg2 = (long)(SWIG_As_long(obj1));
10490 if (SWIG_arg_fail(2)) SWIG_fail;
10491 }
10492 }
10493 if (obj2) {
10494 {
10495 arg3 = (int)(SWIG_As_int(obj2));
10496 if (SWIG_arg_fail(3)) SWIG_fail;
10497 }
10498 }
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10507 {
10508 if (temp1)
10509 delete arg1;
10510 }
10511 return resultobj;
10512 fail:
10513 {
10514 if (temp1)
10515 delete arg1;
10516 }
10517 return NULL;
10518 }
10519
10520
10521 static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj;
10523 wxImage *arg1 = (wxImage *) 0 ;
10524 PyObject * obj0 = 0 ;
10525 char *kwnames[] = {
10526 (char *) "self", NULL
10527 };
10528
10529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
10530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
10531 if (SWIG_arg_fail(1)) SWIG_fail;
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 delete arg1;
10535
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 Py_INCREF(Py_None); resultobj = Py_None;
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) {
10547 PyObject *resultobj;
10548 wxString *arg1 = 0 ;
10549 wxString *arg2 = 0 ;
10550 int arg3 = (int) -1 ;
10551 wxImage *result;
10552 bool temp1 = false ;
10553 bool temp2 = false ;
10554 PyObject * obj0 = 0 ;
10555 PyObject * obj1 = 0 ;
10556 PyObject * obj2 = 0 ;
10557 char *kwnames[] = {
10558 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10559 };
10560
10561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
10562 {
10563 arg1 = wxString_in_helper(obj0);
10564 if (arg1 == NULL) SWIG_fail;
10565 temp1 = true;
10566 }
10567 {
10568 arg2 = wxString_in_helper(obj1);
10569 if (arg2 == NULL) SWIG_fail;
10570 temp2 = true;
10571 }
10572 if (obj2) {
10573 {
10574 arg3 = (int)(SWIG_As_int(obj2));
10575 if (SWIG_arg_fail(3)) SWIG_fail;
10576 }
10577 }
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10586 {
10587 if (temp1)
10588 delete arg1;
10589 }
10590 {
10591 if (temp2)
10592 delete arg2;
10593 }
10594 return resultobj;
10595 fail:
10596 {
10597 if (temp1)
10598 delete arg1;
10599 }
10600 {
10601 if (temp2)
10602 delete arg2;
10603 }
10604 return NULL;
10605 }
10606
10607
10608 static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj;
10610 wxInputStream *arg1 = 0 ;
10611 long arg2 = (long) wxBITMAP_TYPE_ANY ;
10612 int arg3 = (int) -1 ;
10613 wxImage *result;
10614 wxPyInputStream *temp1 ;
10615 bool created1 ;
10616 PyObject * obj0 = 0 ;
10617 PyObject * obj1 = 0 ;
10618 PyObject * obj2 = 0 ;
10619 char *kwnames[] = {
10620 (char *) "stream",(char *) "type",(char *) "index", NULL
10621 };
10622
10623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
10624 {
10625 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
10626 arg1 = temp1->m_wxis;
10627 created1 = false;
10628 } else {
10629 PyErr_Clear(); // clear the failure of the wxPyConvert above
10630 arg1 = wxPyCBInputStream_create(obj0, false);
10631 if (arg1 == NULL) {
10632 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
10633 SWIG_fail;
10634 }
10635 created1 = true;
10636 }
10637 }
10638 if (obj1) {
10639 {
10640 arg2 = (long)(SWIG_As_long(obj1));
10641 if (SWIG_arg_fail(2)) SWIG_fail;
10642 }
10643 }
10644 if (obj2) {
10645 {
10646 arg3 = (int)(SWIG_As_int(obj2));
10647 if (SWIG_arg_fail(3)) SWIG_fail;
10648 }
10649 }
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
10653
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10658 {
10659 if (created1) delete arg1;
10660 }
10661 return resultobj;
10662 fail:
10663 {
10664 if (created1) delete arg1;
10665 }
10666 return NULL;
10667 }
10668
10669
10670 static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxInputStream *arg1 = 0 ;
10673 wxString *arg2 = 0 ;
10674 int arg3 = (int) -1 ;
10675 wxImage *result;
10676 wxPyInputStream *temp1 ;
10677 bool created1 ;
10678 bool temp2 = false ;
10679 PyObject * obj0 = 0 ;
10680 PyObject * obj1 = 0 ;
10681 PyObject * obj2 = 0 ;
10682 char *kwnames[] = {
10683 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10684 };
10685
10686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
10687 {
10688 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
10689 arg1 = temp1->m_wxis;
10690 created1 = false;
10691 } else {
10692 PyErr_Clear(); // clear the failure of the wxPyConvert above
10693 arg1 = wxPyCBInputStream_create(obj0, false);
10694 if (arg1 == NULL) {
10695 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
10696 SWIG_fail;
10697 }
10698 created1 = true;
10699 }
10700 }
10701 {
10702 arg2 = wxString_in_helper(obj1);
10703 if (arg2 == NULL) SWIG_fail;
10704 temp2 = true;
10705 }
10706 if (obj2) {
10707 {
10708 arg3 = (int)(SWIG_As_int(obj2));
10709 if (SWIG_arg_fail(3)) SWIG_fail;
10710 }
10711 }
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10720 {
10721 if (created1) delete arg1;
10722 }
10723 {
10724 if (temp2)
10725 delete arg2;
10726 }
10727 return resultobj;
10728 fail:
10729 {
10730 if (created1) delete arg1;
10731 }
10732 {
10733 if (temp2)
10734 delete arg2;
10735 }
10736 return NULL;
10737 }
10738
10739
10740 static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj;
10742 int arg1 = (int) 0 ;
10743 int arg2 = (int) 0 ;
10744 bool arg3 = (bool) true ;
10745 wxImage *result;
10746 PyObject * obj0 = 0 ;
10747 PyObject * obj1 = 0 ;
10748 PyObject * obj2 = 0 ;
10749 char *kwnames[] = {
10750 (char *) "width",(char *) "height",(char *) "clear", NULL
10751 };
10752
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
10754 if (obj0) {
10755 {
10756 arg1 = (int)(SWIG_As_int(obj0));
10757 if (SWIG_arg_fail(1)) SWIG_fail;
10758 }
10759 }
10760 if (obj1) {
10761 {
10762 arg2 = (int)(SWIG_As_int(obj1));
10763 if (SWIG_arg_fail(2)) SWIG_fail;
10764 }
10765 }
10766 if (obj2) {
10767 {
10768 arg3 = (bool)(SWIG_As_bool(obj2));
10769 if (SWIG_arg_fail(3)) SWIG_fail;
10770 }
10771 }
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10780 return resultobj;
10781 fail:
10782 return NULL;
10783 }
10784
10785
10786 static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
10787 PyObject *resultobj;
10788 wxBitmap *arg1 = 0 ;
10789 wxImage *result;
10790 PyObject * obj0 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "bitmap", NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
10796 {
10797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
10798 if (SWIG_arg_fail(1)) SWIG_fail;
10799 if (arg1 == NULL) {
10800 SWIG_null_ref("wxBitmap");
10801 }
10802 if (SWIG_arg_fail(1)) SWIG_fail;
10803 }
10804 {
10805 if (!wxPyCheckForApp()) SWIG_fail;
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) {
10820 PyObject *resultobj;
10821 int arg1 ;
10822 int arg2 ;
10823 buffer arg3 ;
10824 int arg4 ;
10825 wxImage *result;
10826 PyObject * obj0 = 0 ;
10827 PyObject * obj1 = 0 ;
10828 PyObject * obj2 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "width",(char *) "height",(char *) "data", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
10834 {
10835 arg1 = (int)(SWIG_As_int(obj0));
10836 if (SWIG_arg_fail(1)) SWIG_fail;
10837 }
10838 {
10839 arg2 = (int)(SWIG_As_int(obj1));
10840 if (SWIG_arg_fail(2)) SWIG_fail;
10841 }
10842 {
10843 if (!PyArg_Parse(obj2, "t#", &arg3, &arg4)) SWIG_fail;
10844 }
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 result = (wxImage *)new_wxImage(arg1,arg2,arg3,arg4);
10848
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10853 return resultobj;
10854 fail:
10855 return NULL;
10856 }
10857
10858
10859 static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
10860 PyObject *resultobj;
10861 int arg1 ;
10862 int arg2 ;
10863 buffer arg3 ;
10864 int arg4 ;
10865 buffer arg5 ;
10866 int arg6 ;
10867 wxImage *result;
10868 PyObject * obj0 = 0 ;
10869 PyObject * obj1 = 0 ;
10870 PyObject * obj2 = 0 ;
10871 PyObject * obj3 = 0 ;
10872 char *kwnames[] = {
10873 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10874 };
10875
10876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10877 {
10878 arg1 = (int)(SWIG_As_int(obj0));
10879 if (SWIG_arg_fail(1)) SWIG_fail;
10880 }
10881 {
10882 arg2 = (int)(SWIG_As_int(obj1));
10883 if (SWIG_arg_fail(2)) SWIG_fail;
10884 }
10885 {
10886 if (!PyArg_Parse(obj2, "t#", &arg3, &arg4)) SWIG_fail;
10887 }
10888 {
10889 if (!PyArg_Parse(obj3, "t#", &arg5, &arg6)) SWIG_fail;
10890 }
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 result = (wxImage *)new_wxImage(arg1,arg2,arg3,arg4,arg5,arg6);
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10899 return resultobj;
10900 fail:
10901 return NULL;
10902 }
10903
10904
10905 static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10906 PyObject *resultobj;
10907 wxImage *arg1 = (wxImage *) 0 ;
10908 int arg2 ;
10909 int arg3 ;
10910 bool arg4 = (bool) true ;
10911 PyObject * obj0 = 0 ;
10912 PyObject * obj1 = 0 ;
10913 PyObject * obj2 = 0 ;
10914 PyObject * obj3 = 0 ;
10915 char *kwnames[] = {
10916 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
10917 };
10918
10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
10921 if (SWIG_arg_fail(1)) SWIG_fail;
10922 {
10923 arg2 = (int)(SWIG_As_int(obj1));
10924 if (SWIG_arg_fail(2)) SWIG_fail;
10925 }
10926 {
10927 arg3 = (int)(SWIG_As_int(obj2));
10928 if (SWIG_arg_fail(3)) SWIG_fail;
10929 }
10930 if (obj3) {
10931 {
10932 arg4 = (bool)(SWIG_As_bool(obj3));
10933 if (SWIG_arg_fail(4)) SWIG_fail;
10934 }
10935 }
10936 {
10937 PyThreadState* __tstate = wxPyBeginAllowThreads();
10938 (arg1)->Create(arg2,arg3,arg4);
10939
10940 wxPyEndAllowThreads(__tstate);
10941 if (PyErr_Occurred()) SWIG_fail;
10942 }
10943 Py_INCREF(Py_None); resultobj = Py_None;
10944 return resultobj;
10945 fail:
10946 return NULL;
10947 }
10948
10949
10950 static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
10951 PyObject *resultobj;
10952 wxImage *arg1 = (wxImage *) 0 ;
10953 PyObject * obj0 = 0 ;
10954 char *kwnames[] = {
10955 (char *) "self", NULL
10956 };
10957
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
10959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
10960 if (SWIG_arg_fail(1)) SWIG_fail;
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 (arg1)->Destroy();
10964
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 Py_INCREF(Py_None); resultobj = Py_None;
10969 return resultobj;
10970 fail:
10971 return NULL;
10972 }
10973
10974
10975 static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
10976 PyObject *resultobj;
10977 wxImage *arg1 = (wxImage *) 0 ;
10978 int arg2 ;
10979 int arg3 ;
10980 SwigValueWrapper<wxImage > result;
10981 PyObject * obj0 = 0 ;
10982 PyObject * obj1 = 0 ;
10983 PyObject * obj2 = 0 ;
10984 char *kwnames[] = {
10985 (char *) "self",(char *) "width",(char *) "height", NULL
10986 };
10987
10988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
10989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
10990 if (SWIG_arg_fail(1)) SWIG_fail;
10991 {
10992 arg2 = (int)(SWIG_As_int(obj1));
10993 if (SWIG_arg_fail(2)) SWIG_fail;
10994 }
10995 {
10996 arg3 = (int)(SWIG_As_int(obj2));
10997 if (SWIG_arg_fail(3)) SWIG_fail;
10998 }
10999 {
11000 PyThreadState* __tstate = wxPyBeginAllowThreads();
11001 result = (arg1)->Scale(arg2,arg3);
11002
11003 wxPyEndAllowThreads(__tstate);
11004 if (PyErr_Occurred()) SWIG_fail;
11005 }
11006 {
11007 wxImage * resultptr;
11008 resultptr = new wxImage((wxImage &)(result));
11009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
11010 }
11011 return resultobj;
11012 fail:
11013 return NULL;
11014 }
11015
11016
11017 static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) {
11018 PyObject *resultobj;
11019 wxImage *arg1 = (wxImage *) 0 ;
11020 int arg2 ;
11021 int arg3 ;
11022 SwigValueWrapper<wxImage > result;
11023 PyObject * obj0 = 0 ;
11024 PyObject * obj1 = 0 ;
11025 PyObject * obj2 = 0 ;
11026 char *kwnames[] = {
11027 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11028 };
11029
11030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
11031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11032 if (SWIG_arg_fail(1)) SWIG_fail;
11033 {
11034 arg2 = (int)(SWIG_As_int(obj1));
11035 if (SWIG_arg_fail(2)) SWIG_fail;
11036 }
11037 {
11038 arg3 = (int)(SWIG_As_int(obj2));
11039 if (SWIG_arg_fail(3)) SWIG_fail;
11040 }
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
11044
11045 wxPyEndAllowThreads(__tstate);
11046 if (PyErr_Occurred()) SWIG_fail;
11047 }
11048 {
11049 wxImage * resultptr;
11050 resultptr = new wxImage((wxImage &)(result));
11051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
11052 }
11053 return resultobj;
11054 fail:
11055 return NULL;
11056 }
11057
11058
11059 static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj;
11061 wxImage *arg1 = (wxImage *) 0 ;
11062 int arg2 ;
11063 int arg3 ;
11064 wxImage *result;
11065 PyObject * obj0 = 0 ;
11066 PyObject * obj1 = 0 ;
11067 PyObject * obj2 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "self",(char *) "width",(char *) "height", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
11073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11074 if (SWIG_arg_fail(1)) SWIG_fail;
11075 {
11076 arg2 = (int)(SWIG_As_int(obj1));
11077 if (SWIG_arg_fail(2)) SWIG_fail;
11078 }
11079 {
11080 arg3 = (int)(SWIG_As_int(obj2));
11081 if (SWIG_arg_fail(3)) SWIG_fail;
11082 }
11083 {
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 {
11086 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
11087 result = (wxImage *) &_result_ref;
11088 }
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxImage *arg1 = (wxImage *) 0 ;
11103 wxSize *arg2 = 0 ;
11104 wxPoint *arg3 = 0 ;
11105 int arg4 = (int) -1 ;
11106 int arg5 = (int) -1 ;
11107 int arg6 = (int) -1 ;
11108 wxImage *result;
11109 wxSize temp2 ;
11110 wxPoint temp3 ;
11111 PyObject * obj0 = 0 ;
11112 PyObject * obj1 = 0 ;
11113 PyObject * obj2 = 0 ;
11114 PyObject * obj3 = 0 ;
11115 PyObject * obj4 = 0 ;
11116 PyObject * obj5 = 0 ;
11117 char *kwnames[] = {
11118 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11119 };
11120
11121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:Image_Resize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11123 if (SWIG_arg_fail(1)) SWIG_fail;
11124 {
11125 arg2 = &temp2;
11126 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11127 }
11128 {
11129 arg3 = &temp3;
11130 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11131 }
11132 if (obj3) {
11133 {
11134 arg4 = (int)(SWIG_As_int(obj3));
11135 if (SWIG_arg_fail(4)) SWIG_fail;
11136 }
11137 }
11138 if (obj4) {
11139 {
11140 arg5 = (int)(SWIG_As_int(obj4));
11141 if (SWIG_arg_fail(5)) SWIG_fail;
11142 }
11143 }
11144 if (obj5) {
11145 {
11146 arg6 = (int)(SWIG_As_int(obj5));
11147 if (SWIG_arg_fail(6)) SWIG_fail;
11148 }
11149 }
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 {
11153 wxImage &_result_ref = (arg1)->Resize((wxSize const &)*arg2,(wxPoint const &)*arg3,arg4,arg5,arg6);
11154 result = (wxImage *) &_result_ref;
11155 }
11156
11157 wxPyEndAllowThreads(__tstate);
11158 if (PyErr_Occurred()) SWIG_fail;
11159 }
11160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
11161 return resultobj;
11162 fail:
11163 return NULL;
11164 }
11165
11166
11167 static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
11168 PyObject *resultobj;
11169 wxImage *arg1 = (wxImage *) 0 ;
11170 int arg2 ;
11171 int arg3 ;
11172 byte arg4 ;
11173 byte arg5 ;
11174 byte arg6 ;
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj1 = 0 ;
11177 PyObject * obj2 = 0 ;
11178 PyObject * obj3 = 0 ;
11179 PyObject * obj4 = 0 ;
11180 PyObject * obj5 = 0 ;
11181 char *kwnames[] = {
11182 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11183 };
11184
11185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11187 if (SWIG_arg_fail(1)) SWIG_fail;
11188 {
11189 arg2 = (int)(SWIG_As_int(obj1));
11190 if (SWIG_arg_fail(2)) SWIG_fail;
11191 }
11192 {
11193 arg3 = (int)(SWIG_As_int(obj2));
11194 if (SWIG_arg_fail(3)) SWIG_fail;
11195 }
11196 {
11197 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
11198 if (SWIG_arg_fail(4)) SWIG_fail;
11199 }
11200 {
11201 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4));
11202 if (SWIG_arg_fail(5)) SWIG_fail;
11203 }
11204 {
11205 arg6 = (byte)(SWIG_As_unsigned_SS_char(obj5));
11206 if (SWIG_arg_fail(6)) SWIG_fail;
11207 }
11208 {
11209 PyThreadState* __tstate = wxPyBeginAllowThreads();
11210 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
11211
11212 wxPyEndAllowThreads(__tstate);
11213 if (PyErr_Occurred()) SWIG_fail;
11214 }
11215 Py_INCREF(Py_None); resultobj = Py_None;
11216 return resultobj;
11217 fail:
11218 return NULL;
11219 }
11220
11221
11222 static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kwargs) {
11223 PyObject *resultobj;
11224 wxImage *arg1 = (wxImage *) 0 ;
11225 wxRect *arg2 = 0 ;
11226 byte arg3 ;
11227 byte arg4 ;
11228 byte arg5 ;
11229 wxRect temp2 ;
11230 PyObject * obj0 = 0 ;
11231 PyObject * obj1 = 0 ;
11232 PyObject * obj2 = 0 ;
11233 PyObject * obj3 = 0 ;
11234 PyObject * obj4 = 0 ;
11235 char *kwnames[] = {
11236 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11237 };
11238
11239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetRGBRect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11241 if (SWIG_arg_fail(1)) SWIG_fail;
11242 {
11243 arg2 = &temp2;
11244 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11245 }
11246 {
11247 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
11248 if (SWIG_arg_fail(3)) SWIG_fail;
11249 }
11250 {
11251 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
11252 if (SWIG_arg_fail(4)) SWIG_fail;
11253 }
11254 {
11255 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4));
11256 if (SWIG_arg_fail(5)) SWIG_fail;
11257 }
11258 {
11259 PyThreadState* __tstate = wxPyBeginAllowThreads();
11260 (arg1)->SetRGB((wxRect const &)*arg2,arg3,arg4,arg5);
11261
11262 wxPyEndAllowThreads(__tstate);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 Py_INCREF(Py_None); resultobj = Py_None;
11266 return resultobj;
11267 fail:
11268 return NULL;
11269 }
11270
11271
11272 static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) {
11273 PyObject *resultobj;
11274 wxImage *arg1 = (wxImage *) 0 ;
11275 int arg2 ;
11276 int arg3 ;
11277 byte result;
11278 PyObject * obj0 = 0 ;
11279 PyObject * obj1 = 0 ;
11280 PyObject * obj2 = 0 ;
11281 char *kwnames[] = {
11282 (char *) "self",(char *) "x",(char *) "y", NULL
11283 };
11284
11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
11286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11287 if (SWIG_arg_fail(1)) SWIG_fail;
11288 {
11289 arg2 = (int)(SWIG_As_int(obj1));
11290 if (SWIG_arg_fail(2)) SWIG_fail;
11291 }
11292 {
11293 arg3 = (int)(SWIG_As_int(obj2));
11294 if (SWIG_arg_fail(3)) SWIG_fail;
11295 }
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 result = (byte)(arg1)->GetRed(arg2,arg3);
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 {
11304 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
11305 }
11306 return resultobj;
11307 fail:
11308 return NULL;
11309 }
11310
11311
11312 static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) {
11313 PyObject *resultobj;
11314 wxImage *arg1 = (wxImage *) 0 ;
11315 int arg2 ;
11316 int arg3 ;
11317 byte result;
11318 PyObject * obj0 = 0 ;
11319 PyObject * obj1 = 0 ;
11320 PyObject * obj2 = 0 ;
11321 char *kwnames[] = {
11322 (char *) "self",(char *) "x",(char *) "y", NULL
11323 };
11324
11325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
11326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11327 if (SWIG_arg_fail(1)) SWIG_fail;
11328 {
11329 arg2 = (int)(SWIG_As_int(obj1));
11330 if (SWIG_arg_fail(2)) SWIG_fail;
11331 }
11332 {
11333 arg3 = (int)(SWIG_As_int(obj2));
11334 if (SWIG_arg_fail(3)) SWIG_fail;
11335 }
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 result = (byte)(arg1)->GetGreen(arg2,arg3);
11339
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
11343 {
11344 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
11345 }
11346 return resultobj;
11347 fail:
11348 return NULL;
11349 }
11350
11351
11352 static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) {
11353 PyObject *resultobj;
11354 wxImage *arg1 = (wxImage *) 0 ;
11355 int arg2 ;
11356 int arg3 ;
11357 byte result;
11358 PyObject * obj0 = 0 ;
11359 PyObject * obj1 = 0 ;
11360 PyObject * obj2 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "self",(char *) "x",(char *) "y", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
11366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11367 if (SWIG_arg_fail(1)) SWIG_fail;
11368 {
11369 arg2 = (int)(SWIG_As_int(obj1));
11370 if (SWIG_arg_fail(2)) SWIG_fail;
11371 }
11372 {
11373 arg3 = (int)(SWIG_As_int(obj2));
11374 if (SWIG_arg_fail(3)) SWIG_fail;
11375 }
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 result = (byte)(arg1)->GetBlue(arg2,arg3);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 {
11384 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
11385 }
11386 return resultobj;
11387 fail:
11388 return NULL;
11389 }
11390
11391
11392 static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
11393 PyObject *resultobj;
11394 wxImage *arg1 = (wxImage *) 0 ;
11395 int arg2 ;
11396 int arg3 ;
11397 byte arg4 ;
11398 PyObject * obj0 = 0 ;
11399 PyObject * obj1 = 0 ;
11400 PyObject * obj2 = 0 ;
11401 PyObject * obj3 = 0 ;
11402 char *kwnames[] = {
11403 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11404 };
11405
11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11408 if (SWIG_arg_fail(1)) SWIG_fail;
11409 {
11410 arg2 = (int)(SWIG_As_int(obj1));
11411 if (SWIG_arg_fail(2)) SWIG_fail;
11412 }
11413 {
11414 arg3 = (int)(SWIG_As_int(obj2));
11415 if (SWIG_arg_fail(3)) SWIG_fail;
11416 }
11417 {
11418 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
11419 if (SWIG_arg_fail(4)) SWIG_fail;
11420 }
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 (arg1)->SetAlpha(arg2,arg3,arg4);
11424
11425 wxPyEndAllowThreads(__tstate);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
11428 Py_INCREF(Py_None); resultobj = Py_None;
11429 return resultobj;
11430 fail:
11431 return NULL;
11432 }
11433
11434
11435 static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
11436 PyObject *resultobj;
11437 wxImage *arg1 = (wxImage *) 0 ;
11438 int arg2 ;
11439 int arg3 ;
11440 byte result;
11441 PyObject * obj0 = 0 ;
11442 PyObject * obj1 = 0 ;
11443 PyObject * obj2 = 0 ;
11444 char *kwnames[] = {
11445 (char *) "self",(char *) "x",(char *) "y", NULL
11446 };
11447
11448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
11449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11450 if (SWIG_arg_fail(1)) SWIG_fail;
11451 {
11452 arg2 = (int)(SWIG_As_int(obj1));
11453 if (SWIG_arg_fail(2)) SWIG_fail;
11454 }
11455 {
11456 arg3 = (int)(SWIG_As_int(obj2));
11457 if (SWIG_arg_fail(3)) SWIG_fail;
11458 }
11459 {
11460 PyThreadState* __tstate = wxPyBeginAllowThreads();
11461 result = (byte)(arg1)->GetAlpha(arg2,arg3);
11462
11463 wxPyEndAllowThreads(__tstate);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 {
11467 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
11468 }
11469 return resultobj;
11470 fail:
11471 return NULL;
11472 }
11473
11474
11475 static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
11476 PyObject *resultobj;
11477 wxImage *arg1 = (wxImage *) 0 ;
11478 bool result;
11479 PyObject * obj0 = 0 ;
11480 char *kwnames[] = {
11481 (char *) "self", NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
11485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail;
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 result = (bool)(arg1)->HasAlpha();
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 {
11495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11496 }
11497 return resultobj;
11498 fail:
11499 return NULL;
11500 }
11501
11502
11503 static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
11504 PyObject *resultobj;
11505 wxImage *arg1 = (wxImage *) 0 ;
11506 PyObject * obj0 = 0 ;
11507 char *kwnames[] = {
11508 (char *) "self", NULL
11509 };
11510
11511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InitAlpha",kwnames,&obj0)) goto fail;
11512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11513 if (SWIG_arg_fail(1)) SWIG_fail;
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 (arg1)->InitAlpha();
11517
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 Py_INCREF(Py_None); resultobj = Py_None;
11522 return resultobj;
11523 fail:
11524 return NULL;
11525 }
11526
11527
11528 static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject *kwargs) {
11529 PyObject *resultobj;
11530 wxImage *arg1 = (wxImage *) 0 ;
11531 int arg2 ;
11532 int arg3 ;
11533 byte arg4 = (byte) wxIMAGE_ALPHA_THRESHOLD ;
11534 bool result;
11535 PyObject * obj0 = 0 ;
11536 PyObject * obj1 = 0 ;
11537 PyObject * obj2 = 0 ;
11538 PyObject * obj3 = 0 ;
11539 char *kwnames[] = {
11540 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11541 };
11542
11543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_IsTransparent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11545 if (SWIG_arg_fail(1)) SWIG_fail;
11546 {
11547 arg2 = (int)(SWIG_As_int(obj1));
11548 if (SWIG_arg_fail(2)) SWIG_fail;
11549 }
11550 {
11551 arg3 = (int)(SWIG_As_int(obj2));
11552 if (SWIG_arg_fail(3)) SWIG_fail;
11553 }
11554 if (obj3) {
11555 {
11556 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
11557 if (SWIG_arg_fail(4)) SWIG_fail;
11558 }
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (bool)((wxImage const *)arg1)->IsTransparent(arg2,arg3,arg4);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 {
11568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11569 }
11570 return resultobj;
11571 fail:
11572 return NULL;
11573 }
11574
11575
11576 static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj;
11578 wxImage *arg1 = (wxImage *) 0 ;
11579 byte *arg2 = (byte *) 0 ;
11580 byte *arg3 = (byte *) 0 ;
11581 byte *arg4 = (byte *) 0 ;
11582 byte arg5 = (byte) 0 ;
11583 byte arg6 = (byte) 0 ;
11584 byte arg7 = (byte) 0 ;
11585 bool result;
11586 byte temp2 ;
11587 int res2 = 0 ;
11588 byte temp3 ;
11589 int res3 = 0 ;
11590 byte temp4 ;
11591 int res4 = 0 ;
11592 PyObject * obj0 = 0 ;
11593 PyObject * obj1 = 0 ;
11594 PyObject * obj2 = 0 ;
11595 PyObject * obj3 = 0 ;
11596 char *kwnames[] = {
11597 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11598 };
11599
11600 arg2 = &temp2; res2 = SWIG_NEWOBJ;
11601 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11602 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11605 if (SWIG_arg_fail(1)) SWIG_fail;
11606 if (obj1) {
11607 {
11608 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj1));
11609 if (SWIG_arg_fail(5)) SWIG_fail;
11610 }
11611 }
11612 if (obj2) {
11613 {
11614 arg6 = (byte)(SWIG_As_unsigned_SS_char(obj2));
11615 if (SWIG_arg_fail(6)) SWIG_fail;
11616 }
11617 }
11618 if (obj3) {
11619 {
11620 arg7 = (byte)(SWIG_As_unsigned_SS_char(obj3));
11621 if (SWIG_arg_fail(7)) SWIG_fail;
11622 }
11623 }
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
11627
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
11631 {
11632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11633 }
11634 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
11635 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
11636 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11637 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
11638 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11639 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
11640 return resultobj;
11641 fail:
11642 return NULL;
11643 }
11644
11645
11646 static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) {
11647 PyObject *resultobj;
11648 wxImage *arg1 = (wxImage *) 0 ;
11649 byte arg2 = (byte) wxIMAGE_ALPHA_THRESHOLD ;
11650 bool result;
11651 PyObject * obj0 = 0 ;
11652 PyObject * obj1 = 0 ;
11653 char *kwnames[] = {
11654 (char *) "self",(char *) "threshold", NULL
11655 };
11656
11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertAlphaToMask",kwnames,&obj0,&obj1)) goto fail;
11658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11659 if (SWIG_arg_fail(1)) SWIG_fail;
11660 if (obj1) {
11661 {
11662 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
11663 if (SWIG_arg_fail(2)) SWIG_fail;
11664 }
11665 }
11666 {
11667 PyThreadState* __tstate = wxPyBeginAllowThreads();
11668 result = (bool)(arg1)->ConvertAlphaToMask(arg2);
11669
11670 wxPyEndAllowThreads(__tstate);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
11673 {
11674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11675 }
11676 return resultobj;
11677 fail:
11678 return NULL;
11679 }
11680
11681
11682 static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj;
11684 wxImage *arg1 = (wxImage *) 0 ;
11685 byte arg2 ;
11686 byte arg3 ;
11687 byte arg4 ;
11688 bool result;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 PyObject * obj2 = 0 ;
11692 PyObject * obj3 = 0 ;
11693 char *kwnames[] = {
11694 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11695 };
11696
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11699 if (SWIG_arg_fail(1)) SWIG_fail;
11700 {
11701 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
11702 if (SWIG_arg_fail(2)) SWIG_fail;
11703 }
11704 {
11705 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
11706 if (SWIG_arg_fail(3)) SWIG_fail;
11707 }
11708 {
11709 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
11710 if (SWIG_arg_fail(4)) SWIG_fail;
11711 }
11712 {
11713 PyThreadState* __tstate = wxPyBeginAllowThreads();
11714 result = (bool)(arg1)->ConvertColourToAlpha(arg2,arg3,arg4);
11715
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 {
11720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11721 }
11722 return resultobj;
11723 fail:
11724 return NULL;
11725 }
11726
11727
11728 static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
11729 PyObject *resultobj;
11730 wxImage *arg1 = (wxImage *) 0 ;
11731 wxImage *arg2 = 0 ;
11732 byte arg3 ;
11733 byte arg4 ;
11734 byte arg5 ;
11735 bool result;
11736 PyObject * obj0 = 0 ;
11737 PyObject * obj1 = 0 ;
11738 PyObject * obj2 = 0 ;
11739 PyObject * obj3 = 0 ;
11740 PyObject * obj4 = 0 ;
11741 char *kwnames[] = {
11742 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11743 };
11744
11745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11747 if (SWIG_arg_fail(1)) SWIG_fail;
11748 {
11749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11750 if (SWIG_arg_fail(2)) SWIG_fail;
11751 if (arg2 == NULL) {
11752 SWIG_null_ref("wxImage");
11753 }
11754 if (SWIG_arg_fail(2)) SWIG_fail;
11755 }
11756 {
11757 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
11758 if (SWIG_arg_fail(3)) SWIG_fail;
11759 }
11760 {
11761 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
11762 if (SWIG_arg_fail(4)) SWIG_fail;
11763 }
11764 {
11765 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4));
11766 if (SWIG_arg_fail(5)) SWIG_fail;
11767 }
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 {
11776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11777 }
11778 return resultobj;
11779 fail:
11780 return NULL;
11781 }
11782
11783
11784 static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj;
11786 wxString *arg1 = 0 ;
11787 bool result;
11788 bool temp1 = false ;
11789 PyObject * obj0 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "filename", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
11795 {
11796 arg1 = wxString_in_helper(obj0);
11797 if (arg1 == NULL) SWIG_fail;
11798 temp1 = true;
11799 }
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = (bool)wxImage::CanRead((wxString const &)*arg1);
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 {
11808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11809 }
11810 {
11811 if (temp1)
11812 delete arg1;
11813 }
11814 return resultobj;
11815 fail:
11816 {
11817 if (temp1)
11818 delete arg1;
11819 }
11820 return NULL;
11821 }
11822
11823
11824 static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj;
11826 wxString *arg1 = 0 ;
11827 long arg2 = (long) wxBITMAP_TYPE_ANY ;
11828 int result;
11829 bool temp1 = false ;
11830 PyObject * obj0 = 0 ;
11831 PyObject * obj1 = 0 ;
11832 char *kwnames[] = {
11833 (char *) "filename",(char *) "type", NULL
11834 };
11835
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
11837 {
11838 arg1 = wxString_in_helper(obj0);
11839 if (arg1 == NULL) SWIG_fail;
11840 temp1 = true;
11841 }
11842 if (obj1) {
11843 {
11844 arg2 = (long)(SWIG_As_long(obj1));
11845 if (SWIG_arg_fail(2)) SWIG_fail;
11846 }
11847 }
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
11851
11852 wxPyEndAllowThreads(__tstate);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 {
11856 resultobj = SWIG_From_int((int)(result));
11857 }
11858 {
11859 if (temp1)
11860 delete arg1;
11861 }
11862 return resultobj;
11863 fail:
11864 {
11865 if (temp1)
11866 delete arg1;
11867 }
11868 return NULL;
11869 }
11870
11871
11872 static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
11873 PyObject *resultobj;
11874 wxImage *arg1 = (wxImage *) 0 ;
11875 wxString *arg2 = 0 ;
11876 long arg3 = (long) wxBITMAP_TYPE_ANY ;
11877 int arg4 = (int) -1 ;
11878 bool result;
11879 bool temp2 = false ;
11880 PyObject * obj0 = 0 ;
11881 PyObject * obj1 = 0 ;
11882 PyObject * obj2 = 0 ;
11883 PyObject * obj3 = 0 ;
11884 char *kwnames[] = {
11885 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11886 };
11887
11888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11890 if (SWIG_arg_fail(1)) SWIG_fail;
11891 {
11892 arg2 = wxString_in_helper(obj1);
11893 if (arg2 == NULL) SWIG_fail;
11894 temp2 = true;
11895 }
11896 if (obj2) {
11897 {
11898 arg3 = (long)(SWIG_As_long(obj2));
11899 if (SWIG_arg_fail(3)) SWIG_fail;
11900 }
11901 }
11902 if (obj3) {
11903 {
11904 arg4 = (int)(SWIG_As_int(obj3));
11905 if (SWIG_arg_fail(4)) SWIG_fail;
11906 }
11907 }
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
11911
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 {
11916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11917 }
11918 {
11919 if (temp2)
11920 delete arg2;
11921 }
11922 return resultobj;
11923 fail:
11924 {
11925 if (temp2)
11926 delete arg2;
11927 }
11928 return NULL;
11929 }
11930
11931
11932 static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj;
11934 wxImage *arg1 = (wxImage *) 0 ;
11935 wxString *arg2 = 0 ;
11936 wxString *arg3 = 0 ;
11937 int arg4 = (int) -1 ;
11938 bool result;
11939 bool temp2 = false ;
11940 bool temp3 = false ;
11941 PyObject * obj0 = 0 ;
11942 PyObject * obj1 = 0 ;
11943 PyObject * obj2 = 0 ;
11944 PyObject * obj3 = 0 ;
11945 char *kwnames[] = {
11946 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11947 };
11948
11949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11951 if (SWIG_arg_fail(1)) SWIG_fail;
11952 {
11953 arg2 = wxString_in_helper(obj1);
11954 if (arg2 == NULL) SWIG_fail;
11955 temp2 = true;
11956 }
11957 {
11958 arg3 = wxString_in_helper(obj2);
11959 if (arg3 == NULL) SWIG_fail;
11960 temp3 = true;
11961 }
11962 if (obj3) {
11963 {
11964 arg4 = (int)(SWIG_As_int(obj3));
11965 if (SWIG_arg_fail(4)) SWIG_fail;
11966 }
11967 }
11968 {
11969 PyThreadState* __tstate = wxPyBeginAllowThreads();
11970 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11971
11972 wxPyEndAllowThreads(__tstate);
11973 if (PyErr_Occurred()) SWIG_fail;
11974 }
11975 {
11976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11977 }
11978 {
11979 if (temp2)
11980 delete arg2;
11981 }
11982 {
11983 if (temp3)
11984 delete arg3;
11985 }
11986 return resultobj;
11987 fail:
11988 {
11989 if (temp2)
11990 delete arg2;
11991 }
11992 {
11993 if (temp3)
11994 delete arg3;
11995 }
11996 return NULL;
11997 }
11998
11999
12000 static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj;
12002 wxImage *arg1 = (wxImage *) 0 ;
12003 wxString *arg2 = 0 ;
12004 int arg3 ;
12005 bool result;
12006 bool temp2 = false ;
12007 PyObject * obj0 = 0 ;
12008 PyObject * obj1 = 0 ;
12009 PyObject * obj2 = 0 ;
12010 char *kwnames[] = {
12011 (char *) "self",(char *) "name",(char *) "type", NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
12015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12016 if (SWIG_arg_fail(1)) SWIG_fail;
12017 {
12018 arg2 = wxString_in_helper(obj1);
12019 if (arg2 == NULL) SWIG_fail;
12020 temp2 = true;
12021 }
12022 {
12023 arg3 = (int)(SWIG_As_int(obj2));
12024 if (SWIG_arg_fail(3)) SWIG_fail;
12025 }
12026 {
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12029
12030 wxPyEndAllowThreads(__tstate);
12031 if (PyErr_Occurred()) SWIG_fail;
12032 }
12033 {
12034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12035 }
12036 {
12037 if (temp2)
12038 delete arg2;
12039 }
12040 return resultobj;
12041 fail:
12042 {
12043 if (temp2)
12044 delete arg2;
12045 }
12046 return NULL;
12047 }
12048
12049
12050 static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj;
12052 wxImage *arg1 = (wxImage *) 0 ;
12053 wxString *arg2 = 0 ;
12054 wxString *arg3 = 0 ;
12055 bool result;
12056 bool temp2 = false ;
12057 bool temp3 = false ;
12058 PyObject * obj0 = 0 ;
12059 PyObject * obj1 = 0 ;
12060 PyObject * obj2 = 0 ;
12061 char *kwnames[] = {
12062 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12063 };
12064
12065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
12066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12067 if (SWIG_arg_fail(1)) SWIG_fail;
12068 {
12069 arg2 = wxString_in_helper(obj1);
12070 if (arg2 == NULL) SWIG_fail;
12071 temp2 = true;
12072 }
12073 {
12074 arg3 = wxString_in_helper(obj2);
12075 if (arg3 == NULL) SWIG_fail;
12076 temp3 = true;
12077 }
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 {
12086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12087 }
12088 {
12089 if (temp2)
12090 delete arg2;
12091 }
12092 {
12093 if (temp3)
12094 delete arg3;
12095 }
12096 return resultobj;
12097 fail:
12098 {
12099 if (temp2)
12100 delete arg2;
12101 }
12102 {
12103 if (temp3)
12104 delete arg3;
12105 }
12106 return NULL;
12107 }
12108
12109
12110 static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxInputStream *arg1 = 0 ;
12113 bool result;
12114 wxPyInputStream *temp1 ;
12115 bool created1 ;
12116 PyObject * obj0 = 0 ;
12117 char *kwnames[] = {
12118 (char *) "stream", NULL
12119 };
12120
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
12122 {
12123 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
12124 arg1 = temp1->m_wxis;
12125 created1 = false;
12126 } else {
12127 PyErr_Clear(); // clear the failure of the wxPyConvert above
12128 arg1 = wxPyCBInputStream_create(obj0, false);
12129 if (arg1 == NULL) {
12130 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
12131 SWIG_fail;
12132 }
12133 created1 = true;
12134 }
12135 }
12136 {
12137 PyThreadState* __tstate = wxPyBeginAllowThreads();
12138 result = (bool)wxImage::CanRead(*arg1);
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 {
12144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12145 }
12146 {
12147 if (created1) delete arg1;
12148 }
12149 return resultobj;
12150 fail:
12151 {
12152 if (created1) delete arg1;
12153 }
12154 return NULL;
12155 }
12156
12157
12158 static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) {
12159 PyObject *resultobj;
12160 wxImage *arg1 = (wxImage *) 0 ;
12161 wxInputStream *arg2 = 0 ;
12162 long arg3 = (long) wxBITMAP_TYPE_ANY ;
12163 int arg4 = (int) -1 ;
12164 bool result;
12165 wxPyInputStream *temp2 ;
12166 bool created2 ;
12167 PyObject * obj0 = 0 ;
12168 PyObject * obj1 = 0 ;
12169 PyObject * obj2 = 0 ;
12170 PyObject * obj3 = 0 ;
12171 char *kwnames[] = {
12172 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12173 };
12174
12175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12177 if (SWIG_arg_fail(1)) SWIG_fail;
12178 {
12179 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
12180 arg2 = temp2->m_wxis;
12181 created2 = false;
12182 } else {
12183 PyErr_Clear(); // clear the failure of the wxPyConvert above
12184 arg2 = wxPyCBInputStream_create(obj1, false);
12185 if (arg2 == NULL) {
12186 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
12187 SWIG_fail;
12188 }
12189 created2 = true;
12190 }
12191 }
12192 if (obj2) {
12193 {
12194 arg3 = (long)(SWIG_As_long(obj2));
12195 if (SWIG_arg_fail(3)) SWIG_fail;
12196 }
12197 }
12198 if (obj3) {
12199 {
12200 arg4 = (int)(SWIG_As_int(obj3));
12201 if (SWIG_arg_fail(4)) SWIG_fail;
12202 }
12203 }
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
12207
12208 wxPyEndAllowThreads(__tstate);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 }
12211 {
12212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12213 }
12214 {
12215 if (created2) delete arg2;
12216 }
12217 return resultobj;
12218 fail:
12219 {
12220 if (created2) delete arg2;
12221 }
12222 return NULL;
12223 }
12224
12225
12226 static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) {
12227 PyObject *resultobj;
12228 wxImage *arg1 = (wxImage *) 0 ;
12229 wxInputStream *arg2 = 0 ;
12230 wxString *arg3 = 0 ;
12231 int arg4 = (int) -1 ;
12232 bool result;
12233 wxPyInputStream *temp2 ;
12234 bool created2 ;
12235 bool temp3 = false ;
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 PyObject * obj2 = 0 ;
12239 PyObject * obj3 = 0 ;
12240 char *kwnames[] = {
12241 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12242 };
12243
12244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12246 if (SWIG_arg_fail(1)) SWIG_fail;
12247 {
12248 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
12249 arg2 = temp2->m_wxis;
12250 created2 = false;
12251 } else {
12252 PyErr_Clear(); // clear the failure of the wxPyConvert above
12253 arg2 = wxPyCBInputStream_create(obj1, false);
12254 if (arg2 == NULL) {
12255 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
12256 SWIG_fail;
12257 }
12258 created2 = true;
12259 }
12260 }
12261 {
12262 arg3 = wxString_in_helper(obj2);
12263 if (arg3 == NULL) SWIG_fail;
12264 temp3 = true;
12265 }
12266 if (obj3) {
12267 {
12268 arg4 = (int)(SWIG_As_int(obj3));
12269 if (SWIG_arg_fail(4)) SWIG_fail;
12270 }
12271 }
12272 {
12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
12274 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
12275
12276 wxPyEndAllowThreads(__tstate);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
12279 {
12280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12281 }
12282 {
12283 if (created2) delete arg2;
12284 }
12285 {
12286 if (temp3)
12287 delete arg3;
12288 }
12289 return resultobj;
12290 fail:
12291 {
12292 if (created2) delete arg2;
12293 }
12294 {
12295 if (temp3)
12296 delete arg3;
12297 }
12298 return NULL;
12299 }
12300
12301
12302 static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj;
12304 wxImage *arg1 = (wxImage *) 0 ;
12305 bool result;
12306 PyObject * obj0 = 0 ;
12307 char *kwnames[] = {
12308 (char *) "self", NULL
12309 };
12310
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
12312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12313 if (SWIG_arg_fail(1)) SWIG_fail;
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 result = (bool)(arg1)->Ok();
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 {
12322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12323 }
12324 return resultobj;
12325 fail:
12326 return NULL;
12327 }
12328
12329
12330 static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxImage *arg1 = (wxImage *) 0 ;
12333 int result;
12334 PyObject * obj0 = 0 ;
12335 char *kwnames[] = {
12336 (char *) "self", NULL
12337 };
12338
12339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
12340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12341 if (SWIG_arg_fail(1)) SWIG_fail;
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 result = (int)(arg1)->GetWidth();
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 {
12350 resultobj = SWIG_From_int((int)(result));
12351 }
12352 return resultobj;
12353 fail:
12354 return NULL;
12355 }
12356
12357
12358 static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
12359 PyObject *resultobj;
12360 wxImage *arg1 = (wxImage *) 0 ;
12361 int result;
12362 PyObject * obj0 = 0 ;
12363 char *kwnames[] = {
12364 (char *) "self", NULL
12365 };
12366
12367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
12368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12369 if (SWIG_arg_fail(1)) SWIG_fail;
12370 {
12371 PyThreadState* __tstate = wxPyBeginAllowThreads();
12372 result = (int)(arg1)->GetHeight();
12373
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) SWIG_fail;
12376 }
12377 {
12378 resultobj = SWIG_From_int((int)(result));
12379 }
12380 return resultobj;
12381 fail:
12382 return NULL;
12383 }
12384
12385
12386 static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
12387 PyObject *resultobj;
12388 wxImage *arg1 = (wxImage *) 0 ;
12389 wxSize result;
12390 PyObject * obj0 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "self", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
12396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12397 if (SWIG_arg_fail(1)) SWIG_fail;
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 result = wxImage_GetSize(arg1);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 {
12406 wxSize * resultptr;
12407 resultptr = new wxSize((wxSize &)(result));
12408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
12409 }
12410 return resultobj;
12411 fail:
12412 return NULL;
12413 }
12414
12415
12416 static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) {
12417 PyObject *resultobj;
12418 wxImage *arg1 = (wxImage *) 0 ;
12419 wxRect *arg2 = 0 ;
12420 SwigValueWrapper<wxImage > result;
12421 wxRect temp2 ;
12422 PyObject * obj0 = 0 ;
12423 PyObject * obj1 = 0 ;
12424 char *kwnames[] = {
12425 (char *) "self",(char *) "rect", NULL
12426 };
12427
12428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
12429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12430 if (SWIG_arg_fail(1)) SWIG_fail;
12431 {
12432 arg2 = &temp2;
12433 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12434 }
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 result = (arg1)->GetSubImage((wxRect const &)*arg2);
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 {
12443 wxImage * resultptr;
12444 resultptr = new wxImage((wxImage &)(result));
12445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
12446 }
12447 return resultobj;
12448 fail:
12449 return NULL;
12450 }
12451
12452
12453 static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) {
12454 PyObject *resultobj;
12455 wxImage *arg1 = (wxImage *) 0 ;
12456 wxSize *arg2 = 0 ;
12457 wxPoint *arg3 = 0 ;
12458 int arg4 = (int) -1 ;
12459 int arg5 = (int) -1 ;
12460 int arg6 = (int) -1 ;
12461 SwigValueWrapper<wxImage > result;
12462 wxSize temp2 ;
12463 wxPoint temp3 ;
12464 PyObject * obj0 = 0 ;
12465 PyObject * obj1 = 0 ;
12466 PyObject * obj2 = 0 ;
12467 PyObject * obj3 = 0 ;
12468 PyObject * obj4 = 0 ;
12469 PyObject * obj5 = 0 ;
12470 char *kwnames[] = {
12471 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12472 };
12473
12474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:Image_Size",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12476 if (SWIG_arg_fail(1)) SWIG_fail;
12477 {
12478 arg2 = &temp2;
12479 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12480 }
12481 {
12482 arg3 = &temp3;
12483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12484 }
12485 if (obj3) {
12486 {
12487 arg4 = (int)(SWIG_As_int(obj3));
12488 if (SWIG_arg_fail(4)) SWIG_fail;
12489 }
12490 }
12491 if (obj4) {
12492 {
12493 arg5 = (int)(SWIG_As_int(obj4));
12494 if (SWIG_arg_fail(5)) SWIG_fail;
12495 }
12496 }
12497 if (obj5) {
12498 {
12499 arg6 = (int)(SWIG_As_int(obj5));
12500 if (SWIG_arg_fail(6)) SWIG_fail;
12501 }
12502 }
12503 {
12504 PyThreadState* __tstate = wxPyBeginAllowThreads();
12505 result = ((wxImage const *)arg1)->Size((wxSize const &)*arg2,(wxPoint const &)*arg3,arg4,arg5,arg6);
12506
12507 wxPyEndAllowThreads(__tstate);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 }
12510 {
12511 wxImage * resultptr;
12512 resultptr = new wxImage((wxImage &)(result));
12513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
12514 }
12515 return resultobj;
12516 fail:
12517 return NULL;
12518 }
12519
12520
12521 static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
12522 PyObject *resultobj;
12523 wxImage *arg1 = (wxImage *) 0 ;
12524 SwigValueWrapper<wxImage > result;
12525 PyObject * obj0 = 0 ;
12526 char *kwnames[] = {
12527 (char *) "self", NULL
12528 };
12529
12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
12531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail;
12533 {
12534 PyThreadState* __tstate = wxPyBeginAllowThreads();
12535 result = (arg1)->Copy();
12536
12537 wxPyEndAllowThreads(__tstate);
12538 if (PyErr_Occurred()) SWIG_fail;
12539 }
12540 {
12541 wxImage * resultptr;
12542 resultptr = new wxImage((wxImage &)(result));
12543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
12544 }
12545 return resultobj;
12546 fail:
12547 return NULL;
12548 }
12549
12550
12551 static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
12552 PyObject *resultobj;
12553 wxImage *arg1 = (wxImage *) 0 ;
12554 wxImage *arg2 = 0 ;
12555 int arg3 ;
12556 int arg4 ;
12557 PyObject * obj0 = 0 ;
12558 PyObject * obj1 = 0 ;
12559 PyObject * obj2 = 0 ;
12560 PyObject * obj3 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12567 if (SWIG_arg_fail(1)) SWIG_fail;
12568 {
12569 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12570 if (SWIG_arg_fail(2)) SWIG_fail;
12571 if (arg2 == NULL) {
12572 SWIG_null_ref("wxImage");
12573 }
12574 if (SWIG_arg_fail(2)) SWIG_fail;
12575 }
12576 {
12577 arg3 = (int)(SWIG_As_int(obj2));
12578 if (SWIG_arg_fail(3)) SWIG_fail;
12579 }
12580 {
12581 arg4 = (int)(SWIG_As_int(obj3));
12582 if (SWIG_arg_fail(4)) SWIG_fail;
12583 }
12584 {
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
12587
12588 wxPyEndAllowThreads(__tstate);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 }
12591 Py_INCREF(Py_None); resultobj = Py_None;
12592 return resultobj;
12593 fail:
12594 return NULL;
12595 }
12596
12597
12598 static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12599 PyObject *resultobj;
12600 wxImage *arg1 = (wxImage *) 0 ;
12601 PyObject *result;
12602 PyObject * obj0 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
12608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12609 if (SWIG_arg_fail(1)) SWIG_fail;
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 result = (PyObject *)wxImage_GetData(arg1);
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 resultobj = result;
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj;
12626 wxImage *arg1 = (wxImage *) 0 ;
12627 buffer arg2 ;
12628 int arg3 ;
12629 PyObject * obj0 = 0 ;
12630 PyObject * obj1 = 0 ;
12631 char *kwnames[] = {
12632 (char *) "self",(char *) "data", NULL
12633 };
12634
12635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
12636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12637 if (SWIG_arg_fail(1)) SWIG_fail;
12638 {
12639 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
12640 }
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 wxImage_SetData(arg1,arg2,arg3);
12644
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 Py_INCREF(Py_None); resultobj = Py_None;
12649 return resultobj;
12650 fail:
12651 return NULL;
12652 }
12653
12654
12655 static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj;
12657 wxImage *arg1 = (wxImage *) 0 ;
12658 PyObject *result;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
12665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12666 if (SWIG_arg_fail(1)) SWIG_fail;
12667 {
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 result = (PyObject *)wxImage_GetDataBuffer(arg1);
12670
12671 wxPyEndAllowThreads(__tstate);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 resultobj = result;
12675 return resultobj;
12676 fail:
12677 return NULL;
12678 }
12679
12680
12681 static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj;
12683 wxImage *arg1 = (wxImage *) 0 ;
12684 buffer arg2 ;
12685 int arg3 ;
12686 PyObject * obj0 = 0 ;
12687 PyObject * obj1 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self",(char *) "data", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
12693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12694 if (SWIG_arg_fail(1)) SWIG_fail;
12695 {
12696 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
12697 }
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 wxImage_SetDataBuffer(arg1,arg2,arg3);
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 Py_INCREF(Py_None); resultobj = Py_None;
12706 return resultobj;
12707 fail:
12708 return NULL;
12709 }
12710
12711
12712 static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
12713 PyObject *resultobj;
12714 wxImage *arg1 = (wxImage *) 0 ;
12715 PyObject *result;
12716 PyObject * obj0 = 0 ;
12717 char *kwnames[] = {
12718 (char *) "self", NULL
12719 };
12720
12721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
12722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12723 if (SWIG_arg_fail(1)) SWIG_fail;
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 result = (PyObject *)wxImage_GetAlphaData(arg1);
12727
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 resultobj = result;
12732 return resultobj;
12733 fail:
12734 return NULL;
12735 }
12736
12737
12738 static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj;
12740 wxImage *arg1 = (wxImage *) 0 ;
12741 buffer arg2 ;
12742 int arg3 ;
12743 PyObject * obj0 = 0 ;
12744 PyObject * obj1 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "self",(char *) "alpha", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
12750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail;
12752 {
12753 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
12754 }
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 wxImage_SetAlphaData(arg1,arg2,arg3);
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 Py_INCREF(Py_None); resultobj = Py_None;
12763 return resultobj;
12764 fail:
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxImage *arg1 = (wxImage *) 0 ;
12772 PyObject *result;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
12779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12780 if (SWIG_arg_fail(1)) SWIG_fail;
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
12784
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 resultobj = result;
12789 return resultobj;
12790 fail:
12791 return NULL;
12792 }
12793
12794
12795 static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj;
12797 wxImage *arg1 = (wxImage *) 0 ;
12798 buffer arg2 ;
12799 int arg3 ;
12800 PyObject * obj0 = 0 ;
12801 PyObject * obj1 = 0 ;
12802 char *kwnames[] = {
12803 (char *) "self",(char *) "alpha", NULL
12804 };
12805
12806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
12807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12808 if (SWIG_arg_fail(1)) SWIG_fail;
12809 {
12810 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
12811 }
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 wxImage_SetAlphaBuffer(arg1,arg2,arg3);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 Py_INCREF(Py_None); resultobj = Py_None;
12820 return resultobj;
12821 fail:
12822 return NULL;
12823 }
12824
12825
12826 static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
12827 PyObject *resultobj;
12828 wxImage *arg1 = (wxImage *) 0 ;
12829 byte arg2 ;
12830 byte arg3 ;
12831 byte arg4 ;
12832 PyObject * obj0 = 0 ;
12833 PyObject * obj1 = 0 ;
12834 PyObject * obj2 = 0 ;
12835 PyObject * obj3 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12842 if (SWIG_arg_fail(1)) SWIG_fail;
12843 {
12844 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
12845 if (SWIG_arg_fail(2)) SWIG_fail;
12846 }
12847 {
12848 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
12849 if (SWIG_arg_fail(3)) SWIG_fail;
12850 }
12851 {
12852 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
12853 if (SWIG_arg_fail(4)) SWIG_fail;
12854 }
12855 {
12856 PyThreadState* __tstate = wxPyBeginAllowThreads();
12857 (arg1)->SetMaskColour(arg2,arg3,arg4);
12858
12859 wxPyEndAllowThreads(__tstate);
12860 if (PyErr_Occurred()) SWIG_fail;
12861 }
12862 Py_INCREF(Py_None); resultobj = Py_None;
12863 return resultobj;
12864 fail:
12865 return NULL;
12866 }
12867
12868
12869 static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
12870 PyObject *resultobj;
12871 wxImage *arg1 = (wxImage *) 0 ;
12872 byte *arg2 = (byte *) 0 ;
12873 byte *arg3 = (byte *) 0 ;
12874 byte *arg4 = (byte *) 0 ;
12875 byte temp2 ;
12876 int res2 = 0 ;
12877 byte temp3 ;
12878 int res3 = 0 ;
12879 byte temp4 ;
12880 int res4 = 0 ;
12881 PyObject * obj0 = 0 ;
12882 char *kwnames[] = {
12883 (char *) "self", NULL
12884 };
12885
12886 arg2 = &temp2; res2 = SWIG_NEWOBJ;
12887 arg3 = &temp3; res3 = SWIG_NEWOBJ;
12888 arg4 = &temp4; res4 = SWIG_NEWOBJ;
12889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetOrFindMaskColour",kwnames,&obj0)) goto fail;
12890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12891 if (SWIG_arg_fail(1)) SWIG_fail;
12892 {
12893 PyThreadState* __tstate = wxPyBeginAllowThreads();
12894 ((wxImage const *)arg1)->GetOrFindMaskColour(arg2,arg3,arg4);
12895
12896 wxPyEndAllowThreads(__tstate);
12897 if (PyErr_Occurred()) SWIG_fail;
12898 }
12899 Py_INCREF(Py_None); resultobj = Py_None;
12900 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
12901 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
12902 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
12903 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
12904 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
12905 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
12906 return resultobj;
12907 fail:
12908 return NULL;
12909 }
12910
12911
12912 static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) {
12913 PyObject *resultobj;
12914 wxImage *arg1 = (wxImage *) 0 ;
12915 byte result;
12916 PyObject * obj0 = 0 ;
12917 char *kwnames[] = {
12918 (char *) "self", NULL
12919 };
12920
12921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
12922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12923 if (SWIG_arg_fail(1)) SWIG_fail;
12924 {
12925 PyThreadState* __tstate = wxPyBeginAllowThreads();
12926 result = (byte)(arg1)->GetMaskRed();
12927
12928 wxPyEndAllowThreads(__tstate);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 {
12932 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
12933 }
12934 return resultobj;
12935 fail:
12936 return NULL;
12937 }
12938
12939
12940 static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 wxImage *arg1 = (wxImage *) 0 ;
12943 byte result;
12944 PyObject * obj0 = 0 ;
12945 char *kwnames[] = {
12946 (char *) "self", NULL
12947 };
12948
12949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
12950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12951 if (SWIG_arg_fail(1)) SWIG_fail;
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 result = (byte)(arg1)->GetMaskGreen();
12955
12956 wxPyEndAllowThreads(__tstate);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
12959 {
12960 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
12961 }
12962 return resultobj;
12963 fail:
12964 return NULL;
12965 }
12966
12967
12968 static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) {
12969 PyObject *resultobj;
12970 wxImage *arg1 = (wxImage *) 0 ;
12971 byte result;
12972 PyObject * obj0 = 0 ;
12973 char *kwnames[] = {
12974 (char *) "self", NULL
12975 };
12976
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
12978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12979 if (SWIG_arg_fail(1)) SWIG_fail;
12980 {
12981 PyThreadState* __tstate = wxPyBeginAllowThreads();
12982 result = (byte)(arg1)->GetMaskBlue();
12983
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 {
12988 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
12989 }
12990 return resultobj;
12991 fail:
12992 return NULL;
12993 }
12994
12995
12996 static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
12997 PyObject *resultobj;
12998 wxImage *arg1 = (wxImage *) 0 ;
12999 bool arg2 = (bool) true ;
13000 PyObject * obj0 = 0 ;
13001 PyObject * obj1 = 0 ;
13002 char *kwnames[] = {
13003 (char *) "self",(char *) "mask", NULL
13004 };
13005
13006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
13007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13008 if (SWIG_arg_fail(1)) SWIG_fail;
13009 if (obj1) {
13010 {
13011 arg2 = (bool)(SWIG_As_bool(obj1));
13012 if (SWIG_arg_fail(2)) SWIG_fail;
13013 }
13014 }
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 (arg1)->SetMask(arg2);
13018
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 Py_INCREF(Py_None); resultobj = Py_None;
13023 return resultobj;
13024 fail:
13025 return NULL;
13026 }
13027
13028
13029 static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) {
13030 PyObject *resultobj;
13031 wxImage *arg1 = (wxImage *) 0 ;
13032 bool result;
13033 PyObject * obj0 = 0 ;
13034 char *kwnames[] = {
13035 (char *) "self", NULL
13036 };
13037
13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
13039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13040 if (SWIG_arg_fail(1)) SWIG_fail;
13041 {
13042 PyThreadState* __tstate = wxPyBeginAllowThreads();
13043 result = (bool)(arg1)->HasMask();
13044
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 {
13049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13050 }
13051 return resultobj;
13052 fail:
13053 return NULL;
13054 }
13055
13056
13057 static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxImage *arg1 = (wxImage *) 0 ;
13060 double arg2 ;
13061 wxPoint *arg3 = 0 ;
13062 bool arg4 = (bool) true ;
13063 wxPoint *arg5 = (wxPoint *) NULL ;
13064 SwigValueWrapper<wxImage > result;
13065 wxPoint temp3 ;
13066 PyObject * obj0 = 0 ;
13067 PyObject * obj1 = 0 ;
13068 PyObject * obj2 = 0 ;
13069 PyObject * obj3 = 0 ;
13070 PyObject * obj4 = 0 ;
13071 char *kwnames[] = {
13072 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13073 };
13074
13075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13077 if (SWIG_arg_fail(1)) SWIG_fail;
13078 {
13079 arg2 = (double)(SWIG_As_double(obj1));
13080 if (SWIG_arg_fail(2)) SWIG_fail;
13081 }
13082 {
13083 arg3 = &temp3;
13084 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13085 }
13086 if (obj3) {
13087 {
13088 arg4 = (bool)(SWIG_As_bool(obj3));
13089 if (SWIG_arg_fail(4)) SWIG_fail;
13090 }
13091 }
13092 if (obj4) {
13093 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
13094 if (SWIG_arg_fail(5)) SWIG_fail;
13095 }
13096 {
13097 PyThreadState* __tstate = wxPyBeginAllowThreads();
13098 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
13099
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 {
13104 wxImage * resultptr;
13105 resultptr = new wxImage((wxImage &)(result));
13106 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
13107 }
13108 return resultobj;
13109 fail:
13110 return NULL;
13111 }
13112
13113
13114 static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
13115 PyObject *resultobj;
13116 wxImage *arg1 = (wxImage *) 0 ;
13117 bool arg2 = (bool) true ;
13118 SwigValueWrapper<wxImage > result;
13119 PyObject * obj0 = 0 ;
13120 PyObject * obj1 = 0 ;
13121 char *kwnames[] = {
13122 (char *) "self",(char *) "clockwise", NULL
13123 };
13124
13125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
13126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13127 if (SWIG_arg_fail(1)) SWIG_fail;
13128 if (obj1) {
13129 {
13130 arg2 = (bool)(SWIG_As_bool(obj1));
13131 if (SWIG_arg_fail(2)) SWIG_fail;
13132 }
13133 }
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 result = (arg1)->Rotate90(arg2);
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 {
13142 wxImage * resultptr;
13143 resultptr = new wxImage((wxImage &)(result));
13144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
13145 }
13146 return resultobj;
13147 fail:
13148 return NULL;
13149 }
13150
13151
13152 static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
13153 PyObject *resultobj;
13154 wxImage *arg1 = (wxImage *) 0 ;
13155 bool arg2 = (bool) true ;
13156 SwigValueWrapper<wxImage > result;
13157 PyObject * obj0 = 0 ;
13158 PyObject * obj1 = 0 ;
13159 char *kwnames[] = {
13160 (char *) "self",(char *) "horizontally", NULL
13161 };
13162
13163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
13164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13165 if (SWIG_arg_fail(1)) SWIG_fail;
13166 if (obj1) {
13167 {
13168 arg2 = (bool)(SWIG_As_bool(obj1));
13169 if (SWIG_arg_fail(2)) SWIG_fail;
13170 }
13171 }
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 result = (arg1)->Mirror(arg2);
13175
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 {
13180 wxImage * resultptr;
13181 resultptr = new wxImage((wxImage &)(result));
13182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
13183 }
13184 return resultobj;
13185 fail:
13186 return NULL;
13187 }
13188
13189
13190 static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
13191 PyObject *resultobj;
13192 wxImage *arg1 = (wxImage *) 0 ;
13193 byte arg2 ;
13194 byte arg3 ;
13195 byte arg4 ;
13196 byte arg5 ;
13197 byte arg6 ;
13198 byte arg7 ;
13199 PyObject * obj0 = 0 ;
13200 PyObject * obj1 = 0 ;
13201 PyObject * obj2 = 0 ;
13202 PyObject * obj3 = 0 ;
13203 PyObject * obj4 = 0 ;
13204 PyObject * obj5 = 0 ;
13205 PyObject * obj6 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13212 if (SWIG_arg_fail(1)) SWIG_fail;
13213 {
13214 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
13215 if (SWIG_arg_fail(2)) SWIG_fail;
13216 }
13217 {
13218 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
13219 if (SWIG_arg_fail(3)) SWIG_fail;
13220 }
13221 {
13222 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
13223 if (SWIG_arg_fail(4)) SWIG_fail;
13224 }
13225 {
13226 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4));
13227 if (SWIG_arg_fail(5)) SWIG_fail;
13228 }
13229 {
13230 arg6 = (byte)(SWIG_As_unsigned_SS_char(obj5));
13231 if (SWIG_arg_fail(6)) SWIG_fail;
13232 }
13233 {
13234 arg7 = (byte)(SWIG_As_unsigned_SS_char(obj6));
13235 if (SWIG_arg_fail(7)) SWIG_fail;
13236 }
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
13244 Py_INCREF(Py_None); resultobj = Py_None;
13245 return resultobj;
13246 fail:
13247 return NULL;
13248 }
13249
13250
13251 static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxImage *arg1 = (wxImage *) 0 ;
13254 byte arg2 ;
13255 byte arg3 ;
13256 byte arg4 ;
13257 SwigValueWrapper<wxImage > result;
13258 PyObject * obj0 = 0 ;
13259 PyObject * obj1 = 0 ;
13260 PyObject * obj2 = 0 ;
13261 PyObject * obj3 = 0 ;
13262 char *kwnames[] = {
13263 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13264 };
13265
13266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13268 if (SWIG_arg_fail(1)) SWIG_fail;
13269 {
13270 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
13271 if (SWIG_arg_fail(2)) SWIG_fail;
13272 }
13273 {
13274 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
13275 if (SWIG_arg_fail(3)) SWIG_fail;
13276 }
13277 {
13278 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
13279 if (SWIG_arg_fail(4)) SWIG_fail;
13280 }
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
13284
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 {
13289 wxImage * resultptr;
13290 resultptr = new wxImage((wxImage &)(result));
13291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
13292 }
13293 return resultobj;
13294 fail:
13295 return NULL;
13296 }
13297
13298
13299 static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxImage *arg1 = (wxImage *) 0 ;
13302 wxString *arg2 = 0 ;
13303 wxString *arg3 = 0 ;
13304 bool temp2 = false ;
13305 bool temp3 = false ;
13306 PyObject * obj0 = 0 ;
13307 PyObject * obj1 = 0 ;
13308 PyObject * obj2 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self",(char *) "name",(char *) "value", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
13314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13315 if (SWIG_arg_fail(1)) SWIG_fail;
13316 {
13317 arg2 = wxString_in_helper(obj1);
13318 if (arg2 == NULL) SWIG_fail;
13319 temp2 = true;
13320 }
13321 {
13322 arg3 = wxString_in_helper(obj2);
13323 if (arg3 == NULL) SWIG_fail;
13324 temp3 = true;
13325 }
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 Py_INCREF(Py_None); resultobj = Py_None;
13334 {
13335 if (temp2)
13336 delete arg2;
13337 }
13338 {
13339 if (temp3)
13340 delete arg3;
13341 }
13342 return resultobj;
13343 fail:
13344 {
13345 if (temp2)
13346 delete arg2;
13347 }
13348 {
13349 if (temp3)
13350 delete arg3;
13351 }
13352 return NULL;
13353 }
13354
13355
13356 static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxImage *arg1 = (wxImage *) 0 ;
13359 wxString *arg2 = 0 ;
13360 int arg3 ;
13361 bool temp2 = false ;
13362 PyObject * obj0 = 0 ;
13363 PyObject * obj1 = 0 ;
13364 PyObject * obj2 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self",(char *) "name",(char *) "value", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
13370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13371 if (SWIG_arg_fail(1)) SWIG_fail;
13372 {
13373 arg2 = wxString_in_helper(obj1);
13374 if (arg2 == NULL) SWIG_fail;
13375 temp2 = true;
13376 }
13377 {
13378 arg3 = (int)(SWIG_As_int(obj2));
13379 if (SWIG_arg_fail(3)) SWIG_fail;
13380 }
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 (arg1)->SetOption((wxString const &)*arg2,arg3);
13384
13385 wxPyEndAllowThreads(__tstate);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 Py_INCREF(Py_None); resultobj = Py_None;
13389 {
13390 if (temp2)
13391 delete arg2;
13392 }
13393 return resultobj;
13394 fail:
13395 {
13396 if (temp2)
13397 delete arg2;
13398 }
13399 return NULL;
13400 }
13401
13402
13403 static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
13404 PyObject *resultobj;
13405 wxImage *arg1 = (wxImage *) 0 ;
13406 wxString *arg2 = 0 ;
13407 wxString result;
13408 bool temp2 = false ;
13409 PyObject * obj0 = 0 ;
13410 PyObject * obj1 = 0 ;
13411 char *kwnames[] = {
13412 (char *) "self",(char *) "name", NULL
13413 };
13414
13415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
13416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13417 if (SWIG_arg_fail(1)) SWIG_fail;
13418 {
13419 arg2 = wxString_in_helper(obj1);
13420 if (arg2 == NULL) SWIG_fail;
13421 temp2 = true;
13422 }
13423 {
13424 PyThreadState* __tstate = wxPyBeginAllowThreads();
13425 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
13426
13427 wxPyEndAllowThreads(__tstate);
13428 if (PyErr_Occurred()) SWIG_fail;
13429 }
13430 {
13431 #if wxUSE_UNICODE
13432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13433 #else
13434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13435 #endif
13436 }
13437 {
13438 if (temp2)
13439 delete arg2;
13440 }
13441 return resultobj;
13442 fail:
13443 {
13444 if (temp2)
13445 delete arg2;
13446 }
13447 return NULL;
13448 }
13449
13450
13451 static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxImage *arg1 = (wxImage *) 0 ;
13454 wxString *arg2 = 0 ;
13455 int result;
13456 bool temp2 = false ;
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self",(char *) "name", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
13464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13465 if (SWIG_arg_fail(1)) SWIG_fail;
13466 {
13467 arg2 = wxString_in_helper(obj1);
13468 if (arg2 == NULL) SWIG_fail;
13469 temp2 = true;
13470 }
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
13474
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 {
13479 resultobj = SWIG_From_int((int)(result));
13480 }
13481 {
13482 if (temp2)
13483 delete arg2;
13484 }
13485 return resultobj;
13486 fail:
13487 {
13488 if (temp2)
13489 delete arg2;
13490 }
13491 return NULL;
13492 }
13493
13494
13495 static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
13496 PyObject *resultobj;
13497 wxImage *arg1 = (wxImage *) 0 ;
13498 wxString *arg2 = 0 ;
13499 bool result;
13500 bool temp2 = false ;
13501 PyObject * obj0 = 0 ;
13502 PyObject * obj1 = 0 ;
13503 char *kwnames[] = {
13504 (char *) "self",(char *) "name", NULL
13505 };
13506
13507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
13508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13509 if (SWIG_arg_fail(1)) SWIG_fail;
13510 {
13511 arg2 = wxString_in_helper(obj1);
13512 if (arg2 == NULL) SWIG_fail;
13513 temp2 = true;
13514 }
13515 {
13516 PyThreadState* __tstate = wxPyBeginAllowThreads();
13517 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
13518
13519 wxPyEndAllowThreads(__tstate);
13520 if (PyErr_Occurred()) SWIG_fail;
13521 }
13522 {
13523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13524 }
13525 {
13526 if (temp2)
13527 delete arg2;
13528 }
13529 return resultobj;
13530 fail:
13531 {
13532 if (temp2)
13533 delete arg2;
13534 }
13535 return NULL;
13536 }
13537
13538
13539 static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) {
13540 PyObject *resultobj;
13541 wxImage *arg1 = (wxImage *) 0 ;
13542 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
13543 unsigned long result;
13544 PyObject * obj0 = 0 ;
13545 PyObject * obj1 = 0 ;
13546 char *kwnames[] = {
13547 (char *) "self",(char *) "stopafter", NULL
13548 };
13549
13550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
13551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13552 if (SWIG_arg_fail(1)) SWIG_fail;
13553 if (obj1) {
13554 {
13555 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
13556 if (SWIG_arg_fail(2)) SWIG_fail;
13557 }
13558 }
13559 {
13560 PyThreadState* __tstate = wxPyBeginAllowThreads();
13561 result = (unsigned long)(arg1)->CountColours(arg2);
13562
13563 wxPyEndAllowThreads(__tstate);
13564 if (PyErr_Occurred()) SWIG_fail;
13565 }
13566 {
13567 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
13568 }
13569 return resultobj;
13570 fail:
13571 return NULL;
13572 }
13573
13574
13575 static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
13576 PyObject *resultobj;
13577 wxImage *arg1 = (wxImage *) 0 ;
13578 wxImageHistogram *arg2 = 0 ;
13579 unsigned long result;
13580 PyObject * obj0 = 0 ;
13581 PyObject * obj1 = 0 ;
13582 char *kwnames[] = {
13583 (char *) "self",(char *) "h", NULL
13584 };
13585
13586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
13587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13588 if (SWIG_arg_fail(1)) SWIG_fail;
13589 {
13590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
13591 if (SWIG_arg_fail(2)) SWIG_fail;
13592 if (arg2 == NULL) {
13593 SWIG_null_ref("wxImageHistogram");
13594 }
13595 if (SWIG_arg_fail(2)) SWIG_fail;
13596 }
13597 {
13598 PyThreadState* __tstate = wxPyBeginAllowThreads();
13599 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
13600
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 {
13605 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
13606 }
13607 return resultobj;
13608 fail:
13609 return NULL;
13610 }
13611
13612
13613 static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
13614 PyObject *resultobj;
13615 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
13616 PyObject * obj0 = 0 ;
13617 char *kwnames[] = {
13618 (char *) "handler", NULL
13619 };
13620
13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
13622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
13623 if (SWIG_arg_fail(1)) SWIG_fail;
13624 {
13625 PyThreadState* __tstate = wxPyBeginAllowThreads();
13626 wxImage::AddHandler(arg1);
13627
13628 wxPyEndAllowThreads(__tstate);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 Py_INCREF(Py_None); resultobj = Py_None;
13632 return resultobj;
13633 fail:
13634 return NULL;
13635 }
13636
13637
13638 static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
13639 PyObject *resultobj;
13640 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
13641 PyObject * obj0 = 0 ;
13642 char *kwnames[] = {
13643 (char *) "handler", NULL
13644 };
13645
13646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
13647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
13648 if (SWIG_arg_fail(1)) SWIG_fail;
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 wxImage::InsertHandler(arg1);
13652
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 Py_INCREF(Py_None); resultobj = Py_None;
13657 return resultobj;
13658 fail:
13659 return NULL;
13660 }
13661
13662
13663 static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj;
13665 wxString *arg1 = 0 ;
13666 bool result;
13667 bool temp1 = false ;
13668 PyObject * obj0 = 0 ;
13669 char *kwnames[] = {
13670 (char *) "name", NULL
13671 };
13672
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
13674 {
13675 arg1 = wxString_in_helper(obj0);
13676 if (arg1 == NULL) SWIG_fail;
13677 temp1 = true;
13678 }
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
13682
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 {
13687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13688 }
13689 {
13690 if (temp1)
13691 delete arg1;
13692 }
13693 return resultobj;
13694 fail:
13695 {
13696 if (temp1)
13697 delete arg1;
13698 }
13699 return NULL;
13700 }
13701
13702
13703 static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj;
13705 wxString result;
13706 char *kwnames[] = {
13707 NULL
13708 };
13709
13710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = wxImage::GetImageExtWildcard();
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 {
13719 #if wxUSE_UNICODE
13720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13721 #else
13722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13723 #endif
13724 }
13725 return resultobj;
13726 fail:
13727 return NULL;
13728 }
13729
13730
13731 static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
13732 PyObject *resultobj;
13733 wxImage *arg1 = (wxImage *) 0 ;
13734 int arg2 = (int) -1 ;
13735 wxBitmap result;
13736 PyObject * obj0 = 0 ;
13737 PyObject * obj1 = 0 ;
13738 char *kwnames[] = {
13739 (char *) "self",(char *) "depth", NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertToBitmap",kwnames,&obj0,&obj1)) goto fail;
13743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13744 if (SWIG_arg_fail(1)) SWIG_fail;
13745 if (obj1) {
13746 {
13747 arg2 = (int)(SWIG_As_int(obj1));
13748 if (SWIG_arg_fail(2)) SWIG_fail;
13749 }
13750 }
13751 {
13752 if (!wxPyCheckForApp()) SWIG_fail;
13753 PyThreadState* __tstate = wxPyBeginAllowThreads();
13754 result = wxImage_ConvertToBitmap(arg1,arg2);
13755
13756 wxPyEndAllowThreads(__tstate);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 }
13759 {
13760 wxBitmap * resultptr;
13761 resultptr = new wxBitmap((wxBitmap &)(result));
13762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13763 }
13764 return resultobj;
13765 fail:
13766 return NULL;
13767 }
13768
13769
13770 static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
13771 PyObject *resultobj;
13772 wxImage *arg1 = (wxImage *) 0 ;
13773 byte arg2 ;
13774 byte arg3 ;
13775 byte arg4 ;
13776 wxBitmap result;
13777 PyObject * obj0 = 0 ;
13778 PyObject * obj1 = 0 ;
13779 PyObject * obj2 = 0 ;
13780 PyObject * obj3 = 0 ;
13781 char *kwnames[] = {
13782 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13783 };
13784
13785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13787 if (SWIG_arg_fail(1)) SWIG_fail;
13788 {
13789 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
13790 if (SWIG_arg_fail(2)) SWIG_fail;
13791 }
13792 {
13793 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
13794 if (SWIG_arg_fail(3)) SWIG_fail;
13795 }
13796 {
13797 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
13798 if (SWIG_arg_fail(4)) SWIG_fail;
13799 }
13800 {
13801 if (!wxPyCheckForApp()) SWIG_fail;
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 {
13809 wxBitmap * resultptr;
13810 resultptr = new wxBitmap((wxBitmap &)(result));
13811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13812 }
13813 return resultobj;
13814 fail:
13815 return NULL;
13816 }
13817
13818
13819 static PyObject * Image_swigregister(PyObject *, PyObject *args) {
13820 PyObject *obj;
13821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13822 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
13823 Py_INCREF(obj);
13824 return Py_BuildValue((char *)"");
13825 }
13826 static int _wrap_NullImage_set(PyObject *) {
13827 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
13828 return 1;
13829 }
13830
13831
13832 static PyObject *_wrap_NullImage_get(void) {
13833 PyObject *pyobj;
13834
13835 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
13836 return pyobj;
13837 }
13838
13839
13840 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject *) {
13841 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_FILENAME is read-only.");
13842 return 1;
13843 }
13844
13845
13846 static PyObject *_wrap_IMAGE_OPTION_FILENAME_get(void) {
13847 PyObject *pyobj;
13848
13849 {
13850 #if wxUSE_UNICODE
13851 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME)->c_str(), (&wxPyIMAGE_OPTION_FILENAME)->Len());
13852 #else
13853 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME)->c_str(), (&wxPyIMAGE_OPTION_FILENAME)->Len());
13854 #endif
13855 }
13856 return pyobj;
13857 }
13858
13859
13860 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) {
13861 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13862 return 1;
13863 }
13864
13865
13866 static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13867 PyObject *pyobj;
13868
13869 {
13870 #if wxUSE_UNICODE
13871 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
13872 #else
13873 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
13874 #endif
13875 }
13876 return pyobj;
13877 }
13878
13879
13880 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) {
13881 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13882 return 1;
13883 }
13884
13885
13886 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13887 PyObject *pyobj;
13888
13889 {
13890 #if wxUSE_UNICODE
13891 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
13892 #else
13893 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
13894 #endif
13895 }
13896 return pyobj;
13897 }
13898
13899
13900 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) {
13901 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13902 return 1;
13903 }
13904
13905
13906 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13907 PyObject *pyobj;
13908
13909 {
13910 #if wxUSE_UNICODE
13911 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
13912 #else
13913 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
13914 #endif
13915 }
13916 return pyobj;
13917 }
13918
13919
13920 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) {
13921 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13922 return 1;
13923 }
13924
13925
13926 static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13927 PyObject *pyobj;
13928
13929 {
13930 #if wxUSE_UNICODE
13931 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
13932 #else
13933 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
13934 #endif
13935 }
13936 return pyobj;
13937 }
13938
13939
13940 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject *) {
13941 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13942 return 1;
13943 }
13944
13945
13946 static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13947 PyObject *pyobj;
13948
13949 {
13950 #if wxUSE_UNICODE
13951 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX)->Len());
13952 #else
13953 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX)->Len());
13954 #endif
13955 }
13956 return pyobj;
13957 }
13958
13959
13960 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject *) {
13961 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13962 return 1;
13963 }
13964
13965
13966 static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13967 PyObject *pyobj;
13968
13969 {
13970 #if wxUSE_UNICODE
13971 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY)->Len());
13972 #else
13973 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY)->Len());
13974 #endif
13975 }
13976 return pyobj;
13977 }
13978
13979
13980 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) {
13981 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13982 return 1;
13983 }
13984
13985
13986 static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13987 PyObject *pyobj;
13988
13989 {
13990 #if wxUSE_UNICODE
13991 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
13992 #else
13993 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
13994 #endif
13995 }
13996 return pyobj;
13997 }
13998
13999
14000 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject *) {
14001 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_QUALITY is read-only.");
14002 return 1;
14003 }
14004
14005
14006 static PyObject *_wrap_IMAGE_OPTION_QUALITY_get(void) {
14007 PyObject *pyobj;
14008
14009 {
14010 #if wxUSE_UNICODE
14011 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len());
14012 #else
14013 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len());
14014 #endif
14015 }
14016 return pyobj;
14017 }
14018
14019
14020 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject *) {
14021 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14022 return 1;
14023 }
14024
14025
14026 static PyObject *_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14027 PyObject *pyobj;
14028
14029 {
14030 #if wxUSE_UNICODE
14031 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE)->Len());
14032 #else
14033 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE)->Len());
14034 #endif
14035 }
14036 return pyobj;
14037 }
14038
14039
14040 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject *) {
14041 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14042 return 1;
14043 }
14044
14045
14046 static PyObject *_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14047 PyObject *pyobj;
14048
14049 {
14050 #if wxUSE_UNICODE
14051 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->Len());
14052 #else
14053 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->Len());
14054 #endif
14055 }
14056 return pyobj;
14057 }
14058
14059
14060 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject *) {
14061 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14062 return 1;
14063 }
14064
14065
14066 static PyObject *_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14067 PyObject *pyobj;
14068
14069 {
14070 #if wxUSE_UNICODE
14071 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION)->Len());
14072 #else
14073 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION)->Len());
14074 #endif
14075 }
14076 return pyobj;
14077 }
14078
14079
14080 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject *) {
14081 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14082 return 1;
14083 }
14084
14085
14086 static PyObject *_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14087 PyObject *pyobj;
14088
14089 {
14090 #if wxUSE_UNICODE
14091 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->Len());
14092 #else
14093 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->Len());
14094 #endif
14095 }
14096 return pyobj;
14097 }
14098
14099
14100 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject *) {
14101 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14102 return 1;
14103 }
14104
14105
14106 static PyObject *_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14107 PyObject *pyobj;
14108
14109 {
14110 #if wxUSE_UNICODE
14111 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT)->Len());
14112 #else
14113 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT)->Len());
14114 #endif
14115 }
14116 return pyobj;
14117 }
14118
14119
14120 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject *) {
14121 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14122 return 1;
14123 }
14124
14125
14126 static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14127 PyObject *pyobj;
14128
14129 {
14130 #if wxUSE_UNICODE
14131 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH)->Len());
14132 #else
14133 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH)->Len());
14134 #endif
14135 }
14136 return pyobj;
14137 }
14138
14139
14140 static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14141 PyObject *resultobj;
14142 wxBMPHandler *result;
14143 char *kwnames[] = {
14144 NULL
14145 };
14146
14147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 result = (wxBMPHandler *)new wxBMPHandler();
14151
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
14156 return resultobj;
14157 fail:
14158 return NULL;
14159 }
14160
14161
14162 static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) {
14163 PyObject *obj;
14164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14165 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
14166 Py_INCREF(obj);
14167 return Py_BuildValue((char *)"");
14168 }
14169 static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 wxICOHandler *result;
14172 char *kwnames[] = {
14173 NULL
14174 };
14175
14176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 result = (wxICOHandler *)new wxICOHandler();
14180
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
14184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
14185 return resultobj;
14186 fail:
14187 return NULL;
14188 }
14189
14190
14191 static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) {
14192 PyObject *obj;
14193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14194 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
14195 Py_INCREF(obj);
14196 return Py_BuildValue((char *)"");
14197 }
14198 static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14199 PyObject *resultobj;
14200 wxCURHandler *result;
14201 char *kwnames[] = {
14202 NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
14206 {
14207 PyThreadState* __tstate = wxPyBeginAllowThreads();
14208 result = (wxCURHandler *)new wxCURHandler();
14209
14210 wxPyEndAllowThreads(__tstate);
14211 if (PyErr_Occurred()) SWIG_fail;
14212 }
14213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
14214 return resultobj;
14215 fail:
14216 return NULL;
14217 }
14218
14219
14220 static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) {
14221 PyObject *obj;
14222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14223 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
14224 Py_INCREF(obj);
14225 return Py_BuildValue((char *)"");
14226 }
14227 static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14228 PyObject *resultobj;
14229 wxANIHandler *result;
14230 char *kwnames[] = {
14231 NULL
14232 };
14233
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
14235 {
14236 PyThreadState* __tstate = wxPyBeginAllowThreads();
14237 result = (wxANIHandler *)new wxANIHandler();
14238
14239 wxPyEndAllowThreads(__tstate);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
14242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
14243 return resultobj;
14244 fail:
14245 return NULL;
14246 }
14247
14248
14249 static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) {
14250 PyObject *obj;
14251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14252 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
14253 Py_INCREF(obj);
14254 return Py_BuildValue((char *)"");
14255 }
14256 static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14257 PyObject *resultobj;
14258 wxPNGHandler *result;
14259 char *kwnames[] = {
14260 NULL
14261 };
14262
14263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = (wxPNGHandler *)new wxPNGHandler();
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
14272 return resultobj;
14273 fail:
14274 return NULL;
14275 }
14276
14277
14278 static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) {
14279 PyObject *obj;
14280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14281 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
14282 Py_INCREF(obj);
14283 return Py_BuildValue((char *)"");
14284 }
14285 static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14286 PyObject *resultobj;
14287 wxGIFHandler *result;
14288 char *kwnames[] = {
14289 NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = (wxGIFHandler *)new wxGIFHandler();
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
14301 return resultobj;
14302 fail:
14303 return NULL;
14304 }
14305
14306
14307 static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) {
14308 PyObject *obj;
14309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14310 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
14311 Py_INCREF(obj);
14312 return Py_BuildValue((char *)"");
14313 }
14314 static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxPCXHandler *result;
14317 char *kwnames[] = {
14318 NULL
14319 };
14320
14321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
14324 result = (wxPCXHandler *)new wxPCXHandler();
14325
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
14330 return resultobj;
14331 fail:
14332 return NULL;
14333 }
14334
14335
14336 static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) {
14337 PyObject *obj;
14338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14339 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
14340 Py_INCREF(obj);
14341 return Py_BuildValue((char *)"");
14342 }
14343 static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14344 PyObject *resultobj;
14345 wxJPEGHandler *result;
14346 char *kwnames[] = {
14347 NULL
14348 };
14349
14350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
14351 {
14352 PyThreadState* __tstate = wxPyBeginAllowThreads();
14353 result = (wxJPEGHandler *)new wxJPEGHandler();
14354
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
14359 return resultobj;
14360 fail:
14361 return NULL;
14362 }
14363
14364
14365 static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) {
14366 PyObject *obj;
14367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14368 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
14369 Py_INCREF(obj);
14370 return Py_BuildValue((char *)"");
14371 }
14372 static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj;
14374 wxPNMHandler *result;
14375 char *kwnames[] = {
14376 NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 result = (wxPNMHandler *)new wxPNMHandler();
14383
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
14388 return resultobj;
14389 fail:
14390 return NULL;
14391 }
14392
14393
14394 static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) {
14395 PyObject *obj;
14396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14397 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
14398 Py_INCREF(obj);
14399 return Py_BuildValue((char *)"");
14400 }
14401 static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14402 PyObject *resultobj;
14403 wxXPMHandler *result;
14404 char *kwnames[] = {
14405 NULL
14406 };
14407
14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 result = (wxXPMHandler *)new wxXPMHandler();
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
14417 return resultobj;
14418 fail:
14419 return NULL;
14420 }
14421
14422
14423 static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) {
14424 PyObject *obj;
14425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14426 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
14427 Py_INCREF(obj);
14428 return Py_BuildValue((char *)"");
14429 }
14430 static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14431 PyObject *resultobj;
14432 wxTIFFHandler *result;
14433 char *kwnames[] = {
14434 NULL
14435 };
14436
14437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
14438 {
14439 PyThreadState* __tstate = wxPyBeginAllowThreads();
14440 result = (wxTIFFHandler *)new wxTIFFHandler();
14441
14442 wxPyEndAllowThreads(__tstate);
14443 if (PyErr_Occurred()) SWIG_fail;
14444 }
14445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
14446 return resultobj;
14447 fail:
14448 return NULL;
14449 }
14450
14451
14452 static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) {
14453 PyObject *obj;
14454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14455 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
14456 Py_INCREF(obj);
14457 return Py_BuildValue((char *)"");
14458 }
14459 static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) {
14460 PyObject *resultobj;
14461 wxImage *arg1 = 0 ;
14462 wxImage *arg2 = 0 ;
14463 int arg3 = (int) 236 ;
14464 int arg4 = (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE ;
14465 bool result;
14466 PyObject * obj0 = 0 ;
14467 PyObject * obj1 = 0 ;
14468 PyObject * obj2 = 0 ;
14469 PyObject * obj3 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Quantize_Quantize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14475 {
14476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14477 if (SWIG_arg_fail(1)) SWIG_fail;
14478 if (arg1 == NULL) {
14479 SWIG_null_ref("wxImage");
14480 }
14481 if (SWIG_arg_fail(1)) SWIG_fail;
14482 }
14483 {
14484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14485 if (SWIG_arg_fail(2)) SWIG_fail;
14486 if (arg2 == NULL) {
14487 SWIG_null_ref("wxImage");
14488 }
14489 if (SWIG_arg_fail(2)) SWIG_fail;
14490 }
14491 if (obj2) {
14492 {
14493 arg3 = (int)(SWIG_As_int(obj2));
14494 if (SWIG_arg_fail(3)) SWIG_fail;
14495 }
14496 }
14497 if (obj3) {
14498 {
14499 arg4 = (int)(SWIG_As_int(obj3));
14500 if (SWIG_arg_fail(4)) SWIG_fail;
14501 }
14502 }
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 result = (bool)Quantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4);
14506
14507 wxPyEndAllowThreads(__tstate);
14508 if (PyErr_Occurred()) SWIG_fail;
14509 }
14510 {
14511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14512 }
14513 return resultobj;
14514 fail:
14515 return NULL;
14516 }
14517
14518
14519 static PyObject * Quantize_swigregister(PyObject *, PyObject *args) {
14520 PyObject *obj;
14521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14522 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize, obj);
14523 Py_INCREF(obj);
14524 return Py_BuildValue((char *)"");
14525 }
14526 static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14527 PyObject *resultobj;
14528 wxEvtHandler *result;
14529 char *kwnames[] = {
14530 NULL
14531 };
14532
14533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (wxEvtHandler *)new wxEvtHandler();
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvtHandler, 1);
14542 return resultobj;
14543 fail:
14544 return NULL;
14545 }
14546
14547
14548 static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14551 wxEvtHandler *result;
14552 PyObject * obj0 = 0 ;
14553 char *kwnames[] = {
14554 (char *) "self", NULL
14555 };
14556
14557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
14558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14559 if (SWIG_arg_fail(1)) SWIG_fail;
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 result = (wxEvtHandler *)(arg1)->GetNextHandler();
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 {
14568 resultobj = wxPyMake_wxObject(result, 0);
14569 }
14570 return resultobj;
14571 fail:
14572 return NULL;
14573 }
14574
14575
14576 static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14577 PyObject *resultobj;
14578 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14579 wxEvtHandler *result;
14580 PyObject * obj0 = 0 ;
14581 char *kwnames[] = {
14582 (char *) "self", NULL
14583 };
14584
14585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
14586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14587 if (SWIG_arg_fail(1)) SWIG_fail;
14588 {
14589 PyThreadState* __tstate = wxPyBeginAllowThreads();
14590 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
14591
14592 wxPyEndAllowThreads(__tstate);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 }
14595 {
14596 resultobj = wxPyMake_wxObject(result, 0);
14597 }
14598 return resultobj;
14599 fail:
14600 return NULL;
14601 }
14602
14603
14604 static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14605 PyObject *resultobj;
14606 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14607 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
14608 PyObject * obj0 = 0 ;
14609 PyObject * obj1 = 0 ;
14610 char *kwnames[] = {
14611 (char *) "self",(char *) "handler", NULL
14612 };
14613
14614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
14615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14616 if (SWIG_arg_fail(1)) SWIG_fail;
14617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14618 if (SWIG_arg_fail(2)) SWIG_fail;
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 (arg1)->SetNextHandler(arg2);
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 Py_INCREF(Py_None); resultobj = Py_None;
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj;
14635 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14636 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
14637 PyObject * obj0 = 0 ;
14638 PyObject * obj1 = 0 ;
14639 char *kwnames[] = {
14640 (char *) "self",(char *) "handler", NULL
14641 };
14642
14643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
14644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14645 if (SWIG_arg_fail(1)) SWIG_fail;
14646 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14647 if (SWIG_arg_fail(2)) SWIG_fail;
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 (arg1)->SetPreviousHandler(arg2);
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 Py_INCREF(Py_None); resultobj = Py_None;
14656 return resultobj;
14657 fail:
14658 return NULL;
14659 }
14660
14661
14662 static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14665 bool result;
14666 PyObject * obj0 = 0 ;
14667 char *kwnames[] = {
14668 (char *) "self", NULL
14669 };
14670
14671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
14672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14673 if (SWIG_arg_fail(1)) SWIG_fail;
14674 {
14675 PyThreadState* __tstate = wxPyBeginAllowThreads();
14676 result = (bool)(arg1)->GetEvtHandlerEnabled();
14677
14678 wxPyEndAllowThreads(__tstate);
14679 if (PyErr_Occurred()) SWIG_fail;
14680 }
14681 {
14682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14683 }
14684 return resultobj;
14685 fail:
14686 return NULL;
14687 }
14688
14689
14690 static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
14691 PyObject *resultobj;
14692 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14693 bool arg2 ;
14694 PyObject * obj0 = 0 ;
14695 PyObject * obj1 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self",(char *) "enabled", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
14701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14702 if (SWIG_arg_fail(1)) SWIG_fail;
14703 {
14704 arg2 = (bool)(SWIG_As_bool(obj1));
14705 if (SWIG_arg_fail(2)) SWIG_fail;
14706 }
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 (arg1)->SetEvtHandlerEnabled(arg2);
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 Py_INCREF(Py_None); resultobj = Py_None;
14715 return resultobj;
14716 fail:
14717 return NULL;
14718 }
14719
14720
14721 static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14722 PyObject *resultobj;
14723 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14724 wxEvent *arg2 = 0 ;
14725 bool result;
14726 PyObject * obj0 = 0 ;
14727 PyObject * obj1 = 0 ;
14728 char *kwnames[] = {
14729 (char *) "self",(char *) "event", NULL
14730 };
14731
14732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
14733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14734 if (SWIG_arg_fail(1)) SWIG_fail;
14735 {
14736 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
14737 if (SWIG_arg_fail(2)) SWIG_fail;
14738 if (arg2 == NULL) {
14739 SWIG_null_ref("wxEvent");
14740 }
14741 if (SWIG_arg_fail(2)) SWIG_fail;
14742 }
14743 {
14744 PyThreadState* __tstate = wxPyBeginAllowThreads();
14745 result = (bool)(arg1)->ProcessEvent(*arg2);
14746
14747 wxPyEndAllowThreads(__tstate);
14748 if (PyErr_Occurred()) SWIG_fail;
14749 }
14750 {
14751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14752 }
14753 return resultobj;
14754 fail:
14755 return NULL;
14756 }
14757
14758
14759 static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14762 wxEvent *arg2 = 0 ;
14763 PyObject * obj0 = 0 ;
14764 PyObject * obj1 = 0 ;
14765 char *kwnames[] = {
14766 (char *) "self",(char *) "event", NULL
14767 };
14768
14769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
14770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14771 if (SWIG_arg_fail(1)) SWIG_fail;
14772 {
14773 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
14774 if (SWIG_arg_fail(2)) SWIG_fail;
14775 if (arg2 == NULL) {
14776 SWIG_null_ref("wxEvent");
14777 }
14778 if (SWIG_arg_fail(2)) SWIG_fail;
14779 }
14780 {
14781 PyThreadState* __tstate = wxPyBeginAllowThreads();
14782 (arg1)->AddPendingEvent(*arg2);
14783
14784 wxPyEndAllowThreads(__tstate);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
14787 Py_INCREF(Py_None); resultobj = Py_None;
14788 return resultobj;
14789 fail:
14790 return NULL;
14791 }
14792
14793
14794 static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
14795 PyObject *resultobj;
14796 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14797 PyObject * obj0 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "self", NULL
14800 };
14801
14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
14803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14804 if (SWIG_arg_fail(1)) SWIG_fail;
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 (arg1)->ProcessPendingEvents();
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 Py_INCREF(Py_None); resultobj = Py_None;
14813 return resultobj;
14814 fail:
14815 return NULL;
14816 }
14817
14818
14819 static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) {
14820 PyObject *resultobj;
14821 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14822 int arg2 ;
14823 int arg3 ;
14824 int arg4 ;
14825 PyObject *arg5 = (PyObject *) 0 ;
14826 PyObject * obj0 = 0 ;
14827 PyObject * obj1 = 0 ;
14828 PyObject * obj2 = 0 ;
14829 PyObject * obj3 = 0 ;
14830 PyObject * obj4 = 0 ;
14831 char *kwnames[] = {
14832 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14833 };
14834
14835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14837 if (SWIG_arg_fail(1)) SWIG_fail;
14838 {
14839 arg2 = (int)(SWIG_As_int(obj1));
14840 if (SWIG_arg_fail(2)) SWIG_fail;
14841 }
14842 {
14843 arg3 = (int)(SWIG_As_int(obj2));
14844 if (SWIG_arg_fail(3)) SWIG_fail;
14845 }
14846 {
14847 arg4 = (int)(SWIG_As_int(obj3));
14848 if (SWIG_arg_fail(4)) SWIG_fail;
14849 }
14850 arg5 = obj4;
14851 {
14852 PyThreadState* __tstate = wxPyBeginAllowThreads();
14853 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
14854
14855 wxPyEndAllowThreads(__tstate);
14856 if (PyErr_Occurred()) SWIG_fail;
14857 }
14858 Py_INCREF(Py_None); resultobj = Py_None;
14859 return resultobj;
14860 fail:
14861 return NULL;
14862 }
14863
14864
14865 static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) {
14866 PyObject *resultobj;
14867 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14868 int arg2 ;
14869 int arg3 = (int) -1 ;
14870 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
14871 bool result;
14872 PyObject * obj0 = 0 ;
14873 PyObject * obj1 = 0 ;
14874 PyObject * obj2 = 0 ;
14875 PyObject * obj3 = 0 ;
14876 char *kwnames[] = {
14877 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14878 };
14879
14880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14882 if (SWIG_arg_fail(1)) SWIG_fail;
14883 {
14884 arg2 = (int)(SWIG_As_int(obj1));
14885 if (SWIG_arg_fail(2)) SWIG_fail;
14886 }
14887 if (obj2) {
14888 {
14889 arg3 = (int)(SWIG_As_int(obj2));
14890 if (SWIG_arg_fail(3)) SWIG_fail;
14891 }
14892 }
14893 if (obj3) {
14894 {
14895 arg4 = (wxEventType)(SWIG_As_int(obj3));
14896 if (SWIG_arg_fail(4)) SWIG_fail;
14897 }
14898 }
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14908 }
14909 return resultobj;
14910 fail:
14911 return NULL;
14912 }
14913
14914
14915 static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14916 PyObject *resultobj;
14917 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14918 PyObject *arg2 = (PyObject *) 0 ;
14919 bool arg3 = (bool) true ;
14920 PyObject * obj0 = 0 ;
14921 PyObject * obj1 = 0 ;
14922 PyObject * obj2 = 0 ;
14923 char *kwnames[] = {
14924 (char *) "self",(char *) "_self",(char *) "incref", NULL
14925 };
14926
14927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:EvtHandler__setOORInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14929 if (SWIG_arg_fail(1)) SWIG_fail;
14930 arg2 = obj1;
14931 if (obj2) {
14932 {
14933 arg3 = (bool)(SWIG_As_bool(obj2));
14934 if (SWIG_arg_fail(3)) SWIG_fail;
14935 }
14936 }
14937 {
14938 PyThreadState* __tstate = wxPyBeginAllowThreads();
14939 wxEvtHandler__setOORInfo(arg1,arg2,arg3);
14940
14941 wxPyEndAllowThreads(__tstate);
14942 if (PyErr_Occurred()) SWIG_fail;
14943 }
14944 Py_INCREF(Py_None); resultobj = Py_None;
14945 return resultobj;
14946 fail:
14947 return NULL;
14948 }
14949
14950
14951 static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) {
14952 PyObject *obj;
14953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14954 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
14955 Py_INCREF(obj);
14956 return Py_BuildValue((char *)"");
14957 }
14958 static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) {
14959 PyObject *resultobj;
14960 wxEventType result;
14961 char *kwnames[] = {
14962 NULL
14963 };
14964
14965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (wxEventType)wxNewEventType();
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 {
14974 resultobj = SWIG_From_int((int)(result));
14975 }
14976 return resultobj;
14977 fail:
14978 return NULL;
14979 }
14980
14981
14982 static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) {
14983 PyObject *resultobj;
14984 wxEvent *arg1 = (wxEvent *) 0 ;
14985 PyObject * obj0 = 0 ;
14986 char *kwnames[] = {
14987 (char *) "self", NULL
14988 };
14989
14990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
14991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
14992 if (SWIG_arg_fail(1)) SWIG_fail;
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 delete arg1;
14996
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 Py_INCREF(Py_None); resultobj = Py_None;
15001 return resultobj;
15002 fail:
15003 return NULL;
15004 }
15005
15006
15007 static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
15008 PyObject *resultobj;
15009 wxEvent *arg1 = (wxEvent *) 0 ;
15010 wxEventType arg2 ;
15011 PyObject * obj0 = 0 ;
15012 PyObject * obj1 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self",(char *) "typ", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
15018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15019 if (SWIG_arg_fail(1)) SWIG_fail;
15020 {
15021 arg2 = (wxEventType)(SWIG_As_int(obj1));
15022 if (SWIG_arg_fail(2)) SWIG_fail;
15023 }
15024 {
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 (arg1)->SetEventType(arg2);
15027
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 Py_INCREF(Py_None); resultobj = Py_None;
15032 return resultobj;
15033 fail:
15034 return NULL;
15035 }
15036
15037
15038 static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
15039 PyObject *resultobj;
15040 wxEvent *arg1 = (wxEvent *) 0 ;
15041 wxEventType result;
15042 PyObject * obj0 = 0 ;
15043 char *kwnames[] = {
15044 (char *) "self", NULL
15045 };
15046
15047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
15048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15049 if (SWIG_arg_fail(1)) SWIG_fail;
15050 {
15051 PyThreadState* __tstate = wxPyBeginAllowThreads();
15052 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
15053
15054 wxPyEndAllowThreads(__tstate);
15055 if (PyErr_Occurred()) SWIG_fail;
15056 }
15057 {
15058 resultobj = SWIG_From_int((int)(result));
15059 }
15060 return resultobj;
15061 fail:
15062 return NULL;
15063 }
15064
15065
15066 static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
15067 PyObject *resultobj;
15068 wxEvent *arg1 = (wxEvent *) 0 ;
15069 wxObject *result;
15070 PyObject * obj0 = 0 ;
15071 char *kwnames[] = {
15072 (char *) "self", NULL
15073 };
15074
15075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
15076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail;
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 {
15086 resultobj = wxPyMake_wxObject(result, 0);
15087 }
15088 return resultobj;
15089 fail:
15090 return NULL;
15091 }
15092
15093
15094 static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxEvent *arg1 = (wxEvent *) 0 ;
15097 wxObject *arg2 = (wxObject *) 0 ;
15098 PyObject * obj0 = 0 ;
15099 PyObject * obj1 = 0 ;
15100 char *kwnames[] = {
15101 (char *) "self",(char *) "obj", NULL
15102 };
15103
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
15105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail;
15107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
15108 if (SWIG_arg_fail(2)) SWIG_fail;
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 (arg1)->SetEventObject(arg2);
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 Py_INCREF(Py_None); resultobj = Py_None;
15117 return resultobj;
15118 fail:
15119 return NULL;
15120 }
15121
15122
15123 static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 wxEvent *arg1 = (wxEvent *) 0 ;
15126 long result;
15127 PyObject * obj0 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
15133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15134 if (SWIG_arg_fail(1)) SWIG_fail;
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 result = (long)((wxEvent const *)arg1)->GetTimestamp();
15138
15139 wxPyEndAllowThreads(__tstate);
15140 if (PyErr_Occurred()) SWIG_fail;
15141 }
15142 {
15143 resultobj = SWIG_From_long((long)(result));
15144 }
15145 return resultobj;
15146 fail:
15147 return NULL;
15148 }
15149
15150
15151 static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj;
15153 wxEvent *arg1 = (wxEvent *) 0 ;
15154 long arg2 = (long) 0 ;
15155 PyObject * obj0 = 0 ;
15156 PyObject * obj1 = 0 ;
15157 char *kwnames[] = {
15158 (char *) "self",(char *) "ts", NULL
15159 };
15160
15161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
15162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15163 if (SWIG_arg_fail(1)) SWIG_fail;
15164 if (obj1) {
15165 {
15166 arg2 = (long)(SWIG_As_long(obj1));
15167 if (SWIG_arg_fail(2)) SWIG_fail;
15168 }
15169 }
15170 {
15171 PyThreadState* __tstate = wxPyBeginAllowThreads();
15172 (arg1)->SetTimestamp(arg2);
15173
15174 wxPyEndAllowThreads(__tstate);
15175 if (PyErr_Occurred()) SWIG_fail;
15176 }
15177 Py_INCREF(Py_None); resultobj = Py_None;
15178 return resultobj;
15179 fail:
15180 return NULL;
15181 }
15182
15183
15184 static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
15185 PyObject *resultobj;
15186 wxEvent *arg1 = (wxEvent *) 0 ;
15187 int result;
15188 PyObject * obj0 = 0 ;
15189 char *kwnames[] = {
15190 (char *) "self", NULL
15191 };
15192
15193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
15194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15195 if (SWIG_arg_fail(1)) SWIG_fail;
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 result = (int)((wxEvent const *)arg1)->GetId();
15199
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 {
15204 resultobj = SWIG_From_int((int)(result));
15205 }
15206 return resultobj;
15207 fail:
15208 return NULL;
15209 }
15210
15211
15212 static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
15213 PyObject *resultobj;
15214 wxEvent *arg1 = (wxEvent *) 0 ;
15215 int arg2 ;
15216 PyObject * obj0 = 0 ;
15217 PyObject * obj1 = 0 ;
15218 char *kwnames[] = {
15219 (char *) "self",(char *) "Id", NULL
15220 };
15221
15222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
15223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15224 if (SWIG_arg_fail(1)) SWIG_fail;
15225 {
15226 arg2 = (int)(SWIG_As_int(obj1));
15227 if (SWIG_arg_fail(2)) SWIG_fail;
15228 }
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 (arg1)->SetId(arg2);
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 Py_INCREF(Py_None); resultobj = Py_None;
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxEvent *arg1 = (wxEvent *) 0 ;
15246 bool result;
15247 PyObject * obj0 = 0 ;
15248 char *kwnames[] = {
15249 (char *) "self", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
15253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15254 if (SWIG_arg_fail(1)) SWIG_fail;
15255 {
15256 PyThreadState* __tstate = wxPyBeginAllowThreads();
15257 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
15258
15259 wxPyEndAllowThreads(__tstate);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 {
15263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15264 }
15265 return resultobj;
15266 fail:
15267 return NULL;
15268 }
15269
15270
15271 static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
15272 PyObject *resultobj;
15273 wxEvent *arg1 = (wxEvent *) 0 ;
15274 bool arg2 = (bool) true ;
15275 PyObject * obj0 = 0 ;
15276 PyObject * obj1 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self",(char *) "skip", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
15282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15283 if (SWIG_arg_fail(1)) SWIG_fail;
15284 if (obj1) {
15285 {
15286 arg2 = (bool)(SWIG_As_bool(obj1));
15287 if (SWIG_arg_fail(2)) SWIG_fail;
15288 }
15289 }
15290 {
15291 PyThreadState* __tstate = wxPyBeginAllowThreads();
15292 (arg1)->Skip(arg2);
15293
15294 wxPyEndAllowThreads(__tstate);
15295 if (PyErr_Occurred()) SWIG_fail;
15296 }
15297 Py_INCREF(Py_None); resultobj = Py_None;
15298 return resultobj;
15299 fail:
15300 return NULL;
15301 }
15302
15303
15304 static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) {
15305 PyObject *resultobj;
15306 wxEvent *arg1 = (wxEvent *) 0 ;
15307 bool result;
15308 PyObject * obj0 = 0 ;
15309 char *kwnames[] = {
15310 (char *) "self", NULL
15311 };
15312
15313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
15314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15315 if (SWIG_arg_fail(1)) SWIG_fail;
15316 {
15317 PyThreadState* __tstate = wxPyBeginAllowThreads();
15318 result = (bool)((wxEvent const *)arg1)->GetSkipped();
15319
15320 wxPyEndAllowThreads(__tstate);
15321 if (PyErr_Occurred()) SWIG_fail;
15322 }
15323 {
15324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15325 }
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj;
15334 wxEvent *arg1 = (wxEvent *) 0 ;
15335 bool result;
15336 PyObject * obj0 = 0 ;
15337 char *kwnames[] = {
15338 (char *) "self", NULL
15339 };
15340
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
15342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15343 if (SWIG_arg_fail(1)) SWIG_fail;
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 {
15352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15353 }
15354 return resultobj;
15355 fail:
15356 return NULL;
15357 }
15358
15359
15360 static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 wxEvent *arg1 = (wxEvent *) 0 ;
15363 int result;
15364 PyObject * obj0 = 0 ;
15365 char *kwnames[] = {
15366 (char *) "self", NULL
15367 };
15368
15369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
15370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15371 if (SWIG_arg_fail(1)) SWIG_fail;
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 result = (int)(arg1)->StopPropagation();
15375
15376 wxPyEndAllowThreads(__tstate);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
15379 {
15380 resultobj = SWIG_From_int((int)(result));
15381 }
15382 return resultobj;
15383 fail:
15384 return NULL;
15385 }
15386
15387
15388 static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) {
15389 PyObject *resultobj;
15390 wxEvent *arg1 = (wxEvent *) 0 ;
15391 int arg2 ;
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self",(char *) "propagationLevel", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
15399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15400 if (SWIG_arg_fail(1)) SWIG_fail;
15401 {
15402 arg2 = (int)(SWIG_As_int(obj1));
15403 if (SWIG_arg_fail(2)) SWIG_fail;
15404 }
15405 {
15406 PyThreadState* __tstate = wxPyBeginAllowThreads();
15407 (arg1)->ResumePropagation(arg2);
15408
15409 wxPyEndAllowThreads(__tstate);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 }
15412 Py_INCREF(Py_None); resultobj = Py_None;
15413 return resultobj;
15414 fail:
15415 return NULL;
15416 }
15417
15418
15419 static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj;
15421 wxEvent *arg1 = (wxEvent *) 0 ;
15422 wxEvent *result;
15423 PyObject * obj0 = 0 ;
15424 char *kwnames[] = {
15425 (char *) "self", NULL
15426 };
15427
15428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
15429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15430 if (SWIG_arg_fail(1)) SWIG_fail;
15431 {
15432 PyThreadState* __tstate = wxPyBeginAllowThreads();
15433 result = (wxEvent *)(arg1)->Clone();
15434
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
15439 return resultobj;
15440 fail:
15441 return NULL;
15442 }
15443
15444
15445 static PyObject * Event_swigregister(PyObject *, PyObject *args) {
15446 PyObject *obj;
15447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15448 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
15449 Py_INCREF(obj);
15450 return Py_BuildValue((char *)"");
15451 }
15452 static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
15453 PyObject *resultobj;
15454 wxEvent *arg1 = 0 ;
15455 wxPropagationDisabler *result;
15456 PyObject * obj0 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "event", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
15462 {
15463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15464 if (SWIG_arg_fail(1)) SWIG_fail;
15465 if (arg1 == NULL) {
15466 SWIG_null_ref("wxEvent");
15467 }
15468 if (SWIG_arg_fail(1)) SWIG_fail;
15469 }
15470 {
15471 PyThreadState* __tstate = wxPyBeginAllowThreads();
15472 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
15473
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
15478 return resultobj;
15479 fail:
15480 return NULL;
15481 }
15482
15483
15484 static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
15485 PyObject *resultobj;
15486 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
15487 PyObject * obj0 = 0 ;
15488 char *kwnames[] = {
15489 (char *) "self", NULL
15490 };
15491
15492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
15493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPropagationDisabler, SWIG_POINTER_EXCEPTION | 0);
15494 if (SWIG_arg_fail(1)) SWIG_fail;
15495 {
15496 PyThreadState* __tstate = wxPyBeginAllowThreads();
15497 delete arg1;
15498
15499 wxPyEndAllowThreads(__tstate);
15500 if (PyErr_Occurred()) SWIG_fail;
15501 }
15502 Py_INCREF(Py_None); resultobj = Py_None;
15503 return resultobj;
15504 fail:
15505 return NULL;
15506 }
15507
15508
15509 static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) {
15510 PyObject *obj;
15511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15512 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
15513 Py_INCREF(obj);
15514 return Py_BuildValue((char *)"");
15515 }
15516 static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
15517 PyObject *resultobj;
15518 wxEvent *arg1 = 0 ;
15519 wxPropagateOnce *result;
15520 PyObject * obj0 = 0 ;
15521 char *kwnames[] = {
15522 (char *) "event", NULL
15523 };
15524
15525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
15526 {
15527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15528 if (SWIG_arg_fail(1)) SWIG_fail;
15529 if (arg1 == NULL) {
15530 SWIG_null_ref("wxEvent");
15531 }
15532 if (SWIG_arg_fail(1)) SWIG_fail;
15533 }
15534 {
15535 PyThreadState* __tstate = wxPyBeginAllowThreads();
15536 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
15537
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
15541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
15542 return resultobj;
15543 fail:
15544 return NULL;
15545 }
15546
15547
15548 static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
15549 PyObject *resultobj;
15550 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
15551 PyObject * obj0 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "self", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
15557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPropagateOnce, SWIG_POINTER_EXCEPTION | 0);
15558 if (SWIG_arg_fail(1)) SWIG_fail;
15559 {
15560 PyThreadState* __tstate = wxPyBeginAllowThreads();
15561 delete arg1;
15562
15563 wxPyEndAllowThreads(__tstate);
15564 if (PyErr_Occurred()) SWIG_fail;
15565 }
15566 Py_INCREF(Py_None); resultobj = Py_None;
15567 return resultobj;
15568 fail:
15569 return NULL;
15570 }
15571
15572
15573 static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) {
15574 PyObject *obj;
15575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15576 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
15577 Py_INCREF(obj);
15578 return Py_BuildValue((char *)"");
15579 }
15580 static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15581 PyObject *resultobj;
15582 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15583 int arg2 = (int) 0 ;
15584 wxCommandEvent *result;
15585 PyObject * obj0 = 0 ;
15586 PyObject * obj1 = 0 ;
15587 char *kwnames[] = {
15588 (char *) "commandType",(char *) "winid", NULL
15589 };
15590
15591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
15592 if (obj0) {
15593 {
15594 arg1 = (wxEventType)(SWIG_As_int(obj0));
15595 if (SWIG_arg_fail(1)) SWIG_fail;
15596 }
15597 }
15598 if (obj1) {
15599 {
15600 arg2 = (int)(SWIG_As_int(obj1));
15601 if (SWIG_arg_fail(2)) SWIG_fail;
15602 }
15603 }
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
15612 return resultobj;
15613 fail:
15614 return NULL;
15615 }
15616
15617
15618 static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15619 PyObject *resultobj;
15620 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15621 int result;
15622 PyObject * obj0 = 0 ;
15623 char *kwnames[] = {
15624 (char *) "self", NULL
15625 };
15626
15627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
15628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15629 if (SWIG_arg_fail(1)) SWIG_fail;
15630 {
15631 PyThreadState* __tstate = wxPyBeginAllowThreads();
15632 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
15633
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 {
15638 resultobj = SWIG_From_int((int)(result));
15639 }
15640 return resultobj;
15641 fail:
15642 return NULL;
15643 }
15644
15645
15646 static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
15647 PyObject *resultobj;
15648 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15649 wxString *arg2 = 0 ;
15650 bool temp2 = false ;
15651 PyObject * obj0 = 0 ;
15652 PyObject * obj1 = 0 ;
15653 char *kwnames[] = {
15654 (char *) "self",(char *) "s", NULL
15655 };
15656
15657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
15658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15659 if (SWIG_arg_fail(1)) SWIG_fail;
15660 {
15661 arg2 = wxString_in_helper(obj1);
15662 if (arg2 == NULL) SWIG_fail;
15663 temp2 = true;
15664 }
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 (arg1)->SetString((wxString const &)*arg2);
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 Py_INCREF(Py_None); resultobj = Py_None;
15673 {
15674 if (temp2)
15675 delete arg2;
15676 }
15677 return resultobj;
15678 fail:
15679 {
15680 if (temp2)
15681 delete arg2;
15682 }
15683 return NULL;
15684 }
15685
15686
15687 static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
15688 PyObject *resultobj;
15689 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15690 wxString result;
15691 PyObject * obj0 = 0 ;
15692 char *kwnames[] = {
15693 (char *) "self", NULL
15694 };
15695
15696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
15697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15698 if (SWIG_arg_fail(1)) SWIG_fail;
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 result = ((wxCommandEvent const *)arg1)->GetString();
15702
15703 wxPyEndAllowThreads(__tstate);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 }
15706 {
15707 #if wxUSE_UNICODE
15708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15709 #else
15710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15711 #endif
15712 }
15713 return resultobj;
15714 fail:
15715 return NULL;
15716 }
15717
15718
15719 static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
15720 PyObject *resultobj;
15721 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15722 bool result;
15723 PyObject * obj0 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
15729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15730 if (SWIG_arg_fail(1)) SWIG_fail;
15731 {
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
15734
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15738 {
15739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15740 }
15741 return resultobj;
15742 fail:
15743 return NULL;
15744 }
15745
15746
15747 static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15748 PyObject *resultobj;
15749 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15750 bool result;
15751 PyObject * obj0 = 0 ;
15752 char *kwnames[] = {
15753 (char *) "self", NULL
15754 };
15755
15756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
15757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15758 if (SWIG_arg_fail(1)) SWIG_fail;
15759 {
15760 PyThreadState* __tstate = wxPyBeginAllowThreads();
15761 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
15762
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 {
15767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15768 }
15769 return resultobj;
15770 fail:
15771 return NULL;
15772 }
15773
15774
15775 static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15778 long arg2 ;
15779 PyObject * obj0 = 0 ;
15780 PyObject * obj1 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self",(char *) "extraLong", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
15786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15787 if (SWIG_arg_fail(1)) SWIG_fail;
15788 {
15789 arg2 = (long)(SWIG_As_long(obj1));
15790 if (SWIG_arg_fail(2)) SWIG_fail;
15791 }
15792 {
15793 PyThreadState* __tstate = wxPyBeginAllowThreads();
15794 (arg1)->SetExtraLong(arg2);
15795
15796 wxPyEndAllowThreads(__tstate);
15797 if (PyErr_Occurred()) SWIG_fail;
15798 }
15799 Py_INCREF(Py_None); resultobj = Py_None;
15800 return resultobj;
15801 fail:
15802 return NULL;
15803 }
15804
15805
15806 static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
15807 PyObject *resultobj;
15808 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15809 long result;
15810 PyObject * obj0 = 0 ;
15811 char *kwnames[] = {
15812 (char *) "self", NULL
15813 };
15814
15815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
15816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15817 if (SWIG_arg_fail(1)) SWIG_fail;
15818 {
15819 PyThreadState* __tstate = wxPyBeginAllowThreads();
15820 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
15821
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 {
15826 resultobj = SWIG_From_long((long)(result));
15827 }
15828 return resultobj;
15829 fail:
15830 return NULL;
15831 }
15832
15833
15834 static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj;
15836 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15837 int arg2 ;
15838 PyObject * obj0 = 0 ;
15839 PyObject * obj1 = 0 ;
15840 char *kwnames[] = {
15841 (char *) "self",(char *) "i", NULL
15842 };
15843
15844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
15845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15846 if (SWIG_arg_fail(1)) SWIG_fail;
15847 {
15848 arg2 = (int)(SWIG_As_int(obj1));
15849 if (SWIG_arg_fail(2)) SWIG_fail;
15850 }
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 (arg1)->SetInt(arg2);
15854
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 Py_INCREF(Py_None); resultobj = Py_None;
15859 return resultobj;
15860 fail:
15861 return NULL;
15862 }
15863
15864
15865 static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15868 long result;
15869 PyObject * obj0 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "self", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
15875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15876 if (SWIG_arg_fail(1)) SWIG_fail;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 result = (long)((wxCommandEvent const *)arg1)->GetInt();
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 {
15885 resultobj = SWIG_From_long((long)(result));
15886 }
15887 return resultobj;
15888 fail:
15889 return NULL;
15890 }
15891
15892
15893 static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15896 wxEvent *result;
15897 PyObject * obj0 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "self", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
15903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15904 if (SWIG_arg_fail(1)) SWIG_fail;
15905 {
15906 PyThreadState* __tstate = wxPyBeginAllowThreads();
15907 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
15908
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
15913 return resultobj;
15914 fail:
15915 return NULL;
15916 }
15917
15918
15919 static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) {
15920 PyObject *obj;
15921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15922 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
15923 Py_INCREF(obj);
15924 return Py_BuildValue((char *)"");
15925 }
15926 static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15927 PyObject *resultobj;
15928 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15929 int arg2 = (int) 0 ;
15930 wxNotifyEvent *result;
15931 PyObject * obj0 = 0 ;
15932 PyObject * obj1 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "commandType",(char *) "winid", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
15938 if (obj0) {
15939 {
15940 arg1 = (wxEventType)(SWIG_As_int(obj0));
15941 if (SWIG_arg_fail(1)) SWIG_fail;
15942 }
15943 }
15944 if (obj1) {
15945 {
15946 arg2 = (int)(SWIG_As_int(obj1));
15947 if (SWIG_arg_fail(2)) SWIG_fail;
15948 }
15949 }
15950 {
15951 PyThreadState* __tstate = wxPyBeginAllowThreads();
15952 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
15953
15954 wxPyEndAllowThreads(__tstate);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 }
15957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
15958 return resultobj;
15959 fail:
15960 return NULL;
15961 }
15962
15963
15964 static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
15965 PyObject *resultobj;
15966 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
15967 PyObject * obj0 = 0 ;
15968 char *kwnames[] = {
15969 (char *) "self", NULL
15970 };
15971
15972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
15973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0);
15974 if (SWIG_arg_fail(1)) SWIG_fail;
15975 {
15976 PyThreadState* __tstate = wxPyBeginAllowThreads();
15977 (arg1)->Veto();
15978
15979 wxPyEndAllowThreads(__tstate);
15980 if (PyErr_Occurred()) SWIG_fail;
15981 }
15982 Py_INCREF(Py_None); resultobj = Py_None;
15983 return resultobj;
15984 fail:
15985 return NULL;
15986 }
15987
15988
15989 static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) {
15990 PyObject *resultobj;
15991 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
15992 PyObject * obj0 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
15998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0);
15999 if (SWIG_arg_fail(1)) SWIG_fail;
16000 {
16001 PyThreadState* __tstate = wxPyBeginAllowThreads();
16002 (arg1)->Allow();
16003
16004 wxPyEndAllowThreads(__tstate);
16005 if (PyErr_Occurred()) SWIG_fail;
16006 }
16007 Py_INCREF(Py_None); resultobj = Py_None;
16008 return resultobj;
16009 fail:
16010 return NULL;
16011 }
16012
16013
16014 static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
16015 PyObject *resultobj;
16016 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
16017 bool result;
16018 PyObject * obj0 = 0 ;
16019 char *kwnames[] = {
16020 (char *) "self", NULL
16021 };
16022
16023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
16024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0);
16025 if (SWIG_arg_fail(1)) SWIG_fail;
16026 {
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 result = (bool)(arg1)->IsAllowed();
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 {
16034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16035 }
16036 return resultobj;
16037 fail:
16038 return NULL;
16039 }
16040
16041
16042 static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) {
16043 PyObject *obj;
16044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16045 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
16046 Py_INCREF(obj);
16047 return Py_BuildValue((char *)"");
16048 }
16049 static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16052 int arg2 = (int) 0 ;
16053 int arg3 = (int) 0 ;
16054 int arg4 = (int) 0 ;
16055 wxScrollEvent *result;
16056 PyObject * obj0 = 0 ;
16057 PyObject * obj1 = 0 ;
16058 PyObject * obj2 = 0 ;
16059 PyObject * obj3 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16065 if (obj0) {
16066 {
16067 arg1 = (wxEventType)(SWIG_As_int(obj0));
16068 if (SWIG_arg_fail(1)) SWIG_fail;
16069 }
16070 }
16071 if (obj1) {
16072 {
16073 arg2 = (int)(SWIG_As_int(obj1));
16074 if (SWIG_arg_fail(2)) SWIG_fail;
16075 }
16076 }
16077 if (obj2) {
16078 {
16079 arg3 = (int)(SWIG_As_int(obj2));
16080 if (SWIG_arg_fail(3)) SWIG_fail;
16081 }
16082 }
16083 if (obj3) {
16084 {
16085 arg4 = (int)(SWIG_As_int(obj3));
16086 if (SWIG_arg_fail(4)) SWIG_fail;
16087 }
16088 }
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
16097 return resultobj;
16098 fail:
16099 return NULL;
16100 }
16101
16102
16103 static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16106 int result;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
16113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16114 if (SWIG_arg_fail(1)) SWIG_fail;
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 {
16123 resultobj = SWIG_From_int((int)(result));
16124 }
16125 return resultobj;
16126 fail:
16127 return NULL;
16128 }
16129
16130
16131 static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16132 PyObject *resultobj;
16133 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16134 int result;
16135 PyObject * obj0 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "self", NULL
16138 };
16139
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
16141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16142 if (SWIG_arg_fail(1)) SWIG_fail;
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
16146
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 {
16151 resultobj = SWIG_From_int((int)(result));
16152 }
16153 return resultobj;
16154 fail:
16155 return NULL;
16156 }
16157
16158
16159 static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16162 int arg2 ;
16163 PyObject * obj0 = 0 ;
16164 PyObject * obj1 = 0 ;
16165 char *kwnames[] = {
16166 (char *) "self",(char *) "orient", NULL
16167 };
16168
16169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16171 if (SWIG_arg_fail(1)) SWIG_fail;
16172 {
16173 arg2 = (int)(SWIG_As_int(obj1));
16174 if (SWIG_arg_fail(2)) SWIG_fail;
16175 }
16176 {
16177 PyThreadState* __tstate = wxPyBeginAllowThreads();
16178 (arg1)->SetOrientation(arg2);
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 Py_INCREF(Py_None); resultobj = Py_None;
16184 return resultobj;
16185 fail:
16186 return NULL;
16187 }
16188
16189
16190 static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16191 PyObject *resultobj;
16192 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16193 int arg2 ;
16194 PyObject * obj0 = 0 ;
16195 PyObject * obj1 = 0 ;
16196 char *kwnames[] = {
16197 (char *) "self",(char *) "pos", NULL
16198 };
16199
16200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16202 if (SWIG_arg_fail(1)) SWIG_fail;
16203 {
16204 arg2 = (int)(SWIG_As_int(obj1));
16205 if (SWIG_arg_fail(2)) SWIG_fail;
16206 }
16207 {
16208 PyThreadState* __tstate = wxPyBeginAllowThreads();
16209 (arg1)->SetPosition(arg2);
16210
16211 wxPyEndAllowThreads(__tstate);
16212 if (PyErr_Occurred()) SWIG_fail;
16213 }
16214 Py_INCREF(Py_None); resultobj = Py_None;
16215 return resultobj;
16216 fail:
16217 return NULL;
16218 }
16219
16220
16221 static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) {
16222 PyObject *obj;
16223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16224 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
16225 Py_INCREF(obj);
16226 return Py_BuildValue((char *)"");
16227 }
16228 static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj;
16230 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16231 int arg2 = (int) 0 ;
16232 int arg3 = (int) 0 ;
16233 wxScrollWinEvent *result;
16234 PyObject * obj0 = 0 ;
16235 PyObject * obj1 = 0 ;
16236 PyObject * obj2 = 0 ;
16237 char *kwnames[] = {
16238 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16239 };
16240
16241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16242 if (obj0) {
16243 {
16244 arg1 = (wxEventType)(SWIG_As_int(obj0));
16245 if (SWIG_arg_fail(1)) SWIG_fail;
16246 }
16247 }
16248 if (obj1) {
16249 {
16250 arg2 = (int)(SWIG_As_int(obj1));
16251 if (SWIG_arg_fail(2)) SWIG_fail;
16252 }
16253 }
16254 if (obj2) {
16255 {
16256 arg3 = (int)(SWIG_As_int(obj2));
16257 if (SWIG_arg_fail(3)) SWIG_fail;
16258 }
16259 }
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
16277 int result;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
16284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
16285 if (SWIG_arg_fail(1)) SWIG_fail;
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 {
16294 resultobj = SWIG_From_int((int)(result));
16295 }
16296 return resultobj;
16297 fail:
16298 return NULL;
16299 }
16300
16301
16302 static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16303 PyObject *resultobj;
16304 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
16305 int result;
16306 PyObject * obj0 = 0 ;
16307 char *kwnames[] = {
16308 (char *) "self", NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
16312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
16313 if (SWIG_arg_fail(1)) SWIG_fail;
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
16317
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 {
16322 resultobj = SWIG_From_int((int)(result));
16323 }
16324 return resultobj;
16325 fail:
16326 return NULL;
16327 }
16328
16329
16330 static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
16331 PyObject *resultobj;
16332 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
16333 int arg2 ;
16334 PyObject * obj0 = 0 ;
16335 PyObject * obj1 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self",(char *) "orient", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail;
16343 {
16344 arg2 = (int)(SWIG_As_int(obj1));
16345 if (SWIG_arg_fail(2)) SWIG_fail;
16346 }
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 (arg1)->SetOrientation(arg2);
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 Py_INCREF(Py_None); resultobj = Py_None;
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16362 PyObject *resultobj;
16363 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
16364 int arg2 ;
16365 PyObject * obj0 = 0 ;
16366 PyObject * obj1 = 0 ;
16367 char *kwnames[] = {
16368 (char *) "self",(char *) "pos", NULL
16369 };
16370
16371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
16373 if (SWIG_arg_fail(1)) SWIG_fail;
16374 {
16375 arg2 = (int)(SWIG_As_int(obj1));
16376 if (SWIG_arg_fail(2)) SWIG_fail;
16377 }
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 (arg1)->SetPosition(arg2);
16381
16382 wxPyEndAllowThreads(__tstate);
16383 if (PyErr_Occurred()) SWIG_fail;
16384 }
16385 Py_INCREF(Py_None); resultobj = Py_None;
16386 return resultobj;
16387 fail:
16388 return NULL;
16389 }
16390
16391
16392 static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) {
16393 PyObject *obj;
16394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16395 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
16396 Py_INCREF(obj);
16397 return Py_BuildValue((char *)"");
16398 }
16399 static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj;
16401 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16402 wxMouseEvent *result;
16403 PyObject * obj0 = 0 ;
16404 char *kwnames[] = {
16405 (char *) "mouseType", NULL
16406 };
16407
16408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
16409 if (obj0) {
16410 {
16411 arg1 = (wxEventType)(SWIG_As_int(obj0));
16412 if (SWIG_arg_fail(1)) SWIG_fail;
16413 }
16414 }
16415 {
16416 PyThreadState* __tstate = wxPyBeginAllowThreads();
16417 result = (wxMouseEvent *)new wxMouseEvent(arg1);
16418
16419 wxPyEndAllowThreads(__tstate);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 {
16423 resultobj = wxPyMake_wxObject(result, 1);
16424 }
16425 return resultobj;
16426 fail:
16427 return NULL;
16428 }
16429
16430
16431 static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj;
16433 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16434 bool result;
16435 PyObject * obj0 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "self", NULL
16438 };
16439
16440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
16441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16442 if (SWIG_arg_fail(1)) SWIG_fail;
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 {
16451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16452 }
16453 return resultobj;
16454 fail:
16455 return NULL;
16456 }
16457
16458
16459 static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
16460 PyObject *resultobj;
16461 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16462 int arg2 = (int) wxMOUSE_BTN_ANY ;
16463 bool result;
16464 PyObject * obj0 = 0 ;
16465 PyObject * obj1 = 0 ;
16466 char *kwnames[] = {
16467 (char *) "self",(char *) "but", NULL
16468 };
16469
16470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
16471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16472 if (SWIG_arg_fail(1)) SWIG_fail;
16473 if (obj1) {
16474 {
16475 arg2 = (int)(SWIG_As_int(obj1));
16476 if (SWIG_arg_fail(2)) SWIG_fail;
16477 }
16478 }
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
16482
16483 wxPyEndAllowThreads(__tstate);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 }
16486 {
16487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16488 }
16489 return resultobj;
16490 fail:
16491 return NULL;
16492 }
16493
16494
16495 static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) {
16496 PyObject *resultobj;
16497 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16498 int arg2 = (int) wxMOUSE_BTN_ANY ;
16499 bool result;
16500 PyObject * obj0 = 0 ;
16501 PyObject * obj1 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self",(char *) "but", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
16507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16508 if (SWIG_arg_fail(1)) SWIG_fail;
16509 if (obj1) {
16510 {
16511 arg2 = (int)(SWIG_As_int(obj1));
16512 if (SWIG_arg_fail(2)) SWIG_fail;
16513 }
16514 }
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 {
16523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16524 }
16525 return resultobj;
16526 fail:
16527 return NULL;
16528 }
16529
16530
16531 static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
16532 PyObject *resultobj;
16533 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16534 int arg2 = (int) wxMOUSE_BTN_ANY ;
16535 bool result;
16536 PyObject * obj0 = 0 ;
16537 PyObject * obj1 = 0 ;
16538 char *kwnames[] = {
16539 (char *) "self",(char *) "but", NULL
16540 };
16541
16542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
16543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16544 if (SWIG_arg_fail(1)) SWIG_fail;
16545 if (obj1) {
16546 {
16547 arg2 = (int)(SWIG_As_int(obj1));
16548 if (SWIG_arg_fail(2)) SWIG_fail;
16549 }
16550 }
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 {
16559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16560 }
16561 return resultobj;
16562 fail:
16563 return NULL;
16564 }
16565
16566
16567 static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj;
16569 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16570 int arg2 ;
16571 bool result;
16572 PyObject * obj0 = 0 ;
16573 PyObject * obj1 = 0 ;
16574 char *kwnames[] = {
16575 (char *) "self",(char *) "button", NULL
16576 };
16577
16578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
16579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16580 if (SWIG_arg_fail(1)) SWIG_fail;
16581 {
16582 arg2 = (int)(SWIG_As_int(obj1));
16583 if (SWIG_arg_fail(2)) SWIG_fail;
16584 }
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
16588
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 {
16593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16594 }
16595 return resultobj;
16596 fail:
16597 return NULL;
16598 }
16599
16600
16601 static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
16602 PyObject *resultobj;
16603 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16604 int arg2 ;
16605 bool result;
16606 PyObject * obj0 = 0 ;
16607 PyObject * obj1 = 0 ;
16608 char *kwnames[] = {
16609 (char *) "self",(char *) "but", NULL
16610 };
16611
16612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
16613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16614 if (SWIG_arg_fail(1)) SWIG_fail;
16615 {
16616 arg2 = (int)(SWIG_As_int(obj1));
16617 if (SWIG_arg_fail(2)) SWIG_fail;
16618 }
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
16622
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 {
16627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16628 }
16629 return resultobj;
16630 fail:
16631 return NULL;
16632 }
16633
16634
16635 static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) {
16636 PyObject *resultobj;
16637 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16638 int result;
16639 PyObject * obj0 = 0 ;
16640 char *kwnames[] = {
16641 (char *) "self", NULL
16642 };
16643
16644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
16645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16646 if (SWIG_arg_fail(1)) SWIG_fail;
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = (int)((wxMouseEvent const *)arg1)->GetButton();
16650
16651 wxPyEndAllowThreads(__tstate);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 }
16654 {
16655 resultobj = SWIG_From_int((int)(result));
16656 }
16657 return resultobj;
16658 fail:
16659 return NULL;
16660 }
16661
16662
16663 static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
16664 PyObject *resultobj;
16665 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16666 bool result;
16667 PyObject * obj0 = 0 ;
16668 char *kwnames[] = {
16669 (char *) "self", NULL
16670 };
16671
16672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
16673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16674 if (SWIG_arg_fail(1)) SWIG_fail;
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
16678
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 {
16683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16684 }
16685 return resultobj;
16686 fail:
16687 return NULL;
16688 }
16689
16690
16691 static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
16692 PyObject *resultobj;
16693 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16694 bool result;
16695 PyObject * obj0 = 0 ;
16696 char *kwnames[] = {
16697 (char *) "self", NULL
16698 };
16699
16700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
16701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16702 if (SWIG_arg_fail(1)) SWIG_fail;
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
16706
16707 wxPyEndAllowThreads(__tstate);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 {
16711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16712 }
16713 return resultobj;
16714 fail:
16715 return NULL;
16716 }
16717
16718
16719 static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj;
16721 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16722 bool result;
16723 PyObject * obj0 = 0 ;
16724 char *kwnames[] = {
16725 (char *) "self", NULL
16726 };
16727
16728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
16729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16730 if (SWIG_arg_fail(1)) SWIG_fail;
16731 {
16732 PyThreadState* __tstate = wxPyBeginAllowThreads();
16733 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 {
16739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16740 }
16741 return resultobj;
16742 fail:
16743 return NULL;
16744 }
16745
16746
16747 static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
16748 PyObject *resultobj;
16749 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16750 bool result;
16751 PyObject * obj0 = 0 ;
16752 char *kwnames[] = {
16753 (char *) "self", NULL
16754 };
16755
16756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
16757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16758 if (SWIG_arg_fail(1)) SWIG_fail;
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 {
16767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16768 }
16769 return resultobj;
16770 fail:
16771 return NULL;
16772 }
16773
16774
16775 static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
16776 PyObject *resultobj;
16777 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16778 bool result;
16779 PyObject * obj0 = 0 ;
16780 char *kwnames[] = {
16781 (char *) "self", NULL
16782 };
16783
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_CmdDown",kwnames,&obj0)) goto fail;
16785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail;
16787 {
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 result = (bool)((wxMouseEvent const *)arg1)->CmdDown();
16790
16791 wxPyEndAllowThreads(__tstate);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
16794 {
16795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16796 }
16797 return resultobj;
16798 fail:
16799 return NULL;
16800 }
16801
16802
16803 static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj;
16805 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16806 bool result;
16807 PyObject * obj0 = 0 ;
16808 char *kwnames[] = {
16809 (char *) "self", NULL
16810 };
16811
16812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
16813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16814 if (SWIG_arg_fail(1)) SWIG_fail;
16815 {
16816 PyThreadState* __tstate = wxPyBeginAllowThreads();
16817 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
16818
16819 wxPyEndAllowThreads(__tstate);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 }
16822 {
16823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16824 }
16825 return resultobj;
16826 fail:
16827 return NULL;
16828 }
16829
16830
16831 static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
16832 PyObject *resultobj;
16833 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16834 bool result;
16835 PyObject * obj0 = 0 ;
16836 char *kwnames[] = {
16837 (char *) "self", NULL
16838 };
16839
16840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
16841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16842 if (SWIG_arg_fail(1)) SWIG_fail;
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 {
16851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16852 }
16853 return resultobj;
16854 fail:
16855 return NULL;
16856 }
16857
16858
16859 static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj;
16861 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16862 bool result;
16863 PyObject * obj0 = 0 ;
16864 char *kwnames[] = {
16865 (char *) "self", NULL
16866 };
16867
16868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
16869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16870 if (SWIG_arg_fail(1)) SWIG_fail;
16871 {
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
16874
16875 wxPyEndAllowThreads(__tstate);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 {
16879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16880 }
16881 return resultobj;
16882 fail:
16883 return NULL;
16884 }
16885
16886
16887 static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) {
16888 PyObject *resultobj;
16889 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16890 bool result;
16891 PyObject * obj0 = 0 ;
16892 char *kwnames[] = {
16893 (char *) "self", NULL
16894 };
16895
16896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
16897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16898 if (SWIG_arg_fail(1)) SWIG_fail;
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
16901 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
16902
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 {
16907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16908 }
16909 return resultobj;
16910 fail:
16911 return NULL;
16912 }
16913
16914
16915 static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) {
16916 PyObject *resultobj;
16917 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16918 bool result;
16919 PyObject * obj0 = 0 ;
16920 char *kwnames[] = {
16921 (char *) "self", NULL
16922 };
16923
16924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
16925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16926 if (SWIG_arg_fail(1)) SWIG_fail;
16927 {
16928 PyThreadState* __tstate = wxPyBeginAllowThreads();
16929 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
16930
16931 wxPyEndAllowThreads(__tstate);
16932 if (PyErr_Occurred()) SWIG_fail;
16933 }
16934 {
16935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16936 }
16937 return resultobj;
16938 fail:
16939 return NULL;
16940 }
16941
16942
16943 static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16946 bool result;
16947 PyObject * obj0 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "self", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
16953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16954 if (SWIG_arg_fail(1)) SWIG_fail;
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 {
16963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16964 }
16965 return resultobj;
16966 fail:
16967 return NULL;
16968 }
16969
16970
16971 static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) {
16972 PyObject *resultobj;
16973 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16974 bool result;
16975 PyObject * obj0 = 0 ;
16976 char *kwnames[] = {
16977 (char *) "self", NULL
16978 };
16979
16980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
16981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16982 if (SWIG_arg_fail(1)) SWIG_fail;
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 {
16991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16992 }
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17002 bool result;
17003 PyObject * obj0 = 0 ;
17004 char *kwnames[] = {
17005 (char *) "self", NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
17009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17010 if (SWIG_arg_fail(1)) SWIG_fail;
17011 {
17012 PyThreadState* __tstate = wxPyBeginAllowThreads();
17013 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
17014
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 {
17019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17020 }
17021 return resultobj;
17022 fail:
17023 return NULL;
17024 }
17025
17026
17027 static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) {
17028 PyObject *resultobj;
17029 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17030 bool result;
17031 PyObject * obj0 = 0 ;
17032 char *kwnames[] = {
17033 (char *) "self", NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
17037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17038 if (SWIG_arg_fail(1)) SWIG_fail;
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
17042
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 {
17047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17048 }
17049 return resultobj;
17050 fail:
17051 return NULL;
17052 }
17053
17054
17055 static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
17056 PyObject *resultobj;
17057 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17058 bool result;
17059 PyObject * obj0 = 0 ;
17060 char *kwnames[] = {
17061 (char *) "self", NULL
17062 };
17063
17064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
17065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17066 if (SWIG_arg_fail(1)) SWIG_fail;
17067 {
17068 PyThreadState* __tstate = wxPyBeginAllowThreads();
17069 result = (bool)(arg1)->LeftIsDown();
17070
17071 wxPyEndAllowThreads(__tstate);
17072 if (PyErr_Occurred()) SWIG_fail;
17073 }
17074 {
17075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17076 }
17077 return resultobj;
17078 fail:
17079 return NULL;
17080 }
17081
17082
17083 static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj;
17085 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17086 bool result;
17087 PyObject * obj0 = 0 ;
17088 char *kwnames[] = {
17089 (char *) "self", NULL
17090 };
17091
17092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
17093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17094 if (SWIG_arg_fail(1)) SWIG_fail;
17095 {
17096 PyThreadState* __tstate = wxPyBeginAllowThreads();
17097 result = (bool)(arg1)->MiddleIsDown();
17098
17099 wxPyEndAllowThreads(__tstate);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
17102 {
17103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17104 }
17105 return resultobj;
17106 fail:
17107 return NULL;
17108 }
17109
17110
17111 static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
17112 PyObject *resultobj;
17113 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17114 bool result;
17115 PyObject * obj0 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "self", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
17121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17122 if (SWIG_arg_fail(1)) SWIG_fail;
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 result = (bool)(arg1)->RightIsDown();
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 {
17131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17132 }
17133 return resultobj;
17134 fail:
17135 return NULL;
17136 }
17137
17138
17139 static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj;
17141 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17142 bool result;
17143 PyObject * obj0 = 0 ;
17144 char *kwnames[] = {
17145 (char *) "self", NULL
17146 };
17147
17148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
17149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17150 if (SWIG_arg_fail(1)) SWIG_fail;
17151 {
17152 PyThreadState* __tstate = wxPyBeginAllowThreads();
17153 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
17154
17155 wxPyEndAllowThreads(__tstate);
17156 if (PyErr_Occurred()) SWIG_fail;
17157 }
17158 {
17159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17160 }
17161 return resultobj;
17162 fail:
17163 return NULL;
17164 }
17165
17166
17167 static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17170 bool result;
17171 PyObject * obj0 = 0 ;
17172 char *kwnames[] = {
17173 (char *) "self", NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
17177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17178 if (SWIG_arg_fail(1)) SWIG_fail;
17179 {
17180 PyThreadState* __tstate = wxPyBeginAllowThreads();
17181 result = (bool)((wxMouseEvent const *)arg1)->Moving();
17182
17183 wxPyEndAllowThreads(__tstate);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 {
17187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17188 }
17189 return resultobj;
17190 fail:
17191 return NULL;
17192 }
17193
17194
17195 static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj;
17197 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17198 bool result;
17199 PyObject * obj0 = 0 ;
17200 char *kwnames[] = {
17201 (char *) "self", NULL
17202 };
17203
17204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
17205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17206 if (SWIG_arg_fail(1)) SWIG_fail;
17207 {
17208 PyThreadState* __tstate = wxPyBeginAllowThreads();
17209 result = (bool)((wxMouseEvent const *)arg1)->Entering();
17210
17211 wxPyEndAllowThreads(__tstate);
17212 if (PyErr_Occurred()) SWIG_fail;
17213 }
17214 {
17215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17216 }
17217 return resultobj;
17218 fail:
17219 return NULL;
17220 }
17221
17222
17223 static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) {
17224 PyObject *resultobj;
17225 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17226 bool result;
17227 PyObject * obj0 = 0 ;
17228 char *kwnames[] = {
17229 (char *) "self", NULL
17230 };
17231
17232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
17233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17234 if (SWIG_arg_fail(1)) SWIG_fail;
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
17238
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 {
17243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17244 }
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17254 wxPoint result;
17255 PyObject * obj0 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
17261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17262 if (SWIG_arg_fail(1)) SWIG_fail;
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = (arg1)->GetPosition();
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 {
17271 wxPoint * resultptr;
17272 resultptr = new wxPoint((wxPoint &)(result));
17273 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17274 }
17275 return resultobj;
17276 fail:
17277 return NULL;
17278 }
17279
17280
17281 static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17284 long *arg2 = (long *) 0 ;
17285 long *arg3 = (long *) 0 ;
17286 long temp2 ;
17287 int res2 = 0 ;
17288 long temp3 ;
17289 int res3 = 0 ;
17290 PyObject * obj0 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self", NULL
17293 };
17294
17295 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17296 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
17298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17299 if (SWIG_arg_fail(1)) SWIG_fail;
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 (arg1)->GetPosition(arg2,arg3);
17303
17304 wxPyEndAllowThreads(__tstate);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
17307 Py_INCREF(Py_None); resultobj = Py_None;
17308 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17309 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
17310 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17311 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17312 return resultobj;
17313 fail:
17314 return NULL;
17315 }
17316
17317
17318 static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17319 PyObject *resultobj;
17320 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17321 wxDC *arg2 = 0 ;
17322 wxPoint result;
17323 PyObject * obj0 = 0 ;
17324 PyObject * obj1 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self",(char *) "dc", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
17330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail;
17332 {
17333 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17334 if (SWIG_arg_fail(2)) SWIG_fail;
17335 if (arg2 == NULL) {
17336 SWIG_null_ref("wxDC");
17337 }
17338 if (SWIG_arg_fail(2)) SWIG_fail;
17339 }
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 {
17348 wxPoint * resultptr;
17349 resultptr = new wxPoint((wxPoint &)(result));
17350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17351 }
17352 return resultobj;
17353 fail:
17354 return NULL;
17355 }
17356
17357
17358 static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
17359 PyObject *resultobj;
17360 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17361 int result;
17362 PyObject * obj0 = 0 ;
17363 char *kwnames[] = {
17364 (char *) "self", NULL
17365 };
17366
17367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
17368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17369 if (SWIG_arg_fail(1)) SWIG_fail;
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 result = (int)((wxMouseEvent const *)arg1)->GetX();
17373
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 {
17378 resultobj = SWIG_From_int((int)(result));
17379 }
17380 return resultobj;
17381 fail:
17382 return NULL;
17383 }
17384
17385
17386 static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
17387 PyObject *resultobj;
17388 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17389 int result;
17390 PyObject * obj0 = 0 ;
17391 char *kwnames[] = {
17392 (char *) "self", NULL
17393 };
17394
17395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
17396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17397 if (SWIG_arg_fail(1)) SWIG_fail;
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = (int)((wxMouseEvent const *)arg1)->GetY();
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 {
17406 resultobj = SWIG_From_int((int)(result));
17407 }
17408 return resultobj;
17409 fail:
17410 return NULL;
17411 }
17412
17413
17414 static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) {
17415 PyObject *resultobj;
17416 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17417 int result;
17418 PyObject * obj0 = 0 ;
17419 char *kwnames[] = {
17420 (char *) "self", NULL
17421 };
17422
17423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
17424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17425 if (SWIG_arg_fail(1)) SWIG_fail;
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 {
17434 resultobj = SWIG_From_int((int)(result));
17435 }
17436 return resultobj;
17437 fail:
17438 return NULL;
17439 }
17440
17441
17442 static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) {
17443 PyObject *resultobj;
17444 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17445 int result;
17446 PyObject * obj0 = 0 ;
17447 char *kwnames[] = {
17448 (char *) "self", NULL
17449 };
17450
17451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
17452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17453 if (SWIG_arg_fail(1)) SWIG_fail;
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
17457
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 {
17462 resultobj = SWIG_From_int((int)(result));
17463 }
17464 return resultobj;
17465 fail:
17466 return NULL;
17467 }
17468
17469
17470 static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) {
17471 PyObject *resultobj;
17472 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17473 int result;
17474 PyObject * obj0 = 0 ;
17475 char *kwnames[] = {
17476 (char *) "self", NULL
17477 };
17478
17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
17480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17481 if (SWIG_arg_fail(1)) SWIG_fail;
17482 {
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
17485
17486 wxPyEndAllowThreads(__tstate);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
17489 {
17490 resultobj = SWIG_From_int((int)(result));
17491 }
17492 return resultobj;
17493 fail:
17494 return NULL;
17495 }
17496
17497
17498 static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) {
17499 PyObject *resultobj;
17500 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17501 bool result;
17502 PyObject * obj0 = 0 ;
17503 char *kwnames[] = {
17504 (char *) "self", NULL
17505 };
17506
17507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
17508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17509 if (SWIG_arg_fail(1)) SWIG_fail;
17510 {
17511 PyThreadState* __tstate = wxPyBeginAllowThreads();
17512 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
17513
17514 wxPyEndAllowThreads(__tstate);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 }
17517 {
17518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17519 }
17520 return resultobj;
17521 fail:
17522 return NULL;
17523 }
17524
17525
17526 static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
17527 PyObject *resultobj;
17528 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17529 int arg2 ;
17530 PyObject * obj0 = 0 ;
17531 PyObject * obj1 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "self",(char *) "m_x", NULL
17534 };
17535
17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
17537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17538 if (SWIG_arg_fail(1)) SWIG_fail;
17539 {
17540 arg2 = (int)(SWIG_As_int(obj1));
17541 if (SWIG_arg_fail(2)) SWIG_fail;
17542 }
17543 if (arg1) (arg1)->m_x = arg2;
17544
17545 Py_INCREF(Py_None); resultobj = Py_None;
17546 return resultobj;
17547 fail:
17548 return NULL;
17549 }
17550
17551
17552 static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
17553 PyObject *resultobj;
17554 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17555 int result;
17556 PyObject * obj0 = 0 ;
17557 char *kwnames[] = {
17558 (char *) "self", NULL
17559 };
17560
17561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
17562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17563 if (SWIG_arg_fail(1)) SWIG_fail;
17564 result = (int) ((arg1)->m_x);
17565
17566 {
17567 resultobj = SWIG_From_int((int)(result));
17568 }
17569 return resultobj;
17570 fail:
17571 return NULL;
17572 }
17573
17574
17575 static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
17576 PyObject *resultobj;
17577 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17578 int arg2 ;
17579 PyObject * obj0 = 0 ;
17580 PyObject * obj1 = 0 ;
17581 char *kwnames[] = {
17582 (char *) "self",(char *) "m_y", NULL
17583 };
17584
17585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
17586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17587 if (SWIG_arg_fail(1)) SWIG_fail;
17588 {
17589 arg2 = (int)(SWIG_As_int(obj1));
17590 if (SWIG_arg_fail(2)) SWIG_fail;
17591 }
17592 if (arg1) (arg1)->m_y = arg2;
17593
17594 Py_INCREF(Py_None); resultobj = Py_None;
17595 return resultobj;
17596 fail:
17597 return NULL;
17598 }
17599
17600
17601 static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj;
17603 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17604 int result;
17605 PyObject * obj0 = 0 ;
17606 char *kwnames[] = {
17607 (char *) "self", NULL
17608 };
17609
17610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
17611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17612 if (SWIG_arg_fail(1)) SWIG_fail;
17613 result = (int) ((arg1)->m_y);
17614
17615 {
17616 resultobj = SWIG_From_int((int)(result));
17617 }
17618 return resultobj;
17619 fail:
17620 return NULL;
17621 }
17622
17623
17624 static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj;
17626 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17627 bool arg2 ;
17628 PyObject * obj0 = 0 ;
17629 PyObject * obj1 = 0 ;
17630 char *kwnames[] = {
17631 (char *) "self",(char *) "m_leftDown", NULL
17632 };
17633
17634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
17635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17636 if (SWIG_arg_fail(1)) SWIG_fail;
17637 {
17638 arg2 = (bool)(SWIG_As_bool(obj1));
17639 if (SWIG_arg_fail(2)) SWIG_fail;
17640 }
17641 if (arg1) (arg1)->m_leftDown = arg2;
17642
17643 Py_INCREF(Py_None); resultobj = Py_None;
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17653 bool result;
17654 PyObject * obj0 = 0 ;
17655 char *kwnames[] = {
17656 (char *) "self", NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
17660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17661 if (SWIG_arg_fail(1)) SWIG_fail;
17662 result = (bool) ((arg1)->m_leftDown);
17663
17664 {
17665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17666 }
17667 return resultobj;
17668 fail:
17669 return NULL;
17670 }
17671
17672
17673 static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
17674 PyObject *resultobj;
17675 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17676 bool arg2 ;
17677 PyObject * obj0 = 0 ;
17678 PyObject * obj1 = 0 ;
17679 char *kwnames[] = {
17680 (char *) "self",(char *) "m_middleDown", NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
17684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17685 if (SWIG_arg_fail(1)) SWIG_fail;
17686 {
17687 arg2 = (bool)(SWIG_As_bool(obj1));
17688 if (SWIG_arg_fail(2)) SWIG_fail;
17689 }
17690 if (arg1) (arg1)->m_middleDown = arg2;
17691
17692 Py_INCREF(Py_None); resultobj = Py_None;
17693 return resultobj;
17694 fail:
17695 return NULL;
17696 }
17697
17698
17699 static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj;
17701 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17702 bool result;
17703 PyObject * obj0 = 0 ;
17704 char *kwnames[] = {
17705 (char *) "self", NULL
17706 };
17707
17708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
17709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17710 if (SWIG_arg_fail(1)) SWIG_fail;
17711 result = (bool) ((arg1)->m_middleDown);
17712
17713 {
17714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17715 }
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
17723 PyObject *resultobj;
17724 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17725 bool arg2 ;
17726 PyObject * obj0 = 0 ;
17727 PyObject * obj1 = 0 ;
17728 char *kwnames[] = {
17729 (char *) "self",(char *) "m_rightDown", NULL
17730 };
17731
17732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
17733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17734 if (SWIG_arg_fail(1)) SWIG_fail;
17735 {
17736 arg2 = (bool)(SWIG_As_bool(obj1));
17737 if (SWIG_arg_fail(2)) SWIG_fail;
17738 }
17739 if (arg1) (arg1)->m_rightDown = arg2;
17740
17741 Py_INCREF(Py_None); resultobj = Py_None;
17742 return resultobj;
17743 fail:
17744 return NULL;
17745 }
17746
17747
17748 static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj;
17750 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17751 bool result;
17752 PyObject * obj0 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "self", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
17758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17759 if (SWIG_arg_fail(1)) SWIG_fail;
17760 result = (bool) ((arg1)->m_rightDown);
17761
17762 {
17763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17764 }
17765 return resultobj;
17766 fail:
17767 return NULL;
17768 }
17769
17770
17771 static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
17772 PyObject *resultobj;
17773 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17774 bool arg2 ;
17775 PyObject * obj0 = 0 ;
17776 PyObject * obj1 = 0 ;
17777 char *kwnames[] = {
17778 (char *) "self",(char *) "m_controlDown", NULL
17779 };
17780
17781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
17782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17783 if (SWIG_arg_fail(1)) SWIG_fail;
17784 {
17785 arg2 = (bool)(SWIG_As_bool(obj1));
17786 if (SWIG_arg_fail(2)) SWIG_fail;
17787 }
17788 if (arg1) (arg1)->m_controlDown = arg2;
17789
17790 Py_INCREF(Py_None); resultobj = Py_None;
17791 return resultobj;
17792 fail:
17793 return NULL;
17794 }
17795
17796
17797 static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
17798 PyObject *resultobj;
17799 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17800 bool result;
17801 PyObject * obj0 = 0 ;
17802 char *kwnames[] = {
17803 (char *) "self", NULL
17804 };
17805
17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
17807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17808 if (SWIG_arg_fail(1)) SWIG_fail;
17809 result = (bool) ((arg1)->m_controlDown);
17810
17811 {
17812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17813 }
17814 return resultobj;
17815 fail:
17816 return NULL;
17817 }
17818
17819
17820 static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17823 bool arg2 ;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "m_shiftDown", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
17831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17832 if (SWIG_arg_fail(1)) SWIG_fail;
17833 {
17834 arg2 = (bool)(SWIG_As_bool(obj1));
17835 if (SWIG_arg_fail(2)) SWIG_fail;
17836 }
17837 if (arg1) (arg1)->m_shiftDown = arg2;
17838
17839 Py_INCREF(Py_None); resultobj = Py_None;
17840 return resultobj;
17841 fail:
17842 return NULL;
17843 }
17844
17845
17846 static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17849 bool result;
17850 PyObject * obj0 = 0 ;
17851 char *kwnames[] = {
17852 (char *) "self", NULL
17853 };
17854
17855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
17856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17857 if (SWIG_arg_fail(1)) SWIG_fail;
17858 result = (bool) ((arg1)->m_shiftDown);
17859
17860 {
17861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17862 }
17863 return resultobj;
17864 fail:
17865 return NULL;
17866 }
17867
17868
17869 static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17872 bool arg2 ;
17873 PyObject * obj0 = 0 ;
17874 PyObject * obj1 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self",(char *) "m_altDown", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
17880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17881 if (SWIG_arg_fail(1)) SWIG_fail;
17882 {
17883 arg2 = (bool)(SWIG_As_bool(obj1));
17884 if (SWIG_arg_fail(2)) SWIG_fail;
17885 }
17886 if (arg1) (arg1)->m_altDown = arg2;
17887
17888 Py_INCREF(Py_None); resultobj = Py_None;
17889 return resultobj;
17890 fail:
17891 return NULL;
17892 }
17893
17894
17895 static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
17896 PyObject *resultobj;
17897 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17898 bool result;
17899 PyObject * obj0 = 0 ;
17900 char *kwnames[] = {
17901 (char *) "self", NULL
17902 };
17903
17904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
17905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17906 if (SWIG_arg_fail(1)) SWIG_fail;
17907 result = (bool) ((arg1)->m_altDown);
17908
17909 {
17910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17911 }
17912 return resultobj;
17913 fail:
17914 return NULL;
17915 }
17916
17917
17918 static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
17919 PyObject *resultobj;
17920 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17921 bool arg2 ;
17922 PyObject * obj0 = 0 ;
17923 PyObject * obj1 = 0 ;
17924 char *kwnames[] = {
17925 (char *) "self",(char *) "m_metaDown", NULL
17926 };
17927
17928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
17929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17930 if (SWIG_arg_fail(1)) SWIG_fail;
17931 {
17932 arg2 = (bool)(SWIG_As_bool(obj1));
17933 if (SWIG_arg_fail(2)) SWIG_fail;
17934 }
17935 if (arg1) (arg1)->m_metaDown = arg2;
17936
17937 Py_INCREF(Py_None); resultobj = Py_None;
17938 return resultobj;
17939 fail:
17940 return NULL;
17941 }
17942
17943
17944 static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
17945 PyObject *resultobj;
17946 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17947 bool result;
17948 PyObject * obj0 = 0 ;
17949 char *kwnames[] = {
17950 (char *) "self", NULL
17951 };
17952
17953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
17954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17955 if (SWIG_arg_fail(1)) SWIG_fail;
17956 result = (bool) ((arg1)->m_metaDown);
17957
17958 {
17959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17960 }
17961 return resultobj;
17962 fail:
17963 return NULL;
17964 }
17965
17966
17967 static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) {
17968 PyObject *resultobj;
17969 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17970 int arg2 ;
17971 PyObject * obj0 = 0 ;
17972 PyObject * obj1 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self",(char *) "m_wheelRotation", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
17978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17979 if (SWIG_arg_fail(1)) SWIG_fail;
17980 {
17981 arg2 = (int)(SWIG_As_int(obj1));
17982 if (SWIG_arg_fail(2)) SWIG_fail;
17983 }
17984 if (arg1) (arg1)->m_wheelRotation = arg2;
17985
17986 Py_INCREF(Py_None); resultobj = Py_None;
17987 return resultobj;
17988 fail:
17989 return NULL;
17990 }
17991
17992
17993 static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) {
17994 PyObject *resultobj;
17995 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17996 int result;
17997 PyObject * obj0 = 0 ;
17998 char *kwnames[] = {
17999 (char *) "self", NULL
18000 };
18001
18002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
18003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18004 if (SWIG_arg_fail(1)) SWIG_fail;
18005 result = (int) ((arg1)->m_wheelRotation);
18006
18007 {
18008 resultobj = SWIG_From_int((int)(result));
18009 }
18010 return resultobj;
18011 fail:
18012 return NULL;
18013 }
18014
18015
18016 static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) {
18017 PyObject *resultobj;
18018 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18019 int arg2 ;
18020 PyObject * obj0 = 0 ;
18021 PyObject * obj1 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self",(char *) "m_wheelDelta", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
18027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18028 if (SWIG_arg_fail(1)) SWIG_fail;
18029 {
18030 arg2 = (int)(SWIG_As_int(obj1));
18031 if (SWIG_arg_fail(2)) SWIG_fail;
18032 }
18033 if (arg1) (arg1)->m_wheelDelta = arg2;
18034
18035 Py_INCREF(Py_None); resultobj = Py_None;
18036 return resultobj;
18037 fail:
18038 return NULL;
18039 }
18040
18041
18042 static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) {
18043 PyObject *resultobj;
18044 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18045 int result;
18046 PyObject * obj0 = 0 ;
18047 char *kwnames[] = {
18048 (char *) "self", NULL
18049 };
18050
18051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
18052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18053 if (SWIG_arg_fail(1)) SWIG_fail;
18054 result = (int) ((arg1)->m_wheelDelta);
18055
18056 {
18057 resultobj = SWIG_From_int((int)(result));
18058 }
18059 return resultobj;
18060 fail:
18061 return NULL;
18062 }
18063
18064
18065 static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18068 int arg2 ;
18069 PyObject * obj0 = 0 ;
18070 PyObject * obj1 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self",(char *) "m_linesPerAction", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
18076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18077 if (SWIG_arg_fail(1)) SWIG_fail;
18078 {
18079 arg2 = (int)(SWIG_As_int(obj1));
18080 if (SWIG_arg_fail(2)) SWIG_fail;
18081 }
18082 if (arg1) (arg1)->m_linesPerAction = arg2;
18083
18084 Py_INCREF(Py_None); resultobj = Py_None;
18085 return resultobj;
18086 fail:
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18094 int result;
18095 PyObject * obj0 = 0 ;
18096 char *kwnames[] = {
18097 (char *) "self", NULL
18098 };
18099
18100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
18101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18102 if (SWIG_arg_fail(1)) SWIG_fail;
18103 result = (int) ((arg1)->m_linesPerAction);
18104
18105 {
18106 resultobj = SWIG_From_int((int)(result));
18107 }
18108 return resultobj;
18109 fail:
18110 return NULL;
18111 }
18112
18113
18114 static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) {
18115 PyObject *obj;
18116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18117 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
18118 Py_INCREF(obj);
18119 return Py_BuildValue((char *)"");
18120 }
18121 static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 int arg1 = (int) 0 ;
18124 int arg2 = (int) 0 ;
18125 wxSetCursorEvent *result;
18126 PyObject * obj0 = 0 ;
18127 PyObject * obj1 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "x",(char *) "y", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
18133 if (obj0) {
18134 {
18135 arg1 = (int)(SWIG_As_int(obj0));
18136 if (SWIG_arg_fail(1)) SWIG_fail;
18137 }
18138 }
18139 if (obj1) {
18140 {
18141 arg2 = (int)(SWIG_As_int(obj1));
18142 if (SWIG_arg_fail(2)) SWIG_fail;
18143 }
18144 }
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
18153 return resultobj;
18154 fail:
18155 return NULL;
18156 }
18157
18158
18159 static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj;
18161 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
18162 int result;
18163 PyObject * obj0 = 0 ;
18164 char *kwnames[] = {
18165 (char *) "self", NULL
18166 };
18167
18168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
18169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18170 if (SWIG_arg_fail(1)) SWIG_fail;
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 {
18179 resultobj = SWIG_From_int((int)(result));
18180 }
18181 return resultobj;
18182 fail:
18183 return NULL;
18184 }
18185
18186
18187 static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
18190 int result;
18191 PyObject * obj0 = 0 ;
18192 char *kwnames[] = {
18193 (char *) "self", NULL
18194 };
18195
18196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
18197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18198 if (SWIG_arg_fail(1)) SWIG_fail;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 {
18207 resultobj = SWIG_From_int((int)(result));
18208 }
18209 return resultobj;
18210 fail:
18211 return NULL;
18212 }
18213
18214
18215 static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
18216 PyObject *resultobj;
18217 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
18218 wxCursor *arg2 = 0 ;
18219 PyObject * obj0 = 0 ;
18220 PyObject * obj1 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self",(char *) "cursor", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
18226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18227 if (SWIG_arg_fail(1)) SWIG_fail;
18228 {
18229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
18230 if (SWIG_arg_fail(2)) SWIG_fail;
18231 if (arg2 == NULL) {
18232 SWIG_null_ref("wxCursor");
18233 }
18234 if (SWIG_arg_fail(2)) SWIG_fail;
18235 }
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 (arg1)->SetCursor((wxCursor const &)*arg2);
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 Py_INCREF(Py_None); resultobj = Py_None;
18244 return resultobj;
18245 fail:
18246 return NULL;
18247 }
18248
18249
18250 static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
18253 wxCursor *result;
18254 PyObject * obj0 = 0 ;
18255 char *kwnames[] = {
18256 (char *) "self", NULL
18257 };
18258
18259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
18260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18261 if (SWIG_arg_fail(1)) SWIG_fail;
18262 {
18263 PyThreadState* __tstate = wxPyBeginAllowThreads();
18264 {
18265 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
18266 result = (wxCursor *) &_result_ref;
18267 }
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 {
18273 wxCursor* resultptr = new wxCursor(*result);
18274 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
18275 }
18276 return resultobj;
18277 fail:
18278 return NULL;
18279 }
18280
18281
18282 static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) {
18283 PyObject *resultobj;
18284 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
18285 bool result;
18286 PyObject * obj0 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
18292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail;
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 {
18302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18303 }
18304 return resultobj;
18305 fail:
18306 return NULL;
18307 }
18308
18309
18310 static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) {
18311 PyObject *obj;
18312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18313 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
18314 Py_INCREF(obj);
18315 return Py_BuildValue((char *)"");
18316 }
18317 static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18318 PyObject *resultobj;
18319 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18320 wxKeyEvent *result;
18321 PyObject * obj0 = 0 ;
18322 char *kwnames[] = {
18323 (char *) "eventType", NULL
18324 };
18325
18326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
18327 if (obj0) {
18328 {
18329 arg1 = (wxEventType)(SWIG_As_int(obj0));
18330 if (SWIG_arg_fail(1)) SWIG_fail;
18331 }
18332 }
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 result = (wxKeyEvent *)new wxKeyEvent(arg1);
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
18341 return resultobj;
18342 fail:
18343 return NULL;
18344 }
18345
18346
18347 static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
18348 PyObject *resultobj;
18349 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18350 bool result;
18351 PyObject * obj0 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
18357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail;
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
18362
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 {
18367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18368 }
18369 return resultobj;
18370 fail:
18371 return NULL;
18372 }
18373
18374
18375 static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
18376 PyObject *resultobj;
18377 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18378 bool result;
18379 PyObject * obj0 = 0 ;
18380 char *kwnames[] = {
18381 (char *) "self", NULL
18382 };
18383
18384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
18385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18386 if (SWIG_arg_fail(1)) SWIG_fail;
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
18390
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 {
18395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18396 }
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18406 bool result;
18407 PyObject * obj0 = 0 ;
18408 char *kwnames[] = {
18409 (char *) "self", NULL
18410 };
18411
18412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
18413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18414 if (SWIG_arg_fail(1)) SWIG_fail;
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 {
18423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18424 }
18425 return resultobj;
18426 fail:
18427 return NULL;
18428 }
18429
18430
18431 static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
18432 PyObject *resultobj;
18433 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18434 bool result;
18435 PyObject * obj0 = 0 ;
18436 char *kwnames[] = {
18437 (char *) "self", NULL
18438 };
18439
18440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
18441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18442 if (SWIG_arg_fail(1)) SWIG_fail;
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 {
18451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18452 }
18453 return resultobj;
18454 fail:
18455 return NULL;
18456 }
18457
18458
18459 static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18462 bool result;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_CmdDown",kwnames,&obj0)) goto fail;
18469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail;
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 result = (bool)((wxKeyEvent const *)arg1)->CmdDown();
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 {
18479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18480 }
18481 return resultobj;
18482 fail:
18483 return NULL;
18484 }
18485
18486
18487 static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
18488 PyObject *resultobj;
18489 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18490 bool result;
18491 PyObject * obj0 = 0 ;
18492 char *kwnames[] = {
18493 (char *) "self", NULL
18494 };
18495
18496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
18497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail;
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 {
18507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18508 }
18509 return resultobj;
18510 fail:
18511 return NULL;
18512 }
18513
18514
18515 static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj;
18517 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18518 int result;
18519 PyObject * obj0 = 0 ;
18520 char *kwnames[] = {
18521 (char *) "self", NULL
18522 };
18523
18524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
18525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail;
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
18530
18531 wxPyEndAllowThreads(__tstate);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 {
18535 resultobj = SWIG_From_int((int)(result));
18536 }
18537 return resultobj;
18538 fail:
18539 return NULL;
18540 }
18541
18542
18543 static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) {
18544 PyObject *resultobj;
18545 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18546 int result;
18547 PyObject * obj0 = 0 ;
18548 char *kwnames[] = {
18549 (char *) "self", NULL
18550 };
18551
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
18553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18554 if (SWIG_arg_fail(1)) SWIG_fail;
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 result = (int)wxKeyEvent_GetUnicodeKey(arg1);
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 {
18563 resultobj = SWIG_From_int((int)(result));
18564 }
18565 return resultobj;
18566 fail:
18567 return NULL;
18568 }
18569
18570
18571 static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18574 unsigned int result;
18575 PyObject * obj0 = 0 ;
18576 char *kwnames[] = {
18577 (char *) "self", NULL
18578 };
18579
18580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
18581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18582 if (SWIG_arg_fail(1)) SWIG_fail;
18583 {
18584 PyThreadState* __tstate = wxPyBeginAllowThreads();
18585 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
18586
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 {
18591 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
18592 }
18593 return resultobj;
18594 fail:
18595 return NULL;
18596 }
18597
18598
18599 static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) {
18600 PyObject *resultobj;
18601 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18602 unsigned int result;
18603 PyObject * obj0 = 0 ;
18604 char *kwnames[] = {
18605 (char *) "self", NULL
18606 };
18607
18608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
18609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18610 if (SWIG_arg_fail(1)) SWIG_fail;
18611 {
18612 PyThreadState* __tstate = wxPyBeginAllowThreads();
18613 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
18614
18615 wxPyEndAllowThreads(__tstate);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 }
18618 {
18619 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
18620 }
18621 return resultobj;
18622 fail:
18623 return NULL;
18624 }
18625
18626
18627 static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18628 PyObject *resultobj;
18629 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18630 wxPoint result;
18631 PyObject * obj0 = 0 ;
18632 char *kwnames[] = {
18633 (char *) "self", NULL
18634 };
18635
18636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
18637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail;
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 result = (arg1)->GetPosition();
18642
18643 wxPyEndAllowThreads(__tstate);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
18646 {
18647 wxPoint * resultptr;
18648 resultptr = new wxPoint((wxPoint &)(result));
18649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18650 }
18651 return resultobj;
18652 fail:
18653 return NULL;
18654 }
18655
18656
18657 static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18660 long *arg2 = (long *) 0 ;
18661 long *arg3 = (long *) 0 ;
18662 long temp2 ;
18663 int res2 = 0 ;
18664 long temp3 ;
18665 int res3 = 0 ;
18666 PyObject * obj0 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self", NULL
18669 };
18670
18671 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18672 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
18674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18675 if (SWIG_arg_fail(1)) SWIG_fail;
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 (arg1)->GetPosition(arg2,arg3);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 Py_INCREF(Py_None); resultobj = Py_None;
18684 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18685 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
18686 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18687 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
18688 return resultobj;
18689 fail:
18690 return NULL;
18691 }
18692
18693
18694 static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18697 int result;
18698 PyObject * obj0 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
18704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18705 if (SWIG_arg_fail(1)) SWIG_fail;
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (int)((wxKeyEvent const *)arg1)->GetX();
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 {
18714 resultobj = SWIG_From_int((int)(result));
18715 }
18716 return resultobj;
18717 fail:
18718 return NULL;
18719 }
18720
18721
18722 static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
18723 PyObject *resultobj;
18724 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18725 int result;
18726 PyObject * obj0 = 0 ;
18727 char *kwnames[] = {
18728 (char *) "self", NULL
18729 };
18730
18731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
18732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18733 if (SWIG_arg_fail(1)) SWIG_fail;
18734 {
18735 PyThreadState* __tstate = wxPyBeginAllowThreads();
18736 result = (int)((wxKeyEvent const *)arg1)->GetY();
18737
18738 wxPyEndAllowThreads(__tstate);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 }
18741 {
18742 resultobj = SWIG_From_int((int)(result));
18743 }
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj;
18752 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18753 int arg2 ;
18754 PyObject * obj0 = 0 ;
18755 PyObject * obj1 = 0 ;
18756 char *kwnames[] = {
18757 (char *) "self",(char *) "m_x", NULL
18758 };
18759
18760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
18761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18762 if (SWIG_arg_fail(1)) SWIG_fail;
18763 {
18764 arg2 = (int)(SWIG_As_int(obj1));
18765 if (SWIG_arg_fail(2)) SWIG_fail;
18766 }
18767 if (arg1) (arg1)->m_x = arg2;
18768
18769 Py_INCREF(Py_None); resultobj = Py_None;
18770 return resultobj;
18771 fail:
18772 return NULL;
18773 }
18774
18775
18776 static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
18777 PyObject *resultobj;
18778 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18779 int result;
18780 PyObject * obj0 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
18786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18787 if (SWIG_arg_fail(1)) SWIG_fail;
18788 result = (int) ((arg1)->m_x);
18789
18790 {
18791 resultobj = SWIG_From_int((int)(result));
18792 }
18793 return resultobj;
18794 fail:
18795 return NULL;
18796 }
18797
18798
18799 static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
18800 PyObject *resultobj;
18801 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18802 int arg2 ;
18803 PyObject * obj0 = 0 ;
18804 PyObject * obj1 = 0 ;
18805 char *kwnames[] = {
18806 (char *) "self",(char *) "m_y", NULL
18807 };
18808
18809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
18810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18811 if (SWIG_arg_fail(1)) SWIG_fail;
18812 {
18813 arg2 = (int)(SWIG_As_int(obj1));
18814 if (SWIG_arg_fail(2)) SWIG_fail;
18815 }
18816 if (arg1) (arg1)->m_y = arg2;
18817
18818 Py_INCREF(Py_None); resultobj = Py_None;
18819 return resultobj;
18820 fail:
18821 return NULL;
18822 }
18823
18824
18825 static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
18826 PyObject *resultobj;
18827 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18828 int result;
18829 PyObject * obj0 = 0 ;
18830 char *kwnames[] = {
18831 (char *) "self", NULL
18832 };
18833
18834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
18835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18836 if (SWIG_arg_fail(1)) SWIG_fail;
18837 result = (int) ((arg1)->m_y);
18838
18839 {
18840 resultobj = SWIG_From_int((int)(result));
18841 }
18842 return resultobj;
18843 fail:
18844 return NULL;
18845 }
18846
18847
18848 static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj;
18850 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18851 long arg2 ;
18852 PyObject * obj0 = 0 ;
18853 PyObject * obj1 = 0 ;
18854 char *kwnames[] = {
18855 (char *) "self",(char *) "m_keyCode", NULL
18856 };
18857
18858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
18859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18860 if (SWIG_arg_fail(1)) SWIG_fail;
18861 {
18862 arg2 = (long)(SWIG_As_long(obj1));
18863 if (SWIG_arg_fail(2)) SWIG_fail;
18864 }
18865 if (arg1) (arg1)->m_keyCode = arg2;
18866
18867 Py_INCREF(Py_None); resultobj = Py_None;
18868 return resultobj;
18869 fail:
18870 return NULL;
18871 }
18872
18873
18874 static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18877 long result;
18878 PyObject * obj0 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
18884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18885 if (SWIG_arg_fail(1)) SWIG_fail;
18886 result = (long) ((arg1)->m_keyCode);
18887
18888 {
18889 resultobj = SWIG_From_long((long)(result));
18890 }
18891 return resultobj;
18892 fail:
18893 return NULL;
18894 }
18895
18896
18897 static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18900 bool arg2 ;
18901 PyObject * obj0 = 0 ;
18902 PyObject * obj1 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self",(char *) "m_controlDown", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
18908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18909 if (SWIG_arg_fail(1)) SWIG_fail;
18910 {
18911 arg2 = (bool)(SWIG_As_bool(obj1));
18912 if (SWIG_arg_fail(2)) SWIG_fail;
18913 }
18914 if (arg1) (arg1)->m_controlDown = arg2;
18915
18916 Py_INCREF(Py_None); resultobj = Py_None;
18917 return resultobj;
18918 fail:
18919 return NULL;
18920 }
18921
18922
18923 static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
18924 PyObject *resultobj;
18925 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18926 bool result;
18927 PyObject * obj0 = 0 ;
18928 char *kwnames[] = {
18929 (char *) "self", NULL
18930 };
18931
18932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
18933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18934 if (SWIG_arg_fail(1)) SWIG_fail;
18935 result = (bool) ((arg1)->m_controlDown);
18936
18937 {
18938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18939 }
18940 return resultobj;
18941 fail:
18942 return NULL;
18943 }
18944
18945
18946 static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj;
18948 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18949 bool arg2 ;
18950 PyObject * obj0 = 0 ;
18951 PyObject * obj1 = 0 ;
18952 char *kwnames[] = {
18953 (char *) "self",(char *) "m_shiftDown", NULL
18954 };
18955
18956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
18957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18958 if (SWIG_arg_fail(1)) SWIG_fail;
18959 {
18960 arg2 = (bool)(SWIG_As_bool(obj1));
18961 if (SWIG_arg_fail(2)) SWIG_fail;
18962 }
18963 if (arg1) (arg1)->m_shiftDown = arg2;
18964
18965 Py_INCREF(Py_None); resultobj = Py_None;
18966 return resultobj;
18967 fail:
18968 return NULL;
18969 }
18970
18971
18972 static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
18973 PyObject *resultobj;
18974 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18975 bool result;
18976 PyObject * obj0 = 0 ;
18977 char *kwnames[] = {
18978 (char *) "self", NULL
18979 };
18980
18981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
18982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18983 if (SWIG_arg_fail(1)) SWIG_fail;
18984 result = (bool) ((arg1)->m_shiftDown);
18985
18986 {
18987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18988 }
18989 return resultobj;
18990 fail:
18991 return NULL;
18992 }
18993
18994
18995 static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
18996 PyObject *resultobj;
18997 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18998 bool arg2 ;
18999 PyObject * obj0 = 0 ;
19000 PyObject * obj1 = 0 ;
19001 char *kwnames[] = {
19002 (char *) "self",(char *) "m_altDown", NULL
19003 };
19004
19005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
19006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19007 if (SWIG_arg_fail(1)) SWIG_fail;
19008 {
19009 arg2 = (bool)(SWIG_As_bool(obj1));
19010 if (SWIG_arg_fail(2)) SWIG_fail;
19011 }
19012 if (arg1) (arg1)->m_altDown = arg2;
19013
19014 Py_INCREF(Py_None); resultobj = Py_None;
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19024 bool result;
19025 PyObject * obj0 = 0 ;
19026 char *kwnames[] = {
19027 (char *) "self", NULL
19028 };
19029
19030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
19031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19032 if (SWIG_arg_fail(1)) SWIG_fail;
19033 result = (bool) ((arg1)->m_altDown);
19034
19035 {
19036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19037 }
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19047 bool arg2 ;
19048 PyObject * obj0 = 0 ;
19049 PyObject * obj1 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self",(char *) "m_metaDown", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
19055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19056 if (SWIG_arg_fail(1)) SWIG_fail;
19057 {
19058 arg2 = (bool)(SWIG_As_bool(obj1));
19059 if (SWIG_arg_fail(2)) SWIG_fail;
19060 }
19061 if (arg1) (arg1)->m_metaDown = arg2;
19062
19063 Py_INCREF(Py_None); resultobj = Py_None;
19064 return resultobj;
19065 fail:
19066 return NULL;
19067 }
19068
19069
19070 static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19073 bool result;
19074 PyObject * obj0 = 0 ;
19075 char *kwnames[] = {
19076 (char *) "self", NULL
19077 };
19078
19079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
19080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19081 if (SWIG_arg_fail(1)) SWIG_fail;
19082 result = (bool) ((arg1)->m_metaDown);
19083
19084 {
19085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19086 }
19087 return resultobj;
19088 fail:
19089 return NULL;
19090 }
19091
19092
19093 static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
19094 PyObject *resultobj;
19095 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19096 bool arg2 ;
19097 PyObject * obj0 = 0 ;
19098 PyObject * obj1 = 0 ;
19099 char *kwnames[] = {
19100 (char *) "self",(char *) "m_scanCode", NULL
19101 };
19102
19103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
19104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19105 if (SWIG_arg_fail(1)) SWIG_fail;
19106 {
19107 arg2 = (bool)(SWIG_As_bool(obj1));
19108 if (SWIG_arg_fail(2)) SWIG_fail;
19109 }
19110 if (arg1) (arg1)->m_scanCode = arg2;
19111
19112 Py_INCREF(Py_None); resultobj = Py_None;
19113 return resultobj;
19114 fail:
19115 return NULL;
19116 }
19117
19118
19119 static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
19120 PyObject *resultobj;
19121 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19122 bool result;
19123 PyObject * obj0 = 0 ;
19124 char *kwnames[] = {
19125 (char *) "self", NULL
19126 };
19127
19128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
19129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19130 if (SWIG_arg_fail(1)) SWIG_fail;
19131 result = (bool) ((arg1)->m_scanCode);
19132
19133 {
19134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19135 }
19136 return resultobj;
19137 fail:
19138 return NULL;
19139 }
19140
19141
19142 static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
19143 PyObject *resultobj;
19144 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19145 unsigned int arg2 ;
19146 PyObject * obj0 = 0 ;
19147 PyObject * obj1 = 0 ;
19148 char *kwnames[] = {
19149 (char *) "self",(char *) "m_rawCode", NULL
19150 };
19151
19152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
19153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19154 if (SWIG_arg_fail(1)) SWIG_fail;
19155 {
19156 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
19157 if (SWIG_arg_fail(2)) SWIG_fail;
19158 }
19159 if (arg1) (arg1)->m_rawCode = arg2;
19160
19161 Py_INCREF(Py_None); resultobj = Py_None;
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19171 unsigned int result;
19172 PyObject * obj0 = 0 ;
19173 char *kwnames[] = {
19174 (char *) "self", NULL
19175 };
19176
19177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
19178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19179 if (SWIG_arg_fail(1)) SWIG_fail;
19180 result = (unsigned int) ((arg1)->m_rawCode);
19181
19182 {
19183 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
19184 }
19185 return resultobj;
19186 fail:
19187 return NULL;
19188 }
19189
19190
19191 static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) {
19192 PyObject *resultobj;
19193 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19194 unsigned int arg2 ;
19195 PyObject * obj0 = 0 ;
19196 PyObject * obj1 = 0 ;
19197 char *kwnames[] = {
19198 (char *) "self",(char *) "m_rawFlags", NULL
19199 };
19200
19201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
19202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19203 if (SWIG_arg_fail(1)) SWIG_fail;
19204 {
19205 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
19206 if (SWIG_arg_fail(2)) SWIG_fail;
19207 }
19208 if (arg1) (arg1)->m_rawFlags = arg2;
19209
19210 Py_INCREF(Py_None); resultobj = Py_None;
19211 return resultobj;
19212 fail:
19213 return NULL;
19214 }
19215
19216
19217 static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) {
19218 PyObject *resultobj;
19219 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19220 unsigned int result;
19221 PyObject * obj0 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
19227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail;
19229 result = (unsigned int) ((arg1)->m_rawFlags);
19230
19231 {
19232 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
19233 }
19234 return resultobj;
19235 fail:
19236 return NULL;
19237 }
19238
19239
19240 static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) {
19241 PyObject *obj;
19242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19243 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
19244 Py_INCREF(obj);
19245 return Py_BuildValue((char *)"");
19246 }
19247 static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19248 PyObject *resultobj;
19249 wxSize const &arg1_defvalue = wxDefaultSize ;
19250 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
19251 int arg2 = (int) 0 ;
19252 wxSizeEvent *result;
19253 wxSize temp1 ;
19254 PyObject * obj0 = 0 ;
19255 PyObject * obj1 = 0 ;
19256 char *kwnames[] = {
19257 (char *) "sz",(char *) "winid", NULL
19258 };
19259
19260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
19261 if (obj0) {
19262 {
19263 arg1 = &temp1;
19264 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
19265 }
19266 }
19267 if (obj1) {
19268 {
19269 arg2 = (int)(SWIG_As_int(obj1));
19270 if (SWIG_arg_fail(2)) SWIG_fail;
19271 }
19272 }
19273 {
19274 PyThreadState* __tstate = wxPyBeginAllowThreads();
19275 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
19276
19277 wxPyEndAllowThreads(__tstate);
19278 if (PyErr_Occurred()) SWIG_fail;
19279 }
19280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
19281 return resultobj;
19282 fail:
19283 return NULL;
19284 }
19285
19286
19287 static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19288 PyObject *resultobj;
19289 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19290 wxSize result;
19291 PyObject * obj0 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
19297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19298 if (SWIG_arg_fail(1)) SWIG_fail;
19299 {
19300 PyThreadState* __tstate = wxPyBeginAllowThreads();
19301 result = ((wxSizeEvent const *)arg1)->GetSize();
19302
19303 wxPyEndAllowThreads(__tstate);
19304 if (PyErr_Occurred()) SWIG_fail;
19305 }
19306 {
19307 wxSize * resultptr;
19308 resultptr = new wxSize((wxSize &)(result));
19309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19310 }
19311 return resultobj;
19312 fail:
19313 return NULL;
19314 }
19315
19316
19317 static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
19318 PyObject *resultobj;
19319 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19320 wxRect result;
19321 PyObject * obj0 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "self", NULL
19324 };
19325
19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
19327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19328 if (SWIG_arg_fail(1)) SWIG_fail;
19329 {
19330 PyThreadState* __tstate = wxPyBeginAllowThreads();
19331 result = ((wxSizeEvent const *)arg1)->GetRect();
19332
19333 wxPyEndAllowThreads(__tstate);
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 {
19337 wxRect * resultptr;
19338 resultptr = new wxRect((wxRect &)(result));
19339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
19340 }
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj;
19349 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19350 wxRect arg2 ;
19351 PyObject * obj0 = 0 ;
19352 PyObject * obj1 = 0 ;
19353 char *kwnames[] = {
19354 (char *) "self",(char *) "rect", NULL
19355 };
19356
19357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
19358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19359 if (SWIG_arg_fail(1)) SWIG_fail;
19360 {
19361 wxRect * argp;
19362 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
19363 if (SWIG_arg_fail(2)) SWIG_fail;
19364 if (argp == NULL) {
19365 SWIG_null_ref("wxRect");
19366 }
19367 if (SWIG_arg_fail(2)) SWIG_fail;
19368 arg2 = *argp;
19369 }
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
19372 (arg1)->SetRect(arg2);
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 Py_INCREF(Py_None); resultobj = Py_None;
19378 return resultobj;
19379 fail:
19380 return NULL;
19381 }
19382
19383
19384 static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19387 wxSize arg2 ;
19388 PyObject * obj0 = 0 ;
19389 PyObject * obj1 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self",(char *) "size", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
19395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19396 if (SWIG_arg_fail(1)) SWIG_fail;
19397 {
19398 wxSize * argp;
19399 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION);
19400 if (SWIG_arg_fail(2)) SWIG_fail;
19401 if (argp == NULL) {
19402 SWIG_null_ref("wxSize");
19403 }
19404 if (SWIG_arg_fail(2)) SWIG_fail;
19405 arg2 = *argp;
19406 }
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 wxSizeEvent_SetSize(arg1,arg2);
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 Py_INCREF(Py_None); resultobj = Py_None;
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19424 wxSize *arg2 = (wxSize *) 0 ;
19425 PyObject * obj0 = 0 ;
19426 PyObject * obj1 = 0 ;
19427 char *kwnames[] = {
19428 (char *) "self",(char *) "m_size", NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
19432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19433 if (SWIG_arg_fail(1)) SWIG_fail;
19434 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
19435 if (SWIG_arg_fail(2)) SWIG_fail;
19436 if (arg1) (arg1)->m_size = *arg2;
19437
19438 Py_INCREF(Py_None); resultobj = Py_None;
19439 return resultobj;
19440 fail:
19441 return NULL;
19442 }
19443
19444
19445 static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj;
19447 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19448 wxSize *result;
19449 PyObject * obj0 = 0 ;
19450 char *kwnames[] = {
19451 (char *) "self", NULL
19452 };
19453
19454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
19455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19456 if (SWIG_arg_fail(1)) SWIG_fail;
19457 result = (wxSize *)& ((arg1)->m_size);
19458
19459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
19460 return resultobj;
19461 fail:
19462 return NULL;
19463 }
19464
19465
19466 static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
19467 PyObject *resultobj;
19468 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19469 wxRect *arg2 = (wxRect *) 0 ;
19470 PyObject * obj0 = 0 ;
19471 PyObject * obj1 = 0 ;
19472 char *kwnames[] = {
19473 (char *) "self",(char *) "m_rect", NULL
19474 };
19475
19476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
19477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19478 if (SWIG_arg_fail(1)) SWIG_fail;
19479 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
19480 if (SWIG_arg_fail(2)) SWIG_fail;
19481 if (arg1) (arg1)->m_rect = *arg2;
19482
19483 Py_INCREF(Py_None); resultobj = Py_None;
19484 return resultobj;
19485 fail:
19486 return NULL;
19487 }
19488
19489
19490 static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19493 wxRect *result;
19494 PyObject * obj0 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
19500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19501 if (SWIG_arg_fail(1)) SWIG_fail;
19502 result = (wxRect *)& ((arg1)->m_rect);
19503
19504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
19505 return resultobj;
19506 fail:
19507 return NULL;
19508 }
19509
19510
19511 static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) {
19512 PyObject *obj;
19513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19514 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
19515 Py_INCREF(obj);
19516 return Py_BuildValue((char *)"");
19517 }
19518 static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj;
19520 wxPoint const &arg1_defvalue = wxDefaultPosition ;
19521 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
19522 int arg2 = (int) 0 ;
19523 wxMoveEvent *result;
19524 wxPoint temp1 ;
19525 PyObject * obj0 = 0 ;
19526 PyObject * obj1 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "pos",(char *) "winid", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
19532 if (obj0) {
19533 {
19534 arg1 = &temp1;
19535 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
19536 }
19537 }
19538 if (obj1) {
19539 {
19540 arg2 = (int)(SWIG_As_int(obj1));
19541 if (SWIG_arg_fail(2)) SWIG_fail;
19542 }
19543 }
19544 {
19545 PyThreadState* __tstate = wxPyBeginAllowThreads();
19546 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
19547
19548 wxPyEndAllowThreads(__tstate);
19549 if (PyErr_Occurred()) SWIG_fail;
19550 }
19551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
19552 return resultobj;
19553 fail:
19554 return NULL;
19555 }
19556
19557
19558 static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19559 PyObject *resultobj;
19560 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
19561 wxPoint result;
19562 PyObject * obj0 = 0 ;
19563 char *kwnames[] = {
19564 (char *) "self", NULL
19565 };
19566
19567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
19568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
19569 if (SWIG_arg_fail(1)) SWIG_fail;
19570 {
19571 PyThreadState* __tstate = wxPyBeginAllowThreads();
19572 result = ((wxMoveEvent const *)arg1)->GetPosition();
19573
19574 wxPyEndAllowThreads(__tstate);
19575 if (PyErr_Occurred()) SWIG_fail;
19576 }
19577 {
19578 wxPoint * resultptr;
19579 resultptr = new wxPoint((wxPoint &)(result));
19580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19581 }
19582 return resultobj;
19583 fail:
19584 return NULL;
19585 }
19586
19587
19588 static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
19591 wxRect result;
19592 PyObject * obj0 = 0 ;
19593 char *kwnames[] = {
19594 (char *) "self", NULL
19595 };
19596
19597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
19598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
19599 if (SWIG_arg_fail(1)) SWIG_fail;
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = ((wxMoveEvent const *)arg1)->GetRect();
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 {
19608 wxRect * resultptr;
19609 resultptr = new wxRect((wxRect &)(result));
19610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
19611 }
19612 return resultobj;
19613 fail:
19614 return NULL;
19615 }
19616
19617
19618 static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
19619 PyObject *resultobj;
19620 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
19621 wxRect *arg2 = 0 ;
19622 wxRect temp2 ;
19623 PyObject * obj0 = 0 ;
19624 PyObject * obj1 = 0 ;
19625 char *kwnames[] = {
19626 (char *) "self",(char *) "rect", NULL
19627 };
19628
19629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
19630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
19631 if (SWIG_arg_fail(1)) SWIG_fail;
19632 {
19633 arg2 = &temp2;
19634 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19635 }
19636 {
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 (arg1)->SetRect((wxRect const &)*arg2);
19639
19640 wxPyEndAllowThreads(__tstate);
19641 if (PyErr_Occurred()) SWIG_fail;
19642 }
19643 Py_INCREF(Py_None); resultobj = Py_None;
19644 return resultobj;
19645 fail:
19646 return NULL;
19647 }
19648
19649
19650 static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj;
19652 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
19653 wxPoint *arg2 = 0 ;
19654 wxPoint temp2 ;
19655 PyObject * obj0 = 0 ;
19656 PyObject * obj1 = 0 ;
19657 char *kwnames[] = {
19658 (char *) "self",(char *) "pos", NULL
19659 };
19660
19661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
19662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
19663 if (SWIG_arg_fail(1)) SWIG_fail;
19664 {
19665 arg2 = &temp2;
19666 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19667 }
19668 {
19669 PyThreadState* __tstate = wxPyBeginAllowThreads();
19670 (arg1)->SetPosition((wxPoint const &)*arg2);
19671
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 Py_INCREF(Py_None); resultobj = Py_None;
19676 return resultobj;
19677 fail:
19678 return NULL;
19679 }
19680
19681
19682 static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) {
19683 PyObject *obj;
19684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19685 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
19686 Py_INCREF(obj);
19687 return Py_BuildValue((char *)"");
19688 }
19689 static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 int arg1 = (int) 0 ;
19692 wxPaintEvent *result;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "Id", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
19699 if (obj0) {
19700 {
19701 arg1 = (int)(SWIG_As_int(obj0));
19702 if (SWIG_arg_fail(1)) SWIG_fail;
19703 }
19704 }
19705 {
19706 PyThreadState* __tstate = wxPyBeginAllowThreads();
19707 result = (wxPaintEvent *)new wxPaintEvent(arg1);
19708
19709 wxPyEndAllowThreads(__tstate);
19710 if (PyErr_Occurred()) SWIG_fail;
19711 }
19712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
19713 return resultobj;
19714 fail:
19715 return NULL;
19716 }
19717
19718
19719 static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) {
19720 PyObject *obj;
19721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19722 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
19723 Py_INCREF(obj);
19724 return Py_BuildValue((char *)"");
19725 }
19726 static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj;
19728 int arg1 = (int) 0 ;
19729 wxNcPaintEvent *result;
19730 PyObject * obj0 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "winid", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
19736 if (obj0) {
19737 {
19738 arg1 = (int)(SWIG_As_int(obj0));
19739 if (SWIG_arg_fail(1)) SWIG_fail;
19740 }
19741 }
19742 {
19743 PyThreadState* __tstate = wxPyBeginAllowThreads();
19744 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
19745
19746 wxPyEndAllowThreads(__tstate);
19747 if (PyErr_Occurred()) SWIG_fail;
19748 }
19749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
19750 return resultobj;
19751 fail:
19752 return NULL;
19753 }
19754
19755
19756 static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
19757 PyObject *obj;
19758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19759 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
19760 Py_INCREF(obj);
19761 return Py_BuildValue((char *)"");
19762 }
19763 static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 int arg1 = (int) 0 ;
19766 wxDC *arg2 = (wxDC *) NULL ;
19767 wxEraseEvent *result;
19768 PyObject * obj0 = 0 ;
19769 PyObject * obj1 = 0 ;
19770 char *kwnames[] = {
19771 (char *) "Id",(char *) "dc", NULL
19772 };
19773
19774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
19775 if (obj0) {
19776 {
19777 arg1 = (int)(SWIG_As_int(obj0));
19778 if (SWIG_arg_fail(1)) SWIG_fail;
19779 }
19780 }
19781 if (obj1) {
19782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19783 if (SWIG_arg_fail(2)) SWIG_fail;
19784 }
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
19793 return resultobj;
19794 fail:
19795 return NULL;
19796 }
19797
19798
19799 static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
19800 PyObject *resultobj;
19801 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
19802 wxDC *result;
19803 PyObject * obj0 = 0 ;
19804 char *kwnames[] = {
19805 (char *) "self", NULL
19806 };
19807
19808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
19809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEraseEvent, SWIG_POINTER_EXCEPTION | 0);
19810 if (SWIG_arg_fail(1)) SWIG_fail;
19811 {
19812 PyThreadState* __tstate = wxPyBeginAllowThreads();
19813 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
19814
19815 wxPyEndAllowThreads(__tstate);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 }
19818 {
19819 resultobj = wxPyMake_wxObject(result, 0);
19820 }
19821 return resultobj;
19822 fail:
19823 return NULL;
19824 }
19825
19826
19827 static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) {
19828 PyObject *obj;
19829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19830 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
19831 Py_INCREF(obj);
19832 return Py_BuildValue((char *)"");
19833 }
19834 static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19835 PyObject *resultobj;
19836 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19837 int arg2 = (int) 0 ;
19838 wxFocusEvent *result;
19839 PyObject * obj0 = 0 ;
19840 PyObject * obj1 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "type",(char *) "winid", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
19846 if (obj0) {
19847 {
19848 arg1 = (wxEventType)(SWIG_As_int(obj0));
19849 if (SWIG_arg_fail(1)) SWIG_fail;
19850 }
19851 }
19852 if (obj1) {
19853 {
19854 arg2 = (int)(SWIG_As_int(obj1));
19855 if (SWIG_arg_fail(2)) SWIG_fail;
19856 }
19857 }
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
19861
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
19866 return resultobj;
19867 fail:
19868 return NULL;
19869 }
19870
19871
19872 static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj;
19874 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
19875 wxWindow *result;
19876 PyObject * obj0 = 0 ;
19877 char *kwnames[] = {
19878 (char *) "self", NULL
19879 };
19880
19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
19882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFocusEvent, SWIG_POINTER_EXCEPTION | 0);
19883 if (SWIG_arg_fail(1)) SWIG_fail;
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
19887
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 {
19892 resultobj = wxPyMake_wxObject(result, 0);
19893 }
19894 return resultobj;
19895 fail:
19896 return NULL;
19897 }
19898
19899
19900 static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19901 PyObject *resultobj;
19902 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
19903 wxWindow *arg2 = (wxWindow *) 0 ;
19904 PyObject * obj0 = 0 ;
19905 PyObject * obj1 = 0 ;
19906 char *kwnames[] = {
19907 (char *) "self",(char *) "win", NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
19911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFocusEvent, SWIG_POINTER_EXCEPTION | 0);
19912 if (SWIG_arg_fail(1)) SWIG_fail;
19913 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19914 if (SWIG_arg_fail(2)) SWIG_fail;
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 (arg1)->SetWindow(arg2);
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 Py_INCREF(Py_None); resultobj = Py_None;
19923 return resultobj;
19924 fail:
19925 return NULL;
19926 }
19927
19928
19929 static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) {
19930 PyObject *obj;
19931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19932 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
19933 Py_INCREF(obj);
19934 return Py_BuildValue((char *)"");
19935 }
19936 static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19937 PyObject *resultobj;
19938 wxWindow *arg1 = (wxWindow *) NULL ;
19939 wxChildFocusEvent *result;
19940 PyObject * obj0 = 0 ;
19941 char *kwnames[] = {
19942 (char *) "win", NULL
19943 };
19944
19945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
19946 if (obj0) {
19947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19948 if (SWIG_arg_fail(1)) SWIG_fail;
19949 }
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
19967 wxWindow *result;
19968 PyObject * obj0 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
19974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChildFocusEvent, SWIG_POINTER_EXCEPTION | 0);
19975 if (SWIG_arg_fail(1)) SWIG_fail;
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 {
19984 resultobj = wxPyMake_wxObject(result, 0);
19985 }
19986 return resultobj;
19987 fail:
19988 return NULL;
19989 }
19990
19991
19992 static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) {
19993 PyObject *obj;
19994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19995 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
19996 Py_INCREF(obj);
19997 return Py_BuildValue((char *)"");
19998 }
19999 static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj;
20001 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20002 bool arg2 = (bool) true ;
20003 int arg3 = (int) 0 ;
20004 wxActivateEvent *result;
20005 PyObject * obj0 = 0 ;
20006 PyObject * obj1 = 0 ;
20007 PyObject * obj2 = 0 ;
20008 char *kwnames[] = {
20009 (char *) "type",(char *) "active",(char *) "Id", NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
20013 if (obj0) {
20014 {
20015 arg1 = (wxEventType)(SWIG_As_int(obj0));
20016 if (SWIG_arg_fail(1)) SWIG_fail;
20017 }
20018 }
20019 if (obj1) {
20020 {
20021 arg2 = (bool)(SWIG_As_bool(obj1));
20022 if (SWIG_arg_fail(2)) SWIG_fail;
20023 }
20024 }
20025 if (obj2) {
20026 {
20027 arg3 = (int)(SWIG_As_int(obj2));
20028 if (SWIG_arg_fail(3)) SWIG_fail;
20029 }
20030 }
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
20039 return resultobj;
20040 fail:
20041 return NULL;
20042 }
20043
20044
20045 static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
20046 PyObject *resultobj;
20047 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
20048 bool result;
20049 PyObject * obj0 = 0 ;
20050 char *kwnames[] = {
20051 (char *) "self", NULL
20052 };
20053
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
20055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxActivateEvent, SWIG_POINTER_EXCEPTION | 0);
20056 if (SWIG_arg_fail(1)) SWIG_fail;
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 {
20065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20066 }
20067 return resultobj;
20068 fail:
20069 return NULL;
20070 }
20071
20072
20073 static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) {
20074 PyObject *obj;
20075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20076 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
20077 Py_INCREF(obj);
20078 return Py_BuildValue((char *)"");
20079 }
20080 static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20081 PyObject *resultobj;
20082 int arg1 = (int) 0 ;
20083 wxInitDialogEvent *result;
20084 PyObject * obj0 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "Id", NULL
20087 };
20088
20089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
20090 if (obj0) {
20091 {
20092 arg1 = (int)(SWIG_As_int(obj0));
20093 if (SWIG_arg_fail(1)) SWIG_fail;
20094 }
20095 }
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
20104 return resultobj;
20105 fail:
20106 return NULL;
20107 }
20108
20109
20110 static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) {
20111 PyObject *obj;
20112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20113 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
20114 Py_INCREF(obj);
20115 return Py_BuildValue((char *)"");
20116 }
20117 static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20118 PyObject *resultobj;
20119 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20120 int arg2 = (int) 0 ;
20121 wxMenu *arg3 = (wxMenu *) NULL ;
20122 wxMenuEvent *result;
20123 PyObject * obj0 = 0 ;
20124 PyObject * obj1 = 0 ;
20125 PyObject * obj2 = 0 ;
20126 char *kwnames[] = {
20127 (char *) "type",(char *) "winid",(char *) "menu", NULL
20128 };
20129
20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
20131 if (obj0) {
20132 {
20133 arg1 = (wxEventType)(SWIG_As_int(obj0));
20134 if (SWIG_arg_fail(1)) SWIG_fail;
20135 }
20136 }
20137 if (obj1) {
20138 {
20139 arg2 = (int)(SWIG_As_int(obj1));
20140 if (SWIG_arg_fail(2)) SWIG_fail;
20141 }
20142 }
20143 if (obj2) {
20144 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
20145 if (SWIG_arg_fail(3)) SWIG_fail;
20146 }
20147 {
20148 PyThreadState* __tstate = wxPyBeginAllowThreads();
20149 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
20150
20151 wxPyEndAllowThreads(__tstate);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
20155 return resultobj;
20156 fail:
20157 return NULL;
20158 }
20159
20160
20161 static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj;
20163 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
20164 int result;
20165 PyObject * obj0 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
20171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0);
20172 if (SWIG_arg_fail(1)) SWIG_fail;
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
20176
20177 wxPyEndAllowThreads(__tstate);
20178 if (PyErr_Occurred()) SWIG_fail;
20179 }
20180 {
20181 resultobj = SWIG_From_int((int)(result));
20182 }
20183 return resultobj;
20184 fail:
20185 return NULL;
20186 }
20187
20188
20189 static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) {
20190 PyObject *resultobj;
20191 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
20192 bool result;
20193 PyObject * obj0 = 0 ;
20194 char *kwnames[] = {
20195 (char *) "self", NULL
20196 };
20197
20198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
20199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0);
20200 if (SWIG_arg_fail(1)) SWIG_fail;
20201 {
20202 PyThreadState* __tstate = wxPyBeginAllowThreads();
20203 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
20204
20205 wxPyEndAllowThreads(__tstate);
20206 if (PyErr_Occurred()) SWIG_fail;
20207 }
20208 {
20209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20210 }
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
20220 wxMenu *result;
20221 PyObject * obj0 = 0 ;
20222 char *kwnames[] = {
20223 (char *) "self", NULL
20224 };
20225
20226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
20227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0);
20228 if (SWIG_arg_fail(1)) SWIG_fail;
20229 {
20230 PyThreadState* __tstate = wxPyBeginAllowThreads();
20231 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
20232
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 {
20237 resultobj = wxPyMake_wxObject(result, 0);
20238 }
20239 return resultobj;
20240 fail:
20241 return NULL;
20242 }
20243
20244
20245 static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) {
20246 PyObject *obj;
20247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20248 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
20249 Py_INCREF(obj);
20250 return Py_BuildValue((char *)"");
20251 }
20252 static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20253 PyObject *resultobj;
20254 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20255 int arg2 = (int) 0 ;
20256 wxCloseEvent *result;
20257 PyObject * obj0 = 0 ;
20258 PyObject * obj1 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "type",(char *) "winid", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
20264 if (obj0) {
20265 {
20266 arg1 = (wxEventType)(SWIG_As_int(obj0));
20267 if (SWIG_arg_fail(1)) SWIG_fail;
20268 }
20269 }
20270 if (obj1) {
20271 {
20272 arg2 = (int)(SWIG_As_int(obj1));
20273 if (SWIG_arg_fail(2)) SWIG_fail;
20274 }
20275 }
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
20284 return resultobj;
20285 fail:
20286 return NULL;
20287 }
20288
20289
20290 static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
20293 bool arg2 ;
20294 PyObject * obj0 = 0 ;
20295 PyObject * obj1 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self",(char *) "logOff", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
20301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail;
20303 {
20304 arg2 = (bool)(SWIG_As_bool(obj1));
20305 if (SWIG_arg_fail(2)) SWIG_fail;
20306 }
20307 {
20308 PyThreadState* __tstate = wxPyBeginAllowThreads();
20309 (arg1)->SetLoggingOff(arg2);
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 Py_INCREF(Py_None); resultobj = Py_None;
20315 return resultobj;
20316 fail:
20317 return NULL;
20318 }
20319
20320
20321 static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
20322 PyObject *resultobj;
20323 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
20324 bool result;
20325 PyObject * obj0 = 0 ;
20326 char *kwnames[] = {
20327 (char *) "self", NULL
20328 };
20329
20330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
20331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20332 if (SWIG_arg_fail(1)) SWIG_fail;
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 {
20341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20342 }
20343 return resultobj;
20344 fail:
20345 return NULL;
20346 }
20347
20348
20349 static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
20350 PyObject *resultobj;
20351 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
20352 bool arg2 = (bool) true ;
20353 PyObject * obj0 = 0 ;
20354 PyObject * obj1 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self",(char *) "veto", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
20360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20361 if (SWIG_arg_fail(1)) SWIG_fail;
20362 if (obj1) {
20363 {
20364 arg2 = (bool)(SWIG_As_bool(obj1));
20365 if (SWIG_arg_fail(2)) SWIG_fail;
20366 }
20367 }
20368 {
20369 PyThreadState* __tstate = wxPyBeginAllowThreads();
20370 (arg1)->Veto(arg2);
20371
20372 wxPyEndAllowThreads(__tstate);
20373 if (PyErr_Occurred()) SWIG_fail;
20374 }
20375 Py_INCREF(Py_None); resultobj = Py_None;
20376 return resultobj;
20377 fail:
20378 return NULL;
20379 }
20380
20381
20382 static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
20383 PyObject *resultobj;
20384 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
20385 bool result;
20386 PyObject * obj0 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
20392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20393 if (SWIG_arg_fail(1)) SWIG_fail;
20394 {
20395 PyThreadState* __tstate = wxPyBeginAllowThreads();
20396 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
20397
20398 wxPyEndAllowThreads(__tstate);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
20401 {
20402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20403 }
20404 return resultobj;
20405 fail:
20406 return NULL;
20407 }
20408
20409
20410 static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
20413 bool arg2 ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self",(char *) "canVeto", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
20421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20422 if (SWIG_arg_fail(1)) SWIG_fail;
20423 {
20424 arg2 = (bool)(SWIG_As_bool(obj1));
20425 if (SWIG_arg_fail(2)) SWIG_fail;
20426 }
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 (arg1)->SetCanVeto(arg2);
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 Py_INCREF(Py_None); resultobj = Py_None;
20435 return resultobj;
20436 fail:
20437 return NULL;
20438 }
20439
20440
20441 static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
20444 bool result;
20445 PyObject * obj0 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
20451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20452 if (SWIG_arg_fail(1)) SWIG_fail;
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 {
20461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20462 }
20463 return resultobj;
20464 fail:
20465 return NULL;
20466 }
20467
20468
20469 static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
20470 PyObject *obj;
20471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20472 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
20473 Py_INCREF(obj);
20474 return Py_BuildValue((char *)"");
20475 }
20476 static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20477 PyObject *resultobj;
20478 int arg1 = (int) 0 ;
20479 bool arg2 = (bool) false ;
20480 wxShowEvent *result;
20481 PyObject * obj0 = 0 ;
20482 PyObject * obj1 = 0 ;
20483 char *kwnames[] = {
20484 (char *) "winid",(char *) "show", NULL
20485 };
20486
20487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
20488 if (obj0) {
20489 {
20490 arg1 = (int)(SWIG_As_int(obj0));
20491 if (SWIG_arg_fail(1)) SWIG_fail;
20492 }
20493 }
20494 if (obj1) {
20495 {
20496 arg2 = (bool)(SWIG_As_bool(obj1));
20497 if (SWIG_arg_fail(2)) SWIG_fail;
20498 }
20499 }
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
20503
20504 wxPyEndAllowThreads(__tstate);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 }
20507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
20508 return resultobj;
20509 fail:
20510 return NULL;
20511 }
20512
20513
20514 static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) {
20515 PyObject *resultobj;
20516 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
20517 bool arg2 ;
20518 PyObject * obj0 = 0 ;
20519 PyObject * obj1 = 0 ;
20520 char *kwnames[] = {
20521 (char *) "self",(char *) "show", NULL
20522 };
20523
20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
20525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0);
20526 if (SWIG_arg_fail(1)) SWIG_fail;
20527 {
20528 arg2 = (bool)(SWIG_As_bool(obj1));
20529 if (SWIG_arg_fail(2)) SWIG_fail;
20530 }
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 (arg1)->SetShow(arg2);
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 Py_INCREF(Py_None); resultobj = Py_None;
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
20548 bool result;
20549 PyObject * obj0 = 0 ;
20550 char *kwnames[] = {
20551 (char *) "self", NULL
20552 };
20553
20554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
20555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0);
20556 if (SWIG_arg_fail(1)) SWIG_fail;
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 result = (bool)((wxShowEvent const *)arg1)->GetShow();
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 {
20565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20566 }
20567 return resultobj;
20568 fail:
20569 return NULL;
20570 }
20571
20572
20573 static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) {
20574 PyObject *obj;
20575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20576 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
20577 Py_INCREF(obj);
20578 return Py_BuildValue((char *)"");
20579 }
20580 static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20581 PyObject *resultobj;
20582 int arg1 = (int) 0 ;
20583 bool arg2 = (bool) true ;
20584 wxIconizeEvent *result;
20585 PyObject * obj0 = 0 ;
20586 PyObject * obj1 = 0 ;
20587 char *kwnames[] = {
20588 (char *) "id",(char *) "iconized", NULL
20589 };
20590
20591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
20592 if (obj0) {
20593 {
20594 arg1 = (int)(SWIG_As_int(obj0));
20595 if (SWIG_arg_fail(1)) SWIG_fail;
20596 }
20597 }
20598 if (obj1) {
20599 {
20600 arg2 = (bool)(SWIG_As_bool(obj1));
20601 if (SWIG_arg_fail(2)) SWIG_fail;
20602 }
20603 }
20604 {
20605 PyThreadState* __tstate = wxPyBeginAllowThreads();
20606 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
20607
20608 wxPyEndAllowThreads(__tstate);
20609 if (PyErr_Occurred()) SWIG_fail;
20610 }
20611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
20612 return resultobj;
20613 fail:
20614 return NULL;
20615 }
20616
20617
20618 static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) {
20619 PyObject *resultobj;
20620 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
20621 bool result;
20622 PyObject * obj0 = 0 ;
20623 char *kwnames[] = {
20624 (char *) "self", NULL
20625 };
20626
20627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
20628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconizeEvent, SWIG_POINTER_EXCEPTION | 0);
20629 if (SWIG_arg_fail(1)) SWIG_fail;
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = (bool)(arg1)->Iconized();
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 {
20638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20639 }
20640 return resultobj;
20641 fail:
20642 return NULL;
20643 }
20644
20645
20646 static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) {
20647 PyObject *obj;
20648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20649 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
20650 Py_INCREF(obj);
20651 return Py_BuildValue((char *)"");
20652 }
20653 static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20654 PyObject *resultobj;
20655 int arg1 = (int) 0 ;
20656 wxMaximizeEvent *result;
20657 PyObject * obj0 = 0 ;
20658 char *kwnames[] = {
20659 (char *) "id", NULL
20660 };
20661
20662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
20663 if (obj0) {
20664 {
20665 arg1 = (int)(SWIG_As_int(obj0));
20666 if (SWIG_arg_fail(1)) SWIG_fail;
20667 }
20668 }
20669 {
20670 PyThreadState* __tstate = wxPyBeginAllowThreads();
20671 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
20672
20673 wxPyEndAllowThreads(__tstate);
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
20676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
20677 return resultobj;
20678 fail:
20679 return NULL;
20680 }
20681
20682
20683 static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) {
20684 PyObject *obj;
20685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20686 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
20687 Py_INCREF(obj);
20688 return Py_BuildValue((char *)"");
20689 }
20690 static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
20693 wxPoint result;
20694 PyObject * obj0 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
20700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail;
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 result = (arg1)->GetPosition();
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 {
20710 wxPoint * resultptr;
20711 resultptr = new wxPoint((wxPoint &)(result));
20712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20713 }
20714 return resultobj;
20715 fail:
20716 return NULL;
20717 }
20718
20719
20720 static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) {
20721 PyObject *resultobj;
20722 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
20723 int result;
20724 PyObject * obj0 = 0 ;
20725 char *kwnames[] = {
20726 (char *) "self", NULL
20727 };
20728
20729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
20730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0);
20731 if (SWIG_arg_fail(1)) SWIG_fail;
20732 {
20733 PyThreadState* __tstate = wxPyBeginAllowThreads();
20734 result = (int)(arg1)->GetNumberOfFiles();
20735
20736 wxPyEndAllowThreads(__tstate);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 }
20739 {
20740 resultobj = SWIG_From_int((int)(result));
20741 }
20742 return resultobj;
20743 fail:
20744 return NULL;
20745 }
20746
20747
20748 static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) {
20749 PyObject *resultobj;
20750 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
20751 PyObject *result;
20752 PyObject * obj0 = 0 ;
20753 char *kwnames[] = {
20754 (char *) "self", NULL
20755 };
20756
20757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
20758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0);
20759 if (SWIG_arg_fail(1)) SWIG_fail;
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 resultobj = result;
20768 return resultobj;
20769 fail:
20770 return NULL;
20771 }
20772
20773
20774 static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) {
20775 PyObject *obj;
20776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20777 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
20778 Py_INCREF(obj);
20779 return Py_BuildValue((char *)"");
20780 }
20781 static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20782 PyObject *resultobj;
20783 int arg1 = (int) 0 ;
20784 wxUpdateUIEvent *result;
20785 PyObject * obj0 = 0 ;
20786 char *kwnames[] = {
20787 (char *) "commandId", NULL
20788 };
20789
20790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
20791 if (obj0) {
20792 {
20793 arg1 = (int)(SWIG_As_int(obj0));
20794 if (SWIG_arg_fail(1)) SWIG_fail;
20795 }
20796 }
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
20805 return resultobj;
20806 fail:
20807 return NULL;
20808 }
20809
20810
20811 static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20814 bool result;
20815 PyObject * obj0 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
20821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20822 if (SWIG_arg_fail(1)) SWIG_fail;
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 {
20831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20832 }
20833 return resultobj;
20834 fail:
20835 return NULL;
20836 }
20837
20838
20839 static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj;
20841 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20842 bool result;
20843 PyObject * obj0 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
20849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20850 if (SWIG_arg_fail(1)) SWIG_fail;
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
20854
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 {
20859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20860 }
20861 return resultobj;
20862 fail:
20863 return NULL;
20864 }
20865
20866
20867 static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
20868 PyObject *resultobj;
20869 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20870 wxString result;
20871 PyObject * obj0 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
20877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20878 if (SWIG_arg_fail(1)) SWIG_fail;
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 result = ((wxUpdateUIEvent const *)arg1)->GetText();
20882
20883 wxPyEndAllowThreads(__tstate);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 }
20886 {
20887 #if wxUSE_UNICODE
20888 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20889 #else
20890 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20891 #endif
20892 }
20893 return resultobj;
20894 fail:
20895 return NULL;
20896 }
20897
20898
20899 static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) {
20900 PyObject *resultobj;
20901 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20902 bool result;
20903 PyObject * obj0 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
20909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20910 if (SWIG_arg_fail(1)) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 {
20919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20920 }
20921 return resultobj;
20922 fail:
20923 return NULL;
20924 }
20925
20926
20927 static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
20928 PyObject *resultobj;
20929 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20930 bool result;
20931 PyObject * obj0 = 0 ;
20932 char *kwnames[] = {
20933 (char *) "self", NULL
20934 };
20935
20936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
20937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20938 if (SWIG_arg_fail(1)) SWIG_fail;
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 {
20947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20948 }
20949 return resultobj;
20950 fail:
20951 return NULL;
20952 }
20953
20954
20955 static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20956 PyObject *resultobj;
20957 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20958 bool result;
20959 PyObject * obj0 = 0 ;
20960 char *kwnames[] = {
20961 (char *) "self", NULL
20962 };
20963
20964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
20965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20966 if (SWIG_arg_fail(1)) SWIG_fail;
20967 {
20968 PyThreadState* __tstate = wxPyBeginAllowThreads();
20969 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
20970
20971 wxPyEndAllowThreads(__tstate);
20972 if (PyErr_Occurred()) SWIG_fail;
20973 }
20974 {
20975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20976 }
20977 return resultobj;
20978 fail:
20979 return NULL;
20980 }
20981
20982
20983 static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) {
20984 PyObject *resultobj;
20985 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20986 bool arg2 ;
20987 PyObject * obj0 = 0 ;
20988 PyObject * obj1 = 0 ;
20989 char *kwnames[] = {
20990 (char *) "self",(char *) "check", NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
20994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail;
20996 {
20997 arg2 = (bool)(SWIG_As_bool(obj1));
20998 if (SWIG_arg_fail(2)) SWIG_fail;
20999 }
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 (arg1)->Check(arg2);
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 Py_INCREF(Py_None); resultobj = Py_None;
21008 return resultobj;
21009 fail:
21010 return NULL;
21011 }
21012
21013
21014 static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
21015 PyObject *resultobj;
21016 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21017 bool arg2 ;
21018 PyObject * obj0 = 0 ;
21019 PyObject * obj1 = 0 ;
21020 char *kwnames[] = {
21021 (char *) "self",(char *) "enable", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
21025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21026 if (SWIG_arg_fail(1)) SWIG_fail;
21027 {
21028 arg2 = (bool)(SWIG_As_bool(obj1));
21029 if (SWIG_arg_fail(2)) SWIG_fail;
21030 }
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 (arg1)->Enable(arg2);
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 Py_INCREF(Py_None); resultobj = Py_None;
21039 return resultobj;
21040 fail:
21041 return NULL;
21042 }
21043
21044
21045 static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21046 PyObject *resultobj;
21047 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21048 wxString *arg2 = 0 ;
21049 bool temp2 = false ;
21050 PyObject * obj0 = 0 ;
21051 PyObject * obj1 = 0 ;
21052 char *kwnames[] = {
21053 (char *) "self",(char *) "text", NULL
21054 };
21055
21056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
21057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21058 if (SWIG_arg_fail(1)) SWIG_fail;
21059 {
21060 arg2 = wxString_in_helper(obj1);
21061 if (arg2 == NULL) SWIG_fail;
21062 temp2 = true;
21063 }
21064 {
21065 PyThreadState* __tstate = wxPyBeginAllowThreads();
21066 (arg1)->SetText((wxString const &)*arg2);
21067
21068 wxPyEndAllowThreads(__tstate);
21069 if (PyErr_Occurred()) SWIG_fail;
21070 }
21071 Py_INCREF(Py_None); resultobj = Py_None;
21072 {
21073 if (temp2)
21074 delete arg2;
21075 }
21076 return resultobj;
21077 fail:
21078 {
21079 if (temp2)
21080 delete arg2;
21081 }
21082 return NULL;
21083 }
21084
21085
21086 static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
21087 PyObject *resultobj;
21088 long arg1 ;
21089 PyObject * obj0 = 0 ;
21090 char *kwnames[] = {
21091 (char *) "updateInterval", NULL
21092 };
21093
21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
21095 {
21096 arg1 = (long)(SWIG_As_long(obj0));
21097 if (SWIG_arg_fail(1)) SWIG_fail;
21098 }
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 wxUpdateUIEvent::SetUpdateInterval(arg1);
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 Py_INCREF(Py_None); resultobj = Py_None;
21107 return resultobj;
21108 fail:
21109 return NULL;
21110 }
21111
21112
21113 static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
21114 PyObject *resultobj;
21115 long result;
21116 char *kwnames[] = {
21117 NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 result = (long)wxUpdateUIEvent::GetUpdateInterval();
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 {
21129 resultobj = SWIG_From_long((long)(result));
21130 }
21131 return resultobj;
21132 fail:
21133 return NULL;
21134 }
21135
21136
21137 static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) {
21138 PyObject *resultobj;
21139 wxWindow *arg1 = (wxWindow *) 0 ;
21140 bool result;
21141 PyObject * obj0 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "win", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
21147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21148 if (SWIG_arg_fail(1)) SWIG_fail;
21149 {
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
21152
21153 wxPyEndAllowThreads(__tstate);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 }
21156 {
21157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21158 }
21159 return resultobj;
21160 fail:
21161 return NULL;
21162 }
21163
21164
21165 static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) {
21166 PyObject *resultobj;
21167 char *kwnames[] = {
21168 NULL
21169 };
21170
21171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
21172 {
21173 PyThreadState* __tstate = wxPyBeginAllowThreads();
21174 wxUpdateUIEvent::ResetUpdateTime();
21175
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
21179 Py_INCREF(Py_None); resultobj = Py_None;
21180 return resultobj;
21181 fail:
21182 return NULL;
21183 }
21184
21185
21186 static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
21187 PyObject *resultobj;
21188 wxUpdateUIMode arg1 ;
21189 PyObject * obj0 = 0 ;
21190 char *kwnames[] = {
21191 (char *) "mode", NULL
21192 };
21193
21194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
21195 {
21196 arg1 = (wxUpdateUIMode)(SWIG_As_int(obj0));
21197 if (SWIG_arg_fail(1)) SWIG_fail;
21198 }
21199 {
21200 PyThreadState* __tstate = wxPyBeginAllowThreads();
21201 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
21202
21203 wxPyEndAllowThreads(__tstate);
21204 if (PyErr_Occurred()) SWIG_fail;
21205 }
21206 Py_INCREF(Py_None); resultobj = Py_None;
21207 return resultobj;
21208 fail:
21209 return NULL;
21210 }
21211
21212
21213 static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
21214 PyObject *resultobj;
21215 wxUpdateUIMode result;
21216 char *kwnames[] = {
21217 NULL
21218 };
21219
21220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = (wxUpdateUIMode)wxUpdateUIEvent::GetMode();
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 resultobj = SWIG_From_int((result));
21229 return resultobj;
21230 fail:
21231 return NULL;
21232 }
21233
21234
21235 static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) {
21236 PyObject *obj;
21237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21238 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
21239 Py_INCREF(obj);
21240 return Py_BuildValue((char *)"");
21241 }
21242 static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
21243 PyObject *resultobj;
21244 wxSysColourChangedEvent *result;
21245 char *kwnames[] = {
21246 NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
21250 {
21251 PyThreadState* __tstate = wxPyBeginAllowThreads();
21252 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
21253
21254 wxPyEndAllowThreads(__tstate);
21255 if (PyErr_Occurred()) SWIG_fail;
21256 }
21257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
21258 return resultobj;
21259 fail:
21260 return NULL;
21261 }
21262
21263
21264 static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) {
21265 PyObject *obj;
21266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21267 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
21268 Py_INCREF(obj);
21269 return Py_BuildValue((char *)"");
21270 }
21271 static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
21272 PyObject *resultobj;
21273 int arg1 = (int) 0 ;
21274 wxWindow *arg2 = (wxWindow *) NULL ;
21275 wxMouseCaptureChangedEvent *result;
21276 PyObject * obj0 = 0 ;
21277 PyObject * obj1 = 0 ;
21278 char *kwnames[] = {
21279 (char *) "winid",(char *) "gainedCapture", NULL
21280 };
21281
21282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
21283 if (obj0) {
21284 {
21285 arg1 = (int)(SWIG_As_int(obj0));
21286 if (SWIG_arg_fail(1)) SWIG_fail;
21287 }
21288 }
21289 if (obj1) {
21290 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21291 if (SWIG_arg_fail(2)) SWIG_fail;
21292 }
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
21301 return resultobj;
21302 fail:
21303 return NULL;
21304 }
21305
21306
21307 static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
21310 wxWindow *result;
21311 PyObject * obj0 = 0 ;
21312 char *kwnames[] = {
21313 (char *) "self", NULL
21314 };
21315
21316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
21317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent, SWIG_POINTER_EXCEPTION | 0);
21318 if (SWIG_arg_fail(1)) SWIG_fail;
21319 {
21320 PyThreadState* __tstate = wxPyBeginAllowThreads();
21321 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
21322
21323 wxPyEndAllowThreads(__tstate);
21324 if (PyErr_Occurred()) SWIG_fail;
21325 }
21326 {
21327 resultobj = wxPyMake_wxObject(result, 0);
21328 }
21329 return resultobj;
21330 fail:
21331 return NULL;
21332 }
21333
21334
21335 static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) {
21336 PyObject *obj;
21337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21338 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
21339 Py_INCREF(obj);
21340 return Py_BuildValue((char *)"");
21341 }
21342 static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
21343 PyObject *resultobj;
21344 wxDisplayChangedEvent *result;
21345 char *kwnames[] = {
21346 NULL
21347 };
21348
21349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
21353
21354 wxPyEndAllowThreads(__tstate);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
21358 return resultobj;
21359 fail:
21360 return NULL;
21361 }
21362
21363
21364 static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) {
21365 PyObject *obj;
21366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21367 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
21368 Py_INCREF(obj);
21369 return Py_BuildValue((char *)"");
21370 }
21371 static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
21372 PyObject *resultobj;
21373 int arg1 = (int) 0 ;
21374 wxPaletteChangedEvent *result;
21375 PyObject * obj0 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "id", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
21381 if (obj0) {
21382 {
21383 arg1 = (int)(SWIG_As_int(obj0));
21384 if (SWIG_arg_fail(1)) SWIG_fail;
21385 }
21386 }
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
21395 return resultobj;
21396 fail:
21397 return NULL;
21398 }
21399
21400
21401 static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
21404 wxWindow *arg2 = (wxWindow *) 0 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "win", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
21412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPaletteChangedEvent, SWIG_POINTER_EXCEPTION | 0);
21413 if (SWIG_arg_fail(1)) SWIG_fail;
21414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21415 if (SWIG_arg_fail(2)) SWIG_fail;
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 (arg1)->SetChangedWindow(arg2);
21419
21420 wxPyEndAllowThreads(__tstate);
21421 if (PyErr_Occurred()) SWIG_fail;
21422 }
21423 Py_INCREF(Py_None); resultobj = Py_None;
21424 return resultobj;
21425 fail:
21426 return NULL;
21427 }
21428
21429
21430 static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21431 PyObject *resultobj;
21432 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
21433 wxWindow *result;
21434 PyObject * obj0 = 0 ;
21435 char *kwnames[] = {
21436 (char *) "self", NULL
21437 };
21438
21439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
21440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPaletteChangedEvent, SWIG_POINTER_EXCEPTION | 0);
21441 if (SWIG_arg_fail(1)) SWIG_fail;
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 result = (wxWindow *)(arg1)->GetChangedWindow();
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 {
21450 resultobj = wxPyMake_wxObject(result, 0);
21451 }
21452 return resultobj;
21453 fail:
21454 return NULL;
21455 }
21456
21457
21458 static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) {
21459 PyObject *obj;
21460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21461 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
21462 Py_INCREF(obj);
21463 return Py_BuildValue((char *)"");
21464 }
21465 static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) {
21466 PyObject *resultobj;
21467 int arg1 = (int) 0 ;
21468 wxQueryNewPaletteEvent *result;
21469 PyObject * obj0 = 0 ;
21470 char *kwnames[] = {
21471 (char *) "winid", NULL
21472 };
21473
21474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
21475 if (obj0) {
21476 {
21477 arg1 = (int)(SWIG_As_int(obj0));
21478 if (SWIG_arg_fail(1)) SWIG_fail;
21479 }
21480 }
21481 {
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
21484
21485 wxPyEndAllowThreads(__tstate);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
21489 return resultobj;
21490 fail:
21491 return NULL;
21492 }
21493
21494
21495 static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
21496 PyObject *resultobj;
21497 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
21498 bool arg2 ;
21499 PyObject * obj0 = 0 ;
21500 PyObject * obj1 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self",(char *) "realized", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
21506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail;
21508 {
21509 arg2 = (bool)(SWIG_As_bool(obj1));
21510 if (SWIG_arg_fail(2)) SWIG_fail;
21511 }
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 (arg1)->SetPaletteRealized(arg2);
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 Py_INCREF(Py_None); resultobj = Py_None;
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
21529 bool result;
21530 PyObject * obj0 = 0 ;
21531 char *kwnames[] = {
21532 (char *) "self", NULL
21533 };
21534
21535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
21536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0);
21537 if (SWIG_arg_fail(1)) SWIG_fail;
21538 {
21539 PyThreadState* __tstate = wxPyBeginAllowThreads();
21540 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
21541
21542 wxPyEndAllowThreads(__tstate);
21543 if (PyErr_Occurred()) SWIG_fail;
21544 }
21545 {
21546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21547 }
21548 return resultobj;
21549 fail:
21550 return NULL;
21551 }
21552
21553
21554 static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) {
21555 PyObject *obj;
21556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21557 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
21558 Py_INCREF(obj);
21559 return Py_BuildValue((char *)"");
21560 }
21561 static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj;
21563 wxNavigationKeyEvent *result;
21564 char *kwnames[] = {
21565 NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
21569 {
21570 PyThreadState* __tstate = wxPyBeginAllowThreads();
21571 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
21572
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
21577 return resultobj;
21578 fail:
21579 return NULL;
21580 }
21581
21582
21583 static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
21584 PyObject *resultobj;
21585 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21586 bool result;
21587 PyObject * obj0 = 0 ;
21588 char *kwnames[] = {
21589 (char *) "self", NULL
21590 };
21591
21592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
21593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21594 if (SWIG_arg_fail(1)) SWIG_fail;
21595 {
21596 PyThreadState* __tstate = wxPyBeginAllowThreads();
21597 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
21598
21599 wxPyEndAllowThreads(__tstate);
21600 if (PyErr_Occurred()) SWIG_fail;
21601 }
21602 {
21603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21604 }
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21614 bool arg2 ;
21615 PyObject * obj0 = 0 ;
21616 PyObject * obj1 = 0 ;
21617 char *kwnames[] = {
21618 (char *) "self",(char *) "forward", NULL
21619 };
21620
21621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
21622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21623 if (SWIG_arg_fail(1)) SWIG_fail;
21624 {
21625 arg2 = (bool)(SWIG_As_bool(obj1));
21626 if (SWIG_arg_fail(2)) SWIG_fail;
21627 }
21628 {
21629 PyThreadState* __tstate = wxPyBeginAllowThreads();
21630 (arg1)->SetDirection(arg2);
21631
21632 wxPyEndAllowThreads(__tstate);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 }
21635 Py_INCREF(Py_None); resultobj = Py_None;
21636 return resultobj;
21637 fail:
21638 return NULL;
21639 }
21640
21641
21642 static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
21643 PyObject *resultobj;
21644 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21645 bool result;
21646 PyObject * obj0 = 0 ;
21647 char *kwnames[] = {
21648 (char *) "self", NULL
21649 };
21650
21651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
21652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21653 if (SWIG_arg_fail(1)) SWIG_fail;
21654 {
21655 PyThreadState* __tstate = wxPyBeginAllowThreads();
21656 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
21657
21658 wxPyEndAllowThreads(__tstate);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
21661 {
21662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21663 }
21664 return resultobj;
21665 fail:
21666 return NULL;
21667 }
21668
21669
21670 static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj;
21672 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21673 bool arg2 ;
21674 PyObject * obj0 = 0 ;
21675 PyObject * obj1 = 0 ;
21676 char *kwnames[] = {
21677 (char *) "self",(char *) "ischange", NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
21681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21682 if (SWIG_arg_fail(1)) SWIG_fail;
21683 {
21684 arg2 = (bool)(SWIG_As_bool(obj1));
21685 if (SWIG_arg_fail(2)) SWIG_fail;
21686 }
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 (arg1)->SetWindowChange(arg2);
21690
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 Py_INCREF(Py_None); resultobj = Py_None;
21695 return resultobj;
21696 fail:
21697 return NULL;
21698 }
21699
21700
21701 static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, PyObject *kwargs) {
21702 PyObject *resultobj;
21703 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21704 bool result;
21705 PyObject * obj0 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames,&obj0)) goto fail;
21711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21712 if (SWIG_arg_fail(1)) SWIG_fail;
21713 {
21714 PyThreadState* __tstate = wxPyBeginAllowThreads();
21715 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsFromTab();
21716
21717 wxPyEndAllowThreads(__tstate);
21718 if (PyErr_Occurred()) SWIG_fail;
21719 }
21720 {
21721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21722 }
21723 return resultobj;
21724 fail:
21725 return NULL;
21726 }
21727
21728
21729 static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, PyObject *kwargs) {
21730 PyObject *resultobj;
21731 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21732 bool arg2 ;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 char *kwnames[] = {
21736 (char *) "self",(char *) "bIs", NULL
21737 };
21738
21739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames,&obj0,&obj1)) goto fail;
21740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21741 if (SWIG_arg_fail(1)) SWIG_fail;
21742 {
21743 arg2 = (bool)(SWIG_As_bool(obj1));
21744 if (SWIG_arg_fail(2)) SWIG_fail;
21745 }
21746 {
21747 PyThreadState* __tstate = wxPyBeginAllowThreads();
21748 (arg1)->SetFromTab(arg2);
21749
21750 wxPyEndAllowThreads(__tstate);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 }
21753 Py_INCREF(Py_None); resultobj = Py_None;
21754 return resultobj;
21755 fail:
21756 return NULL;
21757 }
21758
21759
21760 static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
21761 PyObject *resultobj;
21762 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21763 long arg2 ;
21764 PyObject * obj0 = 0 ;
21765 PyObject * obj1 = 0 ;
21766 char *kwnames[] = {
21767 (char *) "self",(char *) "flags", NULL
21768 };
21769
21770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
21771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21772 if (SWIG_arg_fail(1)) SWIG_fail;
21773 {
21774 arg2 = (long)(SWIG_As_long(obj1));
21775 if (SWIG_arg_fail(2)) SWIG_fail;
21776 }
21777 {
21778 PyThreadState* __tstate = wxPyBeginAllowThreads();
21779 (arg1)->SetFlags(arg2);
21780
21781 wxPyEndAllowThreads(__tstate);
21782 if (PyErr_Occurred()) SWIG_fail;
21783 }
21784 Py_INCREF(Py_None); resultobj = Py_None;
21785 return resultobj;
21786 fail:
21787 return NULL;
21788 }
21789
21790
21791 static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
21792 PyObject *resultobj;
21793 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21794 wxWindow *result;
21795 PyObject * obj0 = 0 ;
21796 char *kwnames[] = {
21797 (char *) "self", NULL
21798 };
21799
21800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
21801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail;
21803 {
21804 PyThreadState* __tstate = wxPyBeginAllowThreads();
21805 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
21806
21807 wxPyEndAllowThreads(__tstate);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 }
21810 {
21811 resultobj = wxPyMake_wxObject(result, 0);
21812 }
21813 return resultobj;
21814 fail:
21815 return NULL;
21816 }
21817
21818
21819 static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
21820 PyObject *resultobj;
21821 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21822 wxWindow *arg2 = (wxWindow *) 0 ;
21823 PyObject * obj0 = 0 ;
21824 PyObject * obj1 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "self",(char *) "win", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
21830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21831 if (SWIG_arg_fail(1)) SWIG_fail;
21832 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21833 if (SWIG_arg_fail(2)) SWIG_fail;
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 (arg1)->SetCurrentFocus(arg2);
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 Py_INCREF(Py_None); resultobj = Py_None;
21842 return resultobj;
21843 fail:
21844 return NULL;
21845 }
21846
21847
21848 static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) {
21849 PyObject *obj;
21850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21851 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
21852 Py_INCREF(obj);
21853 return Py_BuildValue((char *)"");
21854 }
21855 static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
21856 PyObject *resultobj;
21857 wxWindow *arg1 = (wxWindow *) NULL ;
21858 wxWindowCreateEvent *result;
21859 PyObject * obj0 = 0 ;
21860 char *kwnames[] = {
21861 (char *) "win", NULL
21862 };
21863
21864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
21865 if (obj0) {
21866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail;
21868 }
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
21877 return resultobj;
21878 fail:
21879 return NULL;
21880 }
21881
21882
21883 static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj;
21885 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
21886 wxWindow *result;
21887 PyObject * obj0 = 0 ;
21888 char *kwnames[] = {
21889 (char *) "self", NULL
21890 };
21891
21892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
21893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowCreateEvent, SWIG_POINTER_EXCEPTION | 0);
21894 if (SWIG_arg_fail(1)) SWIG_fail;
21895 {
21896 PyThreadState* __tstate = wxPyBeginAllowThreads();
21897 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
21898
21899 wxPyEndAllowThreads(__tstate);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
21902 {
21903 resultobj = wxPyMake_wxObject(result, 0);
21904 }
21905 return resultobj;
21906 fail:
21907 return NULL;
21908 }
21909
21910
21911 static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) {
21912 PyObject *obj;
21913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21914 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
21915 Py_INCREF(obj);
21916 return Py_BuildValue((char *)"");
21917 }
21918 static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
21919 PyObject *resultobj;
21920 wxWindow *arg1 = (wxWindow *) NULL ;
21921 wxWindowDestroyEvent *result;
21922 PyObject * obj0 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "win", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
21928 if (obj0) {
21929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21930 if (SWIG_arg_fail(1)) SWIG_fail;
21931 }
21932 {
21933 PyThreadState* __tstate = wxPyBeginAllowThreads();
21934 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
21935
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
21940 return resultobj;
21941 fail:
21942 return NULL;
21943 }
21944
21945
21946 static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21947 PyObject *resultobj;
21948 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
21949 wxWindow *result;
21950 PyObject * obj0 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
21956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDestroyEvent, SWIG_POINTER_EXCEPTION | 0);
21957 if (SWIG_arg_fail(1)) SWIG_fail;
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 {
21966 resultobj = wxPyMake_wxObject(result, 0);
21967 }
21968 return resultobj;
21969 fail:
21970 return NULL;
21971 }
21972
21973
21974 static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) {
21975 PyObject *obj;
21976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21977 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
21978 Py_INCREF(obj);
21979 return Py_BuildValue((char *)"");
21980 }
21981 static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
21982 PyObject *resultobj;
21983 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21984 int arg2 = (int) 0 ;
21985 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21986 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21987 wxContextMenuEvent *result;
21988 wxPoint temp3 ;
21989 PyObject * obj0 = 0 ;
21990 PyObject * obj1 = 0 ;
21991 PyObject * obj2 = 0 ;
21992 char *kwnames[] = {
21993 (char *) "type",(char *) "winid",(char *) "pt", NULL
21994 };
21995
21996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
21997 if (obj0) {
21998 {
21999 arg1 = (wxEventType)(SWIG_As_int(obj0));
22000 if (SWIG_arg_fail(1)) SWIG_fail;
22001 }
22002 }
22003 if (obj1) {
22004 {
22005 arg2 = (int)(SWIG_As_int(obj1));
22006 if (SWIG_arg_fail(2)) SWIG_fail;
22007 }
22008 }
22009 if (obj2) {
22010 {
22011 arg3 = &temp3;
22012 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22013 }
22014 }
22015 {
22016 PyThreadState* __tstate = wxPyBeginAllowThreads();
22017 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
22018
22019 wxPyEndAllowThreads(__tstate);
22020 if (PyErr_Occurred()) SWIG_fail;
22021 }
22022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
22023 return resultobj;
22024 fail:
22025 return NULL;
22026 }
22027
22028
22029 static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22030 PyObject *resultobj;
22031 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
22032 wxPoint *result;
22033 PyObject * obj0 = 0 ;
22034 char *kwnames[] = {
22035 (char *) "self", NULL
22036 };
22037
22038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
22039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextMenuEvent, SWIG_POINTER_EXCEPTION | 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail;
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 {
22044 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
22045 result = (wxPoint *) &_result_ref;
22046 }
22047
22048 wxPyEndAllowThreads(__tstate);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 }
22051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
22052 return resultobj;
22053 fail:
22054 return NULL;
22055 }
22056
22057
22058 static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22059 PyObject *resultobj;
22060 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
22061 wxPoint *arg2 = 0 ;
22062 wxPoint temp2 ;
22063 PyObject * obj0 = 0 ;
22064 PyObject * obj1 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self",(char *) "pos", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
22070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextMenuEvent, SWIG_POINTER_EXCEPTION | 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail;
22072 {
22073 arg2 = &temp2;
22074 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22075 }
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 (arg1)->SetPosition((wxPoint const &)*arg2);
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 Py_INCREF(Py_None); resultobj = Py_None;
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) {
22091 PyObject *obj;
22092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22093 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
22094 Py_INCREF(obj);
22095 return Py_BuildValue((char *)"");
22096 }
22097 static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj;
22099 wxIdleEvent *result;
22100 char *kwnames[] = {
22101 NULL
22102 };
22103
22104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 result = (wxIdleEvent *)new wxIdleEvent();
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
22120 PyObject *resultobj;
22121 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
22122 bool arg2 = (bool) true ;
22123 PyObject * obj0 = 0 ;
22124 PyObject * obj1 = 0 ;
22125 char *kwnames[] = {
22126 (char *) "self",(char *) "needMore", NULL
22127 };
22128
22129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
22130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0);
22131 if (SWIG_arg_fail(1)) SWIG_fail;
22132 if (obj1) {
22133 {
22134 arg2 = (bool)(SWIG_As_bool(obj1));
22135 if (SWIG_arg_fail(2)) SWIG_fail;
22136 }
22137 }
22138 {
22139 PyThreadState* __tstate = wxPyBeginAllowThreads();
22140 (arg1)->RequestMore(arg2);
22141
22142 wxPyEndAllowThreads(__tstate);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 }
22145 Py_INCREF(Py_None); resultobj = Py_None;
22146 return resultobj;
22147 fail:
22148 return NULL;
22149 }
22150
22151
22152 static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) {
22153 PyObject *resultobj;
22154 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
22155 bool result;
22156 PyObject * obj0 = 0 ;
22157 char *kwnames[] = {
22158 (char *) "self", NULL
22159 };
22160
22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
22162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0);
22163 if (SWIG_arg_fail(1)) SWIG_fail;
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
22167
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 {
22172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22173 }
22174 return resultobj;
22175 fail:
22176 return NULL;
22177 }
22178
22179
22180 static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
22181 PyObject *resultobj;
22182 wxIdleMode arg1 ;
22183 PyObject * obj0 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "mode", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
22189 {
22190 arg1 = (wxIdleMode)(SWIG_As_int(obj0));
22191 if (SWIG_arg_fail(1)) SWIG_fail;
22192 }
22193 {
22194 PyThreadState* __tstate = wxPyBeginAllowThreads();
22195 wxIdleEvent::SetMode((wxIdleMode )arg1);
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 Py_INCREF(Py_None); resultobj = Py_None;
22201 return resultobj;
22202 fail:
22203 return NULL;
22204 }
22205
22206
22207 static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxIdleMode result;
22210 char *kwnames[] = {
22211 NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
22215 {
22216 PyThreadState* __tstate = wxPyBeginAllowThreads();
22217 result = (wxIdleMode)wxIdleEvent::GetMode();
22218
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 resultobj = SWIG_From_int((result));
22223 return resultobj;
22224 fail:
22225 return NULL;
22226 }
22227
22228
22229 static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) {
22230 PyObject *resultobj;
22231 wxWindow *arg1 = (wxWindow *) 0 ;
22232 bool result;
22233 PyObject * obj0 = 0 ;
22234 char *kwnames[] = {
22235 (char *) "win", NULL
22236 };
22237
22238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
22239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail;
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = (bool)wxIdleEvent::CanSend(arg1);
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 {
22249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22250 }
22251 return resultobj;
22252 fail:
22253 return NULL;
22254 }
22255
22256
22257 static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) {
22258 PyObject *obj;
22259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22260 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
22261 Py_INCREF(obj);
22262 return Py_BuildValue((char *)"");
22263 }
22264 static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22265 PyObject *resultobj;
22266 int arg1 = (int) 0 ;
22267 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
22268 wxPyEvent *result;
22269 PyObject * obj0 = 0 ;
22270 PyObject * obj1 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "winid",(char *) "eventType", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
22276 if (obj0) {
22277 {
22278 arg1 = (int)(SWIG_As_int(obj0));
22279 if (SWIG_arg_fail(1)) SWIG_fail;
22280 }
22281 }
22282 if (obj1) {
22283 {
22284 arg2 = (wxEventType)(SWIG_As_int(obj1));
22285 if (SWIG_arg_fail(2)) SWIG_fail;
22286 }
22287 }
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
22296 return resultobj;
22297 fail:
22298 return NULL;
22299 }
22300
22301
22302 static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22303 PyObject *resultobj;
22304 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
22305 PyObject * obj0 = 0 ;
22306 char *kwnames[] = {
22307 (char *) "self", NULL
22308 };
22309
22310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
22311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
22312 if (SWIG_arg_fail(1)) SWIG_fail;
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 delete arg1;
22316
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 Py_INCREF(Py_None); resultobj = Py_None;
22321 return resultobj;
22322 fail:
22323 return NULL;
22324 }
22325
22326
22327 static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
22328 PyObject *resultobj;
22329 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
22330 PyObject *arg2 = (PyObject *) 0 ;
22331 PyObject * obj0 = 0 ;
22332 PyObject * obj1 = 0 ;
22333 char *kwnames[] = {
22334 (char *) "self",(char *) "self", NULL
22335 };
22336
22337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
22338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
22339 if (SWIG_arg_fail(1)) SWIG_fail;
22340 arg2 = obj1;
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 (arg1)->SetSelf(arg2);
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 Py_INCREF(Py_None); resultobj = Py_None;
22349 return resultobj;
22350 fail:
22351 return NULL;
22352 }
22353
22354
22355 static PyObject *_wrap_PyEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
22356 PyObject *resultobj;
22357 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
22358 PyObject *result;
22359 PyObject * obj0 = 0 ;
22360 char *kwnames[] = {
22361 (char *) "self", NULL
22362 };
22363
22364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent__GetSelf",kwnames,&obj0)) goto fail;
22365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
22366 if (SWIG_arg_fail(1)) SWIG_fail;
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 result = (PyObject *)(arg1)->GetSelf();
22370
22371 wxPyEndAllowThreads(__tstate);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 }
22374 resultobj = result;
22375 return resultobj;
22376 fail:
22377 return NULL;
22378 }
22379
22380
22381 static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) {
22382 PyObject *obj;
22383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22384 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
22385 Py_INCREF(obj);
22386 return Py_BuildValue((char *)"");
22387 }
22388 static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22389 PyObject *resultobj;
22390 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22391 int arg2 = (int) 0 ;
22392 wxPyCommandEvent *result;
22393 PyObject * obj0 = 0 ;
22394 PyObject * obj1 = 0 ;
22395 char *kwnames[] = {
22396 (char *) "eventType",(char *) "id", NULL
22397 };
22398
22399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
22400 if (obj0) {
22401 {
22402 arg1 = (wxEventType)(SWIG_As_int(obj0));
22403 if (SWIG_arg_fail(1)) SWIG_fail;
22404 }
22405 }
22406 if (obj1) {
22407 {
22408 arg2 = (int)(SWIG_As_int(obj1));
22409 if (SWIG_arg_fail(2)) SWIG_fail;
22410 }
22411 }
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
22415
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
22420 return resultobj;
22421 fail:
22422 return NULL;
22423 }
22424
22425
22426 static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22427 PyObject *resultobj;
22428 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
22429 PyObject * obj0 = 0 ;
22430 char *kwnames[] = {
22431 (char *) "self", NULL
22432 };
22433
22434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
22435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
22436 if (SWIG_arg_fail(1)) SWIG_fail;
22437 {
22438 PyThreadState* __tstate = wxPyBeginAllowThreads();
22439 delete arg1;
22440
22441 wxPyEndAllowThreads(__tstate);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 }
22444 Py_INCREF(Py_None); resultobj = Py_None;
22445 return resultobj;
22446 fail:
22447 return NULL;
22448 }
22449
22450
22451 static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj;
22453 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
22454 PyObject *arg2 = (PyObject *) 0 ;
22455 PyObject * obj0 = 0 ;
22456 PyObject * obj1 = 0 ;
22457 char *kwnames[] = {
22458 (char *) "self",(char *) "self", NULL
22459 };
22460
22461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
22462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
22463 if (SWIG_arg_fail(1)) SWIG_fail;
22464 arg2 = obj1;
22465 {
22466 PyThreadState* __tstate = wxPyBeginAllowThreads();
22467 (arg1)->SetSelf(arg2);
22468
22469 wxPyEndAllowThreads(__tstate);
22470 if (PyErr_Occurred()) SWIG_fail;
22471 }
22472 Py_INCREF(Py_None); resultobj = Py_None;
22473 return resultobj;
22474 fail:
22475 return NULL;
22476 }
22477
22478
22479 static PyObject *_wrap_PyCommandEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
22480 PyObject *resultobj;
22481 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
22482 PyObject *result;
22483 PyObject * obj0 = 0 ;
22484 char *kwnames[] = {
22485 (char *) "self", NULL
22486 };
22487
22488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent__GetSelf",kwnames,&obj0)) goto fail;
22489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
22490 if (SWIG_arg_fail(1)) SWIG_fail;
22491 {
22492 PyThreadState* __tstate = wxPyBeginAllowThreads();
22493 result = (PyObject *)(arg1)->GetSelf();
22494
22495 wxPyEndAllowThreads(__tstate);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 }
22498 resultobj = result;
22499 return resultobj;
22500 fail:
22501 return NULL;
22502 }
22503
22504
22505 static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) {
22506 PyObject *obj;
22507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22508 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
22509 Py_INCREF(obj);
22510 return Py_BuildValue((char *)"");
22511 }
22512 static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj;
22514 wxWindow *arg1 = (wxWindow *) 0 ;
22515 wxDateTime *arg2 = 0 ;
22516 wxEventType arg3 ;
22517 wxDateEvent *result;
22518 PyObject * obj0 = 0 ;
22519 PyObject * obj1 = 0 ;
22520 PyObject * obj2 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "win",(char *) "dt",(char *) "type", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_DateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
22526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22527 if (SWIG_arg_fail(1)) SWIG_fail;
22528 {
22529 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22530 if (SWIG_arg_fail(2)) SWIG_fail;
22531 if (arg2 == NULL) {
22532 SWIG_null_ref("wxDateTime");
22533 }
22534 if (SWIG_arg_fail(2)) SWIG_fail;
22535 }
22536 {
22537 arg3 = (wxEventType)(SWIG_As_int(obj2));
22538 if (SWIG_arg_fail(3)) SWIG_fail;
22539 }
22540 {
22541 PyThreadState* __tstate = wxPyBeginAllowThreads();
22542 result = (wxDateEvent *)new wxDateEvent(arg1,(wxDateTime const &)*arg2,arg3);
22543
22544 wxPyEndAllowThreads(__tstate);
22545 if (PyErr_Occurred()) SWIG_fail;
22546 }
22547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateEvent, 1);
22548 return resultobj;
22549 fail:
22550 return NULL;
22551 }
22552
22553
22554 static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *kwargs) {
22555 PyObject *resultobj;
22556 wxDateEvent *arg1 = (wxDateEvent *) 0 ;
22557 wxDateTime *result;
22558 PyObject * obj0 = 0 ;
22559 char *kwnames[] = {
22560 (char *) "self", NULL
22561 };
22562
22563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateEvent_GetDate",kwnames,&obj0)) goto fail;
22564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateEvent, SWIG_POINTER_EXCEPTION | 0);
22565 if (SWIG_arg_fail(1)) SWIG_fail;
22566 {
22567 PyThreadState* __tstate = wxPyBeginAllowThreads();
22568 {
22569 wxDateTime const &_result_ref = ((wxDateEvent const *)arg1)->GetDate();
22570 result = (wxDateTime *) &_result_ref;
22571 }
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22577 return resultobj;
22578 fail:
22579 return NULL;
22580 }
22581
22582
22583 static PyObject *_wrap_DateEvent_SetDate(PyObject *, PyObject *args, PyObject *kwargs) {
22584 PyObject *resultobj;
22585 wxDateEvent *arg1 = (wxDateEvent *) 0 ;
22586 wxDateTime *arg2 = 0 ;
22587 PyObject * obj0 = 0 ;
22588 PyObject * obj1 = 0 ;
22589 char *kwnames[] = {
22590 (char *) "self",(char *) "date", NULL
22591 };
22592
22593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateEvent_SetDate",kwnames,&obj0,&obj1)) goto fail;
22594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateEvent, SWIG_POINTER_EXCEPTION | 0);
22595 if (SWIG_arg_fail(1)) SWIG_fail;
22596 {
22597 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22598 if (SWIG_arg_fail(2)) SWIG_fail;
22599 if (arg2 == NULL) {
22600 SWIG_null_ref("wxDateTime");
22601 }
22602 if (SWIG_arg_fail(2)) SWIG_fail;
22603 }
22604 {
22605 PyThreadState* __tstate = wxPyBeginAllowThreads();
22606 (arg1)->SetDate((wxDateTime const &)*arg2);
22607
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 Py_INCREF(Py_None); resultobj = Py_None;
22612 return resultobj;
22613 fail:
22614 return NULL;
22615 }
22616
22617
22618 static PyObject * DateEvent_swigregister(PyObject *, PyObject *args) {
22619 PyObject *obj;
22620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22621 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent, obj);
22622 Py_INCREF(obj);
22623 return Py_BuildValue((char *)"");
22624 }
22625 static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
22626 PyObject *resultobj;
22627 wxPyApp *result;
22628 char *kwnames[] = {
22629 NULL
22630 };
22631
22632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
22633 {
22634 PyThreadState* __tstate = wxPyBeginAllowThreads();
22635 result = (wxPyApp *)new_wxPyApp();
22636
22637 wxPyEndAllowThreads(__tstate);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 }
22640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyApp, 1);
22641 return resultobj;
22642 fail:
22643 return NULL;
22644 }
22645
22646
22647 static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
22648 PyObject *resultobj;
22649 wxPyApp *arg1 = (wxPyApp *) 0 ;
22650 PyObject * obj0 = 0 ;
22651 char *kwnames[] = {
22652 (char *) "self", NULL
22653 };
22654
22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
22656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22657 if (SWIG_arg_fail(1)) SWIG_fail;
22658 {
22659 PyThreadState* __tstate = wxPyBeginAllowThreads();
22660 delete arg1;
22661
22662 wxPyEndAllowThreads(__tstate);
22663 if (PyErr_Occurred()) SWIG_fail;
22664 }
22665 Py_INCREF(Py_None); resultobj = Py_None;
22666 return resultobj;
22667 fail:
22668 return NULL;
22669 }
22670
22671
22672 static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22673 PyObject *resultobj;
22674 wxPyApp *arg1 = (wxPyApp *) 0 ;
22675 PyObject *arg2 = (PyObject *) 0 ;
22676 PyObject *arg3 = (PyObject *) 0 ;
22677 bool arg4 ;
22678 PyObject * obj0 = 0 ;
22679 PyObject * obj1 = 0 ;
22680 PyObject * obj2 = 0 ;
22681 PyObject * obj3 = 0 ;
22682 char *kwnames[] = {
22683 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22684 };
22685
22686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail;
22689 arg2 = obj1;
22690 arg3 = obj2;
22691 {
22692 arg4 = (bool)(SWIG_As_bool(obj3));
22693 if (SWIG_arg_fail(4)) SWIG_fail;
22694 }
22695 {
22696 PyThreadState* __tstate = wxPyBeginAllowThreads();
22697 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
22698
22699 wxPyEndAllowThreads(__tstate);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 }
22702 Py_INCREF(Py_None); resultobj = Py_None;
22703 return resultobj;
22704 fail:
22705 return NULL;
22706 }
22707
22708
22709 static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxPyApp *arg1 = (wxPyApp *) 0 ;
22712 wxString result;
22713 PyObject * obj0 = 0 ;
22714 char *kwnames[] = {
22715 (char *) "self", NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
22719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail;
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 result = ((wxPyApp const *)arg1)->GetAppName();
22724
22725 wxPyEndAllowThreads(__tstate);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 {
22729 #if wxUSE_UNICODE
22730 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22731 #else
22732 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22733 #endif
22734 }
22735 return resultobj;
22736 fail:
22737 return NULL;
22738 }
22739
22740
22741 static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
22742 PyObject *resultobj;
22743 wxPyApp *arg1 = (wxPyApp *) 0 ;
22744 wxString *arg2 = 0 ;
22745 bool temp2 = false ;
22746 PyObject * obj0 = 0 ;
22747 PyObject * obj1 = 0 ;
22748 char *kwnames[] = {
22749 (char *) "self",(char *) "name", NULL
22750 };
22751
22752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
22753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22754 if (SWIG_arg_fail(1)) SWIG_fail;
22755 {
22756 arg2 = wxString_in_helper(obj1);
22757 if (arg2 == NULL) SWIG_fail;
22758 temp2 = true;
22759 }
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 (arg1)->SetAppName((wxString const &)*arg2);
22763
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 Py_INCREF(Py_None); resultobj = Py_None;
22768 {
22769 if (temp2)
22770 delete arg2;
22771 }
22772 return resultobj;
22773 fail:
22774 {
22775 if (temp2)
22776 delete arg2;
22777 }
22778 return NULL;
22779 }
22780
22781
22782 static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
22783 PyObject *resultobj;
22784 wxPyApp *arg1 = (wxPyApp *) 0 ;
22785 wxString result;
22786 PyObject * obj0 = 0 ;
22787 char *kwnames[] = {
22788 (char *) "self", NULL
22789 };
22790
22791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
22792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22793 if (SWIG_arg_fail(1)) SWIG_fail;
22794 {
22795 PyThreadState* __tstate = wxPyBeginAllowThreads();
22796 result = ((wxPyApp const *)arg1)->GetClassName();
22797
22798 wxPyEndAllowThreads(__tstate);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 }
22801 {
22802 #if wxUSE_UNICODE
22803 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22804 #else
22805 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22806 #endif
22807 }
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPyApp *arg1 = (wxPyApp *) 0 ;
22817 wxString *arg2 = 0 ;
22818 bool temp2 = false ;
22819 PyObject * obj0 = 0 ;
22820 PyObject * obj1 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "self",(char *) "name", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
22826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22827 if (SWIG_arg_fail(1)) SWIG_fail;
22828 {
22829 arg2 = wxString_in_helper(obj1);
22830 if (arg2 == NULL) SWIG_fail;
22831 temp2 = true;
22832 }
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 (arg1)->SetClassName((wxString const &)*arg2);
22836
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
22840 Py_INCREF(Py_None); resultobj = Py_None;
22841 {
22842 if (temp2)
22843 delete arg2;
22844 }
22845 return resultobj;
22846 fail:
22847 {
22848 if (temp2)
22849 delete arg2;
22850 }
22851 return NULL;
22852 }
22853
22854
22855 static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
22856 PyObject *resultobj;
22857 wxPyApp *arg1 = (wxPyApp *) 0 ;
22858 wxString *result;
22859 PyObject * obj0 = 0 ;
22860 char *kwnames[] = {
22861 (char *) "self", NULL
22862 };
22863
22864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
22865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22866 if (SWIG_arg_fail(1)) SWIG_fail;
22867 {
22868 PyThreadState* __tstate = wxPyBeginAllowThreads();
22869 {
22870 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
22871 result = (wxString *) &_result_ref;
22872 }
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 {
22878 #if wxUSE_UNICODE
22879 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22880 #else
22881 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22882 #endif
22883 }
22884 return resultobj;
22885 fail:
22886 return NULL;
22887 }
22888
22889
22890 static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
22891 PyObject *resultobj;
22892 wxPyApp *arg1 = (wxPyApp *) 0 ;
22893 wxString *arg2 = 0 ;
22894 bool temp2 = false ;
22895 PyObject * obj0 = 0 ;
22896 PyObject * obj1 = 0 ;
22897 char *kwnames[] = {
22898 (char *) "self",(char *) "name", NULL
22899 };
22900
22901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
22902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22903 if (SWIG_arg_fail(1)) SWIG_fail;
22904 {
22905 arg2 = wxString_in_helper(obj1);
22906 if (arg2 == NULL) SWIG_fail;
22907 temp2 = true;
22908 }
22909 {
22910 PyThreadState* __tstate = wxPyBeginAllowThreads();
22911 (arg1)->SetVendorName((wxString const &)*arg2);
22912
22913 wxPyEndAllowThreads(__tstate);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 }
22916 Py_INCREF(Py_None); resultobj = Py_None;
22917 {
22918 if (temp2)
22919 delete arg2;
22920 }
22921 return resultobj;
22922 fail:
22923 {
22924 if (temp2)
22925 delete arg2;
22926 }
22927 return NULL;
22928 }
22929
22930
22931 static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxPyApp *arg1 = (wxPyApp *) 0 ;
22934 wxAppTraits *result;
22935 PyObject * obj0 = 0 ;
22936 char *kwnames[] = {
22937 (char *) "self", NULL
22938 };
22939
22940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
22941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22942 if (SWIG_arg_fail(1)) SWIG_fail;
22943 {
22944 PyThreadState* __tstate = wxPyBeginAllowThreads();
22945 result = (wxAppTraits *)(arg1)->GetTraits();
22946
22947 wxPyEndAllowThreads(__tstate);
22948 if (PyErr_Occurred()) SWIG_fail;
22949 }
22950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
22951 return resultobj;
22952 fail:
22953 return NULL;
22954 }
22955
22956
22957 static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
22958 PyObject *resultobj;
22959 wxPyApp *arg1 = (wxPyApp *) 0 ;
22960 PyObject * obj0 = 0 ;
22961 char *kwnames[] = {
22962 (char *) "self", NULL
22963 };
22964
22965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
22966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22967 if (SWIG_arg_fail(1)) SWIG_fail;
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 (arg1)->ProcessPendingEvents();
22971
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
22975 Py_INCREF(Py_None); resultobj = Py_None;
22976 return resultobj;
22977 fail:
22978 return NULL;
22979 }
22980
22981
22982 static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
22983 PyObject *resultobj;
22984 wxPyApp *arg1 = (wxPyApp *) 0 ;
22985 bool arg2 = (bool) false ;
22986 bool result;
22987 PyObject * obj0 = 0 ;
22988 PyObject * obj1 = 0 ;
22989 char *kwnames[] = {
22990 (char *) "self",(char *) "onlyIfNeeded", NULL
22991 };
22992
22993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
22994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22995 if (SWIG_arg_fail(1)) SWIG_fail;
22996 if (obj1) {
22997 {
22998 arg2 = (bool)(SWIG_As_bool(obj1));
22999 if (SWIG_arg_fail(2)) SWIG_fail;
23000 }
23001 }
23002 {
23003 PyThreadState* __tstate = wxPyBeginAllowThreads();
23004 result = (bool)(arg1)->Yield(arg2);
23005
23006 wxPyEndAllowThreads(__tstate);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 }
23009 {
23010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23011 }
23012 return resultobj;
23013 fail:
23014 return NULL;
23015 }
23016
23017
23018 static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
23019 PyObject *resultobj;
23020 wxPyApp *arg1 = (wxPyApp *) 0 ;
23021 PyObject * obj0 = 0 ;
23022 char *kwnames[] = {
23023 (char *) "self", NULL
23024 };
23025
23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
23027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23028 if (SWIG_arg_fail(1)) SWIG_fail;
23029 {
23030 PyThreadState* __tstate = wxPyBeginAllowThreads();
23031 (arg1)->WakeUpIdle();
23032
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 Py_INCREF(Py_None); resultobj = Py_None;
23037 return resultobj;
23038 fail:
23039 return NULL;
23040 }
23041
23042
23043 static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) {
23044 PyObject *resultobj;
23045 bool result;
23046 char *kwnames[] = {
23047 NULL
23048 };
23049
23050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_IsMainLoopRunning",kwnames)) goto fail;
23051 {
23052 PyThreadState* __tstate = wxPyBeginAllowThreads();
23053 result = (bool)wxPyApp::IsMainLoopRunning();
23054
23055 wxPyEndAllowThreads(__tstate);
23056 if (PyErr_Occurred()) SWIG_fail;
23057 }
23058 {
23059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23060 }
23061 return resultobj;
23062 fail:
23063 return NULL;
23064 }
23065
23066
23067 static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
23068 PyObject *resultobj;
23069 wxPyApp *arg1 = (wxPyApp *) 0 ;
23070 int result;
23071 PyObject * obj0 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "self", NULL
23074 };
23075
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
23077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23078 if (SWIG_arg_fail(1)) SWIG_fail;
23079 {
23080 PyThreadState* __tstate = wxPyBeginAllowThreads();
23081 result = (int)(arg1)->MainLoop();
23082
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
23086 {
23087 resultobj = SWIG_From_int((int)(result));
23088 }
23089 return resultobj;
23090 fail:
23091 return NULL;
23092 }
23093
23094
23095 static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxPyApp *arg1 = (wxPyApp *) 0 ;
23098 PyObject * obj0 = 0 ;
23099 char *kwnames[] = {
23100 (char *) "self", NULL
23101 };
23102
23103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
23104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23105 if (SWIG_arg_fail(1)) SWIG_fail;
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 (arg1)->Exit();
23109
23110 wxPyEndAllowThreads(__tstate);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
23113 Py_INCREF(Py_None); resultobj = Py_None;
23114 return resultobj;
23115 fail:
23116 return NULL;
23117 }
23118
23119
23120 static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
23121 PyObject *resultobj;
23122 wxPyApp *arg1 = (wxPyApp *) 0 ;
23123 PyObject * obj0 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
23129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23130 if (SWIG_arg_fail(1)) SWIG_fail;
23131 {
23132 PyThreadState* __tstate = wxPyBeginAllowThreads();
23133 (arg1)->ExitMainLoop();
23134
23135 wxPyEndAllowThreads(__tstate);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 Py_INCREF(Py_None); resultobj = Py_None;
23139 return resultobj;
23140 fail:
23141 return NULL;
23142 }
23143
23144
23145 static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
23146 PyObject *resultobj;
23147 wxPyApp *arg1 = (wxPyApp *) 0 ;
23148 bool result;
23149 PyObject * obj0 = 0 ;
23150 char *kwnames[] = {
23151 (char *) "self", NULL
23152 };
23153
23154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
23155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23156 if (SWIG_arg_fail(1)) SWIG_fail;
23157 {
23158 PyThreadState* __tstate = wxPyBeginAllowThreads();
23159 result = (bool)(arg1)->Pending();
23160
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 {
23165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23166 }
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
23174 PyObject *resultobj;
23175 wxPyApp *arg1 = (wxPyApp *) 0 ;
23176 bool result;
23177 PyObject * obj0 = 0 ;
23178 char *kwnames[] = {
23179 (char *) "self", NULL
23180 };
23181
23182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
23183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23184 if (SWIG_arg_fail(1)) SWIG_fail;
23185 {
23186 PyThreadState* __tstate = wxPyBeginAllowThreads();
23187 result = (bool)(arg1)->Dispatch();
23188
23189 wxPyEndAllowThreads(__tstate);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 {
23193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23194 }
23195 return resultobj;
23196 fail:
23197 return NULL;
23198 }
23199
23200
23201 static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) {
23202 PyObject *resultobj;
23203 wxPyApp *arg1 = (wxPyApp *) 0 ;
23204 bool result;
23205 PyObject * obj0 = 0 ;
23206 char *kwnames[] = {
23207 (char *) "self", NULL
23208 };
23209
23210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
23211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23212 if (SWIG_arg_fail(1)) SWIG_fail;
23213 {
23214 PyThreadState* __tstate = wxPyBeginAllowThreads();
23215 result = (bool)(arg1)->ProcessIdle();
23216
23217 wxPyEndAllowThreads(__tstate);
23218 if (PyErr_Occurred()) SWIG_fail;
23219 }
23220 {
23221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23222 }
23223 return resultobj;
23224 fail:
23225 return NULL;
23226 }
23227
23228
23229 static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) {
23230 PyObject *resultobj;
23231 wxPyApp *arg1 = (wxPyApp *) 0 ;
23232 wxWindow *arg2 = (wxWindow *) 0 ;
23233 wxIdleEvent *arg3 = 0 ;
23234 bool result;
23235 PyObject * obj0 = 0 ;
23236 PyObject * obj1 = 0 ;
23237 PyObject * obj2 = 0 ;
23238 char *kwnames[] = {
23239 (char *) "self",(char *) "win",(char *) "event", NULL
23240 };
23241
23242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
23243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23244 if (SWIG_arg_fail(1)) SWIG_fail;
23245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23246 if (SWIG_arg_fail(2)) SWIG_fail;
23247 {
23248 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0);
23249 if (SWIG_arg_fail(3)) SWIG_fail;
23250 if (arg3 == NULL) {
23251 SWIG_null_ref("wxIdleEvent");
23252 }
23253 if (SWIG_arg_fail(3)) SWIG_fail;
23254 }
23255 {
23256 PyThreadState* __tstate = wxPyBeginAllowThreads();
23257 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
23258
23259 wxPyEndAllowThreads(__tstate);
23260 if (PyErr_Occurred()) SWIG_fail;
23261 }
23262 {
23263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23264 }
23265 return resultobj;
23266 fail:
23267 return NULL;
23268 }
23269
23270
23271 static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
23272 PyObject *resultobj;
23273 wxPyApp *arg1 = (wxPyApp *) 0 ;
23274 bool result;
23275 PyObject * obj0 = 0 ;
23276 char *kwnames[] = {
23277 (char *) "self", NULL
23278 };
23279
23280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
23281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23282 if (SWIG_arg_fail(1)) SWIG_fail;
23283 {
23284 PyThreadState* __tstate = wxPyBeginAllowThreads();
23285 result = (bool)((wxPyApp const *)arg1)->IsActive();
23286
23287 wxPyEndAllowThreads(__tstate);
23288 if (PyErr_Occurred()) SWIG_fail;
23289 }
23290 {
23291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23292 }
23293 return resultobj;
23294 fail:
23295 return NULL;
23296 }
23297
23298
23299 static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
23300 PyObject *resultobj;
23301 wxPyApp *arg1 = (wxPyApp *) 0 ;
23302 wxWindow *arg2 = (wxWindow *) 0 ;
23303 PyObject * obj0 = 0 ;
23304 PyObject * obj1 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self",(char *) "win", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
23310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail;
23312 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23313 if (SWIG_arg_fail(2)) SWIG_fail;
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 (arg1)->SetTopWindow(arg2);
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 Py_INCREF(Py_None); resultobj = Py_None;
23322 return resultobj;
23323 fail:
23324 return NULL;
23325 }
23326
23327
23328 static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
23329 PyObject *resultobj;
23330 wxPyApp *arg1 = (wxPyApp *) 0 ;
23331 wxWindow *result;
23332 PyObject * obj0 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "self", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
23338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail;
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
23343
23344 wxPyEndAllowThreads(__tstate);
23345 if (PyErr_Occurred()) SWIG_fail;
23346 }
23347 {
23348 resultobj = wxPyMake_wxObject(result, 0);
23349 }
23350 return resultobj;
23351 fail:
23352 return NULL;
23353 }
23354
23355
23356 static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
23357 PyObject *resultobj;
23358 wxPyApp *arg1 = (wxPyApp *) 0 ;
23359 bool arg2 ;
23360 PyObject * obj0 = 0 ;
23361 PyObject * obj1 = 0 ;
23362 char *kwnames[] = {
23363 (char *) "self",(char *) "flag", NULL
23364 };
23365
23366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
23367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23368 if (SWIG_arg_fail(1)) SWIG_fail;
23369 {
23370 arg2 = (bool)(SWIG_As_bool(obj1));
23371 if (SWIG_arg_fail(2)) SWIG_fail;
23372 }
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 (arg1)->SetExitOnFrameDelete(arg2);
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 Py_INCREF(Py_None); resultobj = Py_None;
23381 return resultobj;
23382 fail:
23383 return NULL;
23384 }
23385
23386
23387 static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
23388 PyObject *resultobj;
23389 wxPyApp *arg1 = (wxPyApp *) 0 ;
23390 bool result;
23391 PyObject * obj0 = 0 ;
23392 char *kwnames[] = {
23393 (char *) "self", NULL
23394 };
23395
23396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
23397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23398 if (SWIG_arg_fail(1)) SWIG_fail;
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
23402
23403 wxPyEndAllowThreads(__tstate);
23404 if (PyErr_Occurred()) SWIG_fail;
23405 }
23406 {
23407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23408 }
23409 return resultobj;
23410 fail:
23411 return NULL;
23412 }
23413
23414
23415 static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
23416 PyObject *resultobj;
23417 wxPyApp *arg1 = (wxPyApp *) 0 ;
23418 bool arg2 ;
23419 PyObject * obj0 = 0 ;
23420 PyObject * obj1 = 0 ;
23421 char *kwnames[] = {
23422 (char *) "self",(char *) "flag", NULL
23423 };
23424
23425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
23426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23427 if (SWIG_arg_fail(1)) SWIG_fail;
23428 {
23429 arg2 = (bool)(SWIG_As_bool(obj1));
23430 if (SWIG_arg_fail(2)) SWIG_fail;
23431 }
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 (arg1)->SetUseBestVisual(arg2);
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 Py_INCREF(Py_None); resultobj = Py_None;
23440 return resultobj;
23441 fail:
23442 return NULL;
23443 }
23444
23445
23446 static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
23447 PyObject *resultobj;
23448 wxPyApp *arg1 = (wxPyApp *) 0 ;
23449 bool result;
23450 PyObject * obj0 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "self", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
23456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23457 if (SWIG_arg_fail(1)) SWIG_fail;
23458 {
23459 PyThreadState* __tstate = wxPyBeginAllowThreads();
23460 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
23461
23462 wxPyEndAllowThreads(__tstate);
23463 if (PyErr_Occurred()) SWIG_fail;
23464 }
23465 {
23466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23467 }
23468 return resultobj;
23469 fail:
23470 return NULL;
23471 }
23472
23473
23474 static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
23475 PyObject *resultobj;
23476 wxPyApp *arg1 = (wxPyApp *) 0 ;
23477 int arg2 ;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj1 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self",(char *) "mode", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
23485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23486 if (SWIG_arg_fail(1)) SWIG_fail;
23487 {
23488 arg2 = (int)(SWIG_As_int(obj1));
23489 if (SWIG_arg_fail(2)) SWIG_fail;
23490 }
23491 {
23492 PyThreadState* __tstate = wxPyBeginAllowThreads();
23493 (arg1)->SetPrintMode(arg2);
23494
23495 wxPyEndAllowThreads(__tstate);
23496 if (PyErr_Occurred()) SWIG_fail;
23497 }
23498 Py_INCREF(Py_None); resultobj = Py_None;
23499 return resultobj;
23500 fail:
23501 return NULL;
23502 }
23503
23504
23505 static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
23506 PyObject *resultobj;
23507 wxPyApp *arg1 = (wxPyApp *) 0 ;
23508 int result;
23509 PyObject * obj0 = 0 ;
23510 char *kwnames[] = {
23511 (char *) "self", NULL
23512 };
23513
23514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
23515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23516 if (SWIG_arg_fail(1)) SWIG_fail;
23517 {
23518 PyThreadState* __tstate = wxPyBeginAllowThreads();
23519 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
23520
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 {
23525 resultobj = SWIG_From_int((int)(result));
23526 }
23527 return resultobj;
23528 fail:
23529 return NULL;
23530 }
23531
23532
23533 static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
23534 PyObject *resultobj;
23535 wxPyApp *arg1 = (wxPyApp *) 0 ;
23536 int arg2 ;
23537 PyObject * obj0 = 0 ;
23538 PyObject * obj1 = 0 ;
23539 char *kwnames[] = {
23540 (char *) "self",(char *) "mode", NULL
23541 };
23542
23543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
23544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23545 if (SWIG_arg_fail(1)) SWIG_fail;
23546 {
23547 arg2 = (int)(SWIG_As_int(obj1));
23548 if (SWIG_arg_fail(2)) SWIG_fail;
23549 }
23550 {
23551 PyThreadState* __tstate = wxPyBeginAllowThreads();
23552 (arg1)->SetAssertMode(arg2);
23553
23554 wxPyEndAllowThreads(__tstate);
23555 if (PyErr_Occurred()) SWIG_fail;
23556 }
23557 Py_INCREF(Py_None); resultobj = Py_None;
23558 return resultobj;
23559 fail:
23560 return NULL;
23561 }
23562
23563
23564 static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
23565 PyObject *resultobj;
23566 wxPyApp *arg1 = (wxPyApp *) 0 ;
23567 int result;
23568 PyObject * obj0 = 0 ;
23569 char *kwnames[] = {
23570 (char *) "self", NULL
23571 };
23572
23573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
23574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23575 if (SWIG_arg_fail(1)) SWIG_fail;
23576 {
23577 PyThreadState* __tstate = wxPyBeginAllowThreads();
23578 result = (int)(arg1)->GetAssertMode();
23579
23580 wxPyEndAllowThreads(__tstate);
23581 if (PyErr_Occurred()) SWIG_fail;
23582 }
23583 {
23584 resultobj = SWIG_From_int((int)(result));
23585 }
23586 return resultobj;
23587 fail:
23588 return NULL;
23589 }
23590
23591
23592 static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
23593 PyObject *resultobj;
23594 bool result;
23595 char *kwnames[] = {
23596 NULL
23597 };
23598
23599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
23600 {
23601 PyThreadState* __tstate = wxPyBeginAllowThreads();
23602 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23603
23604 wxPyEndAllowThreads(__tstate);
23605 if (PyErr_Occurred()) SWIG_fail;
23606 }
23607 {
23608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23609 }
23610 return resultobj;
23611 fail:
23612 return NULL;
23613 }
23614
23615
23616 static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
23617 PyObject *resultobj;
23618 long result;
23619 char *kwnames[] = {
23620 NULL
23621 };
23622
23623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 result = (long)wxPyApp::GetMacAboutMenuItemId();
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 {
23632 resultobj = SWIG_From_long((long)(result));
23633 }
23634 return resultobj;
23635 fail:
23636 return NULL;
23637 }
23638
23639
23640 static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
23641 PyObject *resultobj;
23642 long result;
23643 char *kwnames[] = {
23644 NULL
23645 };
23646
23647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 {
23656 resultobj = SWIG_From_long((long)(result));
23657 }
23658 return resultobj;
23659 fail:
23660 return NULL;
23661 }
23662
23663
23664 static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
23665 PyObject *resultobj;
23666 long result;
23667 char *kwnames[] = {
23668 NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
23672 {
23673 PyThreadState* __tstate = wxPyBeginAllowThreads();
23674 result = (long)wxPyApp::GetMacExitMenuItemId();
23675
23676 wxPyEndAllowThreads(__tstate);
23677 if (PyErr_Occurred()) SWIG_fail;
23678 }
23679 {
23680 resultobj = SWIG_From_long((long)(result));
23681 }
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 wxString result;
23691 char *kwnames[] = {
23692 NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = wxPyApp::GetMacHelpMenuTitleName();
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
23703 {
23704 #if wxUSE_UNICODE
23705 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23706 #else
23707 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23708 #endif
23709 }
23710 return resultobj;
23711 fail:
23712 return NULL;
23713 }
23714
23715
23716 static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
23717 PyObject *resultobj;
23718 bool arg1 ;
23719 PyObject * obj0 = 0 ;
23720 char *kwnames[] = {
23721 (char *) "val", NULL
23722 };
23723
23724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
23725 {
23726 arg1 = (bool)(SWIG_As_bool(obj0));
23727 if (SWIG_arg_fail(1)) SWIG_fail;
23728 }
23729 {
23730 PyThreadState* __tstate = wxPyBeginAllowThreads();
23731 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
23732
23733 wxPyEndAllowThreads(__tstate);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 }
23736 Py_INCREF(Py_None); resultobj = Py_None;
23737 return resultobj;
23738 fail:
23739 return NULL;
23740 }
23741
23742
23743 static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
23744 PyObject *resultobj;
23745 long arg1 ;
23746 PyObject * obj0 = 0 ;
23747 char *kwnames[] = {
23748 (char *) "val", NULL
23749 };
23750
23751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
23752 {
23753 arg1 = (long)(SWIG_As_long(obj0));
23754 if (SWIG_arg_fail(1)) SWIG_fail;
23755 }
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 wxPyApp::SetMacAboutMenuItemId(arg1);
23759
23760 wxPyEndAllowThreads(__tstate);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 }
23763 Py_INCREF(Py_None); resultobj = Py_None;
23764 return resultobj;
23765 fail:
23766 return NULL;
23767 }
23768
23769
23770 static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
23771 PyObject *resultobj;
23772 long arg1 ;
23773 PyObject * obj0 = 0 ;
23774 char *kwnames[] = {
23775 (char *) "val", NULL
23776 };
23777
23778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
23779 {
23780 arg1 = (long)(SWIG_As_long(obj0));
23781 if (SWIG_arg_fail(1)) SWIG_fail;
23782 }
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 wxPyApp::SetMacPreferencesMenuItemId(arg1);
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 Py_INCREF(Py_None); resultobj = Py_None;
23791 return resultobj;
23792 fail:
23793 return NULL;
23794 }
23795
23796
23797 static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
23798 PyObject *resultobj;
23799 long arg1 ;
23800 PyObject * obj0 = 0 ;
23801 char *kwnames[] = {
23802 (char *) "val", NULL
23803 };
23804
23805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
23806 {
23807 arg1 = (long)(SWIG_As_long(obj0));
23808 if (SWIG_arg_fail(1)) SWIG_fail;
23809 }
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 wxPyApp::SetMacExitMenuItemId(arg1);
23813
23814 wxPyEndAllowThreads(__tstate);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 Py_INCREF(Py_None); resultobj = Py_None;
23818 return resultobj;
23819 fail:
23820 return NULL;
23821 }
23822
23823
23824 static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
23825 PyObject *resultobj;
23826 wxString *arg1 = 0 ;
23827 bool temp1 = false ;
23828 PyObject * obj0 = 0 ;
23829 char *kwnames[] = {
23830 (char *) "val", NULL
23831 };
23832
23833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
23834 {
23835 arg1 = wxString_in_helper(obj0);
23836 if (arg1 == NULL) SWIG_fail;
23837 temp1 = true;
23838 }
23839 {
23840 PyThreadState* __tstate = wxPyBeginAllowThreads();
23841 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
23842
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 Py_INCREF(Py_None); resultobj = Py_None;
23847 {
23848 if (temp1)
23849 delete arg1;
23850 }
23851 return resultobj;
23852 fail:
23853 {
23854 if (temp1)
23855 delete arg1;
23856 }
23857 return NULL;
23858 }
23859
23860
23861 static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) {
23862 PyObject *resultobj;
23863 wxPyApp *arg1 = (wxPyApp *) 0 ;
23864 PyObject * obj0 = 0 ;
23865 char *kwnames[] = {
23866 (char *) "self", NULL
23867 };
23868
23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
23870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23871 if (SWIG_arg_fail(1)) SWIG_fail;
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
23874 (arg1)->_BootstrapApp();
23875
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
23879 Py_INCREF(Py_None); resultobj = Py_None;
23880 return resultobj;
23881 fail:
23882 return NULL;
23883 }
23884
23885
23886 static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj;
23888 int result;
23889 char *kwnames[] = {
23890 NULL
23891 };
23892
23893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
23894 {
23895 PyThreadState* __tstate = wxPyBeginAllowThreads();
23896 result = (int)wxPyApp::GetComCtl32Version();
23897
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 {
23902 resultobj = SWIG_From_int((int)(result));
23903 }
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 static PyObject * PyApp_swigregister(PyObject *, PyObject *args) {
23911 PyObject *obj;
23912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23913 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
23914 Py_INCREF(obj);
23915 return Py_BuildValue((char *)"");
23916 }
23917 static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
23918 PyObject *resultobj;
23919 char *kwnames[] = {
23920 NULL
23921 };
23922
23923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 wxExit();
23927
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 Py_INCREF(Py_None); resultobj = Py_None;
23932 return resultobj;
23933 fail:
23934 return NULL;
23935 }
23936
23937
23938 static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
23939 PyObject *resultobj;
23940 bool result;
23941 char *kwnames[] = {
23942 NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
23946 {
23947 PyThreadState* __tstate = wxPyBeginAllowThreads();
23948 result = (bool)wxYield();
23949
23950 wxPyEndAllowThreads(__tstate);
23951 if (PyErr_Occurred()) SWIG_fail;
23952 }
23953 {
23954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23955 }
23956 return resultobj;
23957 fail:
23958 return NULL;
23959 }
23960
23961
23962 static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
23963 PyObject *resultobj;
23964 bool result;
23965 char *kwnames[] = {
23966 NULL
23967 };
23968
23969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
23970 {
23971 PyThreadState* __tstate = wxPyBeginAllowThreads();
23972 result = (bool)wxYieldIfNeeded();
23973
23974 wxPyEndAllowThreads(__tstate);
23975 if (PyErr_Occurred()) SWIG_fail;
23976 }
23977 {
23978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23979 }
23980 return resultobj;
23981 fail:
23982 return NULL;
23983 }
23984
23985
23986 static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
23987 PyObject *resultobj;
23988 wxWindow *arg1 = (wxWindow *) NULL ;
23989 bool arg2 = (bool) false ;
23990 bool result;
23991 PyObject * obj0 = 0 ;
23992 PyObject * obj1 = 0 ;
23993 char *kwnames[] = {
23994 (char *) "win",(char *) "onlyIfNeeded", NULL
23995 };
23996
23997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
23998 if (obj0) {
23999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24000 if (SWIG_arg_fail(1)) SWIG_fail;
24001 }
24002 if (obj1) {
24003 {
24004 arg2 = (bool)(SWIG_As_bool(obj1));
24005 if (SWIG_arg_fail(2)) SWIG_fail;
24006 }
24007 }
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 result = (bool)wxSafeYield(arg1,arg2);
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 {
24016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24017 }
24018 return resultobj;
24019 fail:
24020 return NULL;
24021 }
24022
24023
24024 static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
24025 PyObject *resultobj;
24026 char *kwnames[] = {
24027 NULL
24028 };
24029
24030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 wxWakeUpIdle();
24034
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 Py_INCREF(Py_None); resultobj = Py_None;
24039 return resultobj;
24040 fail:
24041 return NULL;
24042 }
24043
24044
24045 static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) {
24046 PyObject *resultobj;
24047 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
24048 wxEvent *arg2 = 0 ;
24049 PyObject * obj0 = 0 ;
24050 PyObject * obj1 = 0 ;
24051 char *kwnames[] = {
24052 (char *) "dest",(char *) "event", NULL
24053 };
24054
24055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
24056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
24057 if (SWIG_arg_fail(1)) SWIG_fail;
24058 {
24059 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
24060 if (SWIG_arg_fail(2)) SWIG_fail;
24061 if (arg2 == NULL) {
24062 SWIG_null_ref("wxEvent");
24063 }
24064 if (SWIG_arg_fail(2)) SWIG_fail;
24065 }
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
24068 wxPostEvent(arg1,*arg2);
24069
24070 wxPyEndAllowThreads(__tstate);
24071 if (PyErr_Occurred()) SWIG_fail;
24072 }
24073 Py_INCREF(Py_None); resultobj = Py_None;
24074 return resultobj;
24075 fail:
24076 return NULL;
24077 }
24078
24079
24080 static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
24081 PyObject *resultobj;
24082 char *kwnames[] = {
24083 NULL
24084 };
24085
24086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
24087 {
24088 PyThreadState* __tstate = wxPyBeginAllowThreads();
24089 wxApp_CleanUp();
24090
24091 wxPyEndAllowThreads(__tstate);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 }
24094 Py_INCREF(Py_None); resultobj = Py_None;
24095 return resultobj;
24096 fail:
24097 return NULL;
24098 }
24099
24100
24101 static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) {
24102 PyObject *resultobj;
24103 wxPyApp *result;
24104 char *kwnames[] = {
24105 NULL
24106 };
24107
24108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
24109 {
24110 PyThreadState* __tstate = wxPyBeginAllowThreads();
24111 result = (wxPyApp *)wxPyGetApp();
24112
24113 wxPyEndAllowThreads(__tstate);
24114 if (PyErr_Occurred()) SWIG_fail;
24115 }
24116 {
24117 resultobj = wxPyMake_wxObject(result, 0);
24118 }
24119 return resultobj;
24120 fail:
24121 return NULL;
24122 }
24123
24124
24125 static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
24126 PyObject *resultobj;
24127 char *arg1 = (char *) 0 ;
24128 PyObject * obj0 = 0 ;
24129 char *kwnames[] = {
24130 (char *) "encoding", NULL
24131 };
24132
24133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetDefaultPyEncoding",kwnames,&obj0)) goto fail;
24134 if (!SWIG_AsCharPtr(obj0, (char**)&arg1)) {
24135 SWIG_arg_fail(1);SWIG_fail;
24136 }
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 wxSetDefaultPyEncoding((char const *)arg1);
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 Py_INCREF(Py_None); resultobj = Py_None;
24145 return resultobj;
24146 fail:
24147 return NULL;
24148 }
24149
24150
24151 static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
24152 PyObject *resultobj;
24153 char *result;
24154 char *kwnames[] = {
24155 NULL
24156 };
24157
24158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDefaultPyEncoding",kwnames)) goto fail;
24159 {
24160 PyThreadState* __tstate = wxPyBeginAllowThreads();
24161 result = (char *)wxGetDefaultPyEncoding();
24162
24163 wxPyEndAllowThreads(__tstate);
24164 if (PyErr_Occurred()) SWIG_fail;
24165 }
24166 resultobj = SWIG_FromCharPtr(result);
24167 return resultobj;
24168 fail:
24169 return NULL;
24170 }
24171
24172
24173 static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
24174 PyObject *resultobj;
24175 wxEventLoop *result;
24176 char *kwnames[] = {
24177 NULL
24178 };
24179
24180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EventLoop",kwnames)) goto fail;
24181 {
24182 PyThreadState* __tstate = wxPyBeginAllowThreads();
24183 result = (wxEventLoop *)new wxEventLoop();
24184
24185 wxPyEndAllowThreads(__tstate);
24186 if (PyErr_Occurred()) SWIG_fail;
24187 }
24188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 1);
24189 return resultobj;
24190 fail:
24191 return NULL;
24192 }
24193
24194
24195 static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
24196 PyObject *resultobj;
24197 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24198 PyObject * obj0 = 0 ;
24199 char *kwnames[] = {
24200 (char *) "self", NULL
24201 };
24202
24203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoop",kwnames,&obj0)) goto fail;
24204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24205 if (SWIG_arg_fail(1)) SWIG_fail;
24206 {
24207 PyThreadState* __tstate = wxPyBeginAllowThreads();
24208 delete arg1;
24209
24210 wxPyEndAllowThreads(__tstate);
24211 if (PyErr_Occurred()) SWIG_fail;
24212 }
24213 Py_INCREF(Py_None); resultobj = Py_None;
24214 return resultobj;
24215 fail:
24216 return NULL;
24217 }
24218
24219
24220 static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) {
24221 PyObject *resultobj;
24222 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24223 int result;
24224 PyObject * obj0 = 0 ;
24225 char *kwnames[] = {
24226 (char *) "self", NULL
24227 };
24228
24229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Run",kwnames,&obj0)) goto fail;
24230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24231 if (SWIG_arg_fail(1)) SWIG_fail;
24232 {
24233 PyThreadState* __tstate = wxPyBeginAllowThreads();
24234 result = (int)(arg1)->Run();
24235
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 {
24240 resultobj = SWIG_From_int((int)(result));
24241 }
24242 return resultobj;
24243 fail:
24244 return NULL;
24245 }
24246
24247
24248 static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
24249 PyObject *resultobj;
24250 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24251 int arg2 = (int) 0 ;
24252 PyObject * obj0 = 0 ;
24253 PyObject * obj1 = 0 ;
24254 char *kwnames[] = {
24255 (char *) "self",(char *) "rc", NULL
24256 };
24257
24258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EventLoop_Exit",kwnames,&obj0,&obj1)) goto fail;
24259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24260 if (SWIG_arg_fail(1)) SWIG_fail;
24261 if (obj1) {
24262 {
24263 arg2 = (int)(SWIG_As_int(obj1));
24264 if (SWIG_arg_fail(2)) SWIG_fail;
24265 }
24266 }
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 (arg1)->Exit(arg2);
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 Py_INCREF(Py_None); resultobj = Py_None;
24275 return resultobj;
24276 fail:
24277 return NULL;
24278 }
24279
24280
24281 static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24284 bool result;
24285 PyObject * obj0 = 0 ;
24286 char *kwnames[] = {
24287 (char *) "self", NULL
24288 };
24289
24290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Pending",kwnames,&obj0)) goto fail;
24291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24292 if (SWIG_arg_fail(1)) SWIG_fail;
24293 {
24294 PyThreadState* __tstate = wxPyBeginAllowThreads();
24295 result = (bool)((wxEventLoop const *)arg1)->Pending();
24296
24297 wxPyEndAllowThreads(__tstate);
24298 if (PyErr_Occurred()) SWIG_fail;
24299 }
24300 {
24301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24302 }
24303 return resultobj;
24304 fail:
24305 return NULL;
24306 }
24307
24308
24309 static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
24310 PyObject *resultobj;
24311 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24312 bool result;
24313 PyObject * obj0 = 0 ;
24314 char *kwnames[] = {
24315 (char *) "self", NULL
24316 };
24317
24318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Dispatch",kwnames,&obj0)) goto fail;
24319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24320 if (SWIG_arg_fail(1)) SWIG_fail;
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 result = (bool)(arg1)->Dispatch();
24324
24325 wxPyEndAllowThreads(__tstate);
24326 if (PyErr_Occurred()) SWIG_fail;
24327 }
24328 {
24329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24330 }
24331 return resultobj;
24332 fail:
24333 return NULL;
24334 }
24335
24336
24337 static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
24338 PyObject *resultobj;
24339 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24340 bool result;
24341 PyObject * obj0 = 0 ;
24342 char *kwnames[] = {
24343 (char *) "self", NULL
24344 };
24345
24346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_IsRunning",kwnames,&obj0)) goto fail;
24347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24348 if (SWIG_arg_fail(1)) SWIG_fail;
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 result = (bool)((wxEventLoop const *)arg1)->IsRunning();
24352
24353 wxPyEndAllowThreads(__tstate);
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 {
24357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24358 }
24359 return resultobj;
24360 fail:
24361 return NULL;
24362 }
24363
24364
24365 static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
24366 PyObject *resultobj;
24367 wxEventLoop *result;
24368 char *kwnames[] = {
24369 NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EventLoop_GetActive",kwnames)) goto fail;
24373 {
24374 PyThreadState* __tstate = wxPyBeginAllowThreads();
24375 result = (wxEventLoop *)wxEventLoop::GetActive();
24376
24377 wxPyEndAllowThreads(__tstate);
24378 if (PyErr_Occurred()) SWIG_fail;
24379 }
24380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 0);
24381 return resultobj;
24382 fail:
24383 return NULL;
24384 }
24385
24386
24387 static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) {
24388 PyObject *resultobj;
24389 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24390 PyObject * obj0 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "loop", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_SetActive",kwnames,&obj0)) goto fail;
24396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24397 if (SWIG_arg_fail(1)) SWIG_fail;
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 wxEventLoop::SetActive(arg1);
24401
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
24405 Py_INCREF(Py_None); resultobj = Py_None;
24406 return resultobj;
24407 fail:
24408 return NULL;
24409 }
24410
24411
24412 static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) {
24413 PyObject *obj;
24414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24415 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop, obj);
24416 Py_INCREF(obj);
24417 return Py_BuildValue((char *)"");
24418 }
24419 static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
24420 PyObject *resultobj;
24421 int arg1 = (int) 0 ;
24422 int arg2 = (int) 0 ;
24423 int arg3 = (int) 0 ;
24424 wxAcceleratorEntry *result;
24425 PyObject * obj0 = 0 ;
24426 PyObject * obj1 = 0 ;
24427 PyObject * obj2 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
24433 if (obj0) {
24434 {
24435 arg1 = (int)(SWIG_As_int(obj0));
24436 if (SWIG_arg_fail(1)) SWIG_fail;
24437 }
24438 }
24439 if (obj1) {
24440 {
24441 arg2 = (int)(SWIG_As_int(obj1));
24442 if (SWIG_arg_fail(2)) SWIG_fail;
24443 }
24444 }
24445 if (obj2) {
24446 {
24447 arg3 = (int)(SWIG_As_int(obj2));
24448 if (SWIG_arg_fail(3)) SWIG_fail;
24449 }
24450 }
24451 {
24452 PyThreadState* __tstate = wxPyBeginAllowThreads();
24453 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
24454
24455 wxPyEndAllowThreads(__tstate);
24456 if (PyErr_Occurred()) SWIG_fail;
24457 }
24458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
24459 return resultobj;
24460 fail:
24461 return NULL;
24462 }
24463
24464
24465 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
24466 PyObject *resultobj;
24467 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
24468 PyObject * obj0 = 0 ;
24469 char *kwnames[] = {
24470 (char *) "self", NULL
24471 };
24472
24473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
24474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
24475 if (SWIG_arg_fail(1)) SWIG_fail;
24476 {
24477 PyThreadState* __tstate = wxPyBeginAllowThreads();
24478 delete arg1;
24479
24480 wxPyEndAllowThreads(__tstate);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 }
24483 Py_INCREF(Py_None); resultobj = Py_None;
24484 return resultobj;
24485 fail:
24486 return NULL;
24487 }
24488
24489
24490 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) {
24491 PyObject *resultobj;
24492 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
24493 int arg2 ;
24494 int arg3 ;
24495 int arg4 ;
24496 PyObject * obj0 = 0 ;
24497 PyObject * obj1 = 0 ;
24498 PyObject * obj2 = 0 ;
24499 PyObject * obj3 = 0 ;
24500 char *kwnames[] = {
24501 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24502 };
24503
24504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
24506 if (SWIG_arg_fail(1)) SWIG_fail;
24507 {
24508 arg2 = (int)(SWIG_As_int(obj1));
24509 if (SWIG_arg_fail(2)) SWIG_fail;
24510 }
24511 {
24512 arg3 = (int)(SWIG_As_int(obj2));
24513 if (SWIG_arg_fail(3)) SWIG_fail;
24514 }
24515 {
24516 arg4 = (int)(SWIG_As_int(obj3));
24517 if (SWIG_arg_fail(4)) SWIG_fail;
24518 }
24519 {
24520 PyThreadState* __tstate = wxPyBeginAllowThreads();
24521 (arg1)->Set(arg2,arg3,arg4);
24522
24523 wxPyEndAllowThreads(__tstate);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 }
24526 Py_INCREF(Py_None); resultobj = Py_None;
24527 return resultobj;
24528 fail:
24529 return NULL;
24530 }
24531
24532
24533 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
24534 PyObject *resultobj;
24535 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
24536 int result;
24537 PyObject * obj0 = 0 ;
24538 char *kwnames[] = {
24539 (char *) "self", NULL
24540 };
24541
24542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
24543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
24544 if (SWIG_arg_fail(1)) SWIG_fail;
24545 {
24546 PyThreadState* __tstate = wxPyBeginAllowThreads();
24547 result = (int)(arg1)->GetFlags();
24548
24549 wxPyEndAllowThreads(__tstate);
24550 if (PyErr_Occurred()) SWIG_fail;
24551 }
24552 {
24553 resultobj = SWIG_From_int((int)(result));
24554 }
24555 return resultobj;
24556 fail:
24557 return NULL;
24558 }
24559
24560
24561 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
24562 PyObject *resultobj;
24563 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
24564 int result;
24565 PyObject * obj0 = 0 ;
24566 char *kwnames[] = {
24567 (char *) "self", NULL
24568 };
24569
24570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
24571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
24572 if (SWIG_arg_fail(1)) SWIG_fail;
24573 {
24574 PyThreadState* __tstate = wxPyBeginAllowThreads();
24575 result = (int)(arg1)->GetKeyCode();
24576
24577 wxPyEndAllowThreads(__tstate);
24578 if (PyErr_Occurred()) SWIG_fail;
24579 }
24580 {
24581 resultobj = SWIG_From_int((int)(result));
24582 }
24583 return resultobj;
24584 fail:
24585 return NULL;
24586 }
24587
24588
24589 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
24590 PyObject *resultobj;
24591 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
24592 int result;
24593 PyObject * obj0 = 0 ;
24594 char *kwnames[] = {
24595 (char *) "self", NULL
24596 };
24597
24598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
24599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail;
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 result = (int)(arg1)->GetCommand();
24604
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 {
24609 resultobj = SWIG_From_int((int)(result));
24610 }
24611 return resultobj;
24612 fail:
24613 return NULL;
24614 }
24615
24616
24617 static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) {
24618 PyObject *obj;
24619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24620 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
24621 Py_INCREF(obj);
24622 return Py_BuildValue((char *)"");
24623 }
24624 static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
24625 PyObject *resultobj;
24626 int arg1 ;
24627 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
24628 wxAcceleratorTable *result;
24629 PyObject * obj0 = 0 ;
24630 char *kwnames[] = {
24631 (char *) "n", NULL
24632 };
24633
24634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
24635 {
24636 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
24637 if (arg2) arg1 = PyList_Size(obj0);
24638 else arg1 = 0;
24639 }
24640 {
24641 PyThreadState* __tstate = wxPyBeginAllowThreads();
24642 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
24643
24644 wxPyEndAllowThreads(__tstate);
24645 if (PyErr_Occurred()) SWIG_fail;
24646 }
24647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
24648 {
24649 delete [] arg2;
24650 }
24651 return resultobj;
24652 fail:
24653 {
24654 delete [] arg2;
24655 }
24656 return NULL;
24657 }
24658
24659
24660 static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
24661 PyObject *resultobj;
24662 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
24663 PyObject * obj0 = 0 ;
24664 char *kwnames[] = {
24665 (char *) "self", NULL
24666 };
24667
24668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
24669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0);
24670 if (SWIG_arg_fail(1)) SWIG_fail;
24671 {
24672 PyThreadState* __tstate = wxPyBeginAllowThreads();
24673 delete arg1;
24674
24675 wxPyEndAllowThreads(__tstate);
24676 if (PyErr_Occurred()) SWIG_fail;
24677 }
24678 Py_INCREF(Py_None); resultobj = Py_None;
24679 return resultobj;
24680 fail:
24681 return NULL;
24682 }
24683
24684
24685 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24686 PyObject *resultobj;
24687 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
24688 bool result;
24689 PyObject * obj0 = 0 ;
24690 char *kwnames[] = {
24691 (char *) "self", NULL
24692 };
24693
24694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
24695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail;
24697 {
24698 PyThreadState* __tstate = wxPyBeginAllowThreads();
24699 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
24700
24701 wxPyEndAllowThreads(__tstate);
24702 if (PyErr_Occurred()) SWIG_fail;
24703 }
24704 {
24705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24706 }
24707 return resultobj;
24708 fail:
24709 return NULL;
24710 }
24711
24712
24713 static PyObject * AcceleratorTable_swigregister(PyObject *, PyObject *args) {
24714 PyObject *obj;
24715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24716 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
24717 Py_INCREF(obj);
24718 return Py_BuildValue((char *)"");
24719 }
24720 static int _wrap_NullAcceleratorTable_set(PyObject *) {
24721 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
24722 return 1;
24723 }
24724
24725
24726 static PyObject *_wrap_NullAcceleratorTable_get(void) {
24727 PyObject *pyobj;
24728
24729 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
24730 return pyobj;
24731 }
24732
24733
24734 static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) {
24735 PyObject *resultobj;
24736 wxString *arg1 = 0 ;
24737 wxAcceleratorEntry *result;
24738 bool temp1 = false ;
24739 PyObject * obj0 = 0 ;
24740 char *kwnames[] = {
24741 (char *) "label", NULL
24742 };
24743
24744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
24745 {
24746 arg1 = wxString_in_helper(obj0);
24747 if (arg1 == NULL) SWIG_fail;
24748 temp1 = true;
24749 }
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
24758 {
24759 if (temp1)
24760 delete arg1;
24761 }
24762 return resultobj;
24763 fail:
24764 {
24765 if (temp1)
24766 delete arg1;
24767 }
24768 return NULL;
24769 }
24770
24771
24772 static int _wrap_PanelNameStr_set(PyObject *) {
24773 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
24774 return 1;
24775 }
24776
24777
24778 static PyObject *_wrap_PanelNameStr_get(void) {
24779 PyObject *pyobj;
24780
24781 {
24782 #if wxUSE_UNICODE
24783 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
24784 #else
24785 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
24786 #endif
24787 }
24788 return pyobj;
24789 }
24790
24791
24792 static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
24793 PyObject *resultobj;
24794 wxVisualAttributes *result;
24795 char *kwnames[] = {
24796 NULL
24797 };
24798
24799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 result = (wxVisualAttributes *)new_wxVisualAttributes();
24803
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
24808 return resultobj;
24809 fail:
24810 return NULL;
24811 }
24812
24813
24814 static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
24815 PyObject *resultobj;
24816 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24817 PyObject * obj0 = 0 ;
24818 char *kwnames[] = {
24819 (char *) "self", NULL
24820 };
24821
24822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
24823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24824 if (SWIG_arg_fail(1)) SWIG_fail;
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 delete_wxVisualAttributes(arg1);
24828
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 Py_INCREF(Py_None); resultobj = Py_None;
24833 return resultobj;
24834 fail:
24835 return NULL;
24836 }
24837
24838
24839 static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) {
24840 PyObject *resultobj;
24841 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24842 wxFont *arg2 = (wxFont *) 0 ;
24843 PyObject * obj0 = 0 ;
24844 PyObject * obj1 = 0 ;
24845 char *kwnames[] = {
24846 (char *) "self",(char *) "font", NULL
24847 };
24848
24849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
24850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24851 if (SWIG_arg_fail(1)) SWIG_fail;
24852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
24853 if (SWIG_arg_fail(2)) SWIG_fail;
24854 if (arg1) (arg1)->font = *arg2;
24855
24856 Py_INCREF(Py_None); resultobj = Py_None;
24857 return resultobj;
24858 fail:
24859 return NULL;
24860 }
24861
24862
24863 static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) {
24864 PyObject *resultobj;
24865 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24866 wxFont *result;
24867 PyObject * obj0 = 0 ;
24868 char *kwnames[] = {
24869 (char *) "self", NULL
24870 };
24871
24872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
24873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24874 if (SWIG_arg_fail(1)) SWIG_fail;
24875 result = (wxFont *)& ((arg1)->font);
24876
24877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
24878 return resultobj;
24879 fail:
24880 return NULL;
24881 }
24882
24883
24884 static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) {
24885 PyObject *resultobj;
24886 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24887 wxColour *arg2 = (wxColour *) 0 ;
24888 PyObject * obj0 = 0 ;
24889 PyObject * obj1 = 0 ;
24890 char *kwnames[] = {
24891 (char *) "self",(char *) "colFg", NULL
24892 };
24893
24894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
24895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24896 if (SWIG_arg_fail(1)) SWIG_fail;
24897 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
24898 if (SWIG_arg_fail(2)) SWIG_fail;
24899 if (arg1) (arg1)->colFg = *arg2;
24900
24901 Py_INCREF(Py_None); resultobj = Py_None;
24902 return resultobj;
24903 fail:
24904 return NULL;
24905 }
24906
24907
24908 static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) {
24909 PyObject *resultobj;
24910 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24911 wxColour *result;
24912 PyObject * obj0 = 0 ;
24913 char *kwnames[] = {
24914 (char *) "self", NULL
24915 };
24916
24917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
24918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24919 if (SWIG_arg_fail(1)) SWIG_fail;
24920 result = (wxColour *)& ((arg1)->colFg);
24921
24922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
24923 return resultobj;
24924 fail:
24925 return NULL;
24926 }
24927
24928
24929 static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) {
24930 PyObject *resultobj;
24931 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24932 wxColour *arg2 = (wxColour *) 0 ;
24933 PyObject * obj0 = 0 ;
24934 PyObject * obj1 = 0 ;
24935 char *kwnames[] = {
24936 (char *) "self",(char *) "colBg", NULL
24937 };
24938
24939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
24940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail;
24942 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
24943 if (SWIG_arg_fail(2)) SWIG_fail;
24944 if (arg1) (arg1)->colBg = *arg2;
24945
24946 Py_INCREF(Py_None); resultobj = Py_None;
24947 return resultobj;
24948 fail:
24949 return NULL;
24950 }
24951
24952
24953 static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) {
24954 PyObject *resultobj;
24955 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24956 wxColour *result;
24957 PyObject * obj0 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self", NULL
24960 };
24961
24962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
24963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail;
24965 result = (wxColour *)& ((arg1)->colBg);
24966
24967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
24968 return resultobj;
24969 fail:
24970 return NULL;
24971 }
24972
24973
24974 static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) {
24975 PyObject *obj;
24976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24977 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
24978 Py_INCREF(obj);
24979 return Py_BuildValue((char *)"");
24980 }
24981 static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) {
24982 PyObject *resultobj;
24983 wxWindow *arg1 = (wxWindow *) 0 ;
24984 int arg2 = (int) (int)-1 ;
24985 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24986 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24987 wxSize const &arg4_defvalue = wxDefaultSize ;
24988 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24989 long arg5 = (long) 0 ;
24990 wxString const &arg6_defvalue = wxPyPanelNameStr ;
24991 wxString *arg6 = (wxString *) &arg6_defvalue ;
24992 wxWindow *result;
24993 wxPoint temp3 ;
24994 wxSize temp4 ;
24995 bool temp6 = false ;
24996 PyObject * obj0 = 0 ;
24997 PyObject * obj1 = 0 ;
24998 PyObject * obj2 = 0 ;
24999 PyObject * obj3 = 0 ;
25000 PyObject * obj4 = 0 ;
25001 PyObject * obj5 = 0 ;
25002 char *kwnames[] = {
25003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25004 };
25005
25006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25008 if (SWIG_arg_fail(1)) SWIG_fail;
25009 if (obj1) {
25010 {
25011 arg2 = (int const)(SWIG_As_int(obj1));
25012 if (SWIG_arg_fail(2)) SWIG_fail;
25013 }
25014 }
25015 if (obj2) {
25016 {
25017 arg3 = &temp3;
25018 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25019 }
25020 }
25021 if (obj3) {
25022 {
25023 arg4 = &temp4;
25024 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25025 }
25026 }
25027 if (obj4) {
25028 {
25029 arg5 = (long)(SWIG_As_long(obj4));
25030 if (SWIG_arg_fail(5)) SWIG_fail;
25031 }
25032 }
25033 if (obj5) {
25034 {
25035 arg6 = wxString_in_helper(obj5);
25036 if (arg6 == NULL) SWIG_fail;
25037 temp6 = true;
25038 }
25039 }
25040 {
25041 if (!wxPyCheckForApp()) SWIG_fail;
25042 PyThreadState* __tstate = wxPyBeginAllowThreads();
25043 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25044
25045 wxPyEndAllowThreads(__tstate);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
25048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
25049 {
25050 if (temp6)
25051 delete arg6;
25052 }
25053 return resultobj;
25054 fail:
25055 {
25056 if (temp6)
25057 delete arg6;
25058 }
25059 return NULL;
25060 }
25061
25062
25063 static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) {
25064 PyObject *resultobj;
25065 wxWindow *result;
25066 char *kwnames[] = {
25067 NULL
25068 };
25069
25070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
25071 {
25072 if (!wxPyCheckForApp()) SWIG_fail;
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 result = (wxWindow *)new wxWindow();
25075
25076 wxPyEndAllowThreads(__tstate);
25077 if (PyErr_Occurred()) SWIG_fail;
25078 }
25079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
25080 return resultobj;
25081 fail:
25082 return NULL;
25083 }
25084
25085
25086 static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) {
25087 PyObject *resultobj;
25088 wxWindow *arg1 = (wxWindow *) 0 ;
25089 wxWindow *arg2 = (wxWindow *) 0 ;
25090 int arg3 = (int) (int)-1 ;
25091 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25092 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25093 wxSize const &arg5_defvalue = wxDefaultSize ;
25094 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25095 long arg6 = (long) 0 ;
25096 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25097 wxString *arg7 = (wxString *) &arg7_defvalue ;
25098 bool result;
25099 wxPoint temp4 ;
25100 wxSize temp5 ;
25101 bool temp7 = false ;
25102 PyObject * obj0 = 0 ;
25103 PyObject * obj1 = 0 ;
25104 PyObject * obj2 = 0 ;
25105 PyObject * obj3 = 0 ;
25106 PyObject * obj4 = 0 ;
25107 PyObject * obj5 = 0 ;
25108 PyObject * obj6 = 0 ;
25109 char *kwnames[] = {
25110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25111 };
25112
25113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25115 if (SWIG_arg_fail(1)) SWIG_fail;
25116 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25117 if (SWIG_arg_fail(2)) SWIG_fail;
25118 if (obj2) {
25119 {
25120 arg3 = (int const)(SWIG_As_int(obj2));
25121 if (SWIG_arg_fail(3)) SWIG_fail;
25122 }
25123 }
25124 if (obj3) {
25125 {
25126 arg4 = &temp4;
25127 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25128 }
25129 }
25130 if (obj4) {
25131 {
25132 arg5 = &temp5;
25133 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25134 }
25135 }
25136 if (obj5) {
25137 {
25138 arg6 = (long)(SWIG_As_long(obj5));
25139 if (SWIG_arg_fail(6)) SWIG_fail;
25140 }
25141 }
25142 if (obj6) {
25143 {
25144 arg7 = wxString_in_helper(obj6);
25145 if (arg7 == NULL) SWIG_fail;
25146 temp7 = true;
25147 }
25148 }
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
25156 {
25157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25158 }
25159 {
25160 if (temp7)
25161 delete arg7;
25162 }
25163 return resultobj;
25164 fail:
25165 {
25166 if (temp7)
25167 delete arg7;
25168 }
25169 return NULL;
25170 }
25171
25172
25173 static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
25174 PyObject *resultobj;
25175 wxWindow *arg1 = (wxWindow *) 0 ;
25176 bool arg2 = (bool) false ;
25177 bool result;
25178 PyObject * obj0 = 0 ;
25179 PyObject * obj1 = 0 ;
25180 char *kwnames[] = {
25181 (char *) "self",(char *) "force", NULL
25182 };
25183
25184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
25185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25186 if (SWIG_arg_fail(1)) SWIG_fail;
25187 if (obj1) {
25188 {
25189 arg2 = (bool)(SWIG_As_bool(obj1));
25190 if (SWIG_arg_fail(2)) SWIG_fail;
25191 }
25192 }
25193 {
25194 PyThreadState* __tstate = wxPyBeginAllowThreads();
25195 result = (bool)(arg1)->Close(arg2);
25196
25197 wxPyEndAllowThreads(__tstate);
25198 if (PyErr_Occurred()) SWIG_fail;
25199 }
25200 {
25201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25202 }
25203 return resultobj;
25204 fail:
25205 return NULL;
25206 }
25207
25208
25209 static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
25210 PyObject *resultobj;
25211 wxWindow *arg1 = (wxWindow *) 0 ;
25212 bool result;
25213 PyObject * obj0 = 0 ;
25214 char *kwnames[] = {
25215 (char *) "self", NULL
25216 };
25217
25218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
25219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25220 if (SWIG_arg_fail(1)) SWIG_fail;
25221 {
25222 PyThreadState* __tstate = wxPyBeginAllowThreads();
25223 result = (bool)(arg1)->Destroy();
25224
25225 wxPyEndAllowThreads(__tstate);
25226 if (PyErr_Occurred()) SWIG_fail;
25227 }
25228 {
25229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25230 }
25231 return resultobj;
25232 fail:
25233 return NULL;
25234 }
25235
25236
25237 static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) {
25238 PyObject *resultobj;
25239 wxWindow *arg1 = (wxWindow *) 0 ;
25240 bool result;
25241 PyObject * obj0 = 0 ;
25242 char *kwnames[] = {
25243 (char *) "self", NULL
25244 };
25245
25246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
25247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25248 if (SWIG_arg_fail(1)) SWIG_fail;
25249 {
25250 PyThreadState* __tstate = wxPyBeginAllowThreads();
25251 result = (bool)(arg1)->DestroyChildren();
25252
25253 wxPyEndAllowThreads(__tstate);
25254 if (PyErr_Occurred()) SWIG_fail;
25255 }
25256 {
25257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25258 }
25259 return resultobj;
25260 fail:
25261 return NULL;
25262 }
25263
25264
25265 static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) {
25266 PyObject *resultobj;
25267 wxWindow *arg1 = (wxWindow *) 0 ;
25268 bool result;
25269 PyObject * obj0 = 0 ;
25270 char *kwnames[] = {
25271 (char *) "self", NULL
25272 };
25273
25274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
25275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25276 if (SWIG_arg_fail(1)) SWIG_fail;
25277 {
25278 PyThreadState* __tstate = wxPyBeginAllowThreads();
25279 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
25280
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 {
25285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25286 }
25287 return resultobj;
25288 fail:
25289 return NULL;
25290 }
25291
25292
25293 static PyObject *_wrap_Window_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
25294 PyObject *resultobj;
25295 wxWindow *arg1 = (wxWindow *) 0 ;
25296 wxString *arg2 = 0 ;
25297 bool temp2 = false ;
25298 PyObject * obj0 = 0 ;
25299 PyObject * obj1 = 0 ;
25300 char *kwnames[] = {
25301 (char *) "self",(char *) "title", NULL
25302 };
25303
25304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
25305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25306 if (SWIG_arg_fail(1)) SWIG_fail;
25307 {
25308 arg2 = wxString_in_helper(obj1);
25309 if (arg2 == NULL) SWIG_fail;
25310 temp2 = true;
25311 }
25312 {
25313 PyThreadState* __tstate = wxPyBeginAllowThreads();
25314 (arg1)->SetTitle((wxString const &)*arg2);
25315
25316 wxPyEndAllowThreads(__tstate);
25317 if (PyErr_Occurred()) SWIG_fail;
25318 }
25319 Py_INCREF(Py_None); resultobj = Py_None;
25320 {
25321 if (temp2)
25322 delete arg2;
25323 }
25324 return resultobj;
25325 fail:
25326 {
25327 if (temp2)
25328 delete arg2;
25329 }
25330 return NULL;
25331 }
25332
25333
25334 static PyObject *_wrap_Window_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
25335 PyObject *resultobj;
25336 wxWindow *arg1 = (wxWindow *) 0 ;
25337 wxString result;
25338 PyObject * obj0 = 0 ;
25339 char *kwnames[] = {
25340 (char *) "self", NULL
25341 };
25342
25343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
25344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25345 if (SWIG_arg_fail(1)) SWIG_fail;
25346 {
25347 PyThreadState* __tstate = wxPyBeginAllowThreads();
25348 result = ((wxWindow const *)arg1)->GetTitle();
25349
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 {
25354 #if wxUSE_UNICODE
25355 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25356 #else
25357 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25358 #endif
25359 }
25360 return resultobj;
25361 fail:
25362 return NULL;
25363 }
25364
25365
25366 static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25367 PyObject *resultobj;
25368 wxWindow *arg1 = (wxWindow *) 0 ;
25369 wxString *arg2 = 0 ;
25370 bool temp2 = false ;
25371 PyObject * obj0 = 0 ;
25372 PyObject * obj1 = 0 ;
25373 char *kwnames[] = {
25374 (char *) "self",(char *) "label", NULL
25375 };
25376
25377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
25378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25379 if (SWIG_arg_fail(1)) SWIG_fail;
25380 {
25381 arg2 = wxString_in_helper(obj1);
25382 if (arg2 == NULL) SWIG_fail;
25383 temp2 = true;
25384 }
25385 {
25386 PyThreadState* __tstate = wxPyBeginAllowThreads();
25387 (arg1)->SetLabel((wxString const &)*arg2);
25388
25389 wxPyEndAllowThreads(__tstate);
25390 if (PyErr_Occurred()) SWIG_fail;
25391 }
25392 Py_INCREF(Py_None); resultobj = Py_None;
25393 {
25394 if (temp2)
25395 delete arg2;
25396 }
25397 return resultobj;
25398 fail:
25399 {
25400 if (temp2)
25401 delete arg2;
25402 }
25403 return NULL;
25404 }
25405
25406
25407 static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25408 PyObject *resultobj;
25409 wxWindow *arg1 = (wxWindow *) 0 ;
25410 wxString result;
25411 PyObject * obj0 = 0 ;
25412 char *kwnames[] = {
25413 (char *) "self", NULL
25414 };
25415
25416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
25417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25418 if (SWIG_arg_fail(1)) SWIG_fail;
25419 {
25420 PyThreadState* __tstate = wxPyBeginAllowThreads();
25421 result = ((wxWindow const *)arg1)->GetLabel();
25422
25423 wxPyEndAllowThreads(__tstate);
25424 if (PyErr_Occurred()) SWIG_fail;
25425 }
25426 {
25427 #if wxUSE_UNICODE
25428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25429 #else
25430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25431 #endif
25432 }
25433 return resultobj;
25434 fail:
25435 return NULL;
25436 }
25437
25438
25439 static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
25440 PyObject *resultobj;
25441 wxWindow *arg1 = (wxWindow *) 0 ;
25442 wxString *arg2 = 0 ;
25443 bool temp2 = false ;
25444 PyObject * obj0 = 0 ;
25445 PyObject * obj1 = 0 ;
25446 char *kwnames[] = {
25447 (char *) "self",(char *) "name", NULL
25448 };
25449
25450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
25451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25452 if (SWIG_arg_fail(1)) SWIG_fail;
25453 {
25454 arg2 = wxString_in_helper(obj1);
25455 if (arg2 == NULL) SWIG_fail;
25456 temp2 = true;
25457 }
25458 {
25459 PyThreadState* __tstate = wxPyBeginAllowThreads();
25460 (arg1)->SetName((wxString const &)*arg2);
25461
25462 wxPyEndAllowThreads(__tstate);
25463 if (PyErr_Occurred()) SWIG_fail;
25464 }
25465 Py_INCREF(Py_None); resultobj = Py_None;
25466 {
25467 if (temp2)
25468 delete arg2;
25469 }
25470 return resultobj;
25471 fail:
25472 {
25473 if (temp2)
25474 delete arg2;
25475 }
25476 return NULL;
25477 }
25478
25479
25480 static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
25481 PyObject *resultobj;
25482 wxWindow *arg1 = (wxWindow *) 0 ;
25483 wxString result;
25484 PyObject * obj0 = 0 ;
25485 char *kwnames[] = {
25486 (char *) "self", NULL
25487 };
25488
25489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
25490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25491 if (SWIG_arg_fail(1)) SWIG_fail;
25492 {
25493 PyThreadState* __tstate = wxPyBeginAllowThreads();
25494 result = ((wxWindow const *)arg1)->GetName();
25495
25496 wxPyEndAllowThreads(__tstate);
25497 if (PyErr_Occurred()) SWIG_fail;
25498 }
25499 {
25500 #if wxUSE_UNICODE
25501 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25502 #else
25503 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25504 #endif
25505 }
25506 return resultobj;
25507 fail:
25508 return NULL;
25509 }
25510
25511
25512 static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
25513 PyObject *resultobj;
25514 wxWindow *arg1 = (wxWindow *) 0 ;
25515 wxWindowVariant arg2 ;
25516 PyObject * obj0 = 0 ;
25517 PyObject * obj1 = 0 ;
25518 char *kwnames[] = {
25519 (char *) "self",(char *) "variant", NULL
25520 };
25521
25522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
25523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail;
25525 {
25526 arg2 = (wxWindowVariant)(SWIG_As_int(obj1));
25527 if (SWIG_arg_fail(2)) SWIG_fail;
25528 }
25529 {
25530 PyThreadState* __tstate = wxPyBeginAllowThreads();
25531 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
25532
25533 wxPyEndAllowThreads(__tstate);
25534 if (PyErr_Occurred()) SWIG_fail;
25535 }
25536 Py_INCREF(Py_None); resultobj = Py_None;
25537 return resultobj;
25538 fail:
25539 return NULL;
25540 }
25541
25542
25543 static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
25544 PyObject *resultobj;
25545 wxWindow *arg1 = (wxWindow *) 0 ;
25546 wxWindowVariant result;
25547 PyObject * obj0 = 0 ;
25548 char *kwnames[] = {
25549 (char *) "self", NULL
25550 };
25551
25552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
25553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25554 if (SWIG_arg_fail(1)) SWIG_fail;
25555 {
25556 PyThreadState* __tstate = wxPyBeginAllowThreads();
25557 result = (wxWindowVariant)((wxWindow const *)arg1)->GetWindowVariant();
25558
25559 wxPyEndAllowThreads(__tstate);
25560 if (PyErr_Occurred()) SWIG_fail;
25561 }
25562 resultobj = SWIG_From_int((result));
25563 return resultobj;
25564 fail:
25565 return NULL;
25566 }
25567
25568
25569 static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
25570 PyObject *resultobj;
25571 wxWindow *arg1 = (wxWindow *) 0 ;
25572 int arg2 ;
25573 PyObject * obj0 = 0 ;
25574 PyObject * obj1 = 0 ;
25575 char *kwnames[] = {
25576 (char *) "self",(char *) "winid", NULL
25577 };
25578
25579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
25580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25581 if (SWIG_arg_fail(1)) SWIG_fail;
25582 {
25583 arg2 = (int)(SWIG_As_int(obj1));
25584 if (SWIG_arg_fail(2)) SWIG_fail;
25585 }
25586 {
25587 PyThreadState* __tstate = wxPyBeginAllowThreads();
25588 (arg1)->SetId(arg2);
25589
25590 wxPyEndAllowThreads(__tstate);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 Py_INCREF(Py_None); resultobj = Py_None;
25594 return resultobj;
25595 fail:
25596 return NULL;
25597 }
25598
25599
25600 static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
25601 PyObject *resultobj;
25602 wxWindow *arg1 = (wxWindow *) 0 ;
25603 int result;
25604 PyObject * obj0 = 0 ;
25605 char *kwnames[] = {
25606 (char *) "self", NULL
25607 };
25608
25609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
25610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25611 if (SWIG_arg_fail(1)) SWIG_fail;
25612 {
25613 PyThreadState* __tstate = wxPyBeginAllowThreads();
25614 result = (int)((wxWindow const *)arg1)->GetId();
25615
25616 wxPyEndAllowThreads(__tstate);
25617 if (PyErr_Occurred()) SWIG_fail;
25618 }
25619 {
25620 resultobj = SWIG_From_int((int)(result));
25621 }
25622 return resultobj;
25623 fail:
25624 return NULL;
25625 }
25626
25627
25628 static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) {
25629 PyObject *resultobj;
25630 int result;
25631 char *kwnames[] = {
25632 NULL
25633 };
25634
25635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
25636 {
25637 PyThreadState* __tstate = wxPyBeginAllowThreads();
25638 result = (int)wxWindow::NewControlId();
25639
25640 wxPyEndAllowThreads(__tstate);
25641 if (PyErr_Occurred()) SWIG_fail;
25642 }
25643 {
25644 resultobj = SWIG_From_int((int)(result));
25645 }
25646 return resultobj;
25647 fail:
25648 return NULL;
25649 }
25650
25651
25652 static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) {
25653 PyObject *resultobj;
25654 int arg1 ;
25655 int result;
25656 PyObject * obj0 = 0 ;
25657 char *kwnames[] = {
25658 (char *) "winid", NULL
25659 };
25660
25661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
25662 {
25663 arg1 = (int)(SWIG_As_int(obj0));
25664 if (SWIG_arg_fail(1)) SWIG_fail;
25665 }
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 result = (int)wxWindow::NextControlId(arg1);
25669
25670 wxPyEndAllowThreads(__tstate);
25671 if (PyErr_Occurred()) SWIG_fail;
25672 }
25673 {
25674 resultobj = SWIG_From_int((int)(result));
25675 }
25676 return resultobj;
25677 fail:
25678 return NULL;
25679 }
25680
25681
25682 static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) {
25683 PyObject *resultobj;
25684 int arg1 ;
25685 int result;
25686 PyObject * obj0 = 0 ;
25687 char *kwnames[] = {
25688 (char *) "winid", NULL
25689 };
25690
25691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
25692 {
25693 arg1 = (int)(SWIG_As_int(obj0));
25694 if (SWIG_arg_fail(1)) SWIG_fail;
25695 }
25696 {
25697 PyThreadState* __tstate = wxPyBeginAllowThreads();
25698 result = (int)wxWindow::PrevControlId(arg1);
25699
25700 wxPyEndAllowThreads(__tstate);
25701 if (PyErr_Occurred()) SWIG_fail;
25702 }
25703 {
25704 resultobj = SWIG_From_int((int)(result));
25705 }
25706 return resultobj;
25707 fail:
25708 return NULL;
25709 }
25710
25711
25712 static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
25713 PyObject *resultobj;
25714 wxWindow *arg1 = (wxWindow *) 0 ;
25715 wxSize *arg2 = 0 ;
25716 wxSize temp2 ;
25717 PyObject * obj0 = 0 ;
25718 PyObject * obj1 = 0 ;
25719 char *kwnames[] = {
25720 (char *) "self",(char *) "size", NULL
25721 };
25722
25723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
25724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25725 if (SWIG_arg_fail(1)) SWIG_fail;
25726 {
25727 arg2 = &temp2;
25728 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25729 }
25730 {
25731 PyThreadState* __tstate = wxPyBeginAllowThreads();
25732 (arg1)->SetSize((wxSize const &)*arg2);
25733
25734 wxPyEndAllowThreads(__tstate);
25735 if (PyErr_Occurred()) SWIG_fail;
25736 }
25737 Py_INCREF(Py_None); resultobj = Py_None;
25738 return resultobj;
25739 fail:
25740 return NULL;
25741 }
25742
25743
25744 static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) {
25745 PyObject *resultobj;
25746 wxWindow *arg1 = (wxWindow *) 0 ;
25747 int arg2 ;
25748 int arg3 ;
25749 int arg4 ;
25750 int arg5 ;
25751 int arg6 = (int) wxSIZE_AUTO ;
25752 PyObject * obj0 = 0 ;
25753 PyObject * obj1 = 0 ;
25754 PyObject * obj2 = 0 ;
25755 PyObject * obj3 = 0 ;
25756 PyObject * obj4 = 0 ;
25757 PyObject * obj5 = 0 ;
25758 char *kwnames[] = {
25759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25760 };
25761
25762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25764 if (SWIG_arg_fail(1)) SWIG_fail;
25765 {
25766 arg2 = (int)(SWIG_As_int(obj1));
25767 if (SWIG_arg_fail(2)) SWIG_fail;
25768 }
25769 {
25770 arg3 = (int)(SWIG_As_int(obj2));
25771 if (SWIG_arg_fail(3)) SWIG_fail;
25772 }
25773 {
25774 arg4 = (int)(SWIG_As_int(obj3));
25775 if (SWIG_arg_fail(4)) SWIG_fail;
25776 }
25777 {
25778 arg5 = (int)(SWIG_As_int(obj4));
25779 if (SWIG_arg_fail(5)) SWIG_fail;
25780 }
25781 if (obj5) {
25782 {
25783 arg6 = (int)(SWIG_As_int(obj5));
25784 if (SWIG_arg_fail(6)) SWIG_fail;
25785 }
25786 }
25787 {
25788 PyThreadState* __tstate = wxPyBeginAllowThreads();
25789 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
25790
25791 wxPyEndAllowThreads(__tstate);
25792 if (PyErr_Occurred()) SWIG_fail;
25793 }
25794 Py_INCREF(Py_None); resultobj = Py_None;
25795 return resultobj;
25796 fail:
25797 return NULL;
25798 }
25799
25800
25801 static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
25802 PyObject *resultobj;
25803 wxWindow *arg1 = (wxWindow *) 0 ;
25804 wxRect *arg2 = 0 ;
25805 int arg3 = (int) wxSIZE_AUTO ;
25806 wxRect temp2 ;
25807 PyObject * obj0 = 0 ;
25808 PyObject * obj1 = 0 ;
25809 PyObject * obj2 = 0 ;
25810 char *kwnames[] = {
25811 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25812 };
25813
25814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
25815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25816 if (SWIG_arg_fail(1)) SWIG_fail;
25817 {
25818 arg2 = &temp2;
25819 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25820 }
25821 if (obj2) {
25822 {
25823 arg3 = (int)(SWIG_As_int(obj2));
25824 if (SWIG_arg_fail(3)) SWIG_fail;
25825 }
25826 }
25827 {
25828 PyThreadState* __tstate = wxPyBeginAllowThreads();
25829 (arg1)->SetSize((wxRect const &)*arg2,arg3);
25830
25831 wxPyEndAllowThreads(__tstate);
25832 if (PyErr_Occurred()) SWIG_fail;
25833 }
25834 Py_INCREF(Py_None); resultobj = Py_None;
25835 return resultobj;
25836 fail:
25837 return NULL;
25838 }
25839
25840
25841 static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
25842 PyObject *resultobj;
25843 wxWindow *arg1 = (wxWindow *) 0 ;
25844 int arg2 ;
25845 int arg3 ;
25846 PyObject * obj0 = 0 ;
25847 PyObject * obj1 = 0 ;
25848 PyObject * obj2 = 0 ;
25849 char *kwnames[] = {
25850 (char *) "self",(char *) "width",(char *) "height", NULL
25851 };
25852
25853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
25854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail;
25856 {
25857 arg2 = (int)(SWIG_As_int(obj1));
25858 if (SWIG_arg_fail(2)) SWIG_fail;
25859 }
25860 {
25861 arg3 = (int)(SWIG_As_int(obj2));
25862 if (SWIG_arg_fail(3)) SWIG_fail;
25863 }
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 (arg1)->SetSize(arg2,arg3);
25867
25868 wxPyEndAllowThreads(__tstate);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 }
25871 Py_INCREF(Py_None); resultobj = Py_None;
25872 return resultobj;
25873 fail:
25874 return NULL;
25875 }
25876
25877
25878 static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) {
25879 PyObject *resultobj;
25880 wxWindow *arg1 = (wxWindow *) 0 ;
25881 wxPoint *arg2 = 0 ;
25882 int arg3 = (int) wxSIZE_USE_EXISTING ;
25883 wxPoint temp2 ;
25884 PyObject * obj0 = 0 ;
25885 PyObject * obj1 = 0 ;
25886 PyObject * obj2 = 0 ;
25887 char *kwnames[] = {
25888 (char *) "self",(char *) "pt",(char *) "flags", NULL
25889 };
25890
25891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
25892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25893 if (SWIG_arg_fail(1)) SWIG_fail;
25894 {
25895 arg2 = &temp2;
25896 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25897 }
25898 if (obj2) {
25899 {
25900 arg3 = (int)(SWIG_As_int(obj2));
25901 if (SWIG_arg_fail(3)) SWIG_fail;
25902 }
25903 }
25904 {
25905 PyThreadState* __tstate = wxPyBeginAllowThreads();
25906 (arg1)->Move((wxPoint const &)*arg2,arg3);
25907
25908 wxPyEndAllowThreads(__tstate);
25909 if (PyErr_Occurred()) SWIG_fail;
25910 }
25911 Py_INCREF(Py_None); resultobj = Py_None;
25912 return resultobj;
25913 fail:
25914 return NULL;
25915 }
25916
25917
25918 static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
25919 PyObject *resultobj;
25920 wxWindow *arg1 = (wxWindow *) 0 ;
25921 int arg2 ;
25922 int arg3 ;
25923 int arg4 = (int) wxSIZE_USE_EXISTING ;
25924 PyObject * obj0 = 0 ;
25925 PyObject * obj1 = 0 ;
25926 PyObject * obj2 = 0 ;
25927 PyObject * obj3 = 0 ;
25928 char *kwnames[] = {
25929 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25930 };
25931
25932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25934 if (SWIG_arg_fail(1)) SWIG_fail;
25935 {
25936 arg2 = (int)(SWIG_As_int(obj1));
25937 if (SWIG_arg_fail(2)) SWIG_fail;
25938 }
25939 {
25940 arg3 = (int)(SWIG_As_int(obj2));
25941 if (SWIG_arg_fail(3)) SWIG_fail;
25942 }
25943 if (obj3) {
25944 {
25945 arg4 = (int)(SWIG_As_int(obj3));
25946 if (SWIG_arg_fail(4)) SWIG_fail;
25947 }
25948 }
25949 {
25950 PyThreadState* __tstate = wxPyBeginAllowThreads();
25951 (arg1)->Move(arg2,arg3,arg4);
25952
25953 wxPyEndAllowThreads(__tstate);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 }
25956 Py_INCREF(Py_None); resultobj = Py_None;
25957 return resultobj;
25958 fail:
25959 return NULL;
25960 }
25961
25962
25963 static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
25964 PyObject *resultobj;
25965 wxWindow *arg1 = (wxWindow *) 0 ;
25966 wxSize const &arg2_defvalue = wxDefaultSize ;
25967 wxSize *arg2 = (wxSize *) &arg2_defvalue ;
25968 wxSize temp2 ;
25969 PyObject * obj0 = 0 ;
25970 PyObject * obj1 = 0 ;
25971 char *kwnames[] = {
25972 (char *) "self",(char *) "size", NULL
25973 };
25974
25975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail;
25976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25977 if (SWIG_arg_fail(1)) SWIG_fail;
25978 if (obj1) {
25979 {
25980 arg2 = &temp2;
25981 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25982 }
25983 }
25984 {
25985 PyThreadState* __tstate = wxPyBeginAllowThreads();
25986 (arg1)->SetBestFittingSize((wxSize const &)*arg2);
25987
25988 wxPyEndAllowThreads(__tstate);
25989 if (PyErr_Occurred()) SWIG_fail;
25990 }
25991 Py_INCREF(Py_None); resultobj = Py_None;
25992 return resultobj;
25993 fail:
25994 return NULL;
25995 }
25996
25997
25998 static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) {
25999 PyObject *resultobj;
26000 wxWindow *arg1 = (wxWindow *) 0 ;
26001 PyObject * obj0 = 0 ;
26002 char *kwnames[] = {
26003 (char *) "self", NULL
26004 };
26005
26006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
26007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26008 if (SWIG_arg_fail(1)) SWIG_fail;
26009 {
26010 PyThreadState* __tstate = wxPyBeginAllowThreads();
26011 (arg1)->Raise();
26012
26013 wxPyEndAllowThreads(__tstate);
26014 if (PyErr_Occurred()) SWIG_fail;
26015 }
26016 Py_INCREF(Py_None); resultobj = Py_None;
26017 return resultobj;
26018 fail:
26019 return NULL;
26020 }
26021
26022
26023 static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) {
26024 PyObject *resultobj;
26025 wxWindow *arg1 = (wxWindow *) 0 ;
26026 PyObject * obj0 = 0 ;
26027 char *kwnames[] = {
26028 (char *) "self", NULL
26029 };
26030
26031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
26032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26033 if (SWIG_arg_fail(1)) SWIG_fail;
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 (arg1)->Lower();
26037
26038 wxPyEndAllowThreads(__tstate);
26039 if (PyErr_Occurred()) SWIG_fail;
26040 }
26041 Py_INCREF(Py_None); resultobj = Py_None;
26042 return resultobj;
26043 fail:
26044 return NULL;
26045 }
26046
26047
26048 static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
26049 PyObject *resultobj;
26050 wxWindow *arg1 = (wxWindow *) 0 ;
26051 wxSize *arg2 = 0 ;
26052 wxSize temp2 ;
26053 PyObject * obj0 = 0 ;
26054 PyObject * obj1 = 0 ;
26055 char *kwnames[] = {
26056 (char *) "self",(char *) "size", NULL
26057 };
26058
26059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
26060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail;
26062 {
26063 arg2 = &temp2;
26064 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26065 }
26066 {
26067 PyThreadState* __tstate = wxPyBeginAllowThreads();
26068 (arg1)->SetClientSize((wxSize const &)*arg2);
26069
26070 wxPyEndAllowThreads(__tstate);
26071 if (PyErr_Occurred()) SWIG_fail;
26072 }
26073 Py_INCREF(Py_None); resultobj = Py_None;
26074 return resultobj;
26075 fail:
26076 return NULL;
26077 }
26078
26079
26080 static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
26081 PyObject *resultobj;
26082 wxWindow *arg1 = (wxWindow *) 0 ;
26083 int arg2 ;
26084 int arg3 ;
26085 PyObject * obj0 = 0 ;
26086 PyObject * obj1 = 0 ;
26087 PyObject * obj2 = 0 ;
26088 char *kwnames[] = {
26089 (char *) "self",(char *) "width",(char *) "height", NULL
26090 };
26091
26092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
26093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26094 if (SWIG_arg_fail(1)) SWIG_fail;
26095 {
26096 arg2 = (int)(SWIG_As_int(obj1));
26097 if (SWIG_arg_fail(2)) SWIG_fail;
26098 }
26099 {
26100 arg3 = (int)(SWIG_As_int(obj2));
26101 if (SWIG_arg_fail(3)) SWIG_fail;
26102 }
26103 {
26104 PyThreadState* __tstate = wxPyBeginAllowThreads();
26105 (arg1)->SetClientSize(arg2,arg3);
26106
26107 wxPyEndAllowThreads(__tstate);
26108 if (PyErr_Occurred()) SWIG_fail;
26109 }
26110 Py_INCREF(Py_None); resultobj = Py_None;
26111 return resultobj;
26112 fail:
26113 return NULL;
26114 }
26115
26116
26117 static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
26118 PyObject *resultobj;
26119 wxWindow *arg1 = (wxWindow *) 0 ;
26120 wxRect *arg2 = 0 ;
26121 wxRect temp2 ;
26122 PyObject * obj0 = 0 ;
26123 PyObject * obj1 = 0 ;
26124 char *kwnames[] = {
26125 (char *) "self",(char *) "rect", NULL
26126 };
26127
26128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
26129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26130 if (SWIG_arg_fail(1)) SWIG_fail;
26131 {
26132 arg2 = &temp2;
26133 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26134 }
26135 {
26136 PyThreadState* __tstate = wxPyBeginAllowThreads();
26137 (arg1)->SetClientSize((wxRect const &)*arg2);
26138
26139 wxPyEndAllowThreads(__tstate);
26140 if (PyErr_Occurred()) SWIG_fail;
26141 }
26142 Py_INCREF(Py_None); resultobj = Py_None;
26143 return resultobj;
26144 fail:
26145 return NULL;
26146 }
26147
26148
26149 static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
26150 PyObject *resultobj;
26151 wxWindow *arg1 = (wxWindow *) 0 ;
26152 wxPoint result;
26153 PyObject * obj0 = 0 ;
26154 char *kwnames[] = {
26155 (char *) "self", NULL
26156 };
26157
26158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
26159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26160 if (SWIG_arg_fail(1)) SWIG_fail;
26161 {
26162 PyThreadState* __tstate = wxPyBeginAllowThreads();
26163 result = (arg1)->GetPosition();
26164
26165 wxPyEndAllowThreads(__tstate);
26166 if (PyErr_Occurred()) SWIG_fail;
26167 }
26168 {
26169 wxPoint * resultptr;
26170 resultptr = new wxPoint((wxPoint &)(result));
26171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26172 }
26173 return resultobj;
26174 fail:
26175 return NULL;
26176 }
26177
26178
26179 static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
26180 PyObject *resultobj;
26181 wxWindow *arg1 = (wxWindow *) 0 ;
26182 int *arg2 = (int *) 0 ;
26183 int *arg3 = (int *) 0 ;
26184 int temp2 ;
26185 int res2 = 0 ;
26186 int temp3 ;
26187 int res3 = 0 ;
26188 PyObject * obj0 = 0 ;
26189 char *kwnames[] = {
26190 (char *) "self", NULL
26191 };
26192
26193 arg2 = &temp2; res2 = SWIG_NEWOBJ;
26194 arg3 = &temp3; res3 = SWIG_NEWOBJ;
26195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
26196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail;
26198 {
26199 PyThreadState* __tstate = wxPyBeginAllowThreads();
26200 (arg1)->GetPosition(arg2,arg3);
26201
26202 wxPyEndAllowThreads(__tstate);
26203 if (PyErr_Occurred()) SWIG_fail;
26204 }
26205 Py_INCREF(Py_None); resultobj = Py_None;
26206 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
26207 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
26208 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26209 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
26210 return resultobj;
26211 fail:
26212 return NULL;
26213 }
26214
26215
26216 static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
26217 PyObject *resultobj;
26218 wxWindow *arg1 = (wxWindow *) 0 ;
26219 wxSize result;
26220 PyObject * obj0 = 0 ;
26221 char *kwnames[] = {
26222 (char *) "self", NULL
26223 };
26224
26225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
26226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26227 if (SWIG_arg_fail(1)) SWIG_fail;
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 result = ((wxWindow const *)arg1)->GetSize();
26231
26232 wxPyEndAllowThreads(__tstate);
26233 if (PyErr_Occurred()) SWIG_fail;
26234 }
26235 {
26236 wxSize * resultptr;
26237 resultptr = new wxSize((wxSize &)(result));
26238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26239 }
26240 return resultobj;
26241 fail:
26242 return NULL;
26243 }
26244
26245
26246 static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
26247 PyObject *resultobj;
26248 wxWindow *arg1 = (wxWindow *) 0 ;
26249 int *arg2 = (int *) 0 ;
26250 int *arg3 = (int *) 0 ;
26251 int temp2 ;
26252 int res2 = 0 ;
26253 int temp3 ;
26254 int res3 = 0 ;
26255 PyObject * obj0 = 0 ;
26256 char *kwnames[] = {
26257 (char *) "self", NULL
26258 };
26259
26260 arg2 = &temp2; res2 = SWIG_NEWOBJ;
26261 arg3 = &temp3; res3 = SWIG_NEWOBJ;
26262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
26263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26264 if (SWIG_arg_fail(1)) SWIG_fail;
26265 {
26266 PyThreadState* __tstate = wxPyBeginAllowThreads();
26267 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
26268
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
26272 Py_INCREF(Py_None); resultobj = Py_None;
26273 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
26274 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
26275 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26276 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
26277 return resultobj;
26278 fail:
26279 return NULL;
26280 }
26281
26282
26283 static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
26284 PyObject *resultobj;
26285 wxWindow *arg1 = (wxWindow *) 0 ;
26286 wxRect result;
26287 PyObject * obj0 = 0 ;
26288 char *kwnames[] = {
26289 (char *) "self", NULL
26290 };
26291
26292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
26293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26294 if (SWIG_arg_fail(1)) SWIG_fail;
26295 {
26296 PyThreadState* __tstate = wxPyBeginAllowThreads();
26297 result = ((wxWindow const *)arg1)->GetRect();
26298
26299 wxPyEndAllowThreads(__tstate);
26300 if (PyErr_Occurred()) SWIG_fail;
26301 }
26302 {
26303 wxRect * resultptr;
26304 resultptr = new wxRect((wxRect &)(result));
26305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
26306 }
26307 return resultobj;
26308 fail:
26309 return NULL;
26310 }
26311
26312
26313 static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
26314 PyObject *resultobj;
26315 wxWindow *arg1 = (wxWindow *) 0 ;
26316 wxSize result;
26317 PyObject * obj0 = 0 ;
26318 char *kwnames[] = {
26319 (char *) "self", NULL
26320 };
26321
26322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
26323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26324 if (SWIG_arg_fail(1)) SWIG_fail;
26325 {
26326 PyThreadState* __tstate = wxPyBeginAllowThreads();
26327 result = ((wxWindow const *)arg1)->GetClientSize();
26328
26329 wxPyEndAllowThreads(__tstate);
26330 if (PyErr_Occurred()) SWIG_fail;
26331 }
26332 {
26333 wxSize * resultptr;
26334 resultptr = new wxSize((wxSize &)(result));
26335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26336 }
26337 return resultobj;
26338 fail:
26339 return NULL;
26340 }
26341
26342
26343 static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
26344 PyObject *resultobj;
26345 wxWindow *arg1 = (wxWindow *) 0 ;
26346 int *arg2 = (int *) 0 ;
26347 int *arg3 = (int *) 0 ;
26348 int temp2 ;
26349 int res2 = 0 ;
26350 int temp3 ;
26351 int res3 = 0 ;
26352 PyObject * obj0 = 0 ;
26353 char *kwnames[] = {
26354 (char *) "self", NULL
26355 };
26356
26357 arg2 = &temp2; res2 = SWIG_NEWOBJ;
26358 arg3 = &temp3; res3 = SWIG_NEWOBJ;
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
26360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail;
26362 {
26363 PyThreadState* __tstate = wxPyBeginAllowThreads();
26364 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
26365
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
26369 Py_INCREF(Py_None); resultobj = Py_None;
26370 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
26371 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
26372 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26373 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
26374 return resultobj;
26375 fail:
26376 return NULL;
26377 }
26378
26379
26380 static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
26381 PyObject *resultobj;
26382 wxWindow *arg1 = (wxWindow *) 0 ;
26383 wxPoint result;
26384 PyObject * obj0 = 0 ;
26385 char *kwnames[] = {
26386 (char *) "self", NULL
26387 };
26388
26389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
26390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26391 if (SWIG_arg_fail(1)) SWIG_fail;
26392 {
26393 PyThreadState* __tstate = wxPyBeginAllowThreads();
26394 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
26395
26396 wxPyEndAllowThreads(__tstate);
26397 if (PyErr_Occurred()) SWIG_fail;
26398 }
26399 {
26400 wxPoint * resultptr;
26401 resultptr = new wxPoint((wxPoint &)(result));
26402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26403 }
26404 return resultobj;
26405 fail:
26406 return NULL;
26407 }
26408
26409
26410 static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
26411 PyObject *resultobj;
26412 wxWindow *arg1 = (wxWindow *) 0 ;
26413 wxRect result;
26414 PyObject * obj0 = 0 ;
26415 char *kwnames[] = {
26416 (char *) "self", NULL
26417 };
26418
26419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
26420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26421 if (SWIG_arg_fail(1)) SWIG_fail;
26422 {
26423 PyThreadState* __tstate = wxPyBeginAllowThreads();
26424 result = ((wxWindow const *)arg1)->GetClientRect();
26425
26426 wxPyEndAllowThreads(__tstate);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
26429 {
26430 wxRect * resultptr;
26431 resultptr = new wxRect((wxRect &)(result));
26432 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
26433 }
26434 return resultobj;
26435 fail:
26436 return NULL;
26437 }
26438
26439
26440 static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
26441 PyObject *resultobj;
26442 wxWindow *arg1 = (wxWindow *) 0 ;
26443 wxSize result;
26444 PyObject * obj0 = 0 ;
26445 char *kwnames[] = {
26446 (char *) "self", NULL
26447 };
26448
26449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
26450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26451 if (SWIG_arg_fail(1)) SWIG_fail;
26452 {
26453 PyThreadState* __tstate = wxPyBeginAllowThreads();
26454 result = ((wxWindow const *)arg1)->GetBestSize();
26455
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 {
26460 wxSize * resultptr;
26461 resultptr = new wxSize((wxSize &)(result));
26462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26463 }
26464 return resultobj;
26465 fail:
26466 return NULL;
26467 }
26468
26469
26470 static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
26471 PyObject *resultobj;
26472 wxWindow *arg1 = (wxWindow *) 0 ;
26473 int *arg2 = (int *) 0 ;
26474 int *arg3 = (int *) 0 ;
26475 int temp2 ;
26476 int res2 = 0 ;
26477 int temp3 ;
26478 int res3 = 0 ;
26479 PyObject * obj0 = 0 ;
26480 char *kwnames[] = {
26481 (char *) "self", NULL
26482 };
26483
26484 arg2 = &temp2; res2 = SWIG_NEWOBJ;
26485 arg3 = &temp3; res3 = SWIG_NEWOBJ;
26486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
26487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26488 if (SWIG_arg_fail(1)) SWIG_fail;
26489 {
26490 PyThreadState* __tstate = wxPyBeginAllowThreads();
26491 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
26492
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 Py_INCREF(Py_None); resultobj = Py_None;
26497 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
26498 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
26499 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26500 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
26501 return resultobj;
26502 fail:
26503 return NULL;
26504 }
26505
26506
26507 static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
26508 PyObject *resultobj;
26509 wxWindow *arg1 = (wxWindow *) 0 ;
26510 PyObject * obj0 = 0 ;
26511 char *kwnames[] = {
26512 (char *) "self", NULL
26513 };
26514
26515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
26516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26517 if (SWIG_arg_fail(1)) SWIG_fail;
26518 {
26519 PyThreadState* __tstate = wxPyBeginAllowThreads();
26520 (arg1)->InvalidateBestSize();
26521
26522 wxPyEndAllowThreads(__tstate);
26523 if (PyErr_Occurred()) SWIG_fail;
26524 }
26525 Py_INCREF(Py_None); resultobj = Py_None;
26526 return resultobj;
26527 fail:
26528 return NULL;
26529 }
26530
26531
26532 static PyObject *_wrap_Window_CacheBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
26533 PyObject *resultobj;
26534 wxWindow *arg1 = (wxWindow *) 0 ;
26535 wxSize *arg2 = 0 ;
26536 wxSize temp2 ;
26537 PyObject * obj0 = 0 ;
26538 PyObject * obj1 = 0 ;
26539 char *kwnames[] = {
26540 (char *) "self",(char *) "size", NULL
26541 };
26542
26543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_CacheBestSize",kwnames,&obj0,&obj1)) goto fail;
26544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26545 if (SWIG_arg_fail(1)) SWIG_fail;
26546 {
26547 arg2 = &temp2;
26548 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26549 }
26550 {
26551 PyThreadState* __tstate = wxPyBeginAllowThreads();
26552 ((wxWindow const *)arg1)->CacheBestSize((wxSize const &)*arg2);
26553
26554 wxPyEndAllowThreads(__tstate);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 }
26557 Py_INCREF(Py_None); resultobj = Py_None;
26558 return resultobj;
26559 fail:
26560 return NULL;
26561 }
26562
26563
26564 static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
26565 PyObject *resultobj;
26566 wxWindow *arg1 = (wxWindow *) 0 ;
26567 wxSize result;
26568 PyObject * obj0 = 0 ;
26569 char *kwnames[] = {
26570 (char *) "self", NULL
26571 };
26572
26573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
26574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26575 if (SWIG_arg_fail(1)) SWIG_fail;
26576 {
26577 PyThreadState* __tstate = wxPyBeginAllowThreads();
26578 result = ((wxWindow const *)arg1)->GetBestFittingSize();
26579
26580 wxPyEndAllowThreads(__tstate);
26581 if (PyErr_Occurred()) SWIG_fail;
26582 }
26583 {
26584 wxSize * resultptr;
26585 resultptr = new wxSize((wxSize &)(result));
26586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26587 }
26588 return resultobj;
26589 fail:
26590 return NULL;
26591 }
26592
26593
26594 static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
26595 PyObject *resultobj;
26596 wxWindow *arg1 = (wxWindow *) 0 ;
26597 wxSize result;
26598 PyObject * obj0 = 0 ;
26599 char *kwnames[] = {
26600 (char *) "self", NULL
26601 };
26602
26603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
26604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26605 if (SWIG_arg_fail(1)) SWIG_fail;
26606 {
26607 PyThreadState* __tstate = wxPyBeginAllowThreads();
26608 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
26609
26610 wxPyEndAllowThreads(__tstate);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 }
26613 {
26614 wxSize * resultptr;
26615 resultptr = new wxSize((wxSize &)(result));
26616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26617 }
26618 return resultobj;
26619 fail:
26620 return NULL;
26621 }
26622
26623
26624 static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) {
26625 PyObject *resultobj;
26626 wxWindow *arg1 = (wxWindow *) 0 ;
26627 int arg2 = (int) wxBOTH ;
26628 PyObject * obj0 = 0 ;
26629 PyObject * obj1 = 0 ;
26630 char *kwnames[] = {
26631 (char *) "self",(char *) "direction", NULL
26632 };
26633
26634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
26635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26636 if (SWIG_arg_fail(1)) SWIG_fail;
26637 if (obj1) {
26638 {
26639 arg2 = (int)(SWIG_As_int(obj1));
26640 if (SWIG_arg_fail(2)) SWIG_fail;
26641 }
26642 }
26643 {
26644 PyThreadState* __tstate = wxPyBeginAllowThreads();
26645 (arg1)->Center(arg2);
26646
26647 wxPyEndAllowThreads(__tstate);
26648 if (PyErr_Occurred()) SWIG_fail;
26649 }
26650 Py_INCREF(Py_None); resultobj = Py_None;
26651 return resultobj;
26652 fail:
26653 return NULL;
26654 }
26655
26656
26657 static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
26658 PyObject *resultobj;
26659 wxWindow *arg1 = (wxWindow *) 0 ;
26660 int arg2 = (int) wxBOTH ;
26661 PyObject * obj0 = 0 ;
26662 PyObject * obj1 = 0 ;
26663 char *kwnames[] = {
26664 (char *) "self",(char *) "dir", NULL
26665 };
26666
26667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
26668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26669 if (SWIG_arg_fail(1)) SWIG_fail;
26670 if (obj1) {
26671 {
26672 arg2 = (int)(SWIG_As_int(obj1));
26673 if (SWIG_arg_fail(2)) SWIG_fail;
26674 }
26675 }
26676 {
26677 PyThreadState* __tstate = wxPyBeginAllowThreads();
26678 (arg1)->CenterOnScreen(arg2);
26679
26680 wxPyEndAllowThreads(__tstate);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 }
26683 Py_INCREF(Py_None); resultobj = Py_None;
26684 return resultobj;
26685 fail:
26686 return NULL;
26687 }
26688
26689
26690 static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) {
26691 PyObject *resultobj;
26692 wxWindow *arg1 = (wxWindow *) 0 ;
26693 int arg2 = (int) wxBOTH ;
26694 PyObject * obj0 = 0 ;
26695 PyObject * obj1 = 0 ;
26696 char *kwnames[] = {
26697 (char *) "self",(char *) "dir", NULL
26698 };
26699
26700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
26701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26702 if (SWIG_arg_fail(1)) SWIG_fail;
26703 if (obj1) {
26704 {
26705 arg2 = (int)(SWIG_As_int(obj1));
26706 if (SWIG_arg_fail(2)) SWIG_fail;
26707 }
26708 }
26709 {
26710 PyThreadState* __tstate = wxPyBeginAllowThreads();
26711 (arg1)->CenterOnParent(arg2);
26712
26713 wxPyEndAllowThreads(__tstate);
26714 if (PyErr_Occurred()) SWIG_fail;
26715 }
26716 Py_INCREF(Py_None); resultobj = Py_None;
26717 return resultobj;
26718 fail:
26719 return NULL;
26720 }
26721
26722
26723 static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
26724 PyObject *resultobj;
26725 wxWindow *arg1 = (wxWindow *) 0 ;
26726 PyObject * obj0 = 0 ;
26727 char *kwnames[] = {
26728 (char *) "self", NULL
26729 };
26730
26731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
26732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26733 if (SWIG_arg_fail(1)) SWIG_fail;
26734 {
26735 PyThreadState* __tstate = wxPyBeginAllowThreads();
26736 (arg1)->Fit();
26737
26738 wxPyEndAllowThreads(__tstate);
26739 if (PyErr_Occurred()) SWIG_fail;
26740 }
26741 Py_INCREF(Py_None); resultobj = Py_None;
26742 return resultobj;
26743 fail:
26744 return NULL;
26745 }
26746
26747
26748 static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
26749 PyObject *resultobj;
26750 wxWindow *arg1 = (wxWindow *) 0 ;
26751 PyObject * obj0 = 0 ;
26752 char *kwnames[] = {
26753 (char *) "self", NULL
26754 };
26755
26756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
26757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26758 if (SWIG_arg_fail(1)) SWIG_fail;
26759 {
26760 PyThreadState* __tstate = wxPyBeginAllowThreads();
26761 (arg1)->FitInside();
26762
26763 wxPyEndAllowThreads(__tstate);
26764 if (PyErr_Occurred()) SWIG_fail;
26765 }
26766 Py_INCREF(Py_None); resultobj = Py_None;
26767 return resultobj;
26768 fail:
26769 return NULL;
26770 }
26771
26772
26773 static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
26774 PyObject *resultobj;
26775 wxWindow *arg1 = (wxWindow *) 0 ;
26776 int arg2 ;
26777 int arg3 ;
26778 int arg4 = (int) -1 ;
26779 int arg5 = (int) -1 ;
26780 int arg6 = (int) -1 ;
26781 int arg7 = (int) -1 ;
26782 PyObject * obj0 = 0 ;
26783 PyObject * obj1 = 0 ;
26784 PyObject * obj2 = 0 ;
26785 PyObject * obj3 = 0 ;
26786 PyObject * obj4 = 0 ;
26787 PyObject * obj5 = 0 ;
26788 PyObject * obj6 = 0 ;
26789 char *kwnames[] = {
26790 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26791 };
26792
26793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26795 if (SWIG_arg_fail(1)) SWIG_fail;
26796 {
26797 arg2 = (int)(SWIG_As_int(obj1));
26798 if (SWIG_arg_fail(2)) SWIG_fail;
26799 }
26800 {
26801 arg3 = (int)(SWIG_As_int(obj2));
26802 if (SWIG_arg_fail(3)) SWIG_fail;
26803 }
26804 if (obj3) {
26805 {
26806 arg4 = (int)(SWIG_As_int(obj3));
26807 if (SWIG_arg_fail(4)) SWIG_fail;
26808 }
26809 }
26810 if (obj4) {
26811 {
26812 arg5 = (int)(SWIG_As_int(obj4));
26813 if (SWIG_arg_fail(5)) SWIG_fail;
26814 }
26815 }
26816 if (obj5) {
26817 {
26818 arg6 = (int)(SWIG_As_int(obj5));
26819 if (SWIG_arg_fail(6)) SWIG_fail;
26820 }
26821 }
26822 if (obj6) {
26823 {
26824 arg7 = (int)(SWIG_As_int(obj6));
26825 if (SWIG_arg_fail(7)) SWIG_fail;
26826 }
26827 }
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
26831
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 Py_INCREF(Py_None); resultobj = Py_None;
26836 return resultobj;
26837 fail:
26838 return NULL;
26839 }
26840
26841
26842 static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
26843 PyObject *resultobj;
26844 wxWindow *arg1 = (wxWindow *) 0 ;
26845 wxSize *arg2 = 0 ;
26846 wxSize const &arg3_defvalue = wxDefaultSize ;
26847 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
26848 wxSize const &arg4_defvalue = wxDefaultSize ;
26849 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26850 wxSize temp2 ;
26851 wxSize temp3 ;
26852 wxSize temp4 ;
26853 PyObject * obj0 = 0 ;
26854 PyObject * obj1 = 0 ;
26855 PyObject * obj2 = 0 ;
26856 PyObject * obj3 = 0 ;
26857 char *kwnames[] = {
26858 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26859 };
26860
26861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26863 if (SWIG_arg_fail(1)) SWIG_fail;
26864 {
26865 arg2 = &temp2;
26866 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26867 }
26868 if (obj2) {
26869 {
26870 arg3 = &temp3;
26871 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
26872 }
26873 }
26874 if (obj3) {
26875 {
26876 arg4 = &temp4;
26877 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26878 }
26879 }
26880 {
26881 PyThreadState* __tstate = wxPyBeginAllowThreads();
26882 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
26883
26884 wxPyEndAllowThreads(__tstate);
26885 if (PyErr_Occurred()) SWIG_fail;
26886 }
26887 Py_INCREF(Py_None); resultobj = Py_None;
26888 return resultobj;
26889 fail:
26890 return NULL;
26891 }
26892
26893
26894 static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
26895 PyObject *resultobj;
26896 wxWindow *arg1 = (wxWindow *) 0 ;
26897 int arg2 ;
26898 int arg3 ;
26899 int arg4 = (int) -1 ;
26900 int arg5 = (int) -1 ;
26901 PyObject * obj0 = 0 ;
26902 PyObject * obj1 = 0 ;
26903 PyObject * obj2 = 0 ;
26904 PyObject * obj3 = 0 ;
26905 PyObject * obj4 = 0 ;
26906 char *kwnames[] = {
26907 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26908 };
26909
26910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26912 if (SWIG_arg_fail(1)) SWIG_fail;
26913 {
26914 arg2 = (int)(SWIG_As_int(obj1));
26915 if (SWIG_arg_fail(2)) SWIG_fail;
26916 }
26917 {
26918 arg3 = (int)(SWIG_As_int(obj2));
26919 if (SWIG_arg_fail(3)) SWIG_fail;
26920 }
26921 if (obj3) {
26922 {
26923 arg4 = (int)(SWIG_As_int(obj3));
26924 if (SWIG_arg_fail(4)) SWIG_fail;
26925 }
26926 }
26927 if (obj4) {
26928 {
26929 arg5 = (int)(SWIG_As_int(obj4));
26930 if (SWIG_arg_fail(5)) SWIG_fail;
26931 }
26932 }
26933 {
26934 PyThreadState* __tstate = wxPyBeginAllowThreads();
26935 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
26936
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
26940 Py_INCREF(Py_None); resultobj = Py_None;
26941 return resultobj;
26942 fail:
26943 return NULL;
26944 }
26945
26946
26947 static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
26948 PyObject *resultobj;
26949 wxWindow *arg1 = (wxWindow *) 0 ;
26950 wxSize *arg2 = 0 ;
26951 wxSize const &arg3_defvalue = wxDefaultSize ;
26952 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
26953 wxSize temp2 ;
26954 wxSize temp3 ;
26955 PyObject * obj0 = 0 ;
26956 PyObject * obj1 = 0 ;
26957 PyObject * obj2 = 0 ;
26958 char *kwnames[] = {
26959 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26960 };
26961
26962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames,&obj0,&obj1,&obj2)) goto fail;
26963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail;
26965 {
26966 arg2 = &temp2;
26967 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26968 }
26969 if (obj2) {
26970 {
26971 arg3 = &temp3;
26972 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
26973 }
26974 }
26975 {
26976 PyThreadState* __tstate = wxPyBeginAllowThreads();
26977 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
26978
26979 wxPyEndAllowThreads(__tstate);
26980 if (PyErr_Occurred()) SWIG_fail;
26981 }
26982 Py_INCREF(Py_None); resultobj = Py_None;
26983 return resultobj;
26984 fail:
26985 return NULL;
26986 }
26987
26988
26989 static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
26990 PyObject *resultobj;
26991 wxWindow *arg1 = (wxWindow *) 0 ;
26992 wxSize result;
26993 PyObject * obj0 = 0 ;
26994 char *kwnames[] = {
26995 (char *) "self", NULL
26996 };
26997
26998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
26999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27000 if (SWIG_arg_fail(1)) SWIG_fail;
27001 {
27002 PyThreadState* __tstate = wxPyBeginAllowThreads();
27003 result = ((wxWindow const *)arg1)->GetMaxSize();
27004
27005 wxPyEndAllowThreads(__tstate);
27006 if (PyErr_Occurred()) SWIG_fail;
27007 }
27008 {
27009 wxSize * resultptr;
27010 resultptr = new wxSize((wxSize &)(result));
27011 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27012 }
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
27020 PyObject *resultobj;
27021 wxWindow *arg1 = (wxWindow *) 0 ;
27022 wxSize result;
27023 PyObject * obj0 = 0 ;
27024 char *kwnames[] = {
27025 (char *) "self", NULL
27026 };
27027
27028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
27029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27030 if (SWIG_arg_fail(1)) SWIG_fail;
27031 {
27032 PyThreadState* __tstate = wxPyBeginAllowThreads();
27033 result = ((wxWindow const *)arg1)->GetMinSize();
27034
27035 wxPyEndAllowThreads(__tstate);
27036 if (PyErr_Occurred()) SWIG_fail;
27037 }
27038 {
27039 wxSize * resultptr;
27040 resultptr = new wxSize((wxSize &)(result));
27041 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27042 }
27043 return resultobj;
27044 fail:
27045 return NULL;
27046 }
27047
27048
27049 static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
27050 PyObject *resultobj;
27051 wxWindow *arg1 = (wxWindow *) 0 ;
27052 wxSize *arg2 = 0 ;
27053 wxSize temp2 ;
27054 PyObject * obj0 = 0 ;
27055 PyObject * obj1 = 0 ;
27056 char *kwnames[] = {
27057 (char *) "self",(char *) "minSize", NULL
27058 };
27059
27060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
27061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27062 if (SWIG_arg_fail(1)) SWIG_fail;
27063 {
27064 arg2 = &temp2;
27065 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27066 }
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 (arg1)->SetMinSize((wxSize const &)*arg2);
27070
27071 wxPyEndAllowThreads(__tstate);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
27074 Py_INCREF(Py_None); resultobj = Py_None;
27075 return resultobj;
27076 fail:
27077 return NULL;
27078 }
27079
27080
27081 static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
27082 PyObject *resultobj;
27083 wxWindow *arg1 = (wxWindow *) 0 ;
27084 wxSize *arg2 = 0 ;
27085 wxSize temp2 ;
27086 PyObject * obj0 = 0 ;
27087 PyObject * obj1 = 0 ;
27088 char *kwnames[] = {
27089 (char *) "self",(char *) "maxSize", NULL
27090 };
27091
27092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail;
27093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27094 if (SWIG_arg_fail(1)) SWIG_fail;
27095 {
27096 arg2 = &temp2;
27097 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27098 }
27099 {
27100 PyThreadState* __tstate = wxPyBeginAllowThreads();
27101 (arg1)->SetMaxSize((wxSize const &)*arg2);
27102
27103 wxPyEndAllowThreads(__tstate);
27104 if (PyErr_Occurred()) SWIG_fail;
27105 }
27106 Py_INCREF(Py_None); resultobj = Py_None;
27107 return resultobj;
27108 fail:
27109 return NULL;
27110 }
27111
27112
27113 static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) {
27114 PyObject *resultobj;
27115 wxWindow *arg1 = (wxWindow *) 0 ;
27116 int result;
27117 PyObject * obj0 = 0 ;
27118 char *kwnames[] = {
27119 (char *) "self", NULL
27120 };
27121
27122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
27123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27124 if (SWIG_arg_fail(1)) SWIG_fail;
27125 {
27126 PyThreadState* __tstate = wxPyBeginAllowThreads();
27127 result = (int)((wxWindow const *)arg1)->GetMinWidth();
27128
27129 wxPyEndAllowThreads(__tstate);
27130 if (PyErr_Occurred()) SWIG_fail;
27131 }
27132 {
27133 resultobj = SWIG_From_int((int)(result));
27134 }
27135 return resultobj;
27136 fail:
27137 return NULL;
27138 }
27139
27140
27141 static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
27142 PyObject *resultobj;
27143 wxWindow *arg1 = (wxWindow *) 0 ;
27144 int result;
27145 PyObject * obj0 = 0 ;
27146 char *kwnames[] = {
27147 (char *) "self", NULL
27148 };
27149
27150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
27151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27152 if (SWIG_arg_fail(1)) SWIG_fail;
27153 {
27154 PyThreadState* __tstate = wxPyBeginAllowThreads();
27155 result = (int)((wxWindow const *)arg1)->GetMinHeight();
27156
27157 wxPyEndAllowThreads(__tstate);
27158 if (PyErr_Occurred()) SWIG_fail;
27159 }
27160 {
27161 resultobj = SWIG_From_int((int)(result));
27162 }
27163 return resultobj;
27164 fail:
27165 return NULL;
27166 }
27167
27168
27169 static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) {
27170 PyObject *resultobj;
27171 wxWindow *arg1 = (wxWindow *) 0 ;
27172 int result;
27173 PyObject * obj0 = 0 ;
27174 char *kwnames[] = {
27175 (char *) "self", NULL
27176 };
27177
27178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
27179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27180 if (SWIG_arg_fail(1)) SWIG_fail;
27181 {
27182 PyThreadState* __tstate = wxPyBeginAllowThreads();
27183 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
27184
27185 wxPyEndAllowThreads(__tstate);
27186 if (PyErr_Occurred()) SWIG_fail;
27187 }
27188 {
27189 resultobj = SWIG_From_int((int)(result));
27190 }
27191 return resultobj;
27192 fail:
27193 return NULL;
27194 }
27195
27196
27197 static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) {
27198 PyObject *resultobj;
27199 wxWindow *arg1 = (wxWindow *) 0 ;
27200 int result;
27201 PyObject * obj0 = 0 ;
27202 char *kwnames[] = {
27203 (char *) "self", NULL
27204 };
27205
27206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
27207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27208 if (SWIG_arg_fail(1)) SWIG_fail;
27209 {
27210 PyThreadState* __tstate = wxPyBeginAllowThreads();
27211 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
27212
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
27216 {
27217 resultobj = SWIG_From_int((int)(result));
27218 }
27219 return resultobj;
27220 fail:
27221 return NULL;
27222 }
27223
27224
27225 static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
27226 PyObject *resultobj;
27227 wxWindow *arg1 = (wxWindow *) 0 ;
27228 wxSize *arg2 = 0 ;
27229 wxSize temp2 ;
27230 PyObject * obj0 = 0 ;
27231 PyObject * obj1 = 0 ;
27232 char *kwnames[] = {
27233 (char *) "self",(char *) "size", NULL
27234 };
27235
27236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
27237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27238 if (SWIG_arg_fail(1)) SWIG_fail;
27239 {
27240 arg2 = &temp2;
27241 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27242 }
27243 {
27244 PyThreadState* __tstate = wxPyBeginAllowThreads();
27245 (arg1)->SetVirtualSize((wxSize const &)*arg2);
27246
27247 wxPyEndAllowThreads(__tstate);
27248 if (PyErr_Occurred()) SWIG_fail;
27249 }
27250 Py_INCREF(Py_None); resultobj = Py_None;
27251 return resultobj;
27252 fail:
27253 return NULL;
27254 }
27255
27256
27257 static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
27258 PyObject *resultobj;
27259 wxWindow *arg1 = (wxWindow *) 0 ;
27260 int arg2 ;
27261 int arg3 ;
27262 PyObject * obj0 = 0 ;
27263 PyObject * obj1 = 0 ;
27264 PyObject * obj2 = 0 ;
27265 char *kwnames[] = {
27266 (char *) "self",(char *) "w",(char *) "h", NULL
27267 };
27268
27269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
27270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail;
27272 {
27273 arg2 = (int)(SWIG_As_int(obj1));
27274 if (SWIG_arg_fail(2)) SWIG_fail;
27275 }
27276 {
27277 arg3 = (int)(SWIG_As_int(obj2));
27278 if (SWIG_arg_fail(3)) SWIG_fail;
27279 }
27280 {
27281 PyThreadState* __tstate = wxPyBeginAllowThreads();
27282 (arg1)->SetVirtualSize(arg2,arg3);
27283
27284 wxPyEndAllowThreads(__tstate);
27285 if (PyErr_Occurred()) SWIG_fail;
27286 }
27287 Py_INCREF(Py_None); resultobj = Py_None;
27288 return resultobj;
27289 fail:
27290 return NULL;
27291 }
27292
27293
27294 static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
27295 PyObject *resultobj;
27296 wxWindow *arg1 = (wxWindow *) 0 ;
27297 wxSize result;
27298 PyObject * obj0 = 0 ;
27299 char *kwnames[] = {
27300 (char *) "self", NULL
27301 };
27302
27303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
27304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27305 if (SWIG_arg_fail(1)) SWIG_fail;
27306 {
27307 PyThreadState* __tstate = wxPyBeginAllowThreads();
27308 result = ((wxWindow const *)arg1)->GetVirtualSize();
27309
27310 wxPyEndAllowThreads(__tstate);
27311 if (PyErr_Occurred()) SWIG_fail;
27312 }
27313 {
27314 wxSize * resultptr;
27315 resultptr = new wxSize((wxSize &)(result));
27316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27317 }
27318 return resultobj;
27319 fail:
27320 return NULL;
27321 }
27322
27323
27324 static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
27325 PyObject *resultobj;
27326 wxWindow *arg1 = (wxWindow *) 0 ;
27327 int *arg2 = (int *) 0 ;
27328 int *arg3 = (int *) 0 ;
27329 int temp2 ;
27330 int res2 = 0 ;
27331 int temp3 ;
27332 int res3 = 0 ;
27333 PyObject * obj0 = 0 ;
27334 char *kwnames[] = {
27335 (char *) "self", NULL
27336 };
27337
27338 arg2 = &temp2; res2 = SWIG_NEWOBJ;
27339 arg3 = &temp3; res3 = SWIG_NEWOBJ;
27340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
27341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27342 if (SWIG_arg_fail(1)) SWIG_fail;
27343 {
27344 PyThreadState* __tstate = wxPyBeginAllowThreads();
27345 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
27346
27347 wxPyEndAllowThreads(__tstate);
27348 if (PyErr_Occurred()) SWIG_fail;
27349 }
27350 Py_INCREF(Py_None); resultobj = Py_None;
27351 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27352 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27353 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27354 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
27355 return resultobj;
27356 fail:
27357 return NULL;
27358 }
27359
27360
27361 static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
27362 PyObject *resultobj;
27363 wxWindow *arg1 = (wxWindow *) 0 ;
27364 wxSize result;
27365 PyObject * obj0 = 0 ;
27366 char *kwnames[] = {
27367 (char *) "self", NULL
27368 };
27369
27370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
27371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27372 if (SWIG_arg_fail(1)) SWIG_fail;
27373 {
27374 PyThreadState* __tstate = wxPyBeginAllowThreads();
27375 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
27376
27377 wxPyEndAllowThreads(__tstate);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 }
27380 {
27381 wxSize * resultptr;
27382 resultptr = new wxSize((wxSize &)(result));
27383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27384 }
27385 return resultobj;
27386 fail:
27387 return NULL;
27388 }
27389
27390
27391 static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
27392 PyObject *resultobj;
27393 wxWindow *arg1 = (wxWindow *) 0 ;
27394 bool arg2 = (bool) true ;
27395 bool result;
27396 PyObject * obj0 = 0 ;
27397 PyObject * obj1 = 0 ;
27398 char *kwnames[] = {
27399 (char *) "self",(char *) "show", NULL
27400 };
27401
27402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
27403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27404 if (SWIG_arg_fail(1)) SWIG_fail;
27405 if (obj1) {
27406 {
27407 arg2 = (bool)(SWIG_As_bool(obj1));
27408 if (SWIG_arg_fail(2)) SWIG_fail;
27409 }
27410 }
27411 {
27412 PyThreadState* __tstate = wxPyBeginAllowThreads();
27413 result = (bool)(arg1)->Show(arg2);
27414
27415 wxPyEndAllowThreads(__tstate);
27416 if (PyErr_Occurred()) SWIG_fail;
27417 }
27418 {
27419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27420 }
27421 return resultobj;
27422 fail:
27423 return NULL;
27424 }
27425
27426
27427 static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
27428 PyObject *resultobj;
27429 wxWindow *arg1 = (wxWindow *) 0 ;
27430 bool result;
27431 PyObject * obj0 = 0 ;
27432 char *kwnames[] = {
27433 (char *) "self", NULL
27434 };
27435
27436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
27437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27438 if (SWIG_arg_fail(1)) SWIG_fail;
27439 {
27440 PyThreadState* __tstate = wxPyBeginAllowThreads();
27441 result = (bool)(arg1)->Hide();
27442
27443 wxPyEndAllowThreads(__tstate);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 {
27447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27448 }
27449 return resultobj;
27450 fail:
27451 return NULL;
27452 }
27453
27454
27455 static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
27456 PyObject *resultobj;
27457 wxWindow *arg1 = (wxWindow *) 0 ;
27458 bool arg2 = (bool) true ;
27459 bool result;
27460 PyObject * obj0 = 0 ;
27461 PyObject * obj1 = 0 ;
27462 char *kwnames[] = {
27463 (char *) "self",(char *) "enable", NULL
27464 };
27465
27466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
27467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27468 if (SWIG_arg_fail(1)) SWIG_fail;
27469 if (obj1) {
27470 {
27471 arg2 = (bool)(SWIG_As_bool(obj1));
27472 if (SWIG_arg_fail(2)) SWIG_fail;
27473 }
27474 }
27475 {
27476 PyThreadState* __tstate = wxPyBeginAllowThreads();
27477 result = (bool)(arg1)->Enable(arg2);
27478
27479 wxPyEndAllowThreads(__tstate);
27480 if (PyErr_Occurred()) SWIG_fail;
27481 }
27482 {
27483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27484 }
27485 return resultobj;
27486 fail:
27487 return NULL;
27488 }
27489
27490
27491 static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) {
27492 PyObject *resultobj;
27493 wxWindow *arg1 = (wxWindow *) 0 ;
27494 bool result;
27495 PyObject * obj0 = 0 ;
27496 char *kwnames[] = {
27497 (char *) "self", NULL
27498 };
27499
27500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
27501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27502 if (SWIG_arg_fail(1)) SWIG_fail;
27503 {
27504 PyThreadState* __tstate = wxPyBeginAllowThreads();
27505 result = (bool)(arg1)->Disable();
27506
27507 wxPyEndAllowThreads(__tstate);
27508 if (PyErr_Occurred()) SWIG_fail;
27509 }
27510 {
27511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27512 }
27513 return resultobj;
27514 fail:
27515 return NULL;
27516 }
27517
27518
27519 static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
27520 PyObject *resultobj;
27521 wxWindow *arg1 = (wxWindow *) 0 ;
27522 bool result;
27523 PyObject * obj0 = 0 ;
27524 char *kwnames[] = {
27525 (char *) "self", NULL
27526 };
27527
27528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
27529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27530 if (SWIG_arg_fail(1)) SWIG_fail;
27531 {
27532 PyThreadState* __tstate = wxPyBeginAllowThreads();
27533 result = (bool)((wxWindow const *)arg1)->IsShown();
27534
27535 wxPyEndAllowThreads(__tstate);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 {
27539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27540 }
27541 return resultobj;
27542 fail:
27543 return NULL;
27544 }
27545
27546
27547 static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
27548 PyObject *resultobj;
27549 wxWindow *arg1 = (wxWindow *) 0 ;
27550 bool result;
27551 PyObject * obj0 = 0 ;
27552 char *kwnames[] = {
27553 (char *) "self", NULL
27554 };
27555
27556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
27557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27558 if (SWIG_arg_fail(1)) SWIG_fail;
27559 {
27560 PyThreadState* __tstate = wxPyBeginAllowThreads();
27561 result = (bool)((wxWindow const *)arg1)->IsEnabled();
27562
27563 wxPyEndAllowThreads(__tstate);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 }
27566 {
27567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27568 }
27569 return resultobj;
27570 fail:
27571 return NULL;
27572 }
27573
27574
27575 static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
27576 PyObject *resultobj;
27577 wxWindow *arg1 = (wxWindow *) 0 ;
27578 long arg2 ;
27579 PyObject * obj0 = 0 ;
27580 PyObject * obj1 = 0 ;
27581 char *kwnames[] = {
27582 (char *) "self",(char *) "style", NULL
27583 };
27584
27585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
27586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27587 if (SWIG_arg_fail(1)) SWIG_fail;
27588 {
27589 arg2 = (long)(SWIG_As_long(obj1));
27590 if (SWIG_arg_fail(2)) SWIG_fail;
27591 }
27592 {
27593 PyThreadState* __tstate = wxPyBeginAllowThreads();
27594 (arg1)->SetWindowStyleFlag(arg2);
27595
27596 wxPyEndAllowThreads(__tstate);
27597 if (PyErr_Occurred()) SWIG_fail;
27598 }
27599 Py_INCREF(Py_None); resultobj = Py_None;
27600 return resultobj;
27601 fail:
27602 return NULL;
27603 }
27604
27605
27606 static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
27607 PyObject *resultobj;
27608 wxWindow *arg1 = (wxWindow *) 0 ;
27609 long result;
27610 PyObject * obj0 = 0 ;
27611 char *kwnames[] = {
27612 (char *) "self", NULL
27613 };
27614
27615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
27616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27617 if (SWIG_arg_fail(1)) SWIG_fail;
27618 {
27619 PyThreadState* __tstate = wxPyBeginAllowThreads();
27620 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
27621
27622 wxPyEndAllowThreads(__tstate);
27623 if (PyErr_Occurred()) SWIG_fail;
27624 }
27625 {
27626 resultobj = SWIG_From_long((long)(result));
27627 }
27628 return resultobj;
27629 fail:
27630 return NULL;
27631 }
27632
27633
27634 static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
27635 PyObject *resultobj;
27636 wxWindow *arg1 = (wxWindow *) 0 ;
27637 int arg2 ;
27638 bool result;
27639 PyObject * obj0 = 0 ;
27640 PyObject * obj1 = 0 ;
27641 char *kwnames[] = {
27642 (char *) "self",(char *) "flag", NULL
27643 };
27644
27645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
27646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27647 if (SWIG_arg_fail(1)) SWIG_fail;
27648 {
27649 arg2 = (int)(SWIG_As_int(obj1));
27650 if (SWIG_arg_fail(2)) SWIG_fail;
27651 }
27652 {
27653 PyThreadState* __tstate = wxPyBeginAllowThreads();
27654 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
27655
27656 wxPyEndAllowThreads(__tstate);
27657 if (PyErr_Occurred()) SWIG_fail;
27658 }
27659 {
27660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27661 }
27662 return resultobj;
27663 fail:
27664 return NULL;
27665 }
27666
27667
27668 static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) {
27669 PyObject *resultobj;
27670 wxWindow *arg1 = (wxWindow *) 0 ;
27671 bool result;
27672 PyObject * obj0 = 0 ;
27673 char *kwnames[] = {
27674 (char *) "self", NULL
27675 };
27676
27677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
27678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27679 if (SWIG_arg_fail(1)) SWIG_fail;
27680 {
27681 PyThreadState* __tstate = wxPyBeginAllowThreads();
27682 result = (bool)((wxWindow const *)arg1)->IsRetained();
27683
27684 wxPyEndAllowThreads(__tstate);
27685 if (PyErr_Occurred()) SWIG_fail;
27686 }
27687 {
27688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27689 }
27690 return resultobj;
27691 fail:
27692 return NULL;
27693 }
27694
27695
27696 static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
27697 PyObject *resultobj;
27698 wxWindow *arg1 = (wxWindow *) 0 ;
27699 long arg2 ;
27700 PyObject * obj0 = 0 ;
27701 PyObject * obj1 = 0 ;
27702 char *kwnames[] = {
27703 (char *) "self",(char *) "exStyle", NULL
27704 };
27705
27706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
27707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27708 if (SWIG_arg_fail(1)) SWIG_fail;
27709 {
27710 arg2 = (long)(SWIG_As_long(obj1));
27711 if (SWIG_arg_fail(2)) SWIG_fail;
27712 }
27713 {
27714 PyThreadState* __tstate = wxPyBeginAllowThreads();
27715 (arg1)->SetExtraStyle(arg2);
27716
27717 wxPyEndAllowThreads(__tstate);
27718 if (PyErr_Occurred()) SWIG_fail;
27719 }
27720 Py_INCREF(Py_None); resultobj = Py_None;
27721 return resultobj;
27722 fail:
27723 return NULL;
27724 }
27725
27726
27727 static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
27728 PyObject *resultobj;
27729 wxWindow *arg1 = (wxWindow *) 0 ;
27730 long result;
27731 PyObject * obj0 = 0 ;
27732 char *kwnames[] = {
27733 (char *) "self", NULL
27734 };
27735
27736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
27737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27738 if (SWIG_arg_fail(1)) SWIG_fail;
27739 {
27740 PyThreadState* __tstate = wxPyBeginAllowThreads();
27741 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
27742
27743 wxPyEndAllowThreads(__tstate);
27744 if (PyErr_Occurred()) SWIG_fail;
27745 }
27746 {
27747 resultobj = SWIG_From_long((long)(result));
27748 }
27749 return resultobj;
27750 fail:
27751 return NULL;
27752 }
27753
27754
27755 static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
27756 PyObject *resultobj;
27757 wxWindow *arg1 = (wxWindow *) 0 ;
27758 bool arg2 = (bool) true ;
27759 PyObject * obj0 = 0 ;
27760 PyObject * obj1 = 0 ;
27761 char *kwnames[] = {
27762 (char *) "self",(char *) "modal", NULL
27763 };
27764
27765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
27766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27767 if (SWIG_arg_fail(1)) SWIG_fail;
27768 if (obj1) {
27769 {
27770 arg2 = (bool)(SWIG_As_bool(obj1));
27771 if (SWIG_arg_fail(2)) SWIG_fail;
27772 }
27773 }
27774 {
27775 PyThreadState* __tstate = wxPyBeginAllowThreads();
27776 (arg1)->MakeModal(arg2);
27777
27778 wxPyEndAllowThreads(__tstate);
27779 if (PyErr_Occurred()) SWIG_fail;
27780 }
27781 Py_INCREF(Py_None); resultobj = Py_None;
27782 return resultobj;
27783 fail:
27784 return NULL;
27785 }
27786
27787
27788 static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
27789 PyObject *resultobj;
27790 wxWindow *arg1 = (wxWindow *) 0 ;
27791 bool arg2 ;
27792 PyObject * obj0 = 0 ;
27793 PyObject * obj1 = 0 ;
27794 char *kwnames[] = {
27795 (char *) "self",(char *) "enableTheme", NULL
27796 };
27797
27798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
27799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27800 if (SWIG_arg_fail(1)) SWIG_fail;
27801 {
27802 arg2 = (bool)(SWIG_As_bool(obj1));
27803 if (SWIG_arg_fail(2)) SWIG_fail;
27804 }
27805 {
27806 PyThreadState* __tstate = wxPyBeginAllowThreads();
27807 (arg1)->SetThemeEnabled(arg2);
27808
27809 wxPyEndAllowThreads(__tstate);
27810 if (PyErr_Occurred()) SWIG_fail;
27811 }
27812 Py_INCREF(Py_None); resultobj = Py_None;
27813 return resultobj;
27814 fail:
27815 return NULL;
27816 }
27817
27818
27819 static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
27820 PyObject *resultobj;
27821 wxWindow *arg1 = (wxWindow *) 0 ;
27822 bool result;
27823 PyObject * obj0 = 0 ;
27824 char *kwnames[] = {
27825 (char *) "self", NULL
27826 };
27827
27828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
27829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27830 if (SWIG_arg_fail(1)) SWIG_fail;
27831 {
27832 PyThreadState* __tstate = wxPyBeginAllowThreads();
27833 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
27834
27835 wxPyEndAllowThreads(__tstate);
27836 if (PyErr_Occurred()) SWIG_fail;
27837 }
27838 {
27839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27840 }
27841 return resultobj;
27842 fail:
27843 return NULL;
27844 }
27845
27846
27847 static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
27848 PyObject *resultobj;
27849 wxWindow *arg1 = (wxWindow *) 0 ;
27850 PyObject * obj0 = 0 ;
27851 char *kwnames[] = {
27852 (char *) "self", NULL
27853 };
27854
27855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
27856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27857 if (SWIG_arg_fail(1)) SWIG_fail;
27858 {
27859 PyThreadState* __tstate = wxPyBeginAllowThreads();
27860 (arg1)->SetFocus();
27861
27862 wxPyEndAllowThreads(__tstate);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 }
27865 Py_INCREF(Py_None); resultobj = Py_None;
27866 return resultobj;
27867 fail:
27868 return NULL;
27869 }
27870
27871
27872 static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) {
27873 PyObject *resultobj;
27874 wxWindow *arg1 = (wxWindow *) 0 ;
27875 PyObject * obj0 = 0 ;
27876 char *kwnames[] = {
27877 (char *) "self", NULL
27878 };
27879
27880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
27881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27882 if (SWIG_arg_fail(1)) SWIG_fail;
27883 {
27884 PyThreadState* __tstate = wxPyBeginAllowThreads();
27885 (arg1)->SetFocusFromKbd();
27886
27887 wxPyEndAllowThreads(__tstate);
27888 if (PyErr_Occurred()) SWIG_fail;
27889 }
27890 Py_INCREF(Py_None); resultobj = Py_None;
27891 return resultobj;
27892 fail:
27893 return NULL;
27894 }
27895
27896
27897 static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) {
27898 PyObject *resultobj;
27899 wxWindow *result;
27900 char *kwnames[] = {
27901 NULL
27902 };
27903
27904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
27905 {
27906 if (!wxPyCheckForApp()) SWIG_fail;
27907 PyThreadState* __tstate = wxPyBeginAllowThreads();
27908 result = (wxWindow *)wxWindow::FindFocus();
27909
27910 wxPyEndAllowThreads(__tstate);
27911 if (PyErr_Occurred()) SWIG_fail;
27912 }
27913 {
27914 resultobj = wxPyMake_wxObject(result, 0);
27915 }
27916 return resultobj;
27917 fail:
27918 return NULL;
27919 }
27920
27921
27922 static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
27923 PyObject *resultobj;
27924 wxWindow *arg1 = (wxWindow *) 0 ;
27925 bool result;
27926 PyObject * obj0 = 0 ;
27927 char *kwnames[] = {
27928 (char *) "self", NULL
27929 };
27930
27931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
27932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27933 if (SWIG_arg_fail(1)) SWIG_fail;
27934 {
27935 PyThreadState* __tstate = wxPyBeginAllowThreads();
27936 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
27937
27938 wxPyEndAllowThreads(__tstate);
27939 if (PyErr_Occurred()) SWIG_fail;
27940 }
27941 {
27942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27943 }
27944 return resultobj;
27945 fail:
27946 return NULL;
27947 }
27948
27949
27950 static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
27951 PyObject *resultobj;
27952 wxWindow *arg1 = (wxWindow *) 0 ;
27953 bool result;
27954 PyObject * obj0 = 0 ;
27955 char *kwnames[] = {
27956 (char *) "self", NULL
27957 };
27958
27959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
27960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27961 if (SWIG_arg_fail(1)) SWIG_fail;
27962 {
27963 PyThreadState* __tstate = wxPyBeginAllowThreads();
27964 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
27965
27966 wxPyEndAllowThreads(__tstate);
27967 if (PyErr_Occurred()) SWIG_fail;
27968 }
27969 {
27970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27971 }
27972 return resultobj;
27973 fail:
27974 return NULL;
27975 }
27976
27977
27978 static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
27979 PyObject *resultobj;
27980 wxWindow *arg1 = (wxWindow *) 0 ;
27981 wxWindow *result;
27982 PyObject * obj0 = 0 ;
27983 char *kwnames[] = {
27984 (char *) "self", NULL
27985 };
27986
27987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
27988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27989 if (SWIG_arg_fail(1)) SWIG_fail;
27990 {
27991 PyThreadState* __tstate = wxPyBeginAllowThreads();
27992 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
27993
27994 wxPyEndAllowThreads(__tstate);
27995 if (PyErr_Occurred()) SWIG_fail;
27996 }
27997 {
27998 resultobj = wxPyMake_wxObject(result, 0);
27999 }
28000 return resultobj;
28001 fail:
28002 return NULL;
28003 }
28004
28005
28006 static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
28007 PyObject *resultobj;
28008 wxWindow *arg1 = (wxWindow *) 0 ;
28009 wxWindow *arg2 = (wxWindow *) 0 ;
28010 wxWindow *result;
28011 PyObject * obj0 = 0 ;
28012 PyObject * obj1 = 0 ;
28013 char *kwnames[] = {
28014 (char *) "self",(char *) "child", NULL
28015 };
28016
28017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
28018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28019 if (SWIG_arg_fail(1)) SWIG_fail;
28020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28021 if (SWIG_arg_fail(2)) SWIG_fail;
28022 {
28023 PyThreadState* __tstate = wxPyBeginAllowThreads();
28024 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
28025
28026 wxPyEndAllowThreads(__tstate);
28027 if (PyErr_Occurred()) SWIG_fail;
28028 }
28029 {
28030 resultobj = wxPyMake_wxObject(result, 0);
28031 }
28032 return resultobj;
28033 fail:
28034 return NULL;
28035 }
28036
28037
28038 static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
28039 PyObject *resultobj;
28040 wxWindow *arg1 = (wxWindow *) 0 ;
28041 wxWindow *arg2 = (wxWindow *) 0 ;
28042 PyObject * obj0 = 0 ;
28043 PyObject * obj1 = 0 ;
28044 char *kwnames[] = {
28045 (char *) "self",(char *) "win", NULL
28046 };
28047
28048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
28049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28050 if (SWIG_arg_fail(1)) SWIG_fail;
28051 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28052 if (SWIG_arg_fail(2)) SWIG_fail;
28053 {
28054 PyThreadState* __tstate = wxPyBeginAllowThreads();
28055 (arg1)->SetTmpDefaultItem(arg2);
28056
28057 wxPyEndAllowThreads(__tstate);
28058 if (PyErr_Occurred()) SWIG_fail;
28059 }
28060 Py_INCREF(Py_None); resultobj = Py_None;
28061 return resultobj;
28062 fail:
28063 return NULL;
28064 }
28065
28066
28067 static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) {
28068 PyObject *resultobj;
28069 wxWindow *arg1 = (wxWindow *) 0 ;
28070 int arg2 = (int) wxNavigationKeyEvent::IsForward ;
28071 bool result;
28072 PyObject * obj0 = 0 ;
28073 PyObject * obj1 = 0 ;
28074 char *kwnames[] = {
28075 (char *) "self",(char *) "flags", NULL
28076 };
28077
28078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail;
28079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28080 if (SWIG_arg_fail(1)) SWIG_fail;
28081 if (obj1) {
28082 {
28083 arg2 = (int)(SWIG_As_int(obj1));
28084 if (SWIG_arg_fail(2)) SWIG_fail;
28085 }
28086 }
28087 {
28088 PyThreadState* __tstate = wxPyBeginAllowThreads();
28089 result = (bool)(arg1)->Navigate(arg2);
28090
28091 wxPyEndAllowThreads(__tstate);
28092 if (PyErr_Occurred()) SWIG_fail;
28093 }
28094 {
28095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28096 }
28097 return resultobj;
28098 fail:
28099 return NULL;
28100 }
28101
28102
28103 static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
28104 PyObject *resultobj;
28105 wxWindow *arg1 = (wxWindow *) 0 ;
28106 wxWindow *arg2 = (wxWindow *) 0 ;
28107 PyObject * obj0 = 0 ;
28108 PyObject * obj1 = 0 ;
28109 char *kwnames[] = {
28110 (char *) "self",(char *) "win", NULL
28111 };
28112
28113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveAfterInTabOrder",kwnames,&obj0,&obj1)) goto fail;
28114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28115 if (SWIG_arg_fail(1)) SWIG_fail;
28116 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28117 if (SWIG_arg_fail(2)) SWIG_fail;
28118 {
28119 PyThreadState* __tstate = wxPyBeginAllowThreads();
28120 (arg1)->MoveAfterInTabOrder(arg2);
28121
28122 wxPyEndAllowThreads(__tstate);
28123 if (PyErr_Occurred()) SWIG_fail;
28124 }
28125 Py_INCREF(Py_None); resultobj = Py_None;
28126 return resultobj;
28127 fail:
28128 return NULL;
28129 }
28130
28131
28132 static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
28133 PyObject *resultobj;
28134 wxWindow *arg1 = (wxWindow *) 0 ;
28135 wxWindow *arg2 = (wxWindow *) 0 ;
28136 PyObject * obj0 = 0 ;
28137 PyObject * obj1 = 0 ;
28138 char *kwnames[] = {
28139 (char *) "self",(char *) "win", NULL
28140 };
28141
28142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames,&obj0,&obj1)) goto fail;
28143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28144 if (SWIG_arg_fail(1)) SWIG_fail;
28145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28146 if (SWIG_arg_fail(2)) SWIG_fail;
28147 {
28148 PyThreadState* __tstate = wxPyBeginAllowThreads();
28149 (arg1)->MoveBeforeInTabOrder(arg2);
28150
28151 wxPyEndAllowThreads(__tstate);
28152 if (PyErr_Occurred()) SWIG_fail;
28153 }
28154 Py_INCREF(Py_None); resultobj = Py_None;
28155 return resultobj;
28156 fail:
28157 return NULL;
28158 }
28159
28160
28161 static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28162 PyObject *resultobj;
28163 wxWindow *arg1 = (wxWindow *) 0 ;
28164 PyObject *result;
28165 PyObject * obj0 = 0 ;
28166 char *kwnames[] = {
28167 (char *) "self", NULL
28168 };
28169
28170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
28171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28172 if (SWIG_arg_fail(1)) SWIG_fail;
28173 {
28174 PyThreadState* __tstate = wxPyBeginAllowThreads();
28175 result = (PyObject *)wxWindow_GetChildren(arg1);
28176
28177 wxPyEndAllowThreads(__tstate);
28178 if (PyErr_Occurred()) SWIG_fail;
28179 }
28180 resultobj = result;
28181 return resultobj;
28182 fail:
28183 return NULL;
28184 }
28185
28186
28187 static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
28188 PyObject *resultobj;
28189 wxWindow *arg1 = (wxWindow *) 0 ;
28190 wxWindow *result;
28191 PyObject * obj0 = 0 ;
28192 char *kwnames[] = {
28193 (char *) "self", NULL
28194 };
28195
28196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
28197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28198 if (SWIG_arg_fail(1)) SWIG_fail;
28199 {
28200 PyThreadState* __tstate = wxPyBeginAllowThreads();
28201 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
28202
28203 wxPyEndAllowThreads(__tstate);
28204 if (PyErr_Occurred()) SWIG_fail;
28205 }
28206 {
28207 resultobj = wxPyMake_wxObject(result, 0);
28208 }
28209 return resultobj;
28210 fail:
28211 return NULL;
28212 }
28213
28214
28215 static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) {
28216 PyObject *resultobj;
28217 wxWindow *arg1 = (wxWindow *) 0 ;
28218 wxWindow *result;
28219 PyObject * obj0 = 0 ;
28220 char *kwnames[] = {
28221 (char *) "self", NULL
28222 };
28223
28224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
28225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28226 if (SWIG_arg_fail(1)) SWIG_fail;
28227 {
28228 PyThreadState* __tstate = wxPyBeginAllowThreads();
28229 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
28230
28231 wxPyEndAllowThreads(__tstate);
28232 if (PyErr_Occurred()) SWIG_fail;
28233 }
28234 {
28235 resultobj = wxPyMake_wxObject(result, 0);
28236 }
28237 return resultobj;
28238 fail:
28239 return NULL;
28240 }
28241
28242
28243 static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) {
28244 PyObject *resultobj;
28245 wxWindow *arg1 = (wxWindow *) 0 ;
28246 bool result;
28247 PyObject * obj0 = 0 ;
28248 char *kwnames[] = {
28249 (char *) "self", NULL
28250 };
28251
28252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
28253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28254 if (SWIG_arg_fail(1)) SWIG_fail;
28255 {
28256 PyThreadState* __tstate = wxPyBeginAllowThreads();
28257 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
28258
28259 wxPyEndAllowThreads(__tstate);
28260 if (PyErr_Occurred()) SWIG_fail;
28261 }
28262 {
28263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28264 }
28265 return resultobj;
28266 fail:
28267 return NULL;
28268 }
28269
28270
28271 static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) {
28272 PyObject *resultobj;
28273 wxWindow *arg1 = (wxWindow *) 0 ;
28274 wxWindow *arg2 = (wxWindow *) 0 ;
28275 bool result;
28276 PyObject * obj0 = 0 ;
28277 PyObject * obj1 = 0 ;
28278 char *kwnames[] = {
28279 (char *) "self",(char *) "newParent", NULL
28280 };
28281
28282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
28283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28284 if (SWIG_arg_fail(1)) SWIG_fail;
28285 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28286 if (SWIG_arg_fail(2)) SWIG_fail;
28287 {
28288 PyThreadState* __tstate = wxPyBeginAllowThreads();
28289 result = (bool)(arg1)->Reparent(arg2);
28290
28291 wxPyEndAllowThreads(__tstate);
28292 if (PyErr_Occurred()) SWIG_fail;
28293 }
28294 {
28295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28296 }
28297 return resultobj;
28298 fail:
28299 return NULL;
28300 }
28301
28302
28303 static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
28304 PyObject *resultobj;
28305 wxWindow *arg1 = (wxWindow *) 0 ;
28306 wxWindow *arg2 = (wxWindow *) 0 ;
28307 PyObject * obj0 = 0 ;
28308 PyObject * obj1 = 0 ;
28309 char *kwnames[] = {
28310 (char *) "self",(char *) "child", NULL
28311 };
28312
28313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
28314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28315 if (SWIG_arg_fail(1)) SWIG_fail;
28316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28317 if (SWIG_arg_fail(2)) SWIG_fail;
28318 {
28319 PyThreadState* __tstate = wxPyBeginAllowThreads();
28320 (arg1)->AddChild(arg2);
28321
28322 wxPyEndAllowThreads(__tstate);
28323 if (PyErr_Occurred()) SWIG_fail;
28324 }
28325 Py_INCREF(Py_None); resultobj = Py_None;
28326 return resultobj;
28327 fail:
28328 return NULL;
28329 }
28330
28331
28332 static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
28333 PyObject *resultobj;
28334 wxWindow *arg1 = (wxWindow *) 0 ;
28335 wxWindow *arg2 = (wxWindow *) 0 ;
28336 PyObject * obj0 = 0 ;
28337 PyObject * obj1 = 0 ;
28338 char *kwnames[] = {
28339 (char *) "self",(char *) "child", NULL
28340 };
28341
28342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28344 if (SWIG_arg_fail(1)) SWIG_fail;
28345 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28346 if (SWIG_arg_fail(2)) SWIG_fail;
28347 {
28348 PyThreadState* __tstate = wxPyBeginAllowThreads();
28349 (arg1)->RemoveChild(arg2);
28350
28351 wxPyEndAllowThreads(__tstate);
28352 if (PyErr_Occurred()) SWIG_fail;
28353 }
28354 Py_INCREF(Py_None); resultobj = Py_None;
28355 return resultobj;
28356 fail:
28357 return NULL;
28358 }
28359
28360
28361 static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
28362 PyObject *resultobj;
28363 wxWindow *arg1 = (wxWindow *) 0 ;
28364 long arg2 ;
28365 wxWindow *result;
28366 PyObject * obj0 = 0 ;
28367 PyObject * obj1 = 0 ;
28368 char *kwnames[] = {
28369 (char *) "self",(char *) "winid", NULL
28370 };
28371
28372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
28373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28374 if (SWIG_arg_fail(1)) SWIG_fail;
28375 {
28376 arg2 = (long)(SWIG_As_long(obj1));
28377 if (SWIG_arg_fail(2)) SWIG_fail;
28378 }
28379 {
28380 PyThreadState* __tstate = wxPyBeginAllowThreads();
28381 result = (wxWindow *)(arg1)->FindWindow(arg2);
28382
28383 wxPyEndAllowThreads(__tstate);
28384 if (PyErr_Occurred()) SWIG_fail;
28385 }
28386 {
28387 resultobj = wxPyMake_wxObject(result, 0);
28388 }
28389 return resultobj;
28390 fail:
28391 return NULL;
28392 }
28393
28394
28395 static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
28396 PyObject *resultobj;
28397 wxWindow *arg1 = (wxWindow *) 0 ;
28398 wxString *arg2 = 0 ;
28399 wxWindow *result;
28400 bool temp2 = false ;
28401 PyObject * obj0 = 0 ;
28402 PyObject * obj1 = 0 ;
28403 char *kwnames[] = {
28404 (char *) "self",(char *) "name", NULL
28405 };
28406
28407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
28408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28409 if (SWIG_arg_fail(1)) SWIG_fail;
28410 {
28411 arg2 = wxString_in_helper(obj1);
28412 if (arg2 == NULL) SWIG_fail;
28413 temp2 = true;
28414 }
28415 {
28416 PyThreadState* __tstate = wxPyBeginAllowThreads();
28417 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
28418
28419 wxPyEndAllowThreads(__tstate);
28420 if (PyErr_Occurred()) SWIG_fail;
28421 }
28422 {
28423 resultobj = wxPyMake_wxObject(result, 0);
28424 }
28425 {
28426 if (temp2)
28427 delete arg2;
28428 }
28429 return resultobj;
28430 fail:
28431 {
28432 if (temp2)
28433 delete arg2;
28434 }
28435 return NULL;
28436 }
28437
28438
28439 static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
28440 PyObject *resultobj;
28441 wxWindow *arg1 = (wxWindow *) 0 ;
28442 wxEvtHandler *result;
28443 PyObject * obj0 = 0 ;
28444 char *kwnames[] = {
28445 (char *) "self", NULL
28446 };
28447
28448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
28449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28450 if (SWIG_arg_fail(1)) SWIG_fail;
28451 {
28452 PyThreadState* __tstate = wxPyBeginAllowThreads();
28453 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
28454
28455 wxPyEndAllowThreads(__tstate);
28456 if (PyErr_Occurred()) SWIG_fail;
28457 }
28458 {
28459 resultobj = wxPyMake_wxObject(result, 0);
28460 }
28461 return resultobj;
28462 fail:
28463 return NULL;
28464 }
28465
28466
28467 static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
28468 PyObject *resultobj;
28469 wxWindow *arg1 = (wxWindow *) 0 ;
28470 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
28471 PyObject * obj0 = 0 ;
28472 PyObject * obj1 = 0 ;
28473 char *kwnames[] = {
28474 (char *) "self",(char *) "handler", NULL
28475 };
28476
28477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
28478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail;
28480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
28481 if (SWIG_arg_fail(2)) SWIG_fail;
28482 {
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 (arg1)->SetEventHandler(arg2);
28485
28486 wxPyEndAllowThreads(__tstate);
28487 if (PyErr_Occurred()) SWIG_fail;
28488 }
28489 Py_INCREF(Py_None); resultobj = Py_None;
28490 return resultobj;
28491 fail:
28492 return NULL;
28493 }
28494
28495
28496 static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
28497 PyObject *resultobj;
28498 wxWindow *arg1 = (wxWindow *) 0 ;
28499 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
28500 PyObject * obj0 = 0 ;
28501 PyObject * obj1 = 0 ;
28502 char *kwnames[] = {
28503 (char *) "self",(char *) "handler", NULL
28504 };
28505
28506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
28507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28508 if (SWIG_arg_fail(1)) SWIG_fail;
28509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
28510 if (SWIG_arg_fail(2)) SWIG_fail;
28511 {
28512 PyThreadState* __tstate = wxPyBeginAllowThreads();
28513 (arg1)->PushEventHandler(arg2);
28514
28515 wxPyEndAllowThreads(__tstate);
28516 if (PyErr_Occurred()) SWIG_fail;
28517 }
28518 Py_INCREF(Py_None); resultobj = Py_None;
28519 return resultobj;
28520 fail:
28521 return NULL;
28522 }
28523
28524
28525 static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
28526 PyObject *resultobj;
28527 wxWindow *arg1 = (wxWindow *) 0 ;
28528 bool arg2 = (bool) false ;
28529 wxEvtHandler *result;
28530 PyObject * obj0 = 0 ;
28531 PyObject * obj1 = 0 ;
28532 char *kwnames[] = {
28533 (char *) "self",(char *) "deleteHandler", NULL
28534 };
28535
28536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
28537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28538 if (SWIG_arg_fail(1)) SWIG_fail;
28539 if (obj1) {
28540 {
28541 arg2 = (bool)(SWIG_As_bool(obj1));
28542 if (SWIG_arg_fail(2)) SWIG_fail;
28543 }
28544 }
28545 {
28546 PyThreadState* __tstate = wxPyBeginAllowThreads();
28547 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
28548
28549 wxPyEndAllowThreads(__tstate);
28550 if (PyErr_Occurred()) SWIG_fail;
28551 }
28552 {
28553 resultobj = wxPyMake_wxObject(result, 0);
28554 }
28555 return resultobj;
28556 fail:
28557 return NULL;
28558 }
28559
28560
28561 static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
28562 PyObject *resultobj;
28563 wxWindow *arg1 = (wxWindow *) 0 ;
28564 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
28565 bool result;
28566 PyObject * obj0 = 0 ;
28567 PyObject * obj1 = 0 ;
28568 char *kwnames[] = {
28569 (char *) "self",(char *) "handler", NULL
28570 };
28571
28572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
28573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28574 if (SWIG_arg_fail(1)) SWIG_fail;
28575 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
28576 if (SWIG_arg_fail(2)) SWIG_fail;
28577 {
28578 PyThreadState* __tstate = wxPyBeginAllowThreads();
28579 result = (bool)(arg1)->RemoveEventHandler(arg2);
28580
28581 wxPyEndAllowThreads(__tstate);
28582 if (PyErr_Occurred()) SWIG_fail;
28583 }
28584 {
28585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28586 }
28587 return resultobj;
28588 fail:
28589 return NULL;
28590 }
28591
28592
28593 static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
28594 PyObject *resultobj;
28595 wxWindow *arg1 = (wxWindow *) 0 ;
28596 wxValidator *arg2 = 0 ;
28597 PyObject * obj0 = 0 ;
28598 PyObject * obj1 = 0 ;
28599 char *kwnames[] = {
28600 (char *) "self",(char *) "validator", NULL
28601 };
28602
28603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
28604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28605 if (SWIG_arg_fail(1)) SWIG_fail;
28606 {
28607 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28608 if (SWIG_arg_fail(2)) SWIG_fail;
28609 if (arg2 == NULL) {
28610 SWIG_null_ref("wxValidator");
28611 }
28612 if (SWIG_arg_fail(2)) SWIG_fail;
28613 }
28614 {
28615 PyThreadState* __tstate = wxPyBeginAllowThreads();
28616 (arg1)->SetValidator((wxValidator const &)*arg2);
28617
28618 wxPyEndAllowThreads(__tstate);
28619 if (PyErr_Occurred()) SWIG_fail;
28620 }
28621 Py_INCREF(Py_None); resultobj = Py_None;
28622 return resultobj;
28623 fail:
28624 return NULL;
28625 }
28626
28627
28628 static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
28629 PyObject *resultobj;
28630 wxWindow *arg1 = (wxWindow *) 0 ;
28631 wxValidator *result;
28632 PyObject * obj0 = 0 ;
28633 char *kwnames[] = {
28634 (char *) "self", NULL
28635 };
28636
28637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
28638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28639 if (SWIG_arg_fail(1)) SWIG_fail;
28640 {
28641 PyThreadState* __tstate = wxPyBeginAllowThreads();
28642 result = (wxValidator *)(arg1)->GetValidator();
28643
28644 wxPyEndAllowThreads(__tstate);
28645 if (PyErr_Occurred()) SWIG_fail;
28646 }
28647 {
28648 resultobj = wxPyMake_wxObject(result, 0);
28649 }
28650 return resultobj;
28651 fail:
28652 return NULL;
28653 }
28654
28655
28656 static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
28657 PyObject *resultobj;
28658 wxWindow *arg1 = (wxWindow *) 0 ;
28659 bool result;
28660 PyObject * obj0 = 0 ;
28661 char *kwnames[] = {
28662 (char *) "self", NULL
28663 };
28664
28665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
28666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28667 if (SWIG_arg_fail(1)) SWIG_fail;
28668 {
28669 PyThreadState* __tstate = wxPyBeginAllowThreads();
28670 result = (bool)(arg1)->Validate();
28671
28672 wxPyEndAllowThreads(__tstate);
28673 if (PyErr_Occurred()) SWIG_fail;
28674 }
28675 {
28676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28677 }
28678 return resultobj;
28679 fail:
28680 return NULL;
28681 }
28682
28683
28684 static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
28685 PyObject *resultobj;
28686 wxWindow *arg1 = (wxWindow *) 0 ;
28687 bool result;
28688 PyObject * obj0 = 0 ;
28689 char *kwnames[] = {
28690 (char *) "self", NULL
28691 };
28692
28693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
28694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28695 if (SWIG_arg_fail(1)) SWIG_fail;
28696 {
28697 PyThreadState* __tstate = wxPyBeginAllowThreads();
28698 result = (bool)(arg1)->TransferDataToWindow();
28699
28700 wxPyEndAllowThreads(__tstate);
28701 if (PyErr_Occurred()) SWIG_fail;
28702 }
28703 {
28704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28705 }
28706 return resultobj;
28707 fail:
28708 return NULL;
28709 }
28710
28711
28712 static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
28713 PyObject *resultobj;
28714 wxWindow *arg1 = (wxWindow *) 0 ;
28715 bool result;
28716 PyObject * obj0 = 0 ;
28717 char *kwnames[] = {
28718 (char *) "self", NULL
28719 };
28720
28721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28723 if (SWIG_arg_fail(1)) SWIG_fail;
28724 {
28725 PyThreadState* __tstate = wxPyBeginAllowThreads();
28726 result = (bool)(arg1)->TransferDataFromWindow();
28727
28728 wxPyEndAllowThreads(__tstate);
28729 if (PyErr_Occurred()) SWIG_fail;
28730 }
28731 {
28732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28733 }
28734 return resultobj;
28735 fail:
28736 return NULL;
28737 }
28738
28739
28740 static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
28741 PyObject *resultobj;
28742 wxWindow *arg1 = (wxWindow *) 0 ;
28743 PyObject * obj0 = 0 ;
28744 char *kwnames[] = {
28745 (char *) "self", NULL
28746 };
28747
28748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
28749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28750 if (SWIG_arg_fail(1)) SWIG_fail;
28751 {
28752 PyThreadState* __tstate = wxPyBeginAllowThreads();
28753 (arg1)->InitDialog();
28754
28755 wxPyEndAllowThreads(__tstate);
28756 if (PyErr_Occurred()) SWIG_fail;
28757 }
28758 Py_INCREF(Py_None); resultobj = Py_None;
28759 return resultobj;
28760 fail:
28761 return NULL;
28762 }
28763
28764
28765 static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
28766 PyObject *resultobj;
28767 wxWindow *arg1 = (wxWindow *) 0 ;
28768 wxAcceleratorTable *arg2 = 0 ;
28769 PyObject * obj0 = 0 ;
28770 PyObject * obj1 = 0 ;
28771 char *kwnames[] = {
28772 (char *) "self",(char *) "accel", NULL
28773 };
28774
28775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
28776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail;
28778 {
28779 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0);
28780 if (SWIG_arg_fail(2)) SWIG_fail;
28781 if (arg2 == NULL) {
28782 SWIG_null_ref("wxAcceleratorTable");
28783 }
28784 if (SWIG_arg_fail(2)) SWIG_fail;
28785 }
28786 {
28787 PyThreadState* __tstate = wxPyBeginAllowThreads();
28788 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
28789
28790 wxPyEndAllowThreads(__tstate);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 }
28793 Py_INCREF(Py_None); resultobj = Py_None;
28794 return resultobj;
28795 fail:
28796 return NULL;
28797 }
28798
28799
28800 static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
28801 PyObject *resultobj;
28802 wxWindow *arg1 = (wxWindow *) 0 ;
28803 wxAcceleratorTable *result;
28804 PyObject * obj0 = 0 ;
28805 char *kwnames[] = {
28806 (char *) "self", NULL
28807 };
28808
28809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
28810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28811 if (SWIG_arg_fail(1)) SWIG_fail;
28812 {
28813 PyThreadState* __tstate = wxPyBeginAllowThreads();
28814 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
28815
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
28820 return resultobj;
28821 fail:
28822 return NULL;
28823 }
28824
28825
28826 static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
28827 PyObject *resultobj;
28828 wxWindow *arg1 = (wxWindow *) 0 ;
28829 int arg2 ;
28830 int arg3 ;
28831 int arg4 ;
28832 bool result;
28833 PyObject * obj0 = 0 ;
28834 PyObject * obj1 = 0 ;
28835 PyObject * obj2 = 0 ;
28836 PyObject * obj3 = 0 ;
28837 char *kwnames[] = {
28838 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28839 };
28840
28841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28843 if (SWIG_arg_fail(1)) SWIG_fail;
28844 {
28845 arg2 = (int)(SWIG_As_int(obj1));
28846 if (SWIG_arg_fail(2)) SWIG_fail;
28847 }
28848 {
28849 arg3 = (int)(SWIG_As_int(obj2));
28850 if (SWIG_arg_fail(3)) SWIG_fail;
28851 }
28852 {
28853 arg4 = (int)(SWIG_As_int(obj3));
28854 if (SWIG_arg_fail(4)) SWIG_fail;
28855 }
28856 {
28857 PyThreadState* __tstate = wxPyBeginAllowThreads();
28858 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
28859
28860 wxPyEndAllowThreads(__tstate);
28861 if (PyErr_Occurred()) SWIG_fail;
28862 }
28863 {
28864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28865 }
28866 return resultobj;
28867 fail:
28868 return NULL;
28869 }
28870
28871
28872 static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
28873 PyObject *resultobj;
28874 wxWindow *arg1 = (wxWindow *) 0 ;
28875 int arg2 ;
28876 bool result;
28877 PyObject * obj0 = 0 ;
28878 PyObject * obj1 = 0 ;
28879 char *kwnames[] = {
28880 (char *) "self",(char *) "hotkeyId", NULL
28881 };
28882
28883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
28884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28885 if (SWIG_arg_fail(1)) SWIG_fail;
28886 {
28887 arg2 = (int)(SWIG_As_int(obj1));
28888 if (SWIG_arg_fail(2)) SWIG_fail;
28889 }
28890 {
28891 PyThreadState* __tstate = wxPyBeginAllowThreads();
28892 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
28893
28894 wxPyEndAllowThreads(__tstate);
28895 if (PyErr_Occurred()) SWIG_fail;
28896 }
28897 {
28898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28899 }
28900 return resultobj;
28901 fail:
28902 return NULL;
28903 }
28904
28905
28906 static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
28907 PyObject *resultobj;
28908 wxWindow *arg1 = (wxWindow *) 0 ;
28909 wxPoint *arg2 = 0 ;
28910 wxPoint result;
28911 wxPoint temp2 ;
28912 PyObject * obj0 = 0 ;
28913 PyObject * obj1 = 0 ;
28914 char *kwnames[] = {
28915 (char *) "self",(char *) "pt", NULL
28916 };
28917
28918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
28919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28920 if (SWIG_arg_fail(1)) SWIG_fail;
28921 {
28922 arg2 = &temp2;
28923 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28924 }
28925 {
28926 PyThreadState* __tstate = wxPyBeginAllowThreads();
28927 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
28928
28929 wxPyEndAllowThreads(__tstate);
28930 if (PyErr_Occurred()) SWIG_fail;
28931 }
28932 {
28933 wxPoint * resultptr;
28934 resultptr = new wxPoint((wxPoint &)(result));
28935 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28936 }
28937 return resultobj;
28938 fail:
28939 return NULL;
28940 }
28941
28942
28943 static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
28944 PyObject *resultobj;
28945 wxWindow *arg1 = (wxWindow *) 0 ;
28946 wxSize *arg2 = 0 ;
28947 wxSize result;
28948 wxSize temp2 ;
28949 PyObject * obj0 = 0 ;
28950 PyObject * obj1 = 0 ;
28951 char *kwnames[] = {
28952 (char *) "self",(char *) "sz", NULL
28953 };
28954
28955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
28956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28957 if (SWIG_arg_fail(1)) SWIG_fail;
28958 {
28959 arg2 = &temp2;
28960 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28961 }
28962 {
28963 PyThreadState* __tstate = wxPyBeginAllowThreads();
28964 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
28965
28966 wxPyEndAllowThreads(__tstate);
28967 if (PyErr_Occurred()) SWIG_fail;
28968 }
28969 {
28970 wxSize * resultptr;
28971 resultptr = new wxSize((wxSize &)(result));
28972 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28973 }
28974 return resultobj;
28975 fail:
28976 return NULL;
28977 }
28978
28979
28980 static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) {
28981 PyObject *resultobj;
28982 wxWindow *arg1 = (wxWindow *) 0 ;
28983 wxPoint *arg2 = 0 ;
28984 wxPoint result;
28985 wxPoint temp2 ;
28986 PyObject * obj0 = 0 ;
28987 PyObject * obj1 = 0 ;
28988 char *kwnames[] = {
28989 (char *) "self",(char *) "pt", NULL
28990 };
28991
28992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
28993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28994 if (SWIG_arg_fail(1)) SWIG_fail;
28995 {
28996 arg2 = &temp2;
28997 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28998 }
28999 {
29000 PyThreadState* __tstate = wxPyBeginAllowThreads();
29001 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
29002
29003 wxPyEndAllowThreads(__tstate);
29004 if (PyErr_Occurred()) SWIG_fail;
29005 }
29006 {
29007 wxPoint * resultptr;
29008 resultptr = new wxPoint((wxPoint &)(result));
29009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29010 }
29011 return resultobj;
29012 fail:
29013 return NULL;
29014 }
29015
29016
29017 static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) {
29018 PyObject *resultobj;
29019 wxWindow *arg1 = (wxWindow *) 0 ;
29020 wxSize *arg2 = 0 ;
29021 wxSize result;
29022 wxSize temp2 ;
29023 PyObject * obj0 = 0 ;
29024 PyObject * obj1 = 0 ;
29025 char *kwnames[] = {
29026 (char *) "self",(char *) "sz", NULL
29027 };
29028
29029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
29030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29031 if (SWIG_arg_fail(1)) SWIG_fail;
29032 {
29033 arg2 = &temp2;
29034 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29035 }
29036 {
29037 PyThreadState* __tstate = wxPyBeginAllowThreads();
29038 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
29039
29040 wxPyEndAllowThreads(__tstate);
29041 if (PyErr_Occurred()) SWIG_fail;
29042 }
29043 {
29044 wxSize * resultptr;
29045 resultptr = new wxSize((wxSize &)(result));
29046 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29047 }
29048 return resultobj;
29049 fail:
29050 return NULL;
29051 }
29052
29053
29054 static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
29055 PyObject *resultobj;
29056 wxWindow *arg1 = (wxWindow *) 0 ;
29057 wxPoint *arg2 = 0 ;
29058 wxPoint result;
29059 wxPoint temp2 ;
29060 PyObject * obj0 = 0 ;
29061 PyObject * obj1 = 0 ;
29062 char *kwnames[] = {
29063 (char *) "self",(char *) "pt", NULL
29064 };
29065
29066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
29067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29068 if (SWIG_arg_fail(1)) SWIG_fail;
29069 {
29070 arg2 = &temp2;
29071 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29072 }
29073 {
29074 PyThreadState* __tstate = wxPyBeginAllowThreads();
29075 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
29076
29077 wxPyEndAllowThreads(__tstate);
29078 if (PyErr_Occurred()) SWIG_fail;
29079 }
29080 {
29081 wxPoint * resultptr;
29082 resultptr = new wxPoint((wxPoint &)(result));
29083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29084 }
29085 return resultobj;
29086 fail:
29087 return NULL;
29088 }
29089
29090
29091 static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
29092 PyObject *resultobj;
29093 wxWindow *arg1 = (wxWindow *) 0 ;
29094 wxSize *arg2 = 0 ;
29095 wxSize result;
29096 wxSize temp2 ;
29097 PyObject * obj0 = 0 ;
29098 PyObject * obj1 = 0 ;
29099 char *kwnames[] = {
29100 (char *) "self",(char *) "sz", NULL
29101 };
29102
29103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
29104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29105 if (SWIG_arg_fail(1)) SWIG_fail;
29106 {
29107 arg2 = &temp2;
29108 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29109 }
29110 {
29111 PyThreadState* __tstate = wxPyBeginAllowThreads();
29112 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
29113
29114 wxPyEndAllowThreads(__tstate);
29115 if (PyErr_Occurred()) SWIG_fail;
29116 }
29117 {
29118 wxSize * resultptr;
29119 resultptr = new wxSize((wxSize &)(result));
29120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29121 }
29122 return resultobj;
29123 fail:
29124 return NULL;
29125 }
29126
29127
29128 static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) {
29129 PyObject *resultobj;
29130 wxWindow *arg1 = (wxWindow *) 0 ;
29131 int arg2 ;
29132 int arg3 ;
29133 PyObject * obj0 = 0 ;
29134 PyObject * obj1 = 0 ;
29135 PyObject * obj2 = 0 ;
29136 char *kwnames[] = {
29137 (char *) "self",(char *) "x",(char *) "y", NULL
29138 };
29139
29140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
29141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29142 if (SWIG_arg_fail(1)) SWIG_fail;
29143 {
29144 arg2 = (int)(SWIG_As_int(obj1));
29145 if (SWIG_arg_fail(2)) SWIG_fail;
29146 }
29147 {
29148 arg3 = (int)(SWIG_As_int(obj2));
29149 if (SWIG_arg_fail(3)) SWIG_fail;
29150 }
29151 {
29152 PyThreadState* __tstate = wxPyBeginAllowThreads();
29153 (arg1)->WarpPointer(arg2,arg3);
29154
29155 wxPyEndAllowThreads(__tstate);
29156 if (PyErr_Occurred()) SWIG_fail;
29157 }
29158 Py_INCREF(Py_None); resultobj = Py_None;
29159 return resultobj;
29160 fail:
29161 return NULL;
29162 }
29163
29164
29165 static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) {
29166 PyObject *resultobj;
29167 wxWindow *arg1 = (wxWindow *) 0 ;
29168 PyObject * obj0 = 0 ;
29169 char *kwnames[] = {
29170 (char *) "self", NULL
29171 };
29172
29173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
29174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29175 if (SWIG_arg_fail(1)) SWIG_fail;
29176 {
29177 PyThreadState* __tstate = wxPyBeginAllowThreads();
29178 (arg1)->CaptureMouse();
29179
29180 wxPyEndAllowThreads(__tstate);
29181 if (PyErr_Occurred()) SWIG_fail;
29182 }
29183 Py_INCREF(Py_None); resultobj = Py_None;
29184 return resultobj;
29185 fail:
29186 return NULL;
29187 }
29188
29189
29190 static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) {
29191 PyObject *resultobj;
29192 wxWindow *arg1 = (wxWindow *) 0 ;
29193 PyObject * obj0 = 0 ;
29194 char *kwnames[] = {
29195 (char *) "self", NULL
29196 };
29197
29198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
29199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29200 if (SWIG_arg_fail(1)) SWIG_fail;
29201 {
29202 PyThreadState* __tstate = wxPyBeginAllowThreads();
29203 (arg1)->ReleaseMouse();
29204
29205 wxPyEndAllowThreads(__tstate);
29206 if (PyErr_Occurred()) SWIG_fail;
29207 }
29208 Py_INCREF(Py_None); resultobj = Py_None;
29209 return resultobj;
29210 fail:
29211 return NULL;
29212 }
29213
29214
29215 static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
29216 PyObject *resultobj;
29217 wxWindow *result;
29218 char *kwnames[] = {
29219 NULL
29220 };
29221
29222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
29223 {
29224 if (!wxPyCheckForApp()) SWIG_fail;
29225 PyThreadState* __tstate = wxPyBeginAllowThreads();
29226 result = (wxWindow *)wxWindow::GetCapture();
29227
29228 wxPyEndAllowThreads(__tstate);
29229 if (PyErr_Occurred()) SWIG_fail;
29230 }
29231 {
29232 resultobj = wxPyMake_wxObject(result, 0);
29233 }
29234 return resultobj;
29235 fail:
29236 return NULL;
29237 }
29238
29239
29240 static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) {
29241 PyObject *resultobj;
29242 wxWindow *arg1 = (wxWindow *) 0 ;
29243 bool result;
29244 PyObject * obj0 = 0 ;
29245 char *kwnames[] = {
29246 (char *) "self", NULL
29247 };
29248
29249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
29250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29251 if (SWIG_arg_fail(1)) SWIG_fail;
29252 {
29253 PyThreadState* __tstate = wxPyBeginAllowThreads();
29254 result = (bool)((wxWindow const *)arg1)->HasCapture();
29255
29256 wxPyEndAllowThreads(__tstate);
29257 if (PyErr_Occurred()) SWIG_fail;
29258 }
29259 {
29260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29261 }
29262 return resultobj;
29263 fail:
29264 return NULL;
29265 }
29266
29267
29268 static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
29269 PyObject *resultobj;
29270 wxWindow *arg1 = (wxWindow *) 0 ;
29271 bool arg2 = (bool) true ;
29272 wxRect *arg3 = (wxRect *) NULL ;
29273 PyObject * obj0 = 0 ;
29274 PyObject * obj1 = 0 ;
29275 PyObject * obj2 = 0 ;
29276 char *kwnames[] = {
29277 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29278 };
29279
29280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
29281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29282 if (SWIG_arg_fail(1)) SWIG_fail;
29283 if (obj1) {
29284 {
29285 arg2 = (bool)(SWIG_As_bool(obj1));
29286 if (SWIG_arg_fail(2)) SWIG_fail;
29287 }
29288 }
29289 if (obj2) {
29290 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
29291 if (SWIG_arg_fail(3)) SWIG_fail;
29292 }
29293 {
29294 PyThreadState* __tstate = wxPyBeginAllowThreads();
29295 (arg1)->Refresh(arg2,(wxRect const *)arg3);
29296
29297 wxPyEndAllowThreads(__tstate);
29298 if (PyErr_Occurred()) SWIG_fail;
29299 }
29300 Py_INCREF(Py_None); resultobj = Py_None;
29301 return resultobj;
29302 fail:
29303 return NULL;
29304 }
29305
29306
29307 static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) {
29308 PyObject *resultobj;
29309 wxWindow *arg1 = (wxWindow *) 0 ;
29310 wxRect *arg2 = 0 ;
29311 bool arg3 = (bool) true ;
29312 wxRect temp2 ;
29313 PyObject * obj0 = 0 ;
29314 PyObject * obj1 = 0 ;
29315 PyObject * obj2 = 0 ;
29316 char *kwnames[] = {
29317 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29318 };
29319
29320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_RefreshRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
29321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29322 if (SWIG_arg_fail(1)) SWIG_fail;
29323 {
29324 arg2 = &temp2;
29325 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29326 }
29327 if (obj2) {
29328 {
29329 arg3 = (bool)(SWIG_As_bool(obj2));
29330 if (SWIG_arg_fail(3)) SWIG_fail;
29331 }
29332 }
29333 {
29334 PyThreadState* __tstate = wxPyBeginAllowThreads();
29335 (arg1)->RefreshRect((wxRect const &)*arg2,arg3);
29336
29337 wxPyEndAllowThreads(__tstate);
29338 if (PyErr_Occurred()) SWIG_fail;
29339 }
29340 Py_INCREF(Py_None); resultobj = Py_None;
29341 return resultobj;
29342 fail:
29343 return NULL;
29344 }
29345
29346
29347 static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) {
29348 PyObject *resultobj;
29349 wxWindow *arg1 = (wxWindow *) 0 ;
29350 PyObject * obj0 = 0 ;
29351 char *kwnames[] = {
29352 (char *) "self", NULL
29353 };
29354
29355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
29356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29357 if (SWIG_arg_fail(1)) SWIG_fail;
29358 {
29359 PyThreadState* __tstate = wxPyBeginAllowThreads();
29360 (arg1)->Update();
29361
29362 wxPyEndAllowThreads(__tstate);
29363 if (PyErr_Occurred()) SWIG_fail;
29364 }
29365 Py_INCREF(Py_None); resultobj = Py_None;
29366 return resultobj;
29367 fail:
29368 return NULL;
29369 }
29370
29371
29372 static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) {
29373 PyObject *resultobj;
29374 wxWindow *arg1 = (wxWindow *) 0 ;
29375 PyObject * obj0 = 0 ;
29376 char *kwnames[] = {
29377 (char *) "self", NULL
29378 };
29379
29380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
29381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29382 if (SWIG_arg_fail(1)) SWIG_fail;
29383 {
29384 PyThreadState* __tstate = wxPyBeginAllowThreads();
29385 (arg1)->ClearBackground();
29386
29387 wxPyEndAllowThreads(__tstate);
29388 if (PyErr_Occurred()) SWIG_fail;
29389 }
29390 Py_INCREF(Py_None); resultobj = Py_None;
29391 return resultobj;
29392 fail:
29393 return NULL;
29394 }
29395
29396
29397 static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) {
29398 PyObject *resultobj;
29399 wxWindow *arg1 = (wxWindow *) 0 ;
29400 PyObject * obj0 = 0 ;
29401 char *kwnames[] = {
29402 (char *) "self", NULL
29403 };
29404
29405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
29406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29407 if (SWIG_arg_fail(1)) SWIG_fail;
29408 {
29409 PyThreadState* __tstate = wxPyBeginAllowThreads();
29410 (arg1)->Freeze();
29411
29412 wxPyEndAllowThreads(__tstate);
29413 if (PyErr_Occurred()) SWIG_fail;
29414 }
29415 Py_INCREF(Py_None); resultobj = Py_None;
29416 return resultobj;
29417 fail:
29418 return NULL;
29419 }
29420
29421
29422 static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) {
29423 PyObject *resultobj;
29424 wxWindow *arg1 = (wxWindow *) 0 ;
29425 PyObject * obj0 = 0 ;
29426 char *kwnames[] = {
29427 (char *) "self", NULL
29428 };
29429
29430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
29431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29432 if (SWIG_arg_fail(1)) SWIG_fail;
29433 {
29434 PyThreadState* __tstate = wxPyBeginAllowThreads();
29435 (arg1)->Thaw();
29436
29437 wxPyEndAllowThreads(__tstate);
29438 if (PyErr_Occurred()) SWIG_fail;
29439 }
29440 Py_INCREF(Py_None); resultobj = Py_None;
29441 return resultobj;
29442 fail:
29443 return NULL;
29444 }
29445
29446
29447 static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
29448 PyObject *resultobj;
29449 wxWindow *arg1 = (wxWindow *) 0 ;
29450 wxDC *arg2 = 0 ;
29451 PyObject * obj0 = 0 ;
29452 PyObject * obj1 = 0 ;
29453 char *kwnames[] = {
29454 (char *) "self",(char *) "dc", NULL
29455 };
29456
29457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
29458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29459 if (SWIG_arg_fail(1)) SWIG_fail;
29460 {
29461 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
29462 if (SWIG_arg_fail(2)) SWIG_fail;
29463 if (arg2 == NULL) {
29464 SWIG_null_ref("wxDC");
29465 }
29466 if (SWIG_arg_fail(2)) SWIG_fail;
29467 }
29468 {
29469 PyThreadState* __tstate = wxPyBeginAllowThreads();
29470 (arg1)->PrepareDC(*arg2);
29471
29472 wxPyEndAllowThreads(__tstate);
29473 if (PyErr_Occurred()) SWIG_fail;
29474 }
29475 Py_INCREF(Py_None); resultobj = Py_None;
29476 return resultobj;
29477 fail:
29478 return NULL;
29479 }
29480
29481
29482 static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) {
29483 PyObject *resultobj;
29484 wxWindow *arg1 = (wxWindow *) 0 ;
29485 wxRegion *result;
29486 PyObject * obj0 = 0 ;
29487 char *kwnames[] = {
29488 (char *) "self", NULL
29489 };
29490
29491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
29492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29493 if (SWIG_arg_fail(1)) SWIG_fail;
29494 {
29495 PyThreadState* __tstate = wxPyBeginAllowThreads();
29496 {
29497 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
29498 result = (wxRegion *) &_result_ref;
29499 }
29500
29501 wxPyEndAllowThreads(__tstate);
29502 if (PyErr_Occurred()) SWIG_fail;
29503 }
29504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
29505 return resultobj;
29506 fail:
29507 return NULL;
29508 }
29509
29510
29511 static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
29512 PyObject *resultobj;
29513 wxWindow *arg1 = (wxWindow *) 0 ;
29514 wxRect result;
29515 PyObject * obj0 = 0 ;
29516 char *kwnames[] = {
29517 (char *) "self", NULL
29518 };
29519
29520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
29521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29522 if (SWIG_arg_fail(1)) SWIG_fail;
29523 {
29524 PyThreadState* __tstate = wxPyBeginAllowThreads();
29525 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
29526
29527 wxPyEndAllowThreads(__tstate);
29528 if (PyErr_Occurred()) SWIG_fail;
29529 }
29530 {
29531 wxRect * resultptr;
29532 resultptr = new wxRect((wxRect &)(result));
29533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
29534 }
29535 return resultobj;
29536 fail:
29537 return NULL;
29538 }
29539
29540
29541 static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) {
29542 PyObject *resultobj;
29543 wxWindow *arg1 = (wxWindow *) 0 ;
29544 int arg2 ;
29545 int arg3 ;
29546 int arg4 = (int) 1 ;
29547 int arg5 = (int) 1 ;
29548 bool result;
29549 PyObject * obj0 = 0 ;
29550 PyObject * obj1 = 0 ;
29551 PyObject * obj2 = 0 ;
29552 PyObject * obj3 = 0 ;
29553 PyObject * obj4 = 0 ;
29554 char *kwnames[] = {
29555 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29556 };
29557
29558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29560 if (SWIG_arg_fail(1)) SWIG_fail;
29561 {
29562 arg2 = (int)(SWIG_As_int(obj1));
29563 if (SWIG_arg_fail(2)) SWIG_fail;
29564 }
29565 {
29566 arg3 = (int)(SWIG_As_int(obj2));
29567 if (SWIG_arg_fail(3)) SWIG_fail;
29568 }
29569 if (obj3) {
29570 {
29571 arg4 = (int)(SWIG_As_int(obj3));
29572 if (SWIG_arg_fail(4)) SWIG_fail;
29573 }
29574 }
29575 if (obj4) {
29576 {
29577 arg5 = (int)(SWIG_As_int(obj4));
29578 if (SWIG_arg_fail(5)) SWIG_fail;
29579 }
29580 }
29581 {
29582 PyThreadState* __tstate = wxPyBeginAllowThreads();
29583 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
29584
29585 wxPyEndAllowThreads(__tstate);
29586 if (PyErr_Occurred()) SWIG_fail;
29587 }
29588 {
29589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29590 }
29591 return resultobj;
29592 fail:
29593 return NULL;
29594 }
29595
29596
29597 static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) {
29598 PyObject *resultobj;
29599 wxWindow *arg1 = (wxWindow *) 0 ;
29600 wxPoint *arg2 = 0 ;
29601 bool result;
29602 wxPoint temp2 ;
29603 PyObject * obj0 = 0 ;
29604 PyObject * obj1 = 0 ;
29605 char *kwnames[] = {
29606 (char *) "self",(char *) "pt", NULL
29607 };
29608
29609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
29610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29611 if (SWIG_arg_fail(1)) SWIG_fail;
29612 {
29613 arg2 = &temp2;
29614 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29615 }
29616 {
29617 PyThreadState* __tstate = wxPyBeginAllowThreads();
29618 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
29619
29620 wxPyEndAllowThreads(__tstate);
29621 if (PyErr_Occurred()) SWIG_fail;
29622 }
29623 {
29624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29625 }
29626 return resultobj;
29627 fail:
29628 return NULL;
29629 }
29630
29631
29632 static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) {
29633 PyObject *resultobj;
29634 wxWindow *arg1 = (wxWindow *) 0 ;
29635 wxRect *arg2 = 0 ;
29636 bool result;
29637 wxRect temp2 ;
29638 PyObject * obj0 = 0 ;
29639 PyObject * obj1 = 0 ;
29640 char *kwnames[] = {
29641 (char *) "self",(char *) "rect", NULL
29642 };
29643
29644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
29645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29646 if (SWIG_arg_fail(1)) SWIG_fail;
29647 {
29648 arg2 = &temp2;
29649 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29650 }
29651 {
29652 PyThreadState* __tstate = wxPyBeginAllowThreads();
29653 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
29654
29655 wxPyEndAllowThreads(__tstate);
29656 if (PyErr_Occurred()) SWIG_fail;
29657 }
29658 {
29659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29660 }
29661 return resultobj;
29662 fail:
29663 return NULL;
29664 }
29665
29666
29667 static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
29668 PyObject *resultobj;
29669 wxWindow *arg1 = (wxWindow *) 0 ;
29670 wxVisualAttributes result;
29671 PyObject * obj0 = 0 ;
29672 char *kwnames[] = {
29673 (char *) "self", NULL
29674 };
29675
29676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
29677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29678 if (SWIG_arg_fail(1)) SWIG_fail;
29679 {
29680 PyThreadState* __tstate = wxPyBeginAllowThreads();
29681 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
29682
29683 wxPyEndAllowThreads(__tstate);
29684 if (PyErr_Occurred()) SWIG_fail;
29685 }
29686 {
29687 wxVisualAttributes * resultptr;
29688 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
29689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29690 }
29691 return resultobj;
29692 fail:
29693 return NULL;
29694 }
29695
29696
29697 static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
29698 PyObject *resultobj;
29699 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
29700 wxVisualAttributes result;
29701 PyObject * obj0 = 0 ;
29702 char *kwnames[] = {
29703 (char *) "variant", NULL
29704 };
29705
29706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
29707 if (obj0) {
29708 {
29709 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
29710 if (SWIG_arg_fail(1)) SWIG_fail;
29711 }
29712 }
29713 {
29714 if (!wxPyCheckForApp()) SWIG_fail;
29715 PyThreadState* __tstate = wxPyBeginAllowThreads();
29716 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
29717
29718 wxPyEndAllowThreads(__tstate);
29719 if (PyErr_Occurred()) SWIG_fail;
29720 }
29721 {
29722 wxVisualAttributes * resultptr;
29723 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
29724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29725 }
29726 return resultobj;
29727 fail:
29728 return NULL;
29729 }
29730
29731
29732 static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29733 PyObject *resultobj;
29734 wxWindow *arg1 = (wxWindow *) 0 ;
29735 wxColour *arg2 = 0 ;
29736 bool result;
29737 wxColour temp2 ;
29738 PyObject * obj0 = 0 ;
29739 PyObject * obj1 = 0 ;
29740 char *kwnames[] = {
29741 (char *) "self",(char *) "colour", NULL
29742 };
29743
29744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
29745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29746 if (SWIG_arg_fail(1)) SWIG_fail;
29747 {
29748 arg2 = &temp2;
29749 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29750 }
29751 {
29752 PyThreadState* __tstate = wxPyBeginAllowThreads();
29753 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
29754
29755 wxPyEndAllowThreads(__tstate);
29756 if (PyErr_Occurred()) SWIG_fail;
29757 }
29758 {
29759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29760 }
29761 return resultobj;
29762 fail:
29763 return NULL;
29764 }
29765
29766
29767 static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29768 PyObject *resultobj;
29769 wxWindow *arg1 = (wxWindow *) 0 ;
29770 wxColour *arg2 = 0 ;
29771 wxColour temp2 ;
29772 PyObject * obj0 = 0 ;
29773 PyObject * obj1 = 0 ;
29774 char *kwnames[] = {
29775 (char *) "self",(char *) "colour", NULL
29776 };
29777
29778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
29779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29780 if (SWIG_arg_fail(1)) SWIG_fail;
29781 {
29782 arg2 = &temp2;
29783 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29784 }
29785 {
29786 PyThreadState* __tstate = wxPyBeginAllowThreads();
29787 (arg1)->SetOwnBackgroundColour((wxColour const &)*arg2);
29788
29789 wxPyEndAllowThreads(__tstate);
29790 if (PyErr_Occurred()) SWIG_fail;
29791 }
29792 Py_INCREF(Py_None); resultobj = Py_None;
29793 return resultobj;
29794 fail:
29795 return NULL;
29796 }
29797
29798
29799 static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29800 PyObject *resultobj;
29801 wxWindow *arg1 = (wxWindow *) 0 ;
29802 wxColour *arg2 = 0 ;
29803 bool result;
29804 wxColour temp2 ;
29805 PyObject * obj0 = 0 ;
29806 PyObject * obj1 = 0 ;
29807 char *kwnames[] = {
29808 (char *) "self",(char *) "colour", NULL
29809 };
29810
29811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
29812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29813 if (SWIG_arg_fail(1)) SWIG_fail;
29814 {
29815 arg2 = &temp2;
29816 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29817 }
29818 {
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
29820 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
29821
29822 wxPyEndAllowThreads(__tstate);
29823 if (PyErr_Occurred()) SWIG_fail;
29824 }
29825 {
29826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29827 }
29828 return resultobj;
29829 fail:
29830 return NULL;
29831 }
29832
29833
29834 static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29835 PyObject *resultobj;
29836 wxWindow *arg1 = (wxWindow *) 0 ;
29837 wxColour *arg2 = 0 ;
29838 wxColour temp2 ;
29839 PyObject * obj0 = 0 ;
29840 PyObject * obj1 = 0 ;
29841 char *kwnames[] = {
29842 (char *) "self",(char *) "colour", NULL
29843 };
29844
29845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail;
29846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29847 if (SWIG_arg_fail(1)) SWIG_fail;
29848 {
29849 arg2 = &temp2;
29850 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29851 }
29852 {
29853 PyThreadState* __tstate = wxPyBeginAllowThreads();
29854 (arg1)->SetOwnForegroundColour((wxColour const &)*arg2);
29855
29856 wxPyEndAllowThreads(__tstate);
29857 if (PyErr_Occurred()) SWIG_fail;
29858 }
29859 Py_INCREF(Py_None); resultobj = Py_None;
29860 return resultobj;
29861 fail:
29862 return NULL;
29863 }
29864
29865
29866 static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29867 PyObject *resultobj;
29868 wxWindow *arg1 = (wxWindow *) 0 ;
29869 wxColour result;
29870 PyObject * obj0 = 0 ;
29871 char *kwnames[] = {
29872 (char *) "self", NULL
29873 };
29874
29875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
29876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29877 if (SWIG_arg_fail(1)) SWIG_fail;
29878 {
29879 PyThreadState* __tstate = wxPyBeginAllowThreads();
29880 result = ((wxWindow const *)arg1)->GetBackgroundColour();
29881
29882 wxPyEndAllowThreads(__tstate);
29883 if (PyErr_Occurred()) SWIG_fail;
29884 }
29885 {
29886 wxColour * resultptr;
29887 resultptr = new wxColour((wxColour &)(result));
29888 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
29889 }
29890 return resultobj;
29891 fail:
29892 return NULL;
29893 }
29894
29895
29896 static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29897 PyObject *resultobj;
29898 wxWindow *arg1 = (wxWindow *) 0 ;
29899 wxColour result;
29900 PyObject * obj0 = 0 ;
29901 char *kwnames[] = {
29902 (char *) "self", NULL
29903 };
29904
29905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
29906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29907 if (SWIG_arg_fail(1)) SWIG_fail;
29908 {
29909 PyThreadState* __tstate = wxPyBeginAllowThreads();
29910 result = ((wxWindow const *)arg1)->GetForegroundColour();
29911
29912 wxPyEndAllowThreads(__tstate);
29913 if (PyErr_Occurred()) SWIG_fail;
29914 }
29915 {
29916 wxColour * resultptr;
29917 resultptr = new wxColour((wxColour &)(result));
29918 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
29919 }
29920 return resultobj;
29921 fail:
29922 return NULL;
29923 }
29924
29925
29926 static PyObject *_wrap_Window_InheritsBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29927 PyObject *resultobj;
29928 wxWindow *arg1 = (wxWindow *) 0 ;
29929 bool result;
29930 PyObject * obj0 = 0 ;
29931 char *kwnames[] = {
29932 (char *) "self", NULL
29933 };
29934
29935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritsBackgroundColour",kwnames,&obj0)) goto fail;
29936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29937 if (SWIG_arg_fail(1)) SWIG_fail;
29938 {
29939 PyThreadState* __tstate = wxPyBeginAllowThreads();
29940 result = (bool)((wxWindow const *)arg1)->InheritsBackgroundColour();
29941
29942 wxPyEndAllowThreads(__tstate);
29943 if (PyErr_Occurred()) SWIG_fail;
29944 }
29945 {
29946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29947 }
29948 return resultobj;
29949 fail:
29950 return NULL;
29951 }
29952
29953
29954 static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwargs) {
29955 PyObject *resultobj;
29956 wxWindow *arg1 = (wxWindow *) 0 ;
29957 bool result;
29958 PyObject * obj0 = 0 ;
29959 char *kwnames[] = {
29960 (char *) "self", NULL
29961 };
29962
29963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_UseBgCol",kwnames,&obj0)) goto fail;
29964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29965 if (SWIG_arg_fail(1)) SWIG_fail;
29966 {
29967 PyThreadState* __tstate = wxPyBeginAllowThreads();
29968 result = (bool)((wxWindow const *)arg1)->UseBgCol();
29969
29970 wxPyEndAllowThreads(__tstate);
29971 if (PyErr_Occurred()) SWIG_fail;
29972 }
29973 {
29974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29975 }
29976 return resultobj;
29977 fail:
29978 return NULL;
29979 }
29980
29981
29982 static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
29983 PyObject *resultobj;
29984 wxWindow *arg1 = (wxWindow *) 0 ;
29985 wxBackgroundStyle arg2 ;
29986 bool result;
29987 PyObject * obj0 = 0 ;
29988 PyObject * obj1 = 0 ;
29989 char *kwnames[] = {
29990 (char *) "self",(char *) "style", NULL
29991 };
29992
29993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundStyle",kwnames,&obj0,&obj1)) goto fail;
29994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29995 if (SWIG_arg_fail(1)) SWIG_fail;
29996 {
29997 arg2 = (wxBackgroundStyle)(SWIG_As_int(obj1));
29998 if (SWIG_arg_fail(2)) SWIG_fail;
29999 }
30000 {
30001 PyThreadState* __tstate = wxPyBeginAllowThreads();
30002 result = (bool)(arg1)->SetBackgroundStyle((wxBackgroundStyle )arg2);
30003
30004 wxPyEndAllowThreads(__tstate);
30005 if (PyErr_Occurred()) SWIG_fail;
30006 }
30007 {
30008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30009 }
30010 return resultobj;
30011 fail:
30012 return NULL;
30013 }
30014
30015
30016 static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
30017 PyObject *resultobj;
30018 wxWindow *arg1 = (wxWindow *) 0 ;
30019 wxBackgroundStyle result;
30020 PyObject * obj0 = 0 ;
30021 char *kwnames[] = {
30022 (char *) "self", NULL
30023 };
30024
30025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundStyle",kwnames,&obj0)) goto fail;
30026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30027 if (SWIG_arg_fail(1)) SWIG_fail;
30028 {
30029 PyThreadState* __tstate = wxPyBeginAllowThreads();
30030 result = (wxBackgroundStyle)((wxWindow const *)arg1)->GetBackgroundStyle();
30031
30032 wxPyEndAllowThreads(__tstate);
30033 if (PyErr_Occurred()) SWIG_fail;
30034 }
30035 resultobj = SWIG_From_int((result));
30036 return resultobj;
30037 fail:
30038 return NULL;
30039 }
30040
30041
30042 static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *args, PyObject *kwargs) {
30043 PyObject *resultobj;
30044 wxWindow *arg1 = (wxWindow *) 0 ;
30045 bool result;
30046 PyObject * obj0 = 0 ;
30047 char *kwnames[] = {
30048 (char *) "self", NULL
30049 };
30050
30051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasTransparentBackground",kwnames,&obj0)) goto fail;
30052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30053 if (SWIG_arg_fail(1)) SWIG_fail;
30054 {
30055 PyThreadState* __tstate = wxPyBeginAllowThreads();
30056 result = (bool)(arg1)->HasTransparentBackground();
30057
30058 wxPyEndAllowThreads(__tstate);
30059 if (PyErr_Occurred()) SWIG_fail;
30060 }
30061 {
30062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30063 }
30064 return resultobj;
30065 fail:
30066 return NULL;
30067 }
30068
30069
30070 static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
30071 PyObject *resultobj;
30072 wxWindow *arg1 = (wxWindow *) 0 ;
30073 wxCursor *arg2 = 0 ;
30074 bool result;
30075 PyObject * obj0 = 0 ;
30076 PyObject * obj1 = 0 ;
30077 char *kwnames[] = {
30078 (char *) "self",(char *) "cursor", NULL
30079 };
30080
30081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
30082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30083 if (SWIG_arg_fail(1)) SWIG_fail;
30084 {
30085 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
30086 if (SWIG_arg_fail(2)) SWIG_fail;
30087 if (arg2 == NULL) {
30088 SWIG_null_ref("wxCursor");
30089 }
30090 if (SWIG_arg_fail(2)) SWIG_fail;
30091 }
30092 {
30093 PyThreadState* __tstate = wxPyBeginAllowThreads();
30094 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
30095
30096 wxPyEndAllowThreads(__tstate);
30097 if (PyErr_Occurred()) SWIG_fail;
30098 }
30099 {
30100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30101 }
30102 return resultobj;
30103 fail:
30104 return NULL;
30105 }
30106
30107
30108 static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
30109 PyObject *resultobj;
30110 wxWindow *arg1 = (wxWindow *) 0 ;
30111 wxCursor result;
30112 PyObject * obj0 = 0 ;
30113 char *kwnames[] = {
30114 (char *) "self", NULL
30115 };
30116
30117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
30118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30119 if (SWIG_arg_fail(1)) SWIG_fail;
30120 {
30121 PyThreadState* __tstate = wxPyBeginAllowThreads();
30122 result = (arg1)->GetCursor();
30123
30124 wxPyEndAllowThreads(__tstate);
30125 if (PyErr_Occurred()) SWIG_fail;
30126 }
30127 {
30128 wxCursor * resultptr;
30129 resultptr = new wxCursor((wxCursor &)(result));
30130 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
30131 }
30132 return resultobj;
30133 fail:
30134 return NULL;
30135 }
30136
30137
30138 static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
30139 PyObject *resultobj;
30140 wxWindow *arg1 = (wxWindow *) 0 ;
30141 wxFont *arg2 = 0 ;
30142 bool result;
30143 PyObject * obj0 = 0 ;
30144 PyObject * obj1 = 0 ;
30145 char *kwnames[] = {
30146 (char *) "self",(char *) "font", NULL
30147 };
30148
30149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
30150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30151 if (SWIG_arg_fail(1)) SWIG_fail;
30152 {
30153 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30154 if (SWIG_arg_fail(2)) SWIG_fail;
30155 if (arg2 == NULL) {
30156 SWIG_null_ref("wxFont");
30157 }
30158 if (SWIG_arg_fail(2)) SWIG_fail;
30159 }
30160 {
30161 PyThreadState* __tstate = wxPyBeginAllowThreads();
30162 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
30163
30164 wxPyEndAllowThreads(__tstate);
30165 if (PyErr_Occurred()) SWIG_fail;
30166 }
30167 {
30168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30169 }
30170 return resultobj;
30171 fail:
30172 return NULL;
30173 }
30174
30175
30176 static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) {
30177 PyObject *resultobj;
30178 wxWindow *arg1 = (wxWindow *) 0 ;
30179 wxFont *arg2 = 0 ;
30180 PyObject * obj0 = 0 ;
30181 PyObject * obj1 = 0 ;
30182 char *kwnames[] = {
30183 (char *) "self",(char *) "font", NULL
30184 };
30185
30186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnFont",kwnames,&obj0,&obj1)) goto fail;
30187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30188 if (SWIG_arg_fail(1)) SWIG_fail;
30189 {
30190 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30191 if (SWIG_arg_fail(2)) SWIG_fail;
30192 if (arg2 == NULL) {
30193 SWIG_null_ref("wxFont");
30194 }
30195 if (SWIG_arg_fail(2)) SWIG_fail;
30196 }
30197 {
30198 PyThreadState* __tstate = wxPyBeginAllowThreads();
30199 (arg1)->SetOwnFont((wxFont const &)*arg2);
30200
30201 wxPyEndAllowThreads(__tstate);
30202 if (PyErr_Occurred()) SWIG_fail;
30203 }
30204 Py_INCREF(Py_None); resultobj = Py_None;
30205 return resultobj;
30206 fail:
30207 return NULL;
30208 }
30209
30210
30211 static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
30212 PyObject *resultobj;
30213 wxWindow *arg1 = (wxWindow *) 0 ;
30214 wxFont result;
30215 PyObject * obj0 = 0 ;
30216 char *kwnames[] = {
30217 (char *) "self", NULL
30218 };
30219
30220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
30221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30222 if (SWIG_arg_fail(1)) SWIG_fail;
30223 {
30224 PyThreadState* __tstate = wxPyBeginAllowThreads();
30225 result = (arg1)->GetFont();
30226
30227 wxPyEndAllowThreads(__tstate);
30228 if (PyErr_Occurred()) SWIG_fail;
30229 }
30230 {
30231 wxFont * resultptr;
30232 resultptr = new wxFont((wxFont &)(result));
30233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
30234 }
30235 return resultobj;
30236 fail:
30237 return NULL;
30238 }
30239
30240
30241 static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
30242 PyObject *resultobj;
30243 wxWindow *arg1 = (wxWindow *) 0 ;
30244 wxCaret *arg2 = (wxCaret *) 0 ;
30245 PyObject * obj0 = 0 ;
30246 PyObject * obj1 = 0 ;
30247 char *kwnames[] = {
30248 (char *) "self",(char *) "caret", NULL
30249 };
30250
30251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
30252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30253 if (SWIG_arg_fail(1)) SWIG_fail;
30254 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
30255 if (SWIG_arg_fail(2)) SWIG_fail;
30256 {
30257 PyThreadState* __tstate = wxPyBeginAllowThreads();
30258 (arg1)->SetCaret(arg2);
30259
30260 wxPyEndAllowThreads(__tstate);
30261 if (PyErr_Occurred()) SWIG_fail;
30262 }
30263 Py_INCREF(Py_None); resultobj = Py_None;
30264 return resultobj;
30265 fail:
30266 return NULL;
30267 }
30268
30269
30270 static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
30271 PyObject *resultobj;
30272 wxWindow *arg1 = (wxWindow *) 0 ;
30273 wxCaret *result;
30274 PyObject * obj0 = 0 ;
30275 char *kwnames[] = {
30276 (char *) "self", NULL
30277 };
30278
30279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
30280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30281 if (SWIG_arg_fail(1)) SWIG_fail;
30282 {
30283 PyThreadState* __tstate = wxPyBeginAllowThreads();
30284 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
30285
30286 wxPyEndAllowThreads(__tstate);
30287 if (PyErr_Occurred()) SWIG_fail;
30288 }
30289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
30290 return resultobj;
30291 fail:
30292 return NULL;
30293 }
30294
30295
30296 static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
30297 PyObject *resultobj;
30298 wxWindow *arg1 = (wxWindow *) 0 ;
30299 int result;
30300 PyObject * obj0 = 0 ;
30301 char *kwnames[] = {
30302 (char *) "self", NULL
30303 };
30304
30305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
30306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30307 if (SWIG_arg_fail(1)) SWIG_fail;
30308 {
30309 PyThreadState* __tstate = wxPyBeginAllowThreads();
30310 result = (int)((wxWindow const *)arg1)->GetCharHeight();
30311
30312 wxPyEndAllowThreads(__tstate);
30313 if (PyErr_Occurred()) SWIG_fail;
30314 }
30315 {
30316 resultobj = SWIG_From_int((int)(result));
30317 }
30318 return resultobj;
30319 fail:
30320 return NULL;
30321 }
30322
30323
30324 static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
30325 PyObject *resultobj;
30326 wxWindow *arg1 = (wxWindow *) 0 ;
30327 int result;
30328 PyObject * obj0 = 0 ;
30329 char *kwnames[] = {
30330 (char *) "self", NULL
30331 };
30332
30333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
30334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30335 if (SWIG_arg_fail(1)) SWIG_fail;
30336 {
30337 PyThreadState* __tstate = wxPyBeginAllowThreads();
30338 result = (int)((wxWindow const *)arg1)->GetCharWidth();
30339
30340 wxPyEndAllowThreads(__tstate);
30341 if (PyErr_Occurred()) SWIG_fail;
30342 }
30343 {
30344 resultobj = SWIG_From_int((int)(result));
30345 }
30346 return resultobj;
30347 fail:
30348 return NULL;
30349 }
30350
30351
30352 static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
30353 PyObject *resultobj;
30354 wxWindow *arg1 = (wxWindow *) 0 ;
30355 wxString *arg2 = 0 ;
30356 int *arg3 = (int *) 0 ;
30357 int *arg4 = (int *) 0 ;
30358 bool temp2 = false ;
30359 int temp3 ;
30360 int res3 = 0 ;
30361 int temp4 ;
30362 int res4 = 0 ;
30363 PyObject * obj0 = 0 ;
30364 PyObject * obj1 = 0 ;
30365 char *kwnames[] = {
30366 (char *) "self",(char *) "string", NULL
30367 };
30368
30369 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30370 arg4 = &temp4; res4 = SWIG_NEWOBJ;
30371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
30372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30373 if (SWIG_arg_fail(1)) SWIG_fail;
30374 {
30375 arg2 = wxString_in_helper(obj1);
30376 if (arg2 == NULL) SWIG_fail;
30377 temp2 = true;
30378 }
30379 {
30380 PyThreadState* __tstate = wxPyBeginAllowThreads();
30381 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
30382
30383 wxPyEndAllowThreads(__tstate);
30384 if (PyErr_Occurred()) SWIG_fail;
30385 }
30386 Py_INCREF(Py_None); resultobj = Py_None;
30387 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30388 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30389 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
30390 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
30391 {
30392 if (temp2)
30393 delete arg2;
30394 }
30395 return resultobj;
30396 fail:
30397 {
30398 if (temp2)
30399 delete arg2;
30400 }
30401 return NULL;
30402 }
30403
30404
30405 static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
30406 PyObject *resultobj;
30407 wxWindow *arg1 = (wxWindow *) 0 ;
30408 wxString *arg2 = 0 ;
30409 int *arg3 = (int *) 0 ;
30410 int *arg4 = (int *) 0 ;
30411 int *arg5 = (int *) 0 ;
30412 int *arg6 = (int *) 0 ;
30413 wxFont *arg7 = (wxFont *) NULL ;
30414 bool temp2 = false ;
30415 int temp3 ;
30416 int res3 = 0 ;
30417 int temp4 ;
30418 int res4 = 0 ;
30419 int temp5 ;
30420 int res5 = 0 ;
30421 int temp6 ;
30422 int res6 = 0 ;
30423 PyObject * obj0 = 0 ;
30424 PyObject * obj1 = 0 ;
30425 PyObject * obj2 = 0 ;
30426 char *kwnames[] = {
30427 (char *) "self",(char *) "string",(char *) "font", NULL
30428 };
30429
30430 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30431 arg4 = &temp4; res4 = SWIG_NEWOBJ;
30432 arg5 = &temp5; res5 = SWIG_NEWOBJ;
30433 arg6 = &temp6; res6 = SWIG_NEWOBJ;
30434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
30435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30436 if (SWIG_arg_fail(1)) SWIG_fail;
30437 {
30438 arg2 = wxString_in_helper(obj1);
30439 if (arg2 == NULL) SWIG_fail;
30440 temp2 = true;
30441 }
30442 if (obj2) {
30443 SWIG_Python_ConvertPtr(obj2, (void **)&arg7, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30444 if (SWIG_arg_fail(7)) SWIG_fail;
30445 }
30446 {
30447 PyThreadState* __tstate = wxPyBeginAllowThreads();
30448 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
30449
30450 wxPyEndAllowThreads(__tstate);
30451 if (PyErr_Occurred()) SWIG_fail;
30452 }
30453 Py_INCREF(Py_None); resultobj = Py_None;
30454 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30455 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30456 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
30457 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
30458 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
30459 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
30460 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
30461 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0)));
30462 {
30463 if (temp2)
30464 delete arg2;
30465 }
30466 return resultobj;
30467 fail:
30468 {
30469 if (temp2)
30470 delete arg2;
30471 }
30472 return NULL;
30473 }
30474
30475
30476 static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) {
30477 PyObject *resultobj;
30478 wxWindow *arg1 = (wxWindow *) 0 ;
30479 int *arg2 = (int *) 0 ;
30480 int *arg3 = (int *) 0 ;
30481 int temp2 ;
30482 int res2 = 0 ;
30483 int temp3 ;
30484 int res3 = 0 ;
30485 PyObject * obj0 = 0 ;
30486 PyObject * obj1 = 0 ;
30487 PyObject * obj2 = 0 ;
30488 char *kwnames[] = {
30489 (char *) "self",(char *) "x",(char *) "y", NULL
30490 };
30491
30492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
30493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30494 if (SWIG_arg_fail(1)) SWIG_fail;
30495 {
30496 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
30497 temp2 = SWIG_As_int(obj1);
30498 if (SWIG_arg_fail(2)) SWIG_fail;
30499 arg2 = &temp2;
30500 res2 = SWIG_NEWOBJ;
30501 }
30502 }
30503 {
30504 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
30505 temp3 = SWIG_As_int(obj2);
30506 if (SWIG_arg_fail(3)) SWIG_fail;
30507 arg3 = &temp3;
30508 res3 = SWIG_NEWOBJ;
30509 }
30510 }
30511 {
30512 PyThreadState* __tstate = wxPyBeginAllowThreads();
30513 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
30514
30515 wxPyEndAllowThreads(__tstate);
30516 if (PyErr_Occurred()) SWIG_fail;
30517 }
30518 Py_INCREF(Py_None); resultobj = Py_None;
30519 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
30520 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
30521 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30522 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30523 return resultobj;
30524 fail:
30525 return NULL;
30526 }
30527
30528
30529 static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) {
30530 PyObject *resultobj;
30531 wxWindow *arg1 = (wxWindow *) 0 ;
30532 int *arg2 = (int *) 0 ;
30533 int *arg3 = (int *) 0 ;
30534 int temp2 ;
30535 int res2 = 0 ;
30536 int temp3 ;
30537 int res3 = 0 ;
30538 PyObject * obj0 = 0 ;
30539 PyObject * obj1 = 0 ;
30540 PyObject * obj2 = 0 ;
30541 char *kwnames[] = {
30542 (char *) "self",(char *) "x",(char *) "y", NULL
30543 };
30544
30545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
30546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30547 if (SWIG_arg_fail(1)) SWIG_fail;
30548 {
30549 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
30550 temp2 = SWIG_As_int(obj1);
30551 if (SWIG_arg_fail(2)) SWIG_fail;
30552 arg2 = &temp2;
30553 res2 = SWIG_NEWOBJ;
30554 }
30555 }
30556 {
30557 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
30558 temp3 = SWIG_As_int(obj2);
30559 if (SWIG_arg_fail(3)) SWIG_fail;
30560 arg3 = &temp3;
30561 res3 = SWIG_NEWOBJ;
30562 }
30563 }
30564 {
30565 PyThreadState* __tstate = wxPyBeginAllowThreads();
30566 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
30567
30568 wxPyEndAllowThreads(__tstate);
30569 if (PyErr_Occurred()) SWIG_fail;
30570 }
30571 Py_INCREF(Py_None); resultobj = Py_None;
30572 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
30573 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
30574 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30575 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30576 return resultobj;
30577 fail:
30578 return NULL;
30579 }
30580
30581
30582 static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) {
30583 PyObject *resultobj;
30584 wxWindow *arg1 = (wxWindow *) 0 ;
30585 wxPoint *arg2 = 0 ;
30586 wxPoint result;
30587 wxPoint temp2 ;
30588 PyObject * obj0 = 0 ;
30589 PyObject * obj1 = 0 ;
30590 char *kwnames[] = {
30591 (char *) "self",(char *) "pt", NULL
30592 };
30593
30594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
30595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30596 if (SWIG_arg_fail(1)) SWIG_fail;
30597 {
30598 arg2 = &temp2;
30599 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30600 }
30601 {
30602 PyThreadState* __tstate = wxPyBeginAllowThreads();
30603 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
30604
30605 wxPyEndAllowThreads(__tstate);
30606 if (PyErr_Occurred()) SWIG_fail;
30607 }
30608 {
30609 wxPoint * resultptr;
30610 resultptr = new wxPoint((wxPoint &)(result));
30611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30612 }
30613 return resultobj;
30614 fail:
30615 return NULL;
30616 }
30617
30618
30619 static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) {
30620 PyObject *resultobj;
30621 wxWindow *arg1 = (wxWindow *) 0 ;
30622 wxPoint *arg2 = 0 ;
30623 wxPoint result;
30624 wxPoint temp2 ;
30625 PyObject * obj0 = 0 ;
30626 PyObject * obj1 = 0 ;
30627 char *kwnames[] = {
30628 (char *) "self",(char *) "pt", NULL
30629 };
30630
30631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
30632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30633 if (SWIG_arg_fail(1)) SWIG_fail;
30634 {
30635 arg2 = &temp2;
30636 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30637 }
30638 {
30639 PyThreadState* __tstate = wxPyBeginAllowThreads();
30640 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
30641
30642 wxPyEndAllowThreads(__tstate);
30643 if (PyErr_Occurred()) SWIG_fail;
30644 }
30645 {
30646 wxPoint * resultptr;
30647 resultptr = new wxPoint((wxPoint &)(result));
30648 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30649 }
30650 return resultobj;
30651 fail:
30652 return NULL;
30653 }
30654
30655
30656 static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
30657 PyObject *resultobj;
30658 wxWindow *arg1 = (wxWindow *) 0 ;
30659 int arg2 ;
30660 int arg3 ;
30661 wxHitTest result;
30662 PyObject * obj0 = 0 ;
30663 PyObject * obj1 = 0 ;
30664 PyObject * obj2 = 0 ;
30665 char *kwnames[] = {
30666 (char *) "self",(char *) "x",(char *) "y", NULL
30667 };
30668
30669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
30670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30671 if (SWIG_arg_fail(1)) SWIG_fail;
30672 {
30673 arg2 = (int)(SWIG_As_int(obj1));
30674 if (SWIG_arg_fail(2)) SWIG_fail;
30675 }
30676 {
30677 arg3 = (int)(SWIG_As_int(obj2));
30678 if (SWIG_arg_fail(3)) SWIG_fail;
30679 }
30680 {
30681 PyThreadState* __tstate = wxPyBeginAllowThreads();
30682 result = (wxHitTest)((wxWindow const *)arg1)->HitTest(arg2,arg3);
30683
30684 wxPyEndAllowThreads(__tstate);
30685 if (PyErr_Occurred()) SWIG_fail;
30686 }
30687 resultobj = SWIG_From_int((result));
30688 return resultobj;
30689 fail:
30690 return NULL;
30691 }
30692
30693
30694 static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30695 PyObject *resultobj;
30696 wxWindow *arg1 = (wxWindow *) 0 ;
30697 wxPoint *arg2 = 0 ;
30698 wxHitTest result;
30699 wxPoint temp2 ;
30700 PyObject * obj0 = 0 ;
30701 PyObject * obj1 = 0 ;
30702 char *kwnames[] = {
30703 (char *) "self",(char *) "pt", NULL
30704 };
30705
30706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
30707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30708 if (SWIG_arg_fail(1)) SWIG_fail;
30709 {
30710 arg2 = &temp2;
30711 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30712 }
30713 {
30714 PyThreadState* __tstate = wxPyBeginAllowThreads();
30715 result = (wxHitTest)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
30716
30717 wxPyEndAllowThreads(__tstate);
30718 if (PyErr_Occurred()) SWIG_fail;
30719 }
30720 resultobj = SWIG_From_int((result));
30721 return resultobj;
30722 fail:
30723 return NULL;
30724 }
30725
30726
30727 static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) {
30728 PyObject *resultobj;
30729 wxWindow *arg1 = (wxWindow *) 0 ;
30730 long arg2 ;
30731 wxBorder result;
30732 PyObject * obj0 = 0 ;
30733 PyObject * obj1 = 0 ;
30734
30735 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
30736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30737 if (SWIG_arg_fail(1)) SWIG_fail;
30738 {
30739 arg2 = (long)(SWIG_As_long(obj1));
30740 if (SWIG_arg_fail(2)) SWIG_fail;
30741 }
30742 {
30743 PyThreadState* __tstate = wxPyBeginAllowThreads();
30744 result = (wxBorder)((wxWindow const *)arg1)->GetBorder(arg2);
30745
30746 wxPyEndAllowThreads(__tstate);
30747 if (PyErr_Occurred()) SWIG_fail;
30748 }
30749 resultobj = SWIG_From_int((result));
30750 return resultobj;
30751 fail:
30752 return NULL;
30753 }
30754
30755
30756 static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) {
30757 PyObject *resultobj;
30758 wxWindow *arg1 = (wxWindow *) 0 ;
30759 wxBorder result;
30760 PyObject * obj0 = 0 ;
30761
30762 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
30763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30764 if (SWIG_arg_fail(1)) SWIG_fail;
30765 {
30766 PyThreadState* __tstate = wxPyBeginAllowThreads();
30767 result = (wxBorder)((wxWindow const *)arg1)->GetBorder();
30768
30769 wxPyEndAllowThreads(__tstate);
30770 if (PyErr_Occurred()) SWIG_fail;
30771 }
30772 resultobj = SWIG_From_int((result));
30773 return resultobj;
30774 fail:
30775 return NULL;
30776 }
30777
30778
30779 static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
30780 int argc;
30781 PyObject *argv[3];
30782 int ii;
30783
30784 argc = PyObject_Length(args);
30785 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
30786 argv[ii] = PyTuple_GetItem(args,ii);
30787 }
30788 if (argc == 1) {
30789 int _v;
30790 {
30791 void *ptr;
30792 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
30793 _v = 0;
30794 PyErr_Clear();
30795 } else {
30796 _v = 1;
30797 }
30798 }
30799 if (_v) {
30800 return _wrap_Window_GetBorder__SWIG_1(self,args);
30801 }
30802 }
30803 if (argc == 2) {
30804 int _v;
30805 {
30806 void *ptr;
30807 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
30808 _v = 0;
30809 PyErr_Clear();
30810 } else {
30811 _v = 1;
30812 }
30813 }
30814 if (_v) {
30815 _v = SWIG_Check_long(argv[1]);
30816 if (_v) {
30817 return _wrap_Window_GetBorder__SWIG_0(self,args);
30818 }
30819 }
30820 }
30821
30822 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'Window_GetBorder'");
30823 return NULL;
30824 }
30825
30826
30827 static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) {
30828 PyObject *resultobj;
30829 wxWindow *arg1 = (wxWindow *) 0 ;
30830 long arg2 = (long) wxUPDATE_UI_NONE ;
30831 PyObject * obj0 = 0 ;
30832 PyObject * obj1 = 0 ;
30833 char *kwnames[] = {
30834 (char *) "self",(char *) "flags", NULL
30835 };
30836
30837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
30838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30839 if (SWIG_arg_fail(1)) SWIG_fail;
30840 if (obj1) {
30841 {
30842 arg2 = (long)(SWIG_As_long(obj1));
30843 if (SWIG_arg_fail(2)) SWIG_fail;
30844 }
30845 }
30846 {
30847 PyThreadState* __tstate = wxPyBeginAllowThreads();
30848 (arg1)->UpdateWindowUI(arg2);
30849
30850 wxPyEndAllowThreads(__tstate);
30851 if (PyErr_Occurred()) SWIG_fail;
30852 }
30853 Py_INCREF(Py_None); resultobj = Py_None;
30854 return resultobj;
30855 fail:
30856 return NULL;
30857 }
30858
30859
30860 static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) {
30861 PyObject *resultobj;
30862 wxWindow *arg1 = (wxWindow *) 0 ;
30863 wxMenu *arg2 = (wxMenu *) 0 ;
30864 int arg3 = (int) -1 ;
30865 int arg4 = (int) -1 ;
30866 bool result;
30867 PyObject * obj0 = 0 ;
30868 PyObject * obj1 = 0 ;
30869 PyObject * obj2 = 0 ;
30870 PyObject * obj3 = 0 ;
30871 char *kwnames[] = {
30872 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30873 };
30874
30875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30877 if (SWIG_arg_fail(1)) SWIG_fail;
30878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
30879 if (SWIG_arg_fail(2)) SWIG_fail;
30880 if (obj2) {
30881 {
30882 arg3 = (int)(SWIG_As_int(obj2));
30883 if (SWIG_arg_fail(3)) SWIG_fail;
30884 }
30885 }
30886 if (obj3) {
30887 {
30888 arg4 = (int)(SWIG_As_int(obj3));
30889 if (SWIG_arg_fail(4)) SWIG_fail;
30890 }
30891 }
30892 {
30893 PyThreadState* __tstate = wxPyBeginAllowThreads();
30894 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
30895
30896 wxPyEndAllowThreads(__tstate);
30897 if (PyErr_Occurred()) SWIG_fail;
30898 }
30899 {
30900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30901 }
30902 return resultobj;
30903 fail:
30904 return NULL;
30905 }
30906
30907
30908 static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
30909 PyObject *resultobj;
30910 wxWindow *arg1 = (wxWindow *) 0 ;
30911 wxMenu *arg2 = (wxMenu *) 0 ;
30912 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30913 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30914 bool result;
30915 wxPoint temp3 ;
30916 PyObject * obj0 = 0 ;
30917 PyObject * obj1 = 0 ;
30918 PyObject * obj2 = 0 ;
30919 char *kwnames[] = {
30920 (char *) "self",(char *) "menu",(char *) "pos", NULL
30921 };
30922
30923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
30924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30925 if (SWIG_arg_fail(1)) SWIG_fail;
30926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
30927 if (SWIG_arg_fail(2)) SWIG_fail;
30928 if (obj2) {
30929 {
30930 arg3 = &temp3;
30931 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30932 }
30933 }
30934 {
30935 PyThreadState* __tstate = wxPyBeginAllowThreads();
30936 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
30937
30938 wxPyEndAllowThreads(__tstate);
30939 if (PyErr_Occurred()) SWIG_fail;
30940 }
30941 {
30942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30943 }
30944 return resultobj;
30945 fail:
30946 return NULL;
30947 }
30948
30949
30950 static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
30951 PyObject *resultobj;
30952 wxWindow *arg1 = (wxWindow *) 0 ;
30953 long result;
30954 PyObject * obj0 = 0 ;
30955 char *kwnames[] = {
30956 (char *) "self", NULL
30957 };
30958
30959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
30960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30961 if (SWIG_arg_fail(1)) SWIG_fail;
30962 {
30963 PyThreadState* __tstate = wxPyBeginAllowThreads();
30964 result = (long)wxWindow_GetHandle(arg1);
30965
30966 wxPyEndAllowThreads(__tstate);
30967 if (PyErr_Occurred()) SWIG_fail;
30968 }
30969 {
30970 resultobj = SWIG_From_long((long)(result));
30971 }
30972 return resultobj;
30973 fail:
30974 return NULL;
30975 }
30976
30977
30978 static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
30979 PyObject *resultobj;
30980 wxWindow *arg1 = (wxWindow *) 0 ;
30981 long arg2 ;
30982 PyObject * obj0 = 0 ;
30983 PyObject * obj1 = 0 ;
30984 char *kwnames[] = {
30985 (char *) "self",(char *) "handle", NULL
30986 };
30987
30988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AssociateHandle",kwnames,&obj0,&obj1)) goto fail;
30989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30990 if (SWIG_arg_fail(1)) SWIG_fail;
30991 {
30992 arg2 = (long)(SWIG_As_long(obj1));
30993 if (SWIG_arg_fail(2)) SWIG_fail;
30994 }
30995 {
30996 PyThreadState* __tstate = wxPyBeginAllowThreads();
30997 wxWindow_AssociateHandle(arg1,arg2);
30998
30999 wxPyEndAllowThreads(__tstate);
31000 if (PyErr_Occurred()) SWIG_fail;
31001 }
31002 Py_INCREF(Py_None); resultobj = Py_None;
31003 return resultobj;
31004 fail:
31005 return NULL;
31006 }
31007
31008
31009 static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
31010 PyObject *resultobj;
31011 wxWindow *arg1 = (wxWindow *) 0 ;
31012 PyObject * obj0 = 0 ;
31013 char *kwnames[] = {
31014 (char *) "self", NULL
31015 };
31016
31017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DissociateHandle",kwnames,&obj0)) goto fail;
31018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31019 if (SWIG_arg_fail(1)) SWIG_fail;
31020 {
31021 PyThreadState* __tstate = wxPyBeginAllowThreads();
31022 (arg1)->DissociateHandle();
31023
31024 wxPyEndAllowThreads(__tstate);
31025 if (PyErr_Occurred()) SWIG_fail;
31026 }
31027 Py_INCREF(Py_None); resultobj = Py_None;
31028 return resultobj;
31029 fail:
31030 return NULL;
31031 }
31032
31033
31034 static PyObject *_wrap_Window_OnPaint(PyObject *, PyObject *args, PyObject *kwargs) {
31035 PyObject *resultobj;
31036 wxWindow *arg1 = (wxWindow *) 0 ;
31037 wxPaintEvent *arg2 = 0 ;
31038 PyObject * obj0 = 0 ;
31039 PyObject * obj1 = 0 ;
31040 char *kwnames[] = {
31041 (char *) "self",(char *) "event", NULL
31042 };
31043
31044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_OnPaint",kwnames,&obj0,&obj1)) goto fail;
31045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31046 if (SWIG_arg_fail(1)) SWIG_fail;
31047 {
31048 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPaintEvent, SWIG_POINTER_EXCEPTION | 0);
31049 if (SWIG_arg_fail(2)) SWIG_fail;
31050 if (arg2 == NULL) {
31051 SWIG_null_ref("wxPaintEvent");
31052 }
31053 if (SWIG_arg_fail(2)) SWIG_fail;
31054 }
31055 {
31056 PyThreadState* __tstate = wxPyBeginAllowThreads();
31057 (arg1)->OnPaint(*arg2);
31058
31059 wxPyEndAllowThreads(__tstate);
31060 if (PyErr_Occurred()) SWIG_fail;
31061 }
31062 Py_INCREF(Py_None); resultobj = Py_None;
31063 return resultobj;
31064 fail:
31065 return NULL;
31066 }
31067
31068
31069 static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
31070 PyObject *resultobj;
31071 wxWindow *arg1 = (wxWindow *) 0 ;
31072 int arg2 ;
31073 bool result;
31074 PyObject * obj0 = 0 ;
31075 PyObject * obj1 = 0 ;
31076 char *kwnames[] = {
31077 (char *) "self",(char *) "orient", NULL
31078 };
31079
31080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
31081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31082 if (SWIG_arg_fail(1)) SWIG_fail;
31083 {
31084 arg2 = (int)(SWIG_As_int(obj1));
31085 if (SWIG_arg_fail(2)) SWIG_fail;
31086 }
31087 {
31088 PyThreadState* __tstate = wxPyBeginAllowThreads();
31089 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
31090
31091 wxPyEndAllowThreads(__tstate);
31092 if (PyErr_Occurred()) SWIG_fail;
31093 }
31094 {
31095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31096 }
31097 return resultobj;
31098 fail:
31099 return NULL;
31100 }
31101
31102
31103 static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
31104 PyObject *resultobj;
31105 wxWindow *arg1 = (wxWindow *) 0 ;
31106 int arg2 ;
31107 int arg3 ;
31108 int arg4 ;
31109 int arg5 ;
31110 bool arg6 = (bool) true ;
31111 PyObject * obj0 = 0 ;
31112 PyObject * obj1 = 0 ;
31113 PyObject * obj2 = 0 ;
31114 PyObject * obj3 = 0 ;
31115 PyObject * obj4 = 0 ;
31116 PyObject * obj5 = 0 ;
31117 char *kwnames[] = {
31118 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31119 };
31120
31121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31123 if (SWIG_arg_fail(1)) SWIG_fail;
31124 {
31125 arg2 = (int)(SWIG_As_int(obj1));
31126 if (SWIG_arg_fail(2)) SWIG_fail;
31127 }
31128 {
31129 arg3 = (int)(SWIG_As_int(obj2));
31130 if (SWIG_arg_fail(3)) SWIG_fail;
31131 }
31132 {
31133 arg4 = (int)(SWIG_As_int(obj3));
31134 if (SWIG_arg_fail(4)) SWIG_fail;
31135 }
31136 {
31137 arg5 = (int)(SWIG_As_int(obj4));
31138 if (SWIG_arg_fail(5)) SWIG_fail;
31139 }
31140 if (obj5) {
31141 {
31142 arg6 = (bool)(SWIG_As_bool(obj5));
31143 if (SWIG_arg_fail(6)) SWIG_fail;
31144 }
31145 }
31146 {
31147 PyThreadState* __tstate = wxPyBeginAllowThreads();
31148 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
31149
31150 wxPyEndAllowThreads(__tstate);
31151 if (PyErr_Occurred()) SWIG_fail;
31152 }
31153 Py_INCREF(Py_None); resultobj = Py_None;
31154 return resultobj;
31155 fail:
31156 return NULL;
31157 }
31158
31159
31160 static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
31161 PyObject *resultobj;
31162 wxWindow *arg1 = (wxWindow *) 0 ;
31163 int arg2 ;
31164 int arg3 ;
31165 bool arg4 = (bool) true ;
31166 PyObject * obj0 = 0 ;
31167 PyObject * obj1 = 0 ;
31168 PyObject * obj2 = 0 ;
31169 PyObject * obj3 = 0 ;
31170 char *kwnames[] = {
31171 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31172 };
31173
31174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31176 if (SWIG_arg_fail(1)) SWIG_fail;
31177 {
31178 arg2 = (int)(SWIG_As_int(obj1));
31179 if (SWIG_arg_fail(2)) SWIG_fail;
31180 }
31181 {
31182 arg3 = (int)(SWIG_As_int(obj2));
31183 if (SWIG_arg_fail(3)) SWIG_fail;
31184 }
31185 if (obj3) {
31186 {
31187 arg4 = (bool)(SWIG_As_bool(obj3));
31188 if (SWIG_arg_fail(4)) SWIG_fail;
31189 }
31190 }
31191 {
31192 PyThreadState* __tstate = wxPyBeginAllowThreads();
31193 (arg1)->SetScrollPos(arg2,arg3,arg4);
31194
31195 wxPyEndAllowThreads(__tstate);
31196 if (PyErr_Occurred()) SWIG_fail;
31197 }
31198 Py_INCREF(Py_None); resultobj = Py_None;
31199 return resultobj;
31200 fail:
31201 return NULL;
31202 }
31203
31204
31205 static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
31206 PyObject *resultobj;
31207 wxWindow *arg1 = (wxWindow *) 0 ;
31208 int arg2 ;
31209 int result;
31210 PyObject * obj0 = 0 ;
31211 PyObject * obj1 = 0 ;
31212 char *kwnames[] = {
31213 (char *) "self",(char *) "orientation", NULL
31214 };
31215
31216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
31217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31218 if (SWIG_arg_fail(1)) SWIG_fail;
31219 {
31220 arg2 = (int)(SWIG_As_int(obj1));
31221 if (SWIG_arg_fail(2)) SWIG_fail;
31222 }
31223 {
31224 PyThreadState* __tstate = wxPyBeginAllowThreads();
31225 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
31226
31227 wxPyEndAllowThreads(__tstate);
31228 if (PyErr_Occurred()) SWIG_fail;
31229 }
31230 {
31231 resultobj = SWIG_From_int((int)(result));
31232 }
31233 return resultobj;
31234 fail:
31235 return NULL;
31236 }
31237
31238
31239 static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) {
31240 PyObject *resultobj;
31241 wxWindow *arg1 = (wxWindow *) 0 ;
31242 int arg2 ;
31243 int result;
31244 PyObject * obj0 = 0 ;
31245 PyObject * obj1 = 0 ;
31246 char *kwnames[] = {
31247 (char *) "self",(char *) "orientation", NULL
31248 };
31249
31250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
31251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31252 if (SWIG_arg_fail(1)) SWIG_fail;
31253 {
31254 arg2 = (int)(SWIG_As_int(obj1));
31255 if (SWIG_arg_fail(2)) SWIG_fail;
31256 }
31257 {
31258 PyThreadState* __tstate = wxPyBeginAllowThreads();
31259 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
31260
31261 wxPyEndAllowThreads(__tstate);
31262 if (PyErr_Occurred()) SWIG_fail;
31263 }
31264 {
31265 resultobj = SWIG_From_int((int)(result));
31266 }
31267 return resultobj;
31268 fail:
31269 return NULL;
31270 }
31271
31272
31273 static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) {
31274 PyObject *resultobj;
31275 wxWindow *arg1 = (wxWindow *) 0 ;
31276 int arg2 ;
31277 int result;
31278 PyObject * obj0 = 0 ;
31279 PyObject * obj1 = 0 ;
31280 char *kwnames[] = {
31281 (char *) "self",(char *) "orientation", NULL
31282 };
31283
31284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
31285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31286 if (SWIG_arg_fail(1)) SWIG_fail;
31287 {
31288 arg2 = (int)(SWIG_As_int(obj1));
31289 if (SWIG_arg_fail(2)) SWIG_fail;
31290 }
31291 {
31292 PyThreadState* __tstate = wxPyBeginAllowThreads();
31293 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
31294
31295 wxPyEndAllowThreads(__tstate);
31296 if (PyErr_Occurred()) SWIG_fail;
31297 }
31298 {
31299 resultobj = SWIG_From_int((int)(result));
31300 }
31301 return resultobj;
31302 fail:
31303 return NULL;
31304 }
31305
31306
31307 static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) {
31308 PyObject *resultobj;
31309 wxWindow *arg1 = (wxWindow *) 0 ;
31310 int arg2 ;
31311 int arg3 ;
31312 wxRect *arg4 = (wxRect *) NULL ;
31313 PyObject * obj0 = 0 ;
31314 PyObject * obj1 = 0 ;
31315 PyObject * obj2 = 0 ;
31316 PyObject * obj3 = 0 ;
31317 char *kwnames[] = {
31318 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31319 };
31320
31321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31323 if (SWIG_arg_fail(1)) SWIG_fail;
31324 {
31325 arg2 = (int)(SWIG_As_int(obj1));
31326 if (SWIG_arg_fail(2)) SWIG_fail;
31327 }
31328 {
31329 arg3 = (int)(SWIG_As_int(obj2));
31330 if (SWIG_arg_fail(3)) SWIG_fail;
31331 }
31332 if (obj3) {
31333 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
31334 if (SWIG_arg_fail(4)) SWIG_fail;
31335 }
31336 {
31337 PyThreadState* __tstate = wxPyBeginAllowThreads();
31338 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
31339
31340 wxPyEndAllowThreads(__tstate);
31341 if (PyErr_Occurred()) SWIG_fail;
31342 }
31343 Py_INCREF(Py_None); resultobj = Py_None;
31344 return resultobj;
31345 fail:
31346 return NULL;
31347 }
31348
31349
31350 static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
31351 PyObject *resultobj;
31352 wxWindow *arg1 = (wxWindow *) 0 ;
31353 int arg2 ;
31354 bool result;
31355 PyObject * obj0 = 0 ;
31356 PyObject * obj1 = 0 ;
31357 char *kwnames[] = {
31358 (char *) "self",(char *) "lines", NULL
31359 };
31360
31361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
31362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31363 if (SWIG_arg_fail(1)) SWIG_fail;
31364 {
31365 arg2 = (int)(SWIG_As_int(obj1));
31366 if (SWIG_arg_fail(2)) SWIG_fail;
31367 }
31368 {
31369 PyThreadState* __tstate = wxPyBeginAllowThreads();
31370 result = (bool)(arg1)->ScrollLines(arg2);
31371
31372 wxPyEndAllowThreads(__tstate);
31373 if (PyErr_Occurred()) SWIG_fail;
31374 }
31375 {
31376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31377 }
31378 return resultobj;
31379 fail:
31380 return NULL;
31381 }
31382
31383
31384 static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
31385 PyObject *resultobj;
31386 wxWindow *arg1 = (wxWindow *) 0 ;
31387 int arg2 ;
31388 bool result;
31389 PyObject * obj0 = 0 ;
31390 PyObject * obj1 = 0 ;
31391 char *kwnames[] = {
31392 (char *) "self",(char *) "pages", NULL
31393 };
31394
31395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
31396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31397 if (SWIG_arg_fail(1)) SWIG_fail;
31398 {
31399 arg2 = (int)(SWIG_As_int(obj1));
31400 if (SWIG_arg_fail(2)) SWIG_fail;
31401 }
31402 {
31403 PyThreadState* __tstate = wxPyBeginAllowThreads();
31404 result = (bool)(arg1)->ScrollPages(arg2);
31405
31406 wxPyEndAllowThreads(__tstate);
31407 if (PyErr_Occurred()) SWIG_fail;
31408 }
31409 {
31410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31411 }
31412 return resultobj;
31413 fail:
31414 return NULL;
31415 }
31416
31417
31418 static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
31419 PyObject *resultobj;
31420 wxWindow *arg1 = (wxWindow *) 0 ;
31421 bool result;
31422 PyObject * obj0 = 0 ;
31423 char *kwnames[] = {
31424 (char *) "self", NULL
31425 };
31426
31427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
31428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31429 if (SWIG_arg_fail(1)) SWIG_fail;
31430 {
31431 PyThreadState* __tstate = wxPyBeginAllowThreads();
31432 result = (bool)(arg1)->LineUp();
31433
31434 wxPyEndAllowThreads(__tstate);
31435 if (PyErr_Occurred()) SWIG_fail;
31436 }
31437 {
31438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31439 }
31440 return resultobj;
31441 fail:
31442 return NULL;
31443 }
31444
31445
31446 static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
31447 PyObject *resultobj;
31448 wxWindow *arg1 = (wxWindow *) 0 ;
31449 bool result;
31450 PyObject * obj0 = 0 ;
31451 char *kwnames[] = {
31452 (char *) "self", NULL
31453 };
31454
31455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
31456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31457 if (SWIG_arg_fail(1)) SWIG_fail;
31458 {
31459 PyThreadState* __tstate = wxPyBeginAllowThreads();
31460 result = (bool)(arg1)->LineDown();
31461
31462 wxPyEndAllowThreads(__tstate);
31463 if (PyErr_Occurred()) SWIG_fail;
31464 }
31465 {
31466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31467 }
31468 return resultobj;
31469 fail:
31470 return NULL;
31471 }
31472
31473
31474 static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
31475 PyObject *resultobj;
31476 wxWindow *arg1 = (wxWindow *) 0 ;
31477 bool result;
31478 PyObject * obj0 = 0 ;
31479 char *kwnames[] = {
31480 (char *) "self", NULL
31481 };
31482
31483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
31484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31485 if (SWIG_arg_fail(1)) SWIG_fail;
31486 {
31487 PyThreadState* __tstate = wxPyBeginAllowThreads();
31488 result = (bool)(arg1)->PageUp();
31489
31490 wxPyEndAllowThreads(__tstate);
31491 if (PyErr_Occurred()) SWIG_fail;
31492 }
31493 {
31494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31495 }
31496 return resultobj;
31497 fail:
31498 return NULL;
31499 }
31500
31501
31502 static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
31503 PyObject *resultobj;
31504 wxWindow *arg1 = (wxWindow *) 0 ;
31505 bool result;
31506 PyObject * obj0 = 0 ;
31507 char *kwnames[] = {
31508 (char *) "self", NULL
31509 };
31510
31511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
31512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31513 if (SWIG_arg_fail(1)) SWIG_fail;
31514 {
31515 PyThreadState* __tstate = wxPyBeginAllowThreads();
31516 result = (bool)(arg1)->PageDown();
31517
31518 wxPyEndAllowThreads(__tstate);
31519 if (PyErr_Occurred()) SWIG_fail;
31520 }
31521 {
31522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31523 }
31524 return resultobj;
31525 fail:
31526 return NULL;
31527 }
31528
31529
31530 static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
31531 PyObject *resultobj;
31532 wxWindow *arg1 = (wxWindow *) 0 ;
31533 wxString *arg2 = 0 ;
31534 bool temp2 = false ;
31535 PyObject * obj0 = 0 ;
31536 PyObject * obj1 = 0 ;
31537 char *kwnames[] = {
31538 (char *) "self",(char *) "text", NULL
31539 };
31540
31541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
31542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31543 if (SWIG_arg_fail(1)) SWIG_fail;
31544 {
31545 arg2 = wxString_in_helper(obj1);
31546 if (arg2 == NULL) SWIG_fail;
31547 temp2 = true;
31548 }
31549 {
31550 PyThreadState* __tstate = wxPyBeginAllowThreads();
31551 (arg1)->SetHelpText((wxString const &)*arg2);
31552
31553 wxPyEndAllowThreads(__tstate);
31554 if (PyErr_Occurred()) SWIG_fail;
31555 }
31556 Py_INCREF(Py_None); resultobj = Py_None;
31557 {
31558 if (temp2)
31559 delete arg2;
31560 }
31561 return resultobj;
31562 fail:
31563 {
31564 if (temp2)
31565 delete arg2;
31566 }
31567 return NULL;
31568 }
31569
31570
31571 static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) {
31572 PyObject *resultobj;
31573 wxWindow *arg1 = (wxWindow *) 0 ;
31574 wxString *arg2 = 0 ;
31575 bool temp2 = false ;
31576 PyObject * obj0 = 0 ;
31577 PyObject * obj1 = 0 ;
31578 char *kwnames[] = {
31579 (char *) "self",(char *) "text", NULL
31580 };
31581
31582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
31583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31584 if (SWIG_arg_fail(1)) SWIG_fail;
31585 {
31586 arg2 = wxString_in_helper(obj1);
31587 if (arg2 == NULL) SWIG_fail;
31588 temp2 = true;
31589 }
31590 {
31591 PyThreadState* __tstate = wxPyBeginAllowThreads();
31592 (arg1)->SetHelpTextForId((wxString const &)*arg2);
31593
31594 wxPyEndAllowThreads(__tstate);
31595 if (PyErr_Occurred()) SWIG_fail;
31596 }
31597 Py_INCREF(Py_None); resultobj = Py_None;
31598 {
31599 if (temp2)
31600 delete arg2;
31601 }
31602 return resultobj;
31603 fail:
31604 {
31605 if (temp2)
31606 delete arg2;
31607 }
31608 return NULL;
31609 }
31610
31611
31612 static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
31613 PyObject *resultobj;
31614 wxWindow *arg1 = (wxWindow *) 0 ;
31615 wxString result;
31616 PyObject * obj0 = 0 ;
31617 char *kwnames[] = {
31618 (char *) "self", NULL
31619 };
31620
31621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
31622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31623 if (SWIG_arg_fail(1)) SWIG_fail;
31624 {
31625 PyThreadState* __tstate = wxPyBeginAllowThreads();
31626 result = ((wxWindow const *)arg1)->GetHelpText();
31627
31628 wxPyEndAllowThreads(__tstate);
31629 if (PyErr_Occurred()) SWIG_fail;
31630 }
31631 {
31632 #if wxUSE_UNICODE
31633 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31634 #else
31635 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31636 #endif
31637 }
31638 return resultobj;
31639 fail:
31640 return NULL;
31641 }
31642
31643
31644 static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) {
31645 PyObject *resultobj;
31646 wxWindow *arg1 = (wxWindow *) 0 ;
31647 wxString *arg2 = 0 ;
31648 bool temp2 = false ;
31649 PyObject * obj0 = 0 ;
31650 PyObject * obj1 = 0 ;
31651 char *kwnames[] = {
31652 (char *) "self",(char *) "tip", NULL
31653 };
31654
31655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
31656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31657 if (SWIG_arg_fail(1)) SWIG_fail;
31658 {
31659 arg2 = wxString_in_helper(obj1);
31660 if (arg2 == NULL) SWIG_fail;
31661 temp2 = true;
31662 }
31663 {
31664 PyThreadState* __tstate = wxPyBeginAllowThreads();
31665 (arg1)->SetToolTip((wxString const &)*arg2);
31666
31667 wxPyEndAllowThreads(__tstate);
31668 if (PyErr_Occurred()) SWIG_fail;
31669 }
31670 Py_INCREF(Py_None); resultobj = Py_None;
31671 {
31672 if (temp2)
31673 delete arg2;
31674 }
31675 return resultobj;
31676 fail:
31677 {
31678 if (temp2)
31679 delete arg2;
31680 }
31681 return NULL;
31682 }
31683
31684
31685 static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
31686 PyObject *resultobj;
31687 wxWindow *arg1 = (wxWindow *) 0 ;
31688 wxToolTip *arg2 = (wxToolTip *) 0 ;
31689 PyObject * obj0 = 0 ;
31690 PyObject * obj1 = 0 ;
31691 char *kwnames[] = {
31692 (char *) "self",(char *) "tip", NULL
31693 };
31694
31695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
31696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31697 if (SWIG_arg_fail(1)) SWIG_fail;
31698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
31699 if (SWIG_arg_fail(2)) SWIG_fail;
31700 {
31701 PyThreadState* __tstate = wxPyBeginAllowThreads();
31702 (arg1)->SetToolTip(arg2);
31703
31704 wxPyEndAllowThreads(__tstate);
31705 if (PyErr_Occurred()) SWIG_fail;
31706 }
31707 Py_INCREF(Py_None); resultobj = Py_None;
31708 return resultobj;
31709 fail:
31710 return NULL;
31711 }
31712
31713
31714 static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
31715 PyObject *resultobj;
31716 wxWindow *arg1 = (wxWindow *) 0 ;
31717 wxToolTip *result;
31718 PyObject * obj0 = 0 ;
31719 char *kwnames[] = {
31720 (char *) "self", NULL
31721 };
31722
31723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
31724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31725 if (SWIG_arg_fail(1)) SWIG_fail;
31726 {
31727 PyThreadState* __tstate = wxPyBeginAllowThreads();
31728 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
31729
31730 wxPyEndAllowThreads(__tstate);
31731 if (PyErr_Occurred()) SWIG_fail;
31732 }
31733 {
31734 resultobj = wxPyMake_wxObject(result, 0);
31735 }
31736 return resultobj;
31737 fail:
31738 return NULL;
31739 }
31740
31741
31742 static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
31743 PyObject *resultobj;
31744 wxWindow *arg1 = (wxWindow *) 0 ;
31745 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
31746 PyObject * obj0 = 0 ;
31747 PyObject * obj1 = 0 ;
31748 char *kwnames[] = {
31749 (char *) "self",(char *) "dropTarget", NULL
31750 };
31751
31752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
31753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31754 if (SWIG_arg_fail(1)) SWIG_fail;
31755 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31756 if (SWIG_arg_fail(2)) SWIG_fail;
31757 {
31758 PyThreadState* __tstate = wxPyBeginAllowThreads();
31759 (arg1)->SetDropTarget(arg2);
31760
31761 wxPyEndAllowThreads(__tstate);
31762 if (PyErr_Occurred()) SWIG_fail;
31763 }
31764 Py_INCREF(Py_None); resultobj = Py_None;
31765 return resultobj;
31766 fail:
31767 return NULL;
31768 }
31769
31770
31771 static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
31772 PyObject *resultobj;
31773 wxWindow *arg1 = (wxWindow *) 0 ;
31774 wxPyDropTarget *result;
31775 PyObject * obj0 = 0 ;
31776 char *kwnames[] = {
31777 (char *) "self", NULL
31778 };
31779
31780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
31781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31782 if (SWIG_arg_fail(1)) SWIG_fail;
31783 {
31784 PyThreadState* __tstate = wxPyBeginAllowThreads();
31785 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
31786
31787 wxPyEndAllowThreads(__tstate);
31788 if (PyErr_Occurred()) SWIG_fail;
31789 }
31790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
31791 return resultobj;
31792 fail:
31793 return NULL;
31794 }
31795
31796
31797 static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) {
31798 PyObject *resultobj;
31799 wxWindow *arg1 = (wxWindow *) 0 ;
31800 bool arg2 ;
31801 PyObject * obj0 = 0 ;
31802 PyObject * obj1 = 0 ;
31803 char *kwnames[] = {
31804 (char *) "self",(char *) "accept", NULL
31805 };
31806
31807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
31808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31809 if (SWIG_arg_fail(1)) SWIG_fail;
31810 {
31811 arg2 = (bool)(SWIG_As_bool(obj1));
31812 if (SWIG_arg_fail(2)) SWIG_fail;
31813 }
31814 {
31815 PyThreadState* __tstate = wxPyBeginAllowThreads();
31816 (arg1)->DragAcceptFiles(arg2);
31817
31818 wxPyEndAllowThreads(__tstate);
31819 if (PyErr_Occurred()) SWIG_fail;
31820 }
31821 Py_INCREF(Py_None); resultobj = Py_None;
31822 return resultobj;
31823 fail:
31824 return NULL;
31825 }
31826
31827
31828 static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
31829 PyObject *resultobj;
31830 wxWindow *arg1 = (wxWindow *) 0 ;
31831 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
31832 PyObject * obj0 = 0 ;
31833 PyObject * obj1 = 0 ;
31834 char *kwnames[] = {
31835 (char *) "self",(char *) "constraints", NULL
31836 };
31837
31838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
31839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31840 if (SWIG_arg_fail(1)) SWIG_fail;
31841 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
31842 if (SWIG_arg_fail(2)) SWIG_fail;
31843 {
31844 PyThreadState* __tstate = wxPyBeginAllowThreads();
31845 (arg1)->SetConstraints(arg2);
31846
31847 wxPyEndAllowThreads(__tstate);
31848 if (PyErr_Occurred()) SWIG_fail;
31849 }
31850 Py_INCREF(Py_None); resultobj = Py_None;
31851 return resultobj;
31852 fail:
31853 return NULL;
31854 }
31855
31856
31857 static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
31858 PyObject *resultobj;
31859 wxWindow *arg1 = (wxWindow *) 0 ;
31860 wxLayoutConstraints *result;
31861 PyObject * obj0 = 0 ;
31862 char *kwnames[] = {
31863 (char *) "self", NULL
31864 };
31865
31866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
31867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31868 if (SWIG_arg_fail(1)) SWIG_fail;
31869 {
31870 PyThreadState* __tstate = wxPyBeginAllowThreads();
31871 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
31872
31873 wxPyEndAllowThreads(__tstate);
31874 if (PyErr_Occurred()) SWIG_fail;
31875 }
31876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
31877 return resultobj;
31878 fail:
31879 return NULL;
31880 }
31881
31882
31883 static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
31884 PyObject *resultobj;
31885 wxWindow *arg1 = (wxWindow *) 0 ;
31886 bool arg2 ;
31887 PyObject * obj0 = 0 ;
31888 PyObject * obj1 = 0 ;
31889 char *kwnames[] = {
31890 (char *) "self",(char *) "autoLayout", NULL
31891 };
31892
31893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
31894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31895 if (SWIG_arg_fail(1)) SWIG_fail;
31896 {
31897 arg2 = (bool)(SWIG_As_bool(obj1));
31898 if (SWIG_arg_fail(2)) SWIG_fail;
31899 }
31900 {
31901 PyThreadState* __tstate = wxPyBeginAllowThreads();
31902 (arg1)->SetAutoLayout(arg2);
31903
31904 wxPyEndAllowThreads(__tstate);
31905 if (PyErr_Occurred()) SWIG_fail;
31906 }
31907 Py_INCREF(Py_None); resultobj = Py_None;
31908 return resultobj;
31909 fail:
31910 return NULL;
31911 }
31912
31913
31914 static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
31915 PyObject *resultobj;
31916 wxWindow *arg1 = (wxWindow *) 0 ;
31917 bool result;
31918 PyObject * obj0 = 0 ;
31919 char *kwnames[] = {
31920 (char *) "self", NULL
31921 };
31922
31923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
31924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31925 if (SWIG_arg_fail(1)) SWIG_fail;
31926 {
31927 PyThreadState* __tstate = wxPyBeginAllowThreads();
31928 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
31929
31930 wxPyEndAllowThreads(__tstate);
31931 if (PyErr_Occurred()) SWIG_fail;
31932 }
31933 {
31934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31935 }
31936 return resultobj;
31937 fail:
31938 return NULL;
31939 }
31940
31941
31942 static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
31943 PyObject *resultobj;
31944 wxWindow *arg1 = (wxWindow *) 0 ;
31945 bool result;
31946 PyObject * obj0 = 0 ;
31947 char *kwnames[] = {
31948 (char *) "self", NULL
31949 };
31950
31951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
31952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31953 if (SWIG_arg_fail(1)) SWIG_fail;
31954 {
31955 PyThreadState* __tstate = wxPyBeginAllowThreads();
31956 result = (bool)(arg1)->Layout();
31957
31958 wxPyEndAllowThreads(__tstate);
31959 if (PyErr_Occurred()) SWIG_fail;
31960 }
31961 {
31962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31963 }
31964 return resultobj;
31965 fail:
31966 return NULL;
31967 }
31968
31969
31970 static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
31971 PyObject *resultobj;
31972 wxWindow *arg1 = (wxWindow *) 0 ;
31973 wxSizer *arg2 = (wxSizer *) 0 ;
31974 bool arg3 = (bool) true ;
31975 PyObject * obj0 = 0 ;
31976 PyObject * obj1 = 0 ;
31977 PyObject * obj2 = 0 ;
31978 char *kwnames[] = {
31979 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31980 };
31981
31982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
31983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31984 if (SWIG_arg_fail(1)) SWIG_fail;
31985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
31986 if (SWIG_arg_fail(2)) SWIG_fail;
31987 if (obj2) {
31988 {
31989 arg3 = (bool)(SWIG_As_bool(obj2));
31990 if (SWIG_arg_fail(3)) SWIG_fail;
31991 }
31992 }
31993 {
31994 PyThreadState* __tstate = wxPyBeginAllowThreads();
31995 (arg1)->SetSizer(arg2,arg3);
31996
31997 wxPyEndAllowThreads(__tstate);
31998 if (PyErr_Occurred()) SWIG_fail;
31999 }
32000 Py_INCREF(Py_None); resultobj = Py_None;
32001 return resultobj;
32002 fail:
32003 return NULL;
32004 }
32005
32006
32007 static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) {
32008 PyObject *resultobj;
32009 wxWindow *arg1 = (wxWindow *) 0 ;
32010 wxSizer *arg2 = (wxSizer *) 0 ;
32011 bool arg3 = (bool) true ;
32012 PyObject * obj0 = 0 ;
32013 PyObject * obj1 = 0 ;
32014 PyObject * obj2 = 0 ;
32015 char *kwnames[] = {
32016 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32017 };
32018
32019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
32020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32021 if (SWIG_arg_fail(1)) SWIG_fail;
32022 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
32023 if (SWIG_arg_fail(2)) SWIG_fail;
32024 if (obj2) {
32025 {
32026 arg3 = (bool)(SWIG_As_bool(obj2));
32027 if (SWIG_arg_fail(3)) SWIG_fail;
32028 }
32029 }
32030 {
32031 PyThreadState* __tstate = wxPyBeginAllowThreads();
32032 (arg1)->SetSizerAndFit(arg2,arg3);
32033
32034 wxPyEndAllowThreads(__tstate);
32035 if (PyErr_Occurred()) SWIG_fail;
32036 }
32037 Py_INCREF(Py_None); resultobj = Py_None;
32038 return resultobj;
32039 fail:
32040 return NULL;
32041 }
32042
32043
32044 static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32045 PyObject *resultobj;
32046 wxWindow *arg1 = (wxWindow *) 0 ;
32047 wxSizer *result;
32048 PyObject * obj0 = 0 ;
32049 char *kwnames[] = {
32050 (char *) "self", NULL
32051 };
32052
32053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
32054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32055 if (SWIG_arg_fail(1)) SWIG_fail;
32056 {
32057 PyThreadState* __tstate = wxPyBeginAllowThreads();
32058 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
32059
32060 wxPyEndAllowThreads(__tstate);
32061 if (PyErr_Occurred()) SWIG_fail;
32062 }
32063 {
32064 resultobj = wxPyMake_wxObject(result, 0);
32065 }
32066 return resultobj;
32067 fail:
32068 return NULL;
32069 }
32070
32071
32072 static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32073 PyObject *resultobj;
32074 wxWindow *arg1 = (wxWindow *) 0 ;
32075 wxSizer *arg2 = (wxSizer *) 0 ;
32076 PyObject * obj0 = 0 ;
32077 PyObject * obj1 = 0 ;
32078 char *kwnames[] = {
32079 (char *) "self",(char *) "sizer", NULL
32080 };
32081
32082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
32083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32084 if (SWIG_arg_fail(1)) SWIG_fail;
32085 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
32086 if (SWIG_arg_fail(2)) SWIG_fail;
32087 {
32088 PyThreadState* __tstate = wxPyBeginAllowThreads();
32089 (arg1)->SetContainingSizer(arg2);
32090
32091 wxPyEndAllowThreads(__tstate);
32092 if (PyErr_Occurred()) SWIG_fail;
32093 }
32094 Py_INCREF(Py_None); resultobj = Py_None;
32095 return resultobj;
32096 fail:
32097 return NULL;
32098 }
32099
32100
32101 static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32102 PyObject *resultobj;
32103 wxWindow *arg1 = (wxWindow *) 0 ;
32104 wxSizer *result;
32105 PyObject * obj0 = 0 ;
32106 char *kwnames[] = {
32107 (char *) "self", NULL
32108 };
32109
32110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
32111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32112 if (SWIG_arg_fail(1)) SWIG_fail;
32113 {
32114 PyThreadState* __tstate = wxPyBeginAllowThreads();
32115 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
32116
32117 wxPyEndAllowThreads(__tstate);
32118 if (PyErr_Occurred()) SWIG_fail;
32119 }
32120 {
32121 resultobj = wxPyMake_wxObject(result, 0);
32122 }
32123 return resultobj;
32124 fail:
32125 return NULL;
32126 }
32127
32128
32129 static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32130 PyObject *resultobj;
32131 wxWindow *arg1 = (wxWindow *) 0 ;
32132 PyObject * obj0 = 0 ;
32133 char *kwnames[] = {
32134 (char *) "self", NULL
32135 };
32136
32137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
32138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32139 if (SWIG_arg_fail(1)) SWIG_fail;
32140 {
32141 PyThreadState* __tstate = wxPyBeginAllowThreads();
32142 (arg1)->InheritAttributes();
32143
32144 wxPyEndAllowThreads(__tstate);
32145 if (PyErr_Occurred()) SWIG_fail;
32146 }
32147 Py_INCREF(Py_None); resultobj = Py_None;
32148 return resultobj;
32149 fail:
32150 return NULL;
32151 }
32152
32153
32154 static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32155 PyObject *resultobj;
32156 wxWindow *arg1 = (wxWindow *) 0 ;
32157 bool result;
32158 PyObject * obj0 = 0 ;
32159 char *kwnames[] = {
32160 (char *) "self", NULL
32161 };
32162
32163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
32164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32165 if (SWIG_arg_fail(1)) SWIG_fail;
32166 {
32167 PyThreadState* __tstate = wxPyBeginAllowThreads();
32168 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
32169
32170 wxPyEndAllowThreads(__tstate);
32171 if (PyErr_Occurred()) SWIG_fail;
32172 }
32173 {
32174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32175 }
32176 return resultobj;
32177 fail:
32178 return NULL;
32179 }
32180
32181
32182 static PyObject * Window_swigregister(PyObject *, PyObject *args) {
32183 PyObject *obj;
32184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32185 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
32186 Py_INCREF(obj);
32187 return Py_BuildValue((char *)"");
32188 }
32189 static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
32190 PyObject *resultobj;
32191 long arg1 ;
32192 wxWindow *arg2 = (wxWindow *) NULL ;
32193 wxWindow *result;
32194 PyObject * obj0 = 0 ;
32195 PyObject * obj1 = 0 ;
32196 char *kwnames[] = {
32197 (char *) "id",(char *) "parent", NULL
32198 };
32199
32200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
32201 {
32202 arg1 = (long)(SWIG_As_long(obj0));
32203 if (SWIG_arg_fail(1)) SWIG_fail;
32204 }
32205 if (obj1) {
32206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32207 if (SWIG_arg_fail(2)) SWIG_fail;
32208 }
32209 {
32210 if (!wxPyCheckForApp()) SWIG_fail;
32211 PyThreadState* __tstate = wxPyBeginAllowThreads();
32212 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
32213
32214 wxPyEndAllowThreads(__tstate);
32215 if (PyErr_Occurred()) SWIG_fail;
32216 }
32217 {
32218 resultobj = wxPyMake_wxObject(result, 0);
32219 }
32220 return resultobj;
32221 fail:
32222 return NULL;
32223 }
32224
32225
32226 static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
32227 PyObject *resultobj;
32228 wxString *arg1 = 0 ;
32229 wxWindow *arg2 = (wxWindow *) NULL ;
32230 wxWindow *result;
32231 bool temp1 = false ;
32232 PyObject * obj0 = 0 ;
32233 PyObject * obj1 = 0 ;
32234 char *kwnames[] = {
32235 (char *) "name",(char *) "parent", NULL
32236 };
32237
32238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
32239 {
32240 arg1 = wxString_in_helper(obj0);
32241 if (arg1 == NULL) SWIG_fail;
32242 temp1 = true;
32243 }
32244 if (obj1) {
32245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32246 if (SWIG_arg_fail(2)) SWIG_fail;
32247 }
32248 {
32249 if (!wxPyCheckForApp()) SWIG_fail;
32250 PyThreadState* __tstate = wxPyBeginAllowThreads();
32251 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
32252
32253 wxPyEndAllowThreads(__tstate);
32254 if (PyErr_Occurred()) SWIG_fail;
32255 }
32256 {
32257 resultobj = wxPyMake_wxObject(result, 0);
32258 }
32259 {
32260 if (temp1)
32261 delete arg1;
32262 }
32263 return resultobj;
32264 fail:
32265 {
32266 if (temp1)
32267 delete arg1;
32268 }
32269 return NULL;
32270 }
32271
32272
32273 static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32274 PyObject *resultobj;
32275 wxString *arg1 = 0 ;
32276 wxWindow *arg2 = (wxWindow *) NULL ;
32277 wxWindow *result;
32278 bool temp1 = false ;
32279 PyObject * obj0 = 0 ;
32280 PyObject * obj1 = 0 ;
32281 char *kwnames[] = {
32282 (char *) "label",(char *) "parent", NULL
32283 };
32284
32285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
32286 {
32287 arg1 = wxString_in_helper(obj0);
32288 if (arg1 == NULL) SWIG_fail;
32289 temp1 = true;
32290 }
32291 if (obj1) {
32292 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32293 if (SWIG_arg_fail(2)) SWIG_fail;
32294 }
32295 {
32296 if (!wxPyCheckForApp()) SWIG_fail;
32297 PyThreadState* __tstate = wxPyBeginAllowThreads();
32298 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
32299
32300 wxPyEndAllowThreads(__tstate);
32301 if (PyErr_Occurred()) SWIG_fail;
32302 }
32303 {
32304 resultobj = wxPyMake_wxObject(result, 0);
32305 }
32306 {
32307 if (temp1)
32308 delete arg1;
32309 }
32310 return resultobj;
32311 fail:
32312 {
32313 if (temp1)
32314 delete arg1;
32315 }
32316 return NULL;
32317 }
32318
32319
32320 static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) {
32321 PyObject *resultobj;
32322 wxWindow *arg1 = (wxWindow *) 0 ;
32323 unsigned long arg2 ;
32324 wxWindow *result;
32325 PyObject * obj0 = 0 ;
32326 PyObject * obj1 = 0 ;
32327 char *kwnames[] = {
32328 (char *) "parent",(char *) "_hWnd", NULL
32329 };
32330
32331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
32332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32333 if (SWIG_arg_fail(1)) SWIG_fail;
32334 {
32335 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
32336 if (SWIG_arg_fail(2)) SWIG_fail;
32337 }
32338 {
32339 PyThreadState* __tstate = wxPyBeginAllowThreads();
32340 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
32341
32342 wxPyEndAllowThreads(__tstate);
32343 if (PyErr_Occurred()) SWIG_fail;
32344 }
32345 {
32346 resultobj = wxPyMake_wxObject(result, 0);
32347 }
32348 return resultobj;
32349 fail:
32350 return NULL;
32351 }
32352
32353
32354 static PyObject *_wrap_GetTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32355 PyObject *resultobj;
32356 PyObject *result;
32357 char *kwnames[] = {
32358 NULL
32359 };
32360
32361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetTopLevelWindows",kwnames)) goto fail;
32362 {
32363 PyThreadState* __tstate = wxPyBeginAllowThreads();
32364 result = (PyObject *)GetTopLevelWindows();
32365
32366 wxPyEndAllowThreads(__tstate);
32367 if (PyErr_Occurred()) SWIG_fail;
32368 }
32369 resultobj = result;
32370 return resultobj;
32371 fail:
32372 return NULL;
32373 }
32374
32375
32376 static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) {
32377 PyObject *resultobj;
32378 wxValidator *result;
32379 char *kwnames[] = {
32380 NULL
32381 };
32382
32383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
32384 {
32385 PyThreadState* __tstate = wxPyBeginAllowThreads();
32386 result = (wxValidator *)new wxValidator();
32387
32388 wxPyEndAllowThreads(__tstate);
32389 if (PyErr_Occurred()) SWIG_fail;
32390 }
32391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxValidator, 1);
32392 return resultobj;
32393 fail:
32394 return NULL;
32395 }
32396
32397
32398 static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
32399 PyObject *resultobj;
32400 wxValidator *arg1 = (wxValidator *) 0 ;
32401 wxValidator *result;
32402 PyObject * obj0 = 0 ;
32403 char *kwnames[] = {
32404 (char *) "self", NULL
32405 };
32406
32407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
32408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32409 if (SWIG_arg_fail(1)) SWIG_fail;
32410 {
32411 PyThreadState* __tstate = wxPyBeginAllowThreads();
32412 result = (wxValidator *)(arg1)->Clone();
32413
32414 wxPyEndAllowThreads(__tstate);
32415 if (PyErr_Occurred()) SWIG_fail;
32416 }
32417 {
32418 resultobj = wxPyMake_wxObject(result, 0);
32419 }
32420 return resultobj;
32421 fail:
32422 return NULL;
32423 }
32424
32425
32426 static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32427 PyObject *resultobj;
32428 wxValidator *arg1 = (wxValidator *) 0 ;
32429 wxWindow *arg2 = (wxWindow *) 0 ;
32430 bool result;
32431 PyObject * obj0 = 0 ;
32432 PyObject * obj1 = 0 ;
32433 char *kwnames[] = {
32434 (char *) "self",(char *) "parent", NULL
32435 };
32436
32437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
32438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32439 if (SWIG_arg_fail(1)) SWIG_fail;
32440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32441 if (SWIG_arg_fail(2)) SWIG_fail;
32442 {
32443 PyThreadState* __tstate = wxPyBeginAllowThreads();
32444 result = (bool)(arg1)->Validate(arg2);
32445
32446 wxPyEndAllowThreads(__tstate);
32447 if (PyErr_Occurred()) SWIG_fail;
32448 }
32449 {
32450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32451 }
32452 return resultobj;
32453 fail:
32454 return NULL;
32455 }
32456
32457
32458 static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32459 PyObject *resultobj;
32460 wxValidator *arg1 = (wxValidator *) 0 ;
32461 bool result;
32462 PyObject * obj0 = 0 ;
32463 char *kwnames[] = {
32464 (char *) "self", NULL
32465 };
32466
32467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
32468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32469 if (SWIG_arg_fail(1)) SWIG_fail;
32470 {
32471 PyThreadState* __tstate = wxPyBeginAllowThreads();
32472 result = (bool)(arg1)->TransferToWindow();
32473
32474 wxPyEndAllowThreads(__tstate);
32475 if (PyErr_Occurred()) SWIG_fail;
32476 }
32477 {
32478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32479 }
32480 return resultobj;
32481 fail:
32482 return NULL;
32483 }
32484
32485
32486 static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32487 PyObject *resultobj;
32488 wxValidator *arg1 = (wxValidator *) 0 ;
32489 bool result;
32490 PyObject * obj0 = 0 ;
32491 char *kwnames[] = {
32492 (char *) "self", NULL
32493 };
32494
32495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
32496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32497 if (SWIG_arg_fail(1)) SWIG_fail;
32498 {
32499 PyThreadState* __tstate = wxPyBeginAllowThreads();
32500 result = (bool)(arg1)->TransferFromWindow();
32501
32502 wxPyEndAllowThreads(__tstate);
32503 if (PyErr_Occurred()) SWIG_fail;
32504 }
32505 {
32506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32507 }
32508 return resultobj;
32509 fail:
32510 return NULL;
32511 }
32512
32513
32514 static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32515 PyObject *resultobj;
32516 wxValidator *arg1 = (wxValidator *) 0 ;
32517 wxWindow *result;
32518 PyObject * obj0 = 0 ;
32519 char *kwnames[] = {
32520 (char *) "self", NULL
32521 };
32522
32523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
32524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32525 if (SWIG_arg_fail(1)) SWIG_fail;
32526 {
32527 PyThreadState* __tstate = wxPyBeginAllowThreads();
32528 result = (wxWindow *)(arg1)->GetWindow();
32529
32530 wxPyEndAllowThreads(__tstate);
32531 if (PyErr_Occurred()) SWIG_fail;
32532 }
32533 {
32534 resultobj = wxPyMake_wxObject(result, 0);
32535 }
32536 return resultobj;
32537 fail:
32538 return NULL;
32539 }
32540
32541
32542 static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32543 PyObject *resultobj;
32544 wxValidator *arg1 = (wxValidator *) 0 ;
32545 wxWindow *arg2 = (wxWindow *) 0 ;
32546 PyObject * obj0 = 0 ;
32547 PyObject * obj1 = 0 ;
32548 char *kwnames[] = {
32549 (char *) "self",(char *) "window", NULL
32550 };
32551
32552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
32553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32554 if (SWIG_arg_fail(1)) SWIG_fail;
32555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32556 if (SWIG_arg_fail(2)) SWIG_fail;
32557 {
32558 PyThreadState* __tstate = wxPyBeginAllowThreads();
32559 (arg1)->SetWindow(arg2);
32560
32561 wxPyEndAllowThreads(__tstate);
32562 if (PyErr_Occurred()) SWIG_fail;
32563 }
32564 Py_INCREF(Py_None); resultobj = Py_None;
32565 return resultobj;
32566 fail:
32567 return NULL;
32568 }
32569
32570
32571 static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) {
32572 PyObject *resultobj;
32573 bool result;
32574 char *kwnames[] = {
32575 NULL
32576 };
32577
32578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
32579 {
32580 PyThreadState* __tstate = wxPyBeginAllowThreads();
32581 result = (bool)wxValidator::IsSilent();
32582
32583 wxPyEndAllowThreads(__tstate);
32584 if (PyErr_Occurred()) SWIG_fail;
32585 }
32586 {
32587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32588 }
32589 return resultobj;
32590 fail:
32591 return NULL;
32592 }
32593
32594
32595 static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
32596 PyObject *resultobj;
32597 int arg1 = (int) true ;
32598 PyObject * obj0 = 0 ;
32599 char *kwnames[] = {
32600 (char *) "doIt", NULL
32601 };
32602
32603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
32604 if (obj0) {
32605 {
32606 arg1 = (int)(SWIG_As_int(obj0));
32607 if (SWIG_arg_fail(1)) SWIG_fail;
32608 }
32609 }
32610 {
32611 PyThreadState* __tstate = wxPyBeginAllowThreads();
32612 wxValidator::SetBellOnError(arg1);
32613
32614 wxPyEndAllowThreads(__tstate);
32615 if (PyErr_Occurred()) SWIG_fail;
32616 }
32617 Py_INCREF(Py_None); resultobj = Py_None;
32618 return resultobj;
32619 fail:
32620 return NULL;
32621 }
32622
32623
32624 static PyObject * Validator_swigregister(PyObject *, PyObject *args) {
32625 PyObject *obj;
32626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32627 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
32628 Py_INCREF(obj);
32629 return Py_BuildValue((char *)"");
32630 }
32631 static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) {
32632 PyObject *resultobj;
32633 wxPyValidator *result;
32634 char *kwnames[] = {
32635 NULL
32636 };
32637
32638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
32639 {
32640 PyThreadState* __tstate = wxPyBeginAllowThreads();
32641 result = (wxPyValidator *)new wxPyValidator();
32642
32643 wxPyEndAllowThreads(__tstate);
32644 if (PyErr_Occurred()) SWIG_fail;
32645 }
32646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
32647 return resultobj;
32648 fail:
32649 return NULL;
32650 }
32651
32652
32653 static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32654 PyObject *resultobj;
32655 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
32656 PyObject *arg2 = (PyObject *) 0 ;
32657 PyObject *arg3 = (PyObject *) 0 ;
32658 int arg4 = (int) true ;
32659 PyObject * obj0 = 0 ;
32660 PyObject * obj1 = 0 ;
32661 PyObject * obj2 = 0 ;
32662 PyObject * obj3 = 0 ;
32663 char *kwnames[] = {
32664 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32665 };
32666
32667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyValidator, SWIG_POINTER_EXCEPTION | 0);
32669 if (SWIG_arg_fail(1)) SWIG_fail;
32670 arg2 = obj1;
32671 arg3 = obj2;
32672 if (obj3) {
32673 {
32674 arg4 = (int)(SWIG_As_int(obj3));
32675 if (SWIG_arg_fail(4)) SWIG_fail;
32676 }
32677 }
32678 {
32679 PyThreadState* __tstate = wxPyBeginAllowThreads();
32680 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
32681
32682 wxPyEndAllowThreads(__tstate);
32683 if (PyErr_Occurred()) SWIG_fail;
32684 }
32685 Py_INCREF(Py_None); resultobj = Py_None;
32686 return resultobj;
32687 fail:
32688 return NULL;
32689 }
32690
32691
32692 static PyObject * PyValidator_swigregister(PyObject *, PyObject *args) {
32693 PyObject *obj;
32694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32695 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
32696 Py_INCREF(obj);
32697 return Py_BuildValue((char *)"");
32698 }
32699 static int _wrap_DefaultValidator_set(PyObject *) {
32700 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
32701 return 1;
32702 }
32703
32704
32705 static PyObject *_wrap_DefaultValidator_get(void) {
32706 PyObject *pyobj;
32707
32708 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
32709 return pyobj;
32710 }
32711
32712
32713 static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) {
32714 PyObject *resultobj;
32715 wxString const &arg1_defvalue = wxPyEmptyString ;
32716 wxString *arg1 = (wxString *) &arg1_defvalue ;
32717 long arg2 = (long) 0 ;
32718 wxMenu *result;
32719 bool temp1 = false ;
32720 PyObject * obj0 = 0 ;
32721 PyObject * obj1 = 0 ;
32722 char *kwnames[] = {
32723 (char *) "title",(char *) "style", NULL
32724 };
32725
32726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
32727 if (obj0) {
32728 {
32729 arg1 = wxString_in_helper(obj0);
32730 if (arg1 == NULL) SWIG_fail;
32731 temp1 = true;
32732 }
32733 }
32734 if (obj1) {
32735 {
32736 arg2 = (long)(SWIG_As_long(obj1));
32737 if (SWIG_arg_fail(2)) SWIG_fail;
32738 }
32739 }
32740 {
32741 if (!wxPyCheckForApp()) SWIG_fail;
32742 PyThreadState* __tstate = wxPyBeginAllowThreads();
32743 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
32744
32745 wxPyEndAllowThreads(__tstate);
32746 if (PyErr_Occurred()) SWIG_fail;
32747 }
32748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenu, 1);
32749 {
32750 if (temp1)
32751 delete arg1;
32752 }
32753 return resultobj;
32754 fail:
32755 {
32756 if (temp1)
32757 delete arg1;
32758 }
32759 return NULL;
32760 }
32761
32762
32763 static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) {
32764 PyObject *resultobj;
32765 wxMenu *arg1 = (wxMenu *) 0 ;
32766 int arg2 ;
32767 wxString *arg3 = 0 ;
32768 wxString const &arg4_defvalue = wxPyEmptyString ;
32769 wxString *arg4 = (wxString *) &arg4_defvalue ;
32770 wxItemKind arg5 = (wxItemKind) wxITEM_NORMAL ;
32771 wxMenuItem *result;
32772 bool temp3 = false ;
32773 bool temp4 = false ;
32774 PyObject * obj0 = 0 ;
32775 PyObject * obj1 = 0 ;
32776 PyObject * obj2 = 0 ;
32777 PyObject * obj3 = 0 ;
32778 PyObject * obj4 = 0 ;
32779 char *kwnames[] = {
32780 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32781 };
32782
32783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
32785 if (SWIG_arg_fail(1)) SWIG_fail;
32786 {
32787 arg2 = (int)(SWIG_As_int(obj1));
32788 if (SWIG_arg_fail(2)) SWIG_fail;
32789 }
32790 {
32791 arg3 = wxString_in_helper(obj2);
32792 if (arg3 == NULL) SWIG_fail;
32793 temp3 = true;
32794 }
32795 if (obj3) {
32796 {
32797 arg4 = wxString_in_helper(obj3);
32798 if (arg4 == NULL) SWIG_fail;
32799 temp4 = true;
32800 }
32801 }
32802 if (obj4) {
32803 {
32804 arg5 = (wxItemKind)(SWIG_As_int(obj4));
32805 if (SWIG_arg_fail(5)) SWIG_fail;
32806 }
32807 }
32808 {
32809 PyThreadState* __tstate = wxPyBeginAllowThreads();
32810 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
32811
32812 wxPyEndAllowThreads(__tstate);
32813 if (PyErr_Occurred()) SWIG_fail;
32814 }
32815 {
32816 resultobj = wxPyMake_wxObject(result, 0);
32817 }
32818 {
32819 if (temp3)
32820 delete arg3;
32821 }
32822 {
32823 if (temp4)
32824 delete arg4;
32825 }
32826 return resultobj;
32827 fail:
32828 {
32829 if (temp3)
32830 delete arg3;
32831 }
32832 {
32833 if (temp4)
32834 delete arg4;
32835 }
32836 return NULL;
32837 }
32838
32839
32840 static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32841 PyObject *resultobj;
32842 wxMenu *arg1 = (wxMenu *) 0 ;
32843 wxMenuItem *result;
32844 PyObject * obj0 = 0 ;
32845 char *kwnames[] = {
32846 (char *) "self", NULL
32847 };
32848
32849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
32850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
32851 if (SWIG_arg_fail(1)) SWIG_fail;
32852 {
32853 PyThreadState* __tstate = wxPyBeginAllowThreads();
32854 result = (wxMenuItem *)(arg1)->AppendSeparator();
32855
32856 wxPyEndAllowThreads(__tstate);
32857 if (PyErr_Occurred()) SWIG_fail;
32858 }
32859 {
32860 resultobj = wxPyMake_wxObject(result, 0);
32861 }
32862 return resultobj;
32863 fail:
32864 return NULL;
32865 }
32866
32867
32868 static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
32869 PyObject *resultobj;
32870 wxMenu *arg1 = (wxMenu *) 0 ;
32871 int arg2 ;
32872 wxString *arg3 = 0 ;
32873 wxString const &arg4_defvalue = wxPyEmptyString ;
32874 wxString *arg4 = (wxString *) &arg4_defvalue ;
32875 wxMenuItem *result;
32876 bool temp3 = false ;
32877 bool temp4 = false ;
32878 PyObject * obj0 = 0 ;
32879 PyObject * obj1 = 0 ;
32880 PyObject * obj2 = 0 ;
32881 PyObject * obj3 = 0 ;
32882 char *kwnames[] = {
32883 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32884 };
32885
32886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
32888 if (SWIG_arg_fail(1)) SWIG_fail;
32889 {
32890 arg2 = (int)(SWIG_As_int(obj1));
32891 if (SWIG_arg_fail(2)) SWIG_fail;
32892 }
32893 {
32894 arg3 = wxString_in_helper(obj2);
32895 if (arg3 == NULL) SWIG_fail;
32896 temp3 = true;
32897 }
32898 if (obj3) {
32899 {
32900 arg4 = wxString_in_helper(obj3);
32901 if (arg4 == NULL) SWIG_fail;
32902 temp4 = true;
32903 }
32904 }
32905 {
32906 PyThreadState* __tstate = wxPyBeginAllowThreads();
32907 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
32908
32909 wxPyEndAllowThreads(__tstate);
32910 if (PyErr_Occurred()) SWIG_fail;
32911 }
32912 {
32913 resultobj = wxPyMake_wxObject(result, 0);
32914 }
32915 {
32916 if (temp3)
32917 delete arg3;
32918 }
32919 {
32920 if (temp4)
32921 delete arg4;
32922 }
32923 return resultobj;
32924 fail:
32925 {
32926 if (temp3)
32927 delete arg3;
32928 }
32929 {
32930 if (temp4)
32931 delete arg4;
32932 }
32933 return NULL;
32934 }
32935
32936
32937 static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
32938 PyObject *resultobj;
32939 wxMenu *arg1 = (wxMenu *) 0 ;
32940 int arg2 ;
32941 wxString *arg3 = 0 ;
32942 wxString const &arg4_defvalue = wxPyEmptyString ;
32943 wxString *arg4 = (wxString *) &arg4_defvalue ;
32944 wxMenuItem *result;
32945 bool temp3 = false ;
32946 bool temp4 = false ;
32947 PyObject * obj0 = 0 ;
32948 PyObject * obj1 = 0 ;
32949 PyObject * obj2 = 0 ;
32950 PyObject * obj3 = 0 ;
32951 char *kwnames[] = {
32952 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32953 };
32954
32955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
32957 if (SWIG_arg_fail(1)) SWIG_fail;
32958 {
32959 arg2 = (int)(SWIG_As_int(obj1));
32960 if (SWIG_arg_fail(2)) SWIG_fail;
32961 }
32962 {
32963 arg3 = wxString_in_helper(obj2);
32964 if (arg3 == NULL) SWIG_fail;
32965 temp3 = true;
32966 }
32967 if (obj3) {
32968 {
32969 arg4 = wxString_in_helper(obj3);
32970 if (arg4 == NULL) SWIG_fail;
32971 temp4 = true;
32972 }
32973 }
32974 {
32975 PyThreadState* __tstate = wxPyBeginAllowThreads();
32976 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
32977
32978 wxPyEndAllowThreads(__tstate);
32979 if (PyErr_Occurred()) SWIG_fail;
32980 }
32981 {
32982 resultobj = wxPyMake_wxObject(result, 0);
32983 }
32984 {
32985 if (temp3)
32986 delete arg3;
32987 }
32988 {
32989 if (temp4)
32990 delete arg4;
32991 }
32992 return resultobj;
32993 fail:
32994 {
32995 if (temp3)
32996 delete arg3;
32997 }
32998 {
32999 if (temp4)
33000 delete arg4;
33001 }
33002 return NULL;
33003 }
33004
33005
33006 static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) {
33007 PyObject *resultobj;
33008 wxMenu *arg1 = (wxMenu *) 0 ;
33009 int arg2 ;
33010 wxString *arg3 = 0 ;
33011 wxMenu *arg4 = (wxMenu *) 0 ;
33012 wxString const &arg5_defvalue = wxPyEmptyString ;
33013 wxString *arg5 = (wxString *) &arg5_defvalue ;
33014 wxMenuItem *result;
33015 bool temp3 = false ;
33016 bool temp5 = false ;
33017 PyObject * obj0 = 0 ;
33018 PyObject * obj1 = 0 ;
33019 PyObject * obj2 = 0 ;
33020 PyObject * obj3 = 0 ;
33021 PyObject * obj4 = 0 ;
33022 char *kwnames[] = {
33023 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33024 };
33025
33026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33028 if (SWIG_arg_fail(1)) SWIG_fail;
33029 {
33030 arg2 = (int)(SWIG_As_int(obj1));
33031 if (SWIG_arg_fail(2)) SWIG_fail;
33032 }
33033 {
33034 arg3 = wxString_in_helper(obj2);
33035 if (arg3 == NULL) SWIG_fail;
33036 temp3 = true;
33037 }
33038 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33039 if (SWIG_arg_fail(4)) SWIG_fail;
33040 if (obj4) {
33041 {
33042 arg5 = wxString_in_helper(obj4);
33043 if (arg5 == NULL) SWIG_fail;
33044 temp5 = true;
33045 }
33046 }
33047 {
33048 PyThreadState* __tstate = wxPyBeginAllowThreads();
33049 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
33050
33051 wxPyEndAllowThreads(__tstate);
33052 if (PyErr_Occurred()) SWIG_fail;
33053 }
33054 {
33055 resultobj = wxPyMake_wxObject(result, 0);
33056 }
33057 {
33058 if (temp3)
33059 delete arg3;
33060 }
33061 {
33062 if (temp5)
33063 delete arg5;
33064 }
33065 return resultobj;
33066 fail:
33067 {
33068 if (temp3)
33069 delete arg3;
33070 }
33071 {
33072 if (temp5)
33073 delete arg5;
33074 }
33075 return NULL;
33076 }
33077
33078
33079 static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
33080 PyObject *resultobj;
33081 wxMenu *arg1 = (wxMenu *) 0 ;
33082 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
33083 wxMenuItem *result;
33084 PyObject * obj0 = 0 ;
33085 PyObject * obj1 = 0 ;
33086 char *kwnames[] = {
33087 (char *) "self",(char *) "item", NULL
33088 };
33089
33090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
33091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33092 if (SWIG_arg_fail(1)) SWIG_fail;
33093 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33094 if (SWIG_arg_fail(2)) SWIG_fail;
33095 {
33096 PyThreadState* __tstate = wxPyBeginAllowThreads();
33097 result = (wxMenuItem *)(arg1)->Append(arg2);
33098
33099 wxPyEndAllowThreads(__tstate);
33100 if (PyErr_Occurred()) SWIG_fail;
33101 }
33102 {
33103 resultobj = wxPyMake_wxObject(result, 0);
33104 }
33105 return resultobj;
33106 fail:
33107 return NULL;
33108 }
33109
33110
33111 static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) {
33112 PyObject *resultobj;
33113 wxMenu *arg1 = (wxMenu *) 0 ;
33114 PyObject * obj0 = 0 ;
33115 char *kwnames[] = {
33116 (char *) "self", NULL
33117 };
33118
33119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
33120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33121 if (SWIG_arg_fail(1)) SWIG_fail;
33122 {
33123 PyThreadState* __tstate = wxPyBeginAllowThreads();
33124 (arg1)->Break();
33125
33126 wxPyEndAllowThreads(__tstate);
33127 if (PyErr_Occurred()) SWIG_fail;
33128 }
33129 Py_INCREF(Py_None); resultobj = Py_None;
33130 return resultobj;
33131 fail:
33132 return NULL;
33133 }
33134
33135
33136 static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
33137 PyObject *resultobj;
33138 wxMenu *arg1 = (wxMenu *) 0 ;
33139 size_t arg2 ;
33140 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
33141 wxMenuItem *result;
33142 PyObject * obj0 = 0 ;
33143 PyObject * obj1 = 0 ;
33144 PyObject * obj2 = 0 ;
33145 char *kwnames[] = {
33146 (char *) "self",(char *) "pos",(char *) "item", NULL
33147 };
33148
33149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
33150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33151 if (SWIG_arg_fail(1)) SWIG_fail;
33152 {
33153 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33154 if (SWIG_arg_fail(2)) SWIG_fail;
33155 }
33156 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33157 if (SWIG_arg_fail(3)) SWIG_fail;
33158 {
33159 PyThreadState* __tstate = wxPyBeginAllowThreads();
33160 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
33161
33162 wxPyEndAllowThreads(__tstate);
33163 if (PyErr_Occurred()) SWIG_fail;
33164 }
33165 {
33166 resultobj = wxPyMake_wxObject(result, 0);
33167 }
33168 return resultobj;
33169 fail:
33170 return NULL;
33171 }
33172
33173
33174 static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
33175 PyObject *resultobj;
33176 wxMenu *arg1 = (wxMenu *) 0 ;
33177 size_t arg2 ;
33178 int arg3 ;
33179 wxString *arg4 = 0 ;
33180 wxString const &arg5_defvalue = wxPyEmptyString ;
33181 wxString *arg5 = (wxString *) &arg5_defvalue ;
33182 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
33183 wxMenuItem *result;
33184 bool temp4 = false ;
33185 bool temp5 = false ;
33186 PyObject * obj0 = 0 ;
33187 PyObject * obj1 = 0 ;
33188 PyObject * obj2 = 0 ;
33189 PyObject * obj3 = 0 ;
33190 PyObject * obj4 = 0 ;
33191 PyObject * obj5 = 0 ;
33192 char *kwnames[] = {
33193 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33194 };
33195
33196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33198 if (SWIG_arg_fail(1)) SWIG_fail;
33199 {
33200 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33201 if (SWIG_arg_fail(2)) SWIG_fail;
33202 }
33203 {
33204 arg3 = (int)(SWIG_As_int(obj2));
33205 if (SWIG_arg_fail(3)) SWIG_fail;
33206 }
33207 {
33208 arg4 = wxString_in_helper(obj3);
33209 if (arg4 == NULL) SWIG_fail;
33210 temp4 = true;
33211 }
33212 if (obj4) {
33213 {
33214 arg5 = wxString_in_helper(obj4);
33215 if (arg5 == NULL) SWIG_fail;
33216 temp5 = true;
33217 }
33218 }
33219 if (obj5) {
33220 {
33221 arg6 = (wxItemKind)(SWIG_As_int(obj5));
33222 if (SWIG_arg_fail(6)) SWIG_fail;
33223 }
33224 }
33225 {
33226 PyThreadState* __tstate = wxPyBeginAllowThreads();
33227 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
33228
33229 wxPyEndAllowThreads(__tstate);
33230 if (PyErr_Occurred()) SWIG_fail;
33231 }
33232 {
33233 resultobj = wxPyMake_wxObject(result, 0);
33234 }
33235 {
33236 if (temp4)
33237 delete arg4;
33238 }
33239 {
33240 if (temp5)
33241 delete arg5;
33242 }
33243 return resultobj;
33244 fail:
33245 {
33246 if (temp4)
33247 delete arg4;
33248 }
33249 {
33250 if (temp5)
33251 delete arg5;
33252 }
33253 return NULL;
33254 }
33255
33256
33257 static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
33258 PyObject *resultobj;
33259 wxMenu *arg1 = (wxMenu *) 0 ;
33260 size_t arg2 ;
33261 wxMenuItem *result;
33262 PyObject * obj0 = 0 ;
33263 PyObject * obj1 = 0 ;
33264 char *kwnames[] = {
33265 (char *) "self",(char *) "pos", NULL
33266 };
33267
33268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
33269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33270 if (SWIG_arg_fail(1)) SWIG_fail;
33271 {
33272 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33273 if (SWIG_arg_fail(2)) SWIG_fail;
33274 }
33275 {
33276 PyThreadState* __tstate = wxPyBeginAllowThreads();
33277 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
33278
33279 wxPyEndAllowThreads(__tstate);
33280 if (PyErr_Occurred()) SWIG_fail;
33281 }
33282 {
33283 resultobj = wxPyMake_wxObject(result, 0);
33284 }
33285 return resultobj;
33286 fail:
33287 return NULL;
33288 }
33289
33290
33291 static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
33292 PyObject *resultobj;
33293 wxMenu *arg1 = (wxMenu *) 0 ;
33294 size_t arg2 ;
33295 int arg3 ;
33296 wxString *arg4 = 0 ;
33297 wxString const &arg5_defvalue = wxPyEmptyString ;
33298 wxString *arg5 = (wxString *) &arg5_defvalue ;
33299 wxMenuItem *result;
33300 bool temp4 = false ;
33301 bool temp5 = false ;
33302 PyObject * obj0 = 0 ;
33303 PyObject * obj1 = 0 ;
33304 PyObject * obj2 = 0 ;
33305 PyObject * obj3 = 0 ;
33306 PyObject * obj4 = 0 ;
33307 char *kwnames[] = {
33308 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33309 };
33310
33311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33313 if (SWIG_arg_fail(1)) SWIG_fail;
33314 {
33315 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33316 if (SWIG_arg_fail(2)) SWIG_fail;
33317 }
33318 {
33319 arg3 = (int)(SWIG_As_int(obj2));
33320 if (SWIG_arg_fail(3)) SWIG_fail;
33321 }
33322 {
33323 arg4 = wxString_in_helper(obj3);
33324 if (arg4 == NULL) SWIG_fail;
33325 temp4 = true;
33326 }
33327 if (obj4) {
33328 {
33329 arg5 = wxString_in_helper(obj4);
33330 if (arg5 == NULL) SWIG_fail;
33331 temp5 = true;
33332 }
33333 }
33334 {
33335 PyThreadState* __tstate = wxPyBeginAllowThreads();
33336 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
33337
33338 wxPyEndAllowThreads(__tstate);
33339 if (PyErr_Occurred()) SWIG_fail;
33340 }
33341 {
33342 resultobj = wxPyMake_wxObject(result, 0);
33343 }
33344 {
33345 if (temp4)
33346 delete arg4;
33347 }
33348 {
33349 if (temp5)
33350 delete arg5;
33351 }
33352 return resultobj;
33353 fail:
33354 {
33355 if (temp4)
33356 delete arg4;
33357 }
33358 {
33359 if (temp5)
33360 delete arg5;
33361 }
33362 return NULL;
33363 }
33364
33365
33366 static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
33367 PyObject *resultobj;
33368 wxMenu *arg1 = (wxMenu *) 0 ;
33369 size_t arg2 ;
33370 int arg3 ;
33371 wxString *arg4 = 0 ;
33372 wxString const &arg5_defvalue = wxPyEmptyString ;
33373 wxString *arg5 = (wxString *) &arg5_defvalue ;
33374 wxMenuItem *result;
33375 bool temp4 = false ;
33376 bool temp5 = false ;
33377 PyObject * obj0 = 0 ;
33378 PyObject * obj1 = 0 ;
33379 PyObject * obj2 = 0 ;
33380 PyObject * obj3 = 0 ;
33381 PyObject * obj4 = 0 ;
33382 char *kwnames[] = {
33383 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33384 };
33385
33386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33388 if (SWIG_arg_fail(1)) SWIG_fail;
33389 {
33390 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33391 if (SWIG_arg_fail(2)) SWIG_fail;
33392 }
33393 {
33394 arg3 = (int)(SWIG_As_int(obj2));
33395 if (SWIG_arg_fail(3)) SWIG_fail;
33396 }
33397 {
33398 arg4 = wxString_in_helper(obj3);
33399 if (arg4 == NULL) SWIG_fail;
33400 temp4 = true;
33401 }
33402 if (obj4) {
33403 {
33404 arg5 = wxString_in_helper(obj4);
33405 if (arg5 == NULL) SWIG_fail;
33406 temp5 = true;
33407 }
33408 }
33409 {
33410 PyThreadState* __tstate = wxPyBeginAllowThreads();
33411 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
33412
33413 wxPyEndAllowThreads(__tstate);
33414 if (PyErr_Occurred()) SWIG_fail;
33415 }
33416 {
33417 resultobj = wxPyMake_wxObject(result, 0);
33418 }
33419 {
33420 if (temp4)
33421 delete arg4;
33422 }
33423 {
33424 if (temp5)
33425 delete arg5;
33426 }
33427 return resultobj;
33428 fail:
33429 {
33430 if (temp4)
33431 delete arg4;
33432 }
33433 {
33434 if (temp5)
33435 delete arg5;
33436 }
33437 return NULL;
33438 }
33439
33440
33441 static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) {
33442 PyObject *resultobj;
33443 wxMenu *arg1 = (wxMenu *) 0 ;
33444 size_t arg2 ;
33445 int arg3 ;
33446 wxString *arg4 = 0 ;
33447 wxMenu *arg5 = (wxMenu *) 0 ;
33448 wxString const &arg6_defvalue = wxPyEmptyString ;
33449 wxString *arg6 = (wxString *) &arg6_defvalue ;
33450 wxMenuItem *result;
33451 bool temp4 = false ;
33452 bool temp6 = false ;
33453 PyObject * obj0 = 0 ;
33454 PyObject * obj1 = 0 ;
33455 PyObject * obj2 = 0 ;
33456 PyObject * obj3 = 0 ;
33457 PyObject * obj4 = 0 ;
33458 PyObject * obj5 = 0 ;
33459 char *kwnames[] = {
33460 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33461 };
33462
33463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33465 if (SWIG_arg_fail(1)) SWIG_fail;
33466 {
33467 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33468 if (SWIG_arg_fail(2)) SWIG_fail;
33469 }
33470 {
33471 arg3 = (int)(SWIG_As_int(obj2));
33472 if (SWIG_arg_fail(3)) SWIG_fail;
33473 }
33474 {
33475 arg4 = wxString_in_helper(obj3);
33476 if (arg4 == NULL) SWIG_fail;
33477 temp4 = true;
33478 }
33479 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33480 if (SWIG_arg_fail(5)) SWIG_fail;
33481 if (obj5) {
33482 {
33483 arg6 = wxString_in_helper(obj5);
33484 if (arg6 == NULL) SWIG_fail;
33485 temp6 = true;
33486 }
33487 }
33488 {
33489 PyThreadState* __tstate = wxPyBeginAllowThreads();
33490 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
33491
33492 wxPyEndAllowThreads(__tstate);
33493 if (PyErr_Occurred()) SWIG_fail;
33494 }
33495 {
33496 resultobj = wxPyMake_wxObject(result, 0);
33497 }
33498 {
33499 if (temp4)
33500 delete arg4;
33501 }
33502 {
33503 if (temp6)
33504 delete arg6;
33505 }
33506 return resultobj;
33507 fail:
33508 {
33509 if (temp4)
33510 delete arg4;
33511 }
33512 {
33513 if (temp6)
33514 delete arg6;
33515 }
33516 return NULL;
33517 }
33518
33519
33520 static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
33521 PyObject *resultobj;
33522 wxMenu *arg1 = (wxMenu *) 0 ;
33523 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
33524 wxMenuItem *result;
33525 PyObject * obj0 = 0 ;
33526 PyObject * obj1 = 0 ;
33527 char *kwnames[] = {
33528 (char *) "self",(char *) "item", NULL
33529 };
33530
33531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
33532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33533 if (SWIG_arg_fail(1)) SWIG_fail;
33534 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33535 if (SWIG_arg_fail(2)) SWIG_fail;
33536 {
33537 PyThreadState* __tstate = wxPyBeginAllowThreads();
33538 result = (wxMenuItem *)(arg1)->Prepend(arg2);
33539
33540 wxPyEndAllowThreads(__tstate);
33541 if (PyErr_Occurred()) SWIG_fail;
33542 }
33543 {
33544 resultobj = wxPyMake_wxObject(result, 0);
33545 }
33546 return resultobj;
33547 fail:
33548 return NULL;
33549 }
33550
33551
33552 static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
33553 PyObject *resultobj;
33554 wxMenu *arg1 = (wxMenu *) 0 ;
33555 int arg2 ;
33556 wxString *arg3 = 0 ;
33557 wxString const &arg4_defvalue = wxPyEmptyString ;
33558 wxString *arg4 = (wxString *) &arg4_defvalue ;
33559 wxItemKind arg5 = (wxItemKind) wxITEM_NORMAL ;
33560 wxMenuItem *result;
33561 bool temp3 = false ;
33562 bool temp4 = false ;
33563 PyObject * obj0 = 0 ;
33564 PyObject * obj1 = 0 ;
33565 PyObject * obj2 = 0 ;
33566 PyObject * obj3 = 0 ;
33567 PyObject * obj4 = 0 ;
33568 char *kwnames[] = {
33569 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33570 };
33571
33572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33574 if (SWIG_arg_fail(1)) SWIG_fail;
33575 {
33576 arg2 = (int)(SWIG_As_int(obj1));
33577 if (SWIG_arg_fail(2)) SWIG_fail;
33578 }
33579 {
33580 arg3 = wxString_in_helper(obj2);
33581 if (arg3 == NULL) SWIG_fail;
33582 temp3 = true;
33583 }
33584 if (obj3) {
33585 {
33586 arg4 = wxString_in_helper(obj3);
33587 if (arg4 == NULL) SWIG_fail;
33588 temp4 = true;
33589 }
33590 }
33591 if (obj4) {
33592 {
33593 arg5 = (wxItemKind)(SWIG_As_int(obj4));
33594 if (SWIG_arg_fail(5)) SWIG_fail;
33595 }
33596 }
33597 {
33598 PyThreadState* __tstate = wxPyBeginAllowThreads();
33599 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
33600
33601 wxPyEndAllowThreads(__tstate);
33602 if (PyErr_Occurred()) SWIG_fail;
33603 }
33604 {
33605 resultobj = wxPyMake_wxObject(result, 0);
33606 }
33607 {
33608 if (temp3)
33609 delete arg3;
33610 }
33611 {
33612 if (temp4)
33613 delete arg4;
33614 }
33615 return resultobj;
33616 fail:
33617 {
33618 if (temp3)
33619 delete arg3;
33620 }
33621 {
33622 if (temp4)
33623 delete arg4;
33624 }
33625 return NULL;
33626 }
33627
33628
33629 static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
33630 PyObject *resultobj;
33631 wxMenu *arg1 = (wxMenu *) 0 ;
33632 wxMenuItem *result;
33633 PyObject * obj0 = 0 ;
33634 char *kwnames[] = {
33635 (char *) "self", NULL
33636 };
33637
33638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
33639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33640 if (SWIG_arg_fail(1)) SWIG_fail;
33641 {
33642 PyThreadState* __tstate = wxPyBeginAllowThreads();
33643 result = (wxMenuItem *)(arg1)->PrependSeparator();
33644
33645 wxPyEndAllowThreads(__tstate);
33646 if (PyErr_Occurred()) SWIG_fail;
33647 }
33648 {
33649 resultobj = wxPyMake_wxObject(result, 0);
33650 }
33651 return resultobj;
33652 fail:
33653 return NULL;
33654 }
33655
33656
33657 static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
33658 PyObject *resultobj;
33659 wxMenu *arg1 = (wxMenu *) 0 ;
33660 int arg2 ;
33661 wxString *arg3 = 0 ;
33662 wxString const &arg4_defvalue = wxPyEmptyString ;
33663 wxString *arg4 = (wxString *) &arg4_defvalue ;
33664 wxMenuItem *result;
33665 bool temp3 = false ;
33666 bool temp4 = false ;
33667 PyObject * obj0 = 0 ;
33668 PyObject * obj1 = 0 ;
33669 PyObject * obj2 = 0 ;
33670 PyObject * obj3 = 0 ;
33671 char *kwnames[] = {
33672 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33673 };
33674
33675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
33676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33677 if (SWIG_arg_fail(1)) SWIG_fail;
33678 {
33679 arg2 = (int)(SWIG_As_int(obj1));
33680 if (SWIG_arg_fail(2)) SWIG_fail;
33681 }
33682 {
33683 arg3 = wxString_in_helper(obj2);
33684 if (arg3 == NULL) SWIG_fail;
33685 temp3 = true;
33686 }
33687 if (obj3) {
33688 {
33689 arg4 = wxString_in_helper(obj3);
33690 if (arg4 == NULL) SWIG_fail;
33691 temp4 = true;
33692 }
33693 }
33694 {
33695 PyThreadState* __tstate = wxPyBeginAllowThreads();
33696 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
33697
33698 wxPyEndAllowThreads(__tstate);
33699 if (PyErr_Occurred()) SWIG_fail;
33700 }
33701 {
33702 resultobj = wxPyMake_wxObject(result, 0);
33703 }
33704 {
33705 if (temp3)
33706 delete arg3;
33707 }
33708 {
33709 if (temp4)
33710 delete arg4;
33711 }
33712 return resultobj;
33713 fail:
33714 {
33715 if (temp3)
33716 delete arg3;
33717 }
33718 {
33719 if (temp4)
33720 delete arg4;
33721 }
33722 return NULL;
33723 }
33724
33725
33726 static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
33727 PyObject *resultobj;
33728 wxMenu *arg1 = (wxMenu *) 0 ;
33729 int arg2 ;
33730 wxString *arg3 = 0 ;
33731 wxString const &arg4_defvalue = wxPyEmptyString ;
33732 wxString *arg4 = (wxString *) &arg4_defvalue ;
33733 wxMenuItem *result;
33734 bool temp3 = false ;
33735 bool temp4 = false ;
33736 PyObject * obj0 = 0 ;
33737 PyObject * obj1 = 0 ;
33738 PyObject * obj2 = 0 ;
33739 PyObject * obj3 = 0 ;
33740 char *kwnames[] = {
33741 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33742 };
33743
33744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
33745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33746 if (SWIG_arg_fail(1)) SWIG_fail;
33747 {
33748 arg2 = (int)(SWIG_As_int(obj1));
33749 if (SWIG_arg_fail(2)) SWIG_fail;
33750 }
33751 {
33752 arg3 = wxString_in_helper(obj2);
33753 if (arg3 == NULL) SWIG_fail;
33754 temp3 = true;
33755 }
33756 if (obj3) {
33757 {
33758 arg4 = wxString_in_helper(obj3);
33759 if (arg4 == NULL) SWIG_fail;
33760 temp4 = true;
33761 }
33762 }
33763 {
33764 PyThreadState* __tstate = wxPyBeginAllowThreads();
33765 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
33766
33767 wxPyEndAllowThreads(__tstate);
33768 if (PyErr_Occurred()) SWIG_fail;
33769 }
33770 {
33771 resultobj = wxPyMake_wxObject(result, 0);
33772 }
33773 {
33774 if (temp3)
33775 delete arg3;
33776 }
33777 {
33778 if (temp4)
33779 delete arg4;
33780 }
33781 return resultobj;
33782 fail:
33783 {
33784 if (temp3)
33785 delete arg3;
33786 }
33787 {
33788 if (temp4)
33789 delete arg4;
33790 }
33791 return NULL;
33792 }
33793
33794
33795 static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) {
33796 PyObject *resultobj;
33797 wxMenu *arg1 = (wxMenu *) 0 ;
33798 int arg2 ;
33799 wxString *arg3 = 0 ;
33800 wxMenu *arg4 = (wxMenu *) 0 ;
33801 wxString const &arg5_defvalue = wxPyEmptyString ;
33802 wxString *arg5 = (wxString *) &arg5_defvalue ;
33803 wxMenuItem *result;
33804 bool temp3 = false ;
33805 bool temp5 = false ;
33806 PyObject * obj0 = 0 ;
33807 PyObject * obj1 = 0 ;
33808 PyObject * obj2 = 0 ;
33809 PyObject * obj3 = 0 ;
33810 PyObject * obj4 = 0 ;
33811 char *kwnames[] = {
33812 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33813 };
33814
33815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33817 if (SWIG_arg_fail(1)) SWIG_fail;
33818 {
33819 arg2 = (int)(SWIG_As_int(obj1));
33820 if (SWIG_arg_fail(2)) SWIG_fail;
33821 }
33822 {
33823 arg3 = wxString_in_helper(obj2);
33824 if (arg3 == NULL) SWIG_fail;
33825 temp3 = true;
33826 }
33827 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33828 if (SWIG_arg_fail(4)) SWIG_fail;
33829 if (obj4) {
33830 {
33831 arg5 = wxString_in_helper(obj4);
33832 if (arg5 == NULL) SWIG_fail;
33833 temp5 = true;
33834 }
33835 }
33836 {
33837 PyThreadState* __tstate = wxPyBeginAllowThreads();
33838 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
33839
33840 wxPyEndAllowThreads(__tstate);
33841 if (PyErr_Occurred()) SWIG_fail;
33842 }
33843 {
33844 resultobj = wxPyMake_wxObject(result, 0);
33845 }
33846 {
33847 if (temp3)
33848 delete arg3;
33849 }
33850 {
33851 if (temp5)
33852 delete arg5;
33853 }
33854 return resultobj;
33855 fail:
33856 {
33857 if (temp3)
33858 delete arg3;
33859 }
33860 {
33861 if (temp5)
33862 delete arg5;
33863 }
33864 return NULL;
33865 }
33866
33867
33868 static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
33869 PyObject *resultobj;
33870 wxMenu *arg1 = (wxMenu *) 0 ;
33871 int arg2 ;
33872 wxMenuItem *result;
33873 PyObject * obj0 = 0 ;
33874 PyObject * obj1 = 0 ;
33875 char *kwnames[] = {
33876 (char *) "self",(char *) "id", NULL
33877 };
33878
33879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
33880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33881 if (SWIG_arg_fail(1)) SWIG_fail;
33882 {
33883 arg2 = (int)(SWIG_As_int(obj1));
33884 if (SWIG_arg_fail(2)) SWIG_fail;
33885 }
33886 {
33887 PyThreadState* __tstate = wxPyBeginAllowThreads();
33888 result = (wxMenuItem *)(arg1)->Remove(arg2);
33889
33890 wxPyEndAllowThreads(__tstate);
33891 if (PyErr_Occurred()) SWIG_fail;
33892 }
33893 {
33894 resultobj = wxPyMake_wxObject(result, 0);
33895 }
33896 return resultobj;
33897 fail:
33898 return NULL;
33899 }
33900
33901
33902 static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) {
33903 PyObject *resultobj;
33904 wxMenu *arg1 = (wxMenu *) 0 ;
33905 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
33906 wxMenuItem *result;
33907 PyObject * obj0 = 0 ;
33908 PyObject * obj1 = 0 ;
33909 char *kwnames[] = {
33910 (char *) "self",(char *) "item", NULL
33911 };
33912
33913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
33914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33915 if (SWIG_arg_fail(1)) SWIG_fail;
33916 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33917 if (SWIG_arg_fail(2)) SWIG_fail;
33918 {
33919 PyThreadState* __tstate = wxPyBeginAllowThreads();
33920 result = (wxMenuItem *)(arg1)->Remove(arg2);
33921
33922 wxPyEndAllowThreads(__tstate);
33923 if (PyErr_Occurred()) SWIG_fail;
33924 }
33925 {
33926 resultobj = wxPyMake_wxObject(result, 0);
33927 }
33928 return resultobj;
33929 fail:
33930 return NULL;
33931 }
33932
33933
33934 static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
33935 PyObject *resultobj;
33936 wxMenu *arg1 = (wxMenu *) 0 ;
33937 int arg2 ;
33938 bool result;
33939 PyObject * obj0 = 0 ;
33940 PyObject * obj1 = 0 ;
33941 char *kwnames[] = {
33942 (char *) "self",(char *) "id", NULL
33943 };
33944
33945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
33946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33947 if (SWIG_arg_fail(1)) SWIG_fail;
33948 {
33949 arg2 = (int)(SWIG_As_int(obj1));
33950 if (SWIG_arg_fail(2)) SWIG_fail;
33951 }
33952 {
33953 PyThreadState* __tstate = wxPyBeginAllowThreads();
33954 result = (bool)(arg1)->Delete(arg2);
33955
33956 wxPyEndAllowThreads(__tstate);
33957 if (PyErr_Occurred()) SWIG_fail;
33958 }
33959 {
33960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33961 }
33962 return resultobj;
33963 fail:
33964 return NULL;
33965 }
33966
33967
33968 static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
33969 PyObject *resultobj;
33970 wxMenu *arg1 = (wxMenu *) 0 ;
33971 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
33972 bool result;
33973 PyObject * obj0 = 0 ;
33974 PyObject * obj1 = 0 ;
33975 char *kwnames[] = {
33976 (char *) "self",(char *) "item", NULL
33977 };
33978
33979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
33980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33981 if (SWIG_arg_fail(1)) SWIG_fail;
33982 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33983 if (SWIG_arg_fail(2)) SWIG_fail;
33984 {
33985 PyThreadState* __tstate = wxPyBeginAllowThreads();
33986 result = (bool)(arg1)->Delete(arg2);
33987
33988 wxPyEndAllowThreads(__tstate);
33989 if (PyErr_Occurred()) SWIG_fail;
33990 }
33991 {
33992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33993 }
33994 return resultobj;
33995 fail:
33996 return NULL;
33997 }
33998
33999
34000 static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
34001 PyObject *resultobj;
34002 wxMenu *arg1 = (wxMenu *) 0 ;
34003 PyObject * obj0 = 0 ;
34004 char *kwnames[] = {
34005 (char *) "self", NULL
34006 };
34007
34008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
34009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34010 if (SWIG_arg_fail(1)) SWIG_fail;
34011 {
34012 PyThreadState* __tstate = wxPyBeginAllowThreads();
34013 wxMenu_Destroy(arg1);
34014
34015 wxPyEndAllowThreads(__tstate);
34016 if (PyErr_Occurred()) SWIG_fail;
34017 }
34018 Py_INCREF(Py_None); resultobj = Py_None;
34019 return resultobj;
34020 fail:
34021 return NULL;
34022 }
34023
34024
34025 static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) {
34026 PyObject *resultobj;
34027 wxMenu *arg1 = (wxMenu *) 0 ;
34028 int arg2 ;
34029 bool result;
34030 PyObject * obj0 = 0 ;
34031 PyObject * obj1 = 0 ;
34032 char *kwnames[] = {
34033 (char *) "self",(char *) "id", NULL
34034 };
34035
34036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
34037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34038 if (SWIG_arg_fail(1)) SWIG_fail;
34039 {
34040 arg2 = (int)(SWIG_As_int(obj1));
34041 if (SWIG_arg_fail(2)) SWIG_fail;
34042 }
34043 {
34044 PyThreadState* __tstate = wxPyBeginAllowThreads();
34045 result = (bool)(arg1)->Destroy(arg2);
34046
34047 wxPyEndAllowThreads(__tstate);
34048 if (PyErr_Occurred()) SWIG_fail;
34049 }
34050 {
34051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34052 }
34053 return resultobj;
34054 fail:
34055 return NULL;
34056 }
34057
34058
34059 static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) {
34060 PyObject *resultobj;
34061 wxMenu *arg1 = (wxMenu *) 0 ;
34062 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
34063 bool result;
34064 PyObject * obj0 = 0 ;
34065 PyObject * obj1 = 0 ;
34066 char *kwnames[] = {
34067 (char *) "self",(char *) "item", NULL
34068 };
34069
34070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
34071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34072 if (SWIG_arg_fail(1)) SWIG_fail;
34073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
34074 if (SWIG_arg_fail(2)) SWIG_fail;
34075 {
34076 PyThreadState* __tstate = wxPyBeginAllowThreads();
34077 result = (bool)(arg1)->Destroy(arg2);
34078
34079 wxPyEndAllowThreads(__tstate);
34080 if (PyErr_Occurred()) SWIG_fail;
34081 }
34082 {
34083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34084 }
34085 return resultobj;
34086 fail:
34087 return NULL;
34088 }
34089
34090
34091 static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
34092 PyObject *resultobj;
34093 wxMenu *arg1 = (wxMenu *) 0 ;
34094 size_t result;
34095 PyObject * obj0 = 0 ;
34096 char *kwnames[] = {
34097 (char *) "self", NULL
34098 };
34099
34100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
34101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34102 if (SWIG_arg_fail(1)) SWIG_fail;
34103 {
34104 PyThreadState* __tstate = wxPyBeginAllowThreads();
34105 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
34106
34107 wxPyEndAllowThreads(__tstate);
34108 if (PyErr_Occurred()) SWIG_fail;
34109 }
34110 {
34111 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
34112 }
34113 return resultobj;
34114 fail:
34115 return NULL;
34116 }
34117
34118
34119 static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) {
34120 PyObject *resultobj;
34121 wxMenu *arg1 = (wxMenu *) 0 ;
34122 PyObject *result;
34123 PyObject * obj0 = 0 ;
34124 char *kwnames[] = {
34125 (char *) "self", NULL
34126 };
34127
34128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
34129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34130 if (SWIG_arg_fail(1)) SWIG_fail;
34131 {
34132 PyThreadState* __tstate = wxPyBeginAllowThreads();
34133 result = (PyObject *)wxMenu_GetMenuItems(arg1);
34134
34135 wxPyEndAllowThreads(__tstate);
34136 if (PyErr_Occurred()) SWIG_fail;
34137 }
34138 resultobj = result;
34139 return resultobj;
34140 fail:
34141 return NULL;
34142 }
34143
34144
34145 static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
34146 PyObject *resultobj;
34147 wxMenu *arg1 = (wxMenu *) 0 ;
34148 wxString *arg2 = 0 ;
34149 int result;
34150 bool temp2 = false ;
34151 PyObject * obj0 = 0 ;
34152 PyObject * obj1 = 0 ;
34153 char *kwnames[] = {
34154 (char *) "self",(char *) "item", NULL
34155 };
34156
34157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
34158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34159 if (SWIG_arg_fail(1)) SWIG_fail;
34160 {
34161 arg2 = wxString_in_helper(obj1);
34162 if (arg2 == NULL) SWIG_fail;
34163 temp2 = true;
34164 }
34165 {
34166 PyThreadState* __tstate = wxPyBeginAllowThreads();
34167 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
34168
34169 wxPyEndAllowThreads(__tstate);
34170 if (PyErr_Occurred()) SWIG_fail;
34171 }
34172 {
34173 resultobj = SWIG_From_int((int)(result));
34174 }
34175 {
34176 if (temp2)
34177 delete arg2;
34178 }
34179 return resultobj;
34180 fail:
34181 {
34182 if (temp2)
34183 delete arg2;
34184 }
34185 return NULL;
34186 }
34187
34188
34189 static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
34190 PyObject *resultobj;
34191 wxMenu *arg1 = (wxMenu *) 0 ;
34192 int arg2 ;
34193 wxMenuItem *result;
34194 PyObject * obj0 = 0 ;
34195 PyObject * obj1 = 0 ;
34196 char *kwnames[] = {
34197 (char *) "self",(char *) "id", NULL
34198 };
34199
34200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
34201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34202 if (SWIG_arg_fail(1)) SWIG_fail;
34203 {
34204 arg2 = (int)(SWIG_As_int(obj1));
34205 if (SWIG_arg_fail(2)) SWIG_fail;
34206 }
34207 {
34208 PyThreadState* __tstate = wxPyBeginAllowThreads();
34209 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
34210
34211 wxPyEndAllowThreads(__tstate);
34212 if (PyErr_Occurred()) SWIG_fail;
34213 }
34214 {
34215 resultobj = wxPyMake_wxObject(result, 0);
34216 }
34217 return resultobj;
34218 fail:
34219 return NULL;
34220 }
34221
34222
34223 static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) {
34224 PyObject *resultobj;
34225 wxMenu *arg1 = (wxMenu *) 0 ;
34226 size_t arg2 ;
34227 wxMenuItem *result;
34228 PyObject * obj0 = 0 ;
34229 PyObject * obj1 = 0 ;
34230 char *kwnames[] = {
34231 (char *) "self",(char *) "position", NULL
34232 };
34233
34234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
34235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34236 if (SWIG_arg_fail(1)) SWIG_fail;
34237 {
34238 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
34239 if (SWIG_arg_fail(2)) SWIG_fail;
34240 }
34241 {
34242 PyThreadState* __tstate = wxPyBeginAllowThreads();
34243 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
34244
34245 wxPyEndAllowThreads(__tstate);
34246 if (PyErr_Occurred()) SWIG_fail;
34247 }
34248 {
34249 resultobj = wxPyMake_wxObject(result, 0);
34250 }
34251 return resultobj;
34252 fail:
34253 return NULL;
34254 }
34255
34256
34257 static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
34258 PyObject *resultobj;
34259 wxMenu *arg1 = (wxMenu *) 0 ;
34260 int arg2 ;
34261 bool arg3 ;
34262 PyObject * obj0 = 0 ;
34263 PyObject * obj1 = 0 ;
34264 PyObject * obj2 = 0 ;
34265 char *kwnames[] = {
34266 (char *) "self",(char *) "id",(char *) "enable", NULL
34267 };
34268
34269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
34270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34271 if (SWIG_arg_fail(1)) SWIG_fail;
34272 {
34273 arg2 = (int)(SWIG_As_int(obj1));
34274 if (SWIG_arg_fail(2)) SWIG_fail;
34275 }
34276 {
34277 arg3 = (bool)(SWIG_As_bool(obj2));
34278 if (SWIG_arg_fail(3)) SWIG_fail;
34279 }
34280 {
34281 PyThreadState* __tstate = wxPyBeginAllowThreads();
34282 (arg1)->Enable(arg2,arg3);
34283
34284 wxPyEndAllowThreads(__tstate);
34285 if (PyErr_Occurred()) SWIG_fail;
34286 }
34287 Py_INCREF(Py_None); resultobj = Py_None;
34288 return resultobj;
34289 fail:
34290 return NULL;
34291 }
34292
34293
34294 static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
34295 PyObject *resultobj;
34296 wxMenu *arg1 = (wxMenu *) 0 ;
34297 int arg2 ;
34298 bool result;
34299 PyObject * obj0 = 0 ;
34300 PyObject * obj1 = 0 ;
34301 char *kwnames[] = {
34302 (char *) "self",(char *) "id", NULL
34303 };
34304
34305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
34306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34307 if (SWIG_arg_fail(1)) SWIG_fail;
34308 {
34309 arg2 = (int)(SWIG_As_int(obj1));
34310 if (SWIG_arg_fail(2)) SWIG_fail;
34311 }
34312 {
34313 PyThreadState* __tstate = wxPyBeginAllowThreads();
34314 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
34315
34316 wxPyEndAllowThreads(__tstate);
34317 if (PyErr_Occurred()) SWIG_fail;
34318 }
34319 {
34320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34321 }
34322 return resultobj;
34323 fail:
34324 return NULL;
34325 }
34326
34327
34328 static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) {
34329 PyObject *resultobj;
34330 wxMenu *arg1 = (wxMenu *) 0 ;
34331 int arg2 ;
34332 bool arg3 ;
34333 PyObject * obj0 = 0 ;
34334 PyObject * obj1 = 0 ;
34335 PyObject * obj2 = 0 ;
34336 char *kwnames[] = {
34337 (char *) "self",(char *) "id",(char *) "check", NULL
34338 };
34339
34340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
34341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34342 if (SWIG_arg_fail(1)) SWIG_fail;
34343 {
34344 arg2 = (int)(SWIG_As_int(obj1));
34345 if (SWIG_arg_fail(2)) SWIG_fail;
34346 }
34347 {
34348 arg3 = (bool)(SWIG_As_bool(obj2));
34349 if (SWIG_arg_fail(3)) SWIG_fail;
34350 }
34351 {
34352 PyThreadState* __tstate = wxPyBeginAllowThreads();
34353 (arg1)->Check(arg2,arg3);
34354
34355 wxPyEndAllowThreads(__tstate);
34356 if (PyErr_Occurred()) SWIG_fail;
34357 }
34358 Py_INCREF(Py_None); resultobj = Py_None;
34359 return resultobj;
34360 fail:
34361 return NULL;
34362 }
34363
34364
34365 static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
34366 PyObject *resultobj;
34367 wxMenu *arg1 = (wxMenu *) 0 ;
34368 int arg2 ;
34369 bool result;
34370 PyObject * obj0 = 0 ;
34371 PyObject * obj1 = 0 ;
34372 char *kwnames[] = {
34373 (char *) "self",(char *) "id", NULL
34374 };
34375
34376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
34377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34378 if (SWIG_arg_fail(1)) SWIG_fail;
34379 {
34380 arg2 = (int)(SWIG_As_int(obj1));
34381 if (SWIG_arg_fail(2)) SWIG_fail;
34382 }
34383 {
34384 PyThreadState* __tstate = wxPyBeginAllowThreads();
34385 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
34386
34387 wxPyEndAllowThreads(__tstate);
34388 if (PyErr_Occurred()) SWIG_fail;
34389 }
34390 {
34391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34392 }
34393 return resultobj;
34394 fail:
34395 return NULL;
34396 }
34397
34398
34399 static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
34400 PyObject *resultobj;
34401 wxMenu *arg1 = (wxMenu *) 0 ;
34402 int arg2 ;
34403 wxString *arg3 = 0 ;
34404 bool temp3 = false ;
34405 PyObject * obj0 = 0 ;
34406 PyObject * obj1 = 0 ;
34407 PyObject * obj2 = 0 ;
34408 char *kwnames[] = {
34409 (char *) "self",(char *) "id",(char *) "label", NULL
34410 };
34411
34412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
34413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34414 if (SWIG_arg_fail(1)) SWIG_fail;
34415 {
34416 arg2 = (int)(SWIG_As_int(obj1));
34417 if (SWIG_arg_fail(2)) SWIG_fail;
34418 }
34419 {
34420 arg3 = wxString_in_helper(obj2);
34421 if (arg3 == NULL) SWIG_fail;
34422 temp3 = true;
34423 }
34424 {
34425 PyThreadState* __tstate = wxPyBeginAllowThreads();
34426 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
34427
34428 wxPyEndAllowThreads(__tstate);
34429 if (PyErr_Occurred()) SWIG_fail;
34430 }
34431 Py_INCREF(Py_None); resultobj = Py_None;
34432 {
34433 if (temp3)
34434 delete arg3;
34435 }
34436 return resultobj;
34437 fail:
34438 {
34439 if (temp3)
34440 delete arg3;
34441 }
34442 return NULL;
34443 }
34444
34445
34446 static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
34447 PyObject *resultobj;
34448 wxMenu *arg1 = (wxMenu *) 0 ;
34449 int arg2 ;
34450 wxString result;
34451 PyObject * obj0 = 0 ;
34452 PyObject * obj1 = 0 ;
34453 char *kwnames[] = {
34454 (char *) "self",(char *) "id", NULL
34455 };
34456
34457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
34458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34459 if (SWIG_arg_fail(1)) SWIG_fail;
34460 {
34461 arg2 = (int)(SWIG_As_int(obj1));
34462 if (SWIG_arg_fail(2)) SWIG_fail;
34463 }
34464 {
34465 PyThreadState* __tstate = wxPyBeginAllowThreads();
34466 result = ((wxMenu const *)arg1)->GetLabel(arg2);
34467
34468 wxPyEndAllowThreads(__tstate);
34469 if (PyErr_Occurred()) SWIG_fail;
34470 }
34471 {
34472 #if wxUSE_UNICODE
34473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34474 #else
34475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34476 #endif
34477 }
34478 return resultobj;
34479 fail:
34480 return NULL;
34481 }
34482
34483
34484 static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
34485 PyObject *resultobj;
34486 wxMenu *arg1 = (wxMenu *) 0 ;
34487 int arg2 ;
34488 wxString *arg3 = 0 ;
34489 bool temp3 = false ;
34490 PyObject * obj0 = 0 ;
34491 PyObject * obj1 = 0 ;
34492 PyObject * obj2 = 0 ;
34493 char *kwnames[] = {
34494 (char *) "self",(char *) "id",(char *) "helpString", NULL
34495 };
34496
34497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
34498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34499 if (SWIG_arg_fail(1)) SWIG_fail;
34500 {
34501 arg2 = (int)(SWIG_As_int(obj1));
34502 if (SWIG_arg_fail(2)) SWIG_fail;
34503 }
34504 {
34505 arg3 = wxString_in_helper(obj2);
34506 if (arg3 == NULL) SWIG_fail;
34507 temp3 = true;
34508 }
34509 {
34510 PyThreadState* __tstate = wxPyBeginAllowThreads();
34511 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
34512
34513 wxPyEndAllowThreads(__tstate);
34514 if (PyErr_Occurred()) SWIG_fail;
34515 }
34516 Py_INCREF(Py_None); resultobj = Py_None;
34517 {
34518 if (temp3)
34519 delete arg3;
34520 }
34521 return resultobj;
34522 fail:
34523 {
34524 if (temp3)
34525 delete arg3;
34526 }
34527 return NULL;
34528 }
34529
34530
34531 static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
34532 PyObject *resultobj;
34533 wxMenu *arg1 = (wxMenu *) 0 ;
34534 int arg2 ;
34535 wxString result;
34536 PyObject * obj0 = 0 ;
34537 PyObject * obj1 = 0 ;
34538 char *kwnames[] = {
34539 (char *) "self",(char *) "id", NULL
34540 };
34541
34542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
34543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34544 if (SWIG_arg_fail(1)) SWIG_fail;
34545 {
34546 arg2 = (int)(SWIG_As_int(obj1));
34547 if (SWIG_arg_fail(2)) SWIG_fail;
34548 }
34549 {
34550 PyThreadState* __tstate = wxPyBeginAllowThreads();
34551 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
34552
34553 wxPyEndAllowThreads(__tstate);
34554 if (PyErr_Occurred()) SWIG_fail;
34555 }
34556 {
34557 #if wxUSE_UNICODE
34558 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34559 #else
34560 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34561 #endif
34562 }
34563 return resultobj;
34564 fail:
34565 return NULL;
34566 }
34567
34568
34569 static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
34570 PyObject *resultobj;
34571 wxMenu *arg1 = (wxMenu *) 0 ;
34572 wxString *arg2 = 0 ;
34573 bool temp2 = false ;
34574 PyObject * obj0 = 0 ;
34575 PyObject * obj1 = 0 ;
34576 char *kwnames[] = {
34577 (char *) "self",(char *) "title", NULL
34578 };
34579
34580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
34581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34582 if (SWIG_arg_fail(1)) SWIG_fail;
34583 {
34584 arg2 = wxString_in_helper(obj1);
34585 if (arg2 == NULL) SWIG_fail;
34586 temp2 = true;
34587 }
34588 {
34589 PyThreadState* __tstate = wxPyBeginAllowThreads();
34590 (arg1)->SetTitle((wxString const &)*arg2);
34591
34592 wxPyEndAllowThreads(__tstate);
34593 if (PyErr_Occurred()) SWIG_fail;
34594 }
34595 Py_INCREF(Py_None); resultobj = Py_None;
34596 {
34597 if (temp2)
34598 delete arg2;
34599 }
34600 return resultobj;
34601 fail:
34602 {
34603 if (temp2)
34604 delete arg2;
34605 }
34606 return NULL;
34607 }
34608
34609
34610 static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
34611 PyObject *resultobj;
34612 wxMenu *arg1 = (wxMenu *) 0 ;
34613 wxString result;
34614 PyObject * obj0 = 0 ;
34615 char *kwnames[] = {
34616 (char *) "self", NULL
34617 };
34618
34619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
34620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34621 if (SWIG_arg_fail(1)) SWIG_fail;
34622 {
34623 PyThreadState* __tstate = wxPyBeginAllowThreads();
34624 result = ((wxMenu const *)arg1)->GetTitle();
34625
34626 wxPyEndAllowThreads(__tstate);
34627 if (PyErr_Occurred()) SWIG_fail;
34628 }
34629 {
34630 #if wxUSE_UNICODE
34631 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34632 #else
34633 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34634 #endif
34635 }
34636 return resultobj;
34637 fail:
34638 return NULL;
34639 }
34640
34641
34642 static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
34643 PyObject *resultobj;
34644 wxMenu *arg1 = (wxMenu *) 0 ;
34645 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
34646 PyObject * obj0 = 0 ;
34647 PyObject * obj1 = 0 ;
34648 char *kwnames[] = {
34649 (char *) "self",(char *) "handler", NULL
34650 };
34651
34652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
34653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34654 if (SWIG_arg_fail(1)) SWIG_fail;
34655 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
34656 if (SWIG_arg_fail(2)) SWIG_fail;
34657 {
34658 PyThreadState* __tstate = wxPyBeginAllowThreads();
34659 (arg1)->SetEventHandler(arg2);
34660
34661 wxPyEndAllowThreads(__tstate);
34662 if (PyErr_Occurred()) SWIG_fail;
34663 }
34664 Py_INCREF(Py_None); resultobj = Py_None;
34665 return resultobj;
34666 fail:
34667 return NULL;
34668 }
34669
34670
34671 static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
34672 PyObject *resultobj;
34673 wxMenu *arg1 = (wxMenu *) 0 ;
34674 wxEvtHandler *result;
34675 PyObject * obj0 = 0 ;
34676 char *kwnames[] = {
34677 (char *) "self", NULL
34678 };
34679
34680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
34681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34682 if (SWIG_arg_fail(1)) SWIG_fail;
34683 {
34684 PyThreadState* __tstate = wxPyBeginAllowThreads();
34685 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
34686
34687 wxPyEndAllowThreads(__tstate);
34688 if (PyErr_Occurred()) SWIG_fail;
34689 }
34690 {
34691 resultobj = wxPyMake_wxObject(result, 0);
34692 }
34693 return resultobj;
34694 fail:
34695 return NULL;
34696 }
34697
34698
34699 static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34700 PyObject *resultobj;
34701 wxMenu *arg1 = (wxMenu *) 0 ;
34702 wxWindow *arg2 = (wxWindow *) 0 ;
34703 PyObject * obj0 = 0 ;
34704 PyObject * obj1 = 0 ;
34705 char *kwnames[] = {
34706 (char *) "self",(char *) "win", NULL
34707 };
34708
34709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
34710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34711 if (SWIG_arg_fail(1)) SWIG_fail;
34712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34713 if (SWIG_arg_fail(2)) SWIG_fail;
34714 {
34715 PyThreadState* __tstate = wxPyBeginAllowThreads();
34716 (arg1)->SetInvokingWindow(arg2);
34717
34718 wxPyEndAllowThreads(__tstate);
34719 if (PyErr_Occurred()) SWIG_fail;
34720 }
34721 Py_INCREF(Py_None); resultobj = Py_None;
34722 return resultobj;
34723 fail:
34724 return NULL;
34725 }
34726
34727
34728 static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34729 PyObject *resultobj;
34730 wxMenu *arg1 = (wxMenu *) 0 ;
34731 wxWindow *result;
34732 PyObject * obj0 = 0 ;
34733 char *kwnames[] = {
34734 (char *) "self", NULL
34735 };
34736
34737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
34738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34739 if (SWIG_arg_fail(1)) SWIG_fail;
34740 {
34741 PyThreadState* __tstate = wxPyBeginAllowThreads();
34742 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
34743
34744 wxPyEndAllowThreads(__tstate);
34745 if (PyErr_Occurred()) SWIG_fail;
34746 }
34747 {
34748 resultobj = wxPyMake_wxObject(result, 0);
34749 }
34750 return resultobj;
34751 fail:
34752 return NULL;
34753 }
34754
34755
34756 static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
34757 PyObject *resultobj;
34758 wxMenu *arg1 = (wxMenu *) 0 ;
34759 long result;
34760 PyObject * obj0 = 0 ;
34761 char *kwnames[] = {
34762 (char *) "self", NULL
34763 };
34764
34765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
34766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34767 if (SWIG_arg_fail(1)) SWIG_fail;
34768 {
34769 PyThreadState* __tstate = wxPyBeginAllowThreads();
34770 result = (long)((wxMenu const *)arg1)->GetStyle();
34771
34772 wxPyEndAllowThreads(__tstate);
34773 if (PyErr_Occurred()) SWIG_fail;
34774 }
34775 {
34776 resultobj = SWIG_From_long((long)(result));
34777 }
34778 return resultobj;
34779 fail:
34780 return NULL;
34781 }
34782
34783
34784 static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) {
34785 PyObject *resultobj;
34786 wxMenu *arg1 = (wxMenu *) 0 ;
34787 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
34788 PyObject * obj0 = 0 ;
34789 PyObject * obj1 = 0 ;
34790 char *kwnames[] = {
34791 (char *) "self",(char *) "source", NULL
34792 };
34793
34794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
34795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34796 if (SWIG_arg_fail(1)) SWIG_fail;
34797 if (obj1) {
34798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
34799 if (SWIG_arg_fail(2)) SWIG_fail;
34800 }
34801 {
34802 PyThreadState* __tstate = wxPyBeginAllowThreads();
34803 (arg1)->UpdateUI(arg2);
34804
34805 wxPyEndAllowThreads(__tstate);
34806 if (PyErr_Occurred()) SWIG_fail;
34807 }
34808 Py_INCREF(Py_None); resultobj = Py_None;
34809 return resultobj;
34810 fail:
34811 return NULL;
34812 }
34813
34814
34815 static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
34816 PyObject *resultobj;
34817 wxMenu *arg1 = (wxMenu *) 0 ;
34818 wxMenuBar *result;
34819 PyObject * obj0 = 0 ;
34820 char *kwnames[] = {
34821 (char *) "self", NULL
34822 };
34823
34824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
34825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34826 if (SWIG_arg_fail(1)) SWIG_fail;
34827 {
34828 PyThreadState* __tstate = wxPyBeginAllowThreads();
34829 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
34830
34831 wxPyEndAllowThreads(__tstate);
34832 if (PyErr_Occurred()) SWIG_fail;
34833 }
34834 {
34835 resultobj = wxPyMake_wxObject(result, 0);
34836 }
34837 return resultobj;
34838 fail:
34839 return NULL;
34840 }
34841
34842
34843 static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
34844 PyObject *resultobj;
34845 wxMenu *arg1 = (wxMenu *) 0 ;
34846 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
34847 PyObject * obj0 = 0 ;
34848 PyObject * obj1 = 0 ;
34849 char *kwnames[] = {
34850 (char *) "self",(char *) "menubar", NULL
34851 };
34852
34853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
34854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34855 if (SWIG_arg_fail(1)) SWIG_fail;
34856 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBarBase, SWIG_POINTER_EXCEPTION | 0);
34857 if (SWIG_arg_fail(2)) SWIG_fail;
34858 {
34859 PyThreadState* __tstate = wxPyBeginAllowThreads();
34860 (arg1)->Attach(arg2);
34861
34862 wxPyEndAllowThreads(__tstate);
34863 if (PyErr_Occurred()) SWIG_fail;
34864 }
34865 Py_INCREF(Py_None); resultobj = Py_None;
34866 return resultobj;
34867 fail:
34868 return NULL;
34869 }
34870
34871
34872 static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
34873 PyObject *resultobj;
34874 wxMenu *arg1 = (wxMenu *) 0 ;
34875 PyObject * obj0 = 0 ;
34876 char *kwnames[] = {
34877 (char *) "self", NULL
34878 };
34879
34880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
34881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34882 if (SWIG_arg_fail(1)) SWIG_fail;
34883 {
34884 PyThreadState* __tstate = wxPyBeginAllowThreads();
34885 (arg1)->Detach();
34886
34887 wxPyEndAllowThreads(__tstate);
34888 if (PyErr_Occurred()) SWIG_fail;
34889 }
34890 Py_INCREF(Py_None); resultobj = Py_None;
34891 return resultobj;
34892 fail:
34893 return NULL;
34894 }
34895
34896
34897 static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
34898 PyObject *resultobj;
34899 wxMenu *arg1 = (wxMenu *) 0 ;
34900 bool result;
34901 PyObject * obj0 = 0 ;
34902 char *kwnames[] = {
34903 (char *) "self", NULL
34904 };
34905
34906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
34907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34908 if (SWIG_arg_fail(1)) SWIG_fail;
34909 {
34910 PyThreadState* __tstate = wxPyBeginAllowThreads();
34911 result = (bool)((wxMenu const *)arg1)->IsAttached();
34912
34913 wxPyEndAllowThreads(__tstate);
34914 if (PyErr_Occurred()) SWIG_fail;
34915 }
34916 {
34917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34918 }
34919 return resultobj;
34920 fail:
34921 return NULL;
34922 }
34923
34924
34925 static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
34926 PyObject *resultobj;
34927 wxMenu *arg1 = (wxMenu *) 0 ;
34928 wxMenu *arg2 = (wxMenu *) 0 ;
34929 PyObject * obj0 = 0 ;
34930 PyObject * obj1 = 0 ;
34931 char *kwnames[] = {
34932 (char *) "self",(char *) "parent", NULL
34933 };
34934
34935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
34936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34937 if (SWIG_arg_fail(1)) SWIG_fail;
34938 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34939 if (SWIG_arg_fail(2)) SWIG_fail;
34940 {
34941 PyThreadState* __tstate = wxPyBeginAllowThreads();
34942 (arg1)->SetParent(arg2);
34943
34944 wxPyEndAllowThreads(__tstate);
34945 if (PyErr_Occurred()) SWIG_fail;
34946 }
34947 Py_INCREF(Py_None); resultobj = Py_None;
34948 return resultobj;
34949 fail:
34950 return NULL;
34951 }
34952
34953
34954 static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
34955 PyObject *resultobj;
34956 wxMenu *arg1 = (wxMenu *) 0 ;
34957 wxMenu *result;
34958 PyObject * obj0 = 0 ;
34959 char *kwnames[] = {
34960 (char *) "self", NULL
34961 };
34962
34963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
34964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34965 if (SWIG_arg_fail(1)) SWIG_fail;
34966 {
34967 PyThreadState* __tstate = wxPyBeginAllowThreads();
34968 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
34969
34970 wxPyEndAllowThreads(__tstate);
34971 if (PyErr_Occurred()) SWIG_fail;
34972 }
34973 {
34974 resultobj = wxPyMake_wxObject(result, 0);
34975 }
34976 return resultobj;
34977 fail:
34978 return NULL;
34979 }
34980
34981
34982 static PyObject * Menu_swigregister(PyObject *, PyObject *args) {
34983 PyObject *obj;
34984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34985 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
34986 Py_INCREF(obj);
34987 return Py_BuildValue((char *)"");
34988 }
34989 static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
34990 PyObject *resultobj;
34991 long arg1 = (long) 0 ;
34992 wxMenuBar *result;
34993 PyObject * obj0 = 0 ;
34994 char *kwnames[] = {
34995 (char *) "style", NULL
34996 };
34997
34998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
34999 if (obj0) {
35000 {
35001 arg1 = (long)(SWIG_As_long(obj0));
35002 if (SWIG_arg_fail(1)) SWIG_fail;
35003 }
35004 }
35005 {
35006 if (!wxPyCheckForApp()) SWIG_fail;
35007 PyThreadState* __tstate = wxPyBeginAllowThreads();
35008 result = (wxMenuBar *)new wxMenuBar(arg1);
35009
35010 wxPyEndAllowThreads(__tstate);
35011 if (PyErr_Occurred()) SWIG_fail;
35012 }
35013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuBar, 1);
35014 return resultobj;
35015 fail:
35016 return NULL;
35017 }
35018
35019
35020 static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) {
35021 PyObject *resultobj;
35022 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35023 wxMenu *arg2 = (wxMenu *) 0 ;
35024 wxString *arg3 = 0 ;
35025 bool result;
35026 bool temp3 = false ;
35027 PyObject * obj0 = 0 ;
35028 PyObject * obj1 = 0 ;
35029 PyObject * obj2 = 0 ;
35030 char *kwnames[] = {
35031 (char *) "self",(char *) "menu",(char *) "title", NULL
35032 };
35033
35034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
35035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35036 if (SWIG_arg_fail(1)) SWIG_fail;
35037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35038 if (SWIG_arg_fail(2)) SWIG_fail;
35039 {
35040 arg3 = wxString_in_helper(obj2);
35041 if (arg3 == NULL) SWIG_fail;
35042 temp3 = true;
35043 }
35044 {
35045 PyThreadState* __tstate = wxPyBeginAllowThreads();
35046 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
35047
35048 wxPyEndAllowThreads(__tstate);
35049 if (PyErr_Occurred()) SWIG_fail;
35050 }
35051 {
35052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35053 }
35054 {
35055 if (temp3)
35056 delete arg3;
35057 }
35058 return resultobj;
35059 fail:
35060 {
35061 if (temp3)
35062 delete arg3;
35063 }
35064 return NULL;
35065 }
35066
35067
35068 static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
35069 PyObject *resultobj;
35070 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35071 size_t arg2 ;
35072 wxMenu *arg3 = (wxMenu *) 0 ;
35073 wxString *arg4 = 0 ;
35074 bool result;
35075 bool temp4 = false ;
35076 PyObject * obj0 = 0 ;
35077 PyObject * obj1 = 0 ;
35078 PyObject * obj2 = 0 ;
35079 PyObject * obj3 = 0 ;
35080 char *kwnames[] = {
35081 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35082 };
35083
35084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35086 if (SWIG_arg_fail(1)) SWIG_fail;
35087 {
35088 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35089 if (SWIG_arg_fail(2)) SWIG_fail;
35090 }
35091 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35092 if (SWIG_arg_fail(3)) SWIG_fail;
35093 {
35094 arg4 = wxString_in_helper(obj3);
35095 if (arg4 == NULL) SWIG_fail;
35096 temp4 = true;
35097 }
35098 {
35099 PyThreadState* __tstate = wxPyBeginAllowThreads();
35100 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
35101
35102 wxPyEndAllowThreads(__tstate);
35103 if (PyErr_Occurred()) SWIG_fail;
35104 }
35105 {
35106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35107 }
35108 {
35109 if (temp4)
35110 delete arg4;
35111 }
35112 return resultobj;
35113 fail:
35114 {
35115 if (temp4)
35116 delete arg4;
35117 }
35118 return NULL;
35119 }
35120
35121
35122 static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) {
35123 PyObject *resultobj;
35124 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35125 size_t result;
35126 PyObject * obj0 = 0 ;
35127 char *kwnames[] = {
35128 (char *) "self", NULL
35129 };
35130
35131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
35132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35133 if (SWIG_arg_fail(1)) SWIG_fail;
35134 {
35135 PyThreadState* __tstate = wxPyBeginAllowThreads();
35136 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
35137
35138 wxPyEndAllowThreads(__tstate);
35139 if (PyErr_Occurred()) SWIG_fail;
35140 }
35141 {
35142 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
35143 }
35144 return resultobj;
35145 fail:
35146 return NULL;
35147 }
35148
35149
35150 static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
35151 PyObject *resultobj;
35152 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35153 size_t arg2 ;
35154 wxMenu *result;
35155 PyObject * obj0 = 0 ;
35156 PyObject * obj1 = 0 ;
35157 char *kwnames[] = {
35158 (char *) "self",(char *) "pos", NULL
35159 };
35160
35161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
35162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35163 if (SWIG_arg_fail(1)) SWIG_fail;
35164 {
35165 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35166 if (SWIG_arg_fail(2)) SWIG_fail;
35167 }
35168 {
35169 PyThreadState* __tstate = wxPyBeginAllowThreads();
35170 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
35171
35172 wxPyEndAllowThreads(__tstate);
35173 if (PyErr_Occurred()) SWIG_fail;
35174 }
35175 {
35176 resultobj = wxPyMake_wxObject(result, 0);
35177 }
35178 return resultobj;
35179 fail:
35180 return NULL;
35181 }
35182
35183
35184 static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
35185 PyObject *resultobj;
35186 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35187 size_t arg2 ;
35188 wxMenu *arg3 = (wxMenu *) 0 ;
35189 wxString *arg4 = 0 ;
35190 wxMenu *result;
35191 bool temp4 = false ;
35192 PyObject * obj0 = 0 ;
35193 PyObject * obj1 = 0 ;
35194 PyObject * obj2 = 0 ;
35195 PyObject * obj3 = 0 ;
35196 char *kwnames[] = {
35197 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35198 };
35199
35200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35202 if (SWIG_arg_fail(1)) SWIG_fail;
35203 {
35204 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35205 if (SWIG_arg_fail(2)) SWIG_fail;
35206 }
35207 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35208 if (SWIG_arg_fail(3)) SWIG_fail;
35209 {
35210 arg4 = wxString_in_helper(obj3);
35211 if (arg4 == NULL) SWIG_fail;
35212 temp4 = true;
35213 }
35214 {
35215 PyThreadState* __tstate = wxPyBeginAllowThreads();
35216 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
35217
35218 wxPyEndAllowThreads(__tstate);
35219 if (PyErr_Occurred()) SWIG_fail;
35220 }
35221 {
35222 resultobj = wxPyMake_wxObject(result, 0);
35223 }
35224 {
35225 if (temp4)
35226 delete arg4;
35227 }
35228 return resultobj;
35229 fail:
35230 {
35231 if (temp4)
35232 delete arg4;
35233 }
35234 return NULL;
35235 }
35236
35237
35238 static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
35239 PyObject *resultobj;
35240 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35241 size_t arg2 ;
35242 wxMenu *result;
35243 PyObject * obj0 = 0 ;
35244 PyObject * obj1 = 0 ;
35245 char *kwnames[] = {
35246 (char *) "self",(char *) "pos", NULL
35247 };
35248
35249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
35250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35251 if (SWIG_arg_fail(1)) SWIG_fail;
35252 {
35253 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35254 if (SWIG_arg_fail(2)) SWIG_fail;
35255 }
35256 {
35257 PyThreadState* __tstate = wxPyBeginAllowThreads();
35258 result = (wxMenu *)(arg1)->Remove(arg2);
35259
35260 wxPyEndAllowThreads(__tstate);
35261 if (PyErr_Occurred()) SWIG_fail;
35262 }
35263 {
35264 resultobj = wxPyMake_wxObject(result, 0);
35265 }
35266 return resultobj;
35267 fail:
35268 return NULL;
35269 }
35270
35271
35272 static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) {
35273 PyObject *resultobj;
35274 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35275 size_t arg2 ;
35276 bool arg3 ;
35277 PyObject * obj0 = 0 ;
35278 PyObject * obj1 = 0 ;
35279 PyObject * obj2 = 0 ;
35280 char *kwnames[] = {
35281 (char *) "self",(char *) "pos",(char *) "enable", NULL
35282 };
35283
35284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
35285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35286 if (SWIG_arg_fail(1)) SWIG_fail;
35287 {
35288 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35289 if (SWIG_arg_fail(2)) SWIG_fail;
35290 }
35291 {
35292 arg3 = (bool)(SWIG_As_bool(obj2));
35293 if (SWIG_arg_fail(3)) SWIG_fail;
35294 }
35295 {
35296 PyThreadState* __tstate = wxPyBeginAllowThreads();
35297 (arg1)->EnableTop(arg2,arg3);
35298
35299 wxPyEndAllowThreads(__tstate);
35300 if (PyErr_Occurred()) SWIG_fail;
35301 }
35302 Py_INCREF(Py_None); resultobj = Py_None;
35303 return resultobj;
35304 fail:
35305 return NULL;
35306 }
35307
35308
35309 static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) {
35310 PyObject *resultobj;
35311 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35312 size_t arg2 ;
35313 bool result;
35314 PyObject * obj0 = 0 ;
35315 PyObject * obj1 = 0 ;
35316 char *kwnames[] = {
35317 (char *) "self",(char *) "pos", NULL
35318 };
35319
35320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
35321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35322 if (SWIG_arg_fail(1)) SWIG_fail;
35323 {
35324 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35325 if (SWIG_arg_fail(2)) SWIG_fail;
35326 }
35327 {
35328 PyThreadState* __tstate = wxPyBeginAllowThreads();
35329 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
35330
35331 wxPyEndAllowThreads(__tstate);
35332 if (PyErr_Occurred()) SWIG_fail;
35333 }
35334 {
35335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35336 }
35337 return resultobj;
35338 fail:
35339 return NULL;
35340 }
35341
35342
35343 static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
35344 PyObject *resultobj;
35345 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35346 size_t arg2 ;
35347 wxString *arg3 = 0 ;
35348 bool temp3 = false ;
35349 PyObject * obj0 = 0 ;
35350 PyObject * obj1 = 0 ;
35351 PyObject * obj2 = 0 ;
35352 char *kwnames[] = {
35353 (char *) "self",(char *) "pos",(char *) "label", NULL
35354 };
35355
35356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
35357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35358 if (SWIG_arg_fail(1)) SWIG_fail;
35359 {
35360 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35361 if (SWIG_arg_fail(2)) SWIG_fail;
35362 }
35363 {
35364 arg3 = wxString_in_helper(obj2);
35365 if (arg3 == NULL) SWIG_fail;
35366 temp3 = true;
35367 }
35368 {
35369 PyThreadState* __tstate = wxPyBeginAllowThreads();
35370 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
35371
35372 wxPyEndAllowThreads(__tstate);
35373 if (PyErr_Occurred()) SWIG_fail;
35374 }
35375 Py_INCREF(Py_None); resultobj = Py_None;
35376 {
35377 if (temp3)
35378 delete arg3;
35379 }
35380 return resultobj;
35381 fail:
35382 {
35383 if (temp3)
35384 delete arg3;
35385 }
35386 return NULL;
35387 }
35388
35389
35390 static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
35391 PyObject *resultobj;
35392 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35393 size_t arg2 ;
35394 wxString result;
35395 PyObject * obj0 = 0 ;
35396 PyObject * obj1 = 0 ;
35397 char *kwnames[] = {
35398 (char *) "self",(char *) "pos", NULL
35399 };
35400
35401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
35402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35403 if (SWIG_arg_fail(1)) SWIG_fail;
35404 {
35405 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35406 if (SWIG_arg_fail(2)) SWIG_fail;
35407 }
35408 {
35409 PyThreadState* __tstate = wxPyBeginAllowThreads();
35410 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
35411
35412 wxPyEndAllowThreads(__tstate);
35413 if (PyErr_Occurred()) SWIG_fail;
35414 }
35415 {
35416 #if wxUSE_UNICODE
35417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35418 #else
35419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35420 #endif
35421 }
35422 return resultobj;
35423 fail:
35424 return NULL;
35425 }
35426
35427
35428 static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
35429 PyObject *resultobj;
35430 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35431 wxString *arg2 = 0 ;
35432 wxString *arg3 = 0 ;
35433 int result;
35434 bool temp2 = false ;
35435 bool temp3 = false ;
35436 PyObject * obj0 = 0 ;
35437 PyObject * obj1 = 0 ;
35438 PyObject * obj2 = 0 ;
35439 char *kwnames[] = {
35440 (char *) "self",(char *) "menu",(char *) "item", NULL
35441 };
35442
35443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
35444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35445 if (SWIG_arg_fail(1)) SWIG_fail;
35446 {
35447 arg2 = wxString_in_helper(obj1);
35448 if (arg2 == NULL) SWIG_fail;
35449 temp2 = true;
35450 }
35451 {
35452 arg3 = wxString_in_helper(obj2);
35453 if (arg3 == NULL) SWIG_fail;
35454 temp3 = true;
35455 }
35456 {
35457 PyThreadState* __tstate = wxPyBeginAllowThreads();
35458 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
35459
35460 wxPyEndAllowThreads(__tstate);
35461 if (PyErr_Occurred()) SWIG_fail;
35462 }
35463 {
35464 resultobj = SWIG_From_int((int)(result));
35465 }
35466 {
35467 if (temp2)
35468 delete arg2;
35469 }
35470 {
35471 if (temp3)
35472 delete arg3;
35473 }
35474 return resultobj;
35475 fail:
35476 {
35477 if (temp2)
35478 delete arg2;
35479 }
35480 {
35481 if (temp3)
35482 delete arg3;
35483 }
35484 return NULL;
35485 }
35486
35487
35488 static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
35489 PyObject *resultobj;
35490 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35491 int arg2 ;
35492 wxMenuItem *result;
35493 PyObject * obj0 = 0 ;
35494 PyObject * obj1 = 0 ;
35495 char *kwnames[] = {
35496 (char *) "self",(char *) "id", NULL
35497 };
35498
35499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
35500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35501 if (SWIG_arg_fail(1)) SWIG_fail;
35502 {
35503 arg2 = (int)(SWIG_As_int(obj1));
35504 if (SWIG_arg_fail(2)) SWIG_fail;
35505 }
35506 {
35507 PyThreadState* __tstate = wxPyBeginAllowThreads();
35508 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
35509
35510 wxPyEndAllowThreads(__tstate);
35511 if (PyErr_Occurred()) SWIG_fail;
35512 }
35513 {
35514 resultobj = wxPyMake_wxObject(result, 0);
35515 }
35516 return resultobj;
35517 fail:
35518 return NULL;
35519 }
35520
35521
35522 static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) {
35523 PyObject *resultobj;
35524 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35525 wxString *arg2 = 0 ;
35526 int result;
35527 bool temp2 = false ;
35528 PyObject * obj0 = 0 ;
35529 PyObject * obj1 = 0 ;
35530 char *kwnames[] = {
35531 (char *) "self",(char *) "title", NULL
35532 };
35533
35534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
35535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35536 if (SWIG_arg_fail(1)) SWIG_fail;
35537 {
35538 arg2 = wxString_in_helper(obj1);
35539 if (arg2 == NULL) SWIG_fail;
35540 temp2 = true;
35541 }
35542 {
35543 PyThreadState* __tstate = wxPyBeginAllowThreads();
35544 result = (int)(arg1)->FindMenu((wxString const &)*arg2);
35545
35546 wxPyEndAllowThreads(__tstate);
35547 if (PyErr_Occurred()) SWIG_fail;
35548 }
35549 {
35550 resultobj = SWIG_From_int((int)(result));
35551 }
35552 {
35553 if (temp2)
35554 delete arg2;
35555 }
35556 return resultobj;
35557 fail:
35558 {
35559 if (temp2)
35560 delete arg2;
35561 }
35562 return NULL;
35563 }
35564
35565
35566 static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
35567 PyObject *resultobj;
35568 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35569 int arg2 ;
35570 bool arg3 ;
35571 PyObject * obj0 = 0 ;
35572 PyObject * obj1 = 0 ;
35573 PyObject * obj2 = 0 ;
35574 char *kwnames[] = {
35575 (char *) "self",(char *) "id",(char *) "enable", NULL
35576 };
35577
35578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
35579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35580 if (SWIG_arg_fail(1)) SWIG_fail;
35581 {
35582 arg2 = (int)(SWIG_As_int(obj1));
35583 if (SWIG_arg_fail(2)) SWIG_fail;
35584 }
35585 {
35586 arg3 = (bool)(SWIG_As_bool(obj2));
35587 if (SWIG_arg_fail(3)) SWIG_fail;
35588 }
35589 {
35590 PyThreadState* __tstate = wxPyBeginAllowThreads();
35591 (arg1)->Enable(arg2,arg3);
35592
35593 wxPyEndAllowThreads(__tstate);
35594 if (PyErr_Occurred()) SWIG_fail;
35595 }
35596 Py_INCREF(Py_None); resultobj = Py_None;
35597 return resultobj;
35598 fail:
35599 return NULL;
35600 }
35601
35602
35603 static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) {
35604 PyObject *resultobj;
35605 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35606 int arg2 ;
35607 bool arg3 ;
35608 PyObject * obj0 = 0 ;
35609 PyObject * obj1 = 0 ;
35610 PyObject * obj2 = 0 ;
35611 char *kwnames[] = {
35612 (char *) "self",(char *) "id",(char *) "check", NULL
35613 };
35614
35615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
35616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35617 if (SWIG_arg_fail(1)) SWIG_fail;
35618 {
35619 arg2 = (int)(SWIG_As_int(obj1));
35620 if (SWIG_arg_fail(2)) SWIG_fail;
35621 }
35622 {
35623 arg3 = (bool)(SWIG_As_bool(obj2));
35624 if (SWIG_arg_fail(3)) SWIG_fail;
35625 }
35626 {
35627 PyThreadState* __tstate = wxPyBeginAllowThreads();
35628 (arg1)->Check(arg2,arg3);
35629
35630 wxPyEndAllowThreads(__tstate);
35631 if (PyErr_Occurred()) SWIG_fail;
35632 }
35633 Py_INCREF(Py_None); resultobj = Py_None;
35634 return resultobj;
35635 fail:
35636 return NULL;
35637 }
35638
35639
35640 static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
35641 PyObject *resultobj;
35642 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35643 int arg2 ;
35644 bool result;
35645 PyObject * obj0 = 0 ;
35646 PyObject * obj1 = 0 ;
35647 char *kwnames[] = {
35648 (char *) "self",(char *) "id", NULL
35649 };
35650
35651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
35652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35653 if (SWIG_arg_fail(1)) SWIG_fail;
35654 {
35655 arg2 = (int)(SWIG_As_int(obj1));
35656 if (SWIG_arg_fail(2)) SWIG_fail;
35657 }
35658 {
35659 PyThreadState* __tstate = wxPyBeginAllowThreads();
35660 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
35661
35662 wxPyEndAllowThreads(__tstate);
35663 if (PyErr_Occurred()) SWIG_fail;
35664 }
35665 {
35666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35667 }
35668 return resultobj;
35669 fail:
35670 return NULL;
35671 }
35672
35673
35674 static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
35675 PyObject *resultobj;
35676 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35677 int arg2 ;
35678 bool result;
35679 PyObject * obj0 = 0 ;
35680 PyObject * obj1 = 0 ;
35681 char *kwnames[] = {
35682 (char *) "self",(char *) "id", NULL
35683 };
35684
35685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
35686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35687 if (SWIG_arg_fail(1)) SWIG_fail;
35688 {
35689 arg2 = (int)(SWIG_As_int(obj1));
35690 if (SWIG_arg_fail(2)) SWIG_fail;
35691 }
35692 {
35693 PyThreadState* __tstate = wxPyBeginAllowThreads();
35694 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
35695
35696 wxPyEndAllowThreads(__tstate);
35697 if (PyErr_Occurred()) SWIG_fail;
35698 }
35699 {
35700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35701 }
35702 return resultobj;
35703 fail:
35704 return NULL;
35705 }
35706
35707
35708 static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
35709 PyObject *resultobj;
35710 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35711 int arg2 ;
35712 wxString *arg3 = 0 ;
35713 bool temp3 = false ;
35714 PyObject * obj0 = 0 ;
35715 PyObject * obj1 = 0 ;
35716 PyObject * obj2 = 0 ;
35717 char *kwnames[] = {
35718 (char *) "self",(char *) "id",(char *) "label", NULL
35719 };
35720
35721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
35722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35723 if (SWIG_arg_fail(1)) SWIG_fail;
35724 {
35725 arg2 = (int)(SWIG_As_int(obj1));
35726 if (SWIG_arg_fail(2)) SWIG_fail;
35727 }
35728 {
35729 arg3 = wxString_in_helper(obj2);
35730 if (arg3 == NULL) SWIG_fail;
35731 temp3 = true;
35732 }
35733 {
35734 PyThreadState* __tstate = wxPyBeginAllowThreads();
35735 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
35736
35737 wxPyEndAllowThreads(__tstate);
35738 if (PyErr_Occurred()) SWIG_fail;
35739 }
35740 Py_INCREF(Py_None); resultobj = Py_None;
35741 {
35742 if (temp3)
35743 delete arg3;
35744 }
35745 return resultobj;
35746 fail:
35747 {
35748 if (temp3)
35749 delete arg3;
35750 }
35751 return NULL;
35752 }
35753
35754
35755 static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
35756 PyObject *resultobj;
35757 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35758 int arg2 ;
35759 wxString result;
35760 PyObject * obj0 = 0 ;
35761 PyObject * obj1 = 0 ;
35762 char *kwnames[] = {
35763 (char *) "self",(char *) "id", NULL
35764 };
35765
35766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
35767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35768 if (SWIG_arg_fail(1)) SWIG_fail;
35769 {
35770 arg2 = (int)(SWIG_As_int(obj1));
35771 if (SWIG_arg_fail(2)) SWIG_fail;
35772 }
35773 {
35774 PyThreadState* __tstate = wxPyBeginAllowThreads();
35775 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
35776
35777 wxPyEndAllowThreads(__tstate);
35778 if (PyErr_Occurred()) SWIG_fail;
35779 }
35780 {
35781 #if wxUSE_UNICODE
35782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35783 #else
35784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35785 #endif
35786 }
35787 return resultobj;
35788 fail:
35789 return NULL;
35790 }
35791
35792
35793 static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
35794 PyObject *resultobj;
35795 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35796 int arg2 ;
35797 wxString *arg3 = 0 ;
35798 bool temp3 = false ;
35799 PyObject * obj0 = 0 ;
35800 PyObject * obj1 = 0 ;
35801 PyObject * obj2 = 0 ;
35802 char *kwnames[] = {
35803 (char *) "self",(char *) "id",(char *) "helpString", NULL
35804 };
35805
35806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
35807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35808 if (SWIG_arg_fail(1)) SWIG_fail;
35809 {
35810 arg2 = (int)(SWIG_As_int(obj1));
35811 if (SWIG_arg_fail(2)) SWIG_fail;
35812 }
35813 {
35814 arg3 = wxString_in_helper(obj2);
35815 if (arg3 == NULL) SWIG_fail;
35816 temp3 = true;
35817 }
35818 {
35819 PyThreadState* __tstate = wxPyBeginAllowThreads();
35820 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
35821
35822 wxPyEndAllowThreads(__tstate);
35823 if (PyErr_Occurred()) SWIG_fail;
35824 }
35825 Py_INCREF(Py_None); resultobj = Py_None;
35826 {
35827 if (temp3)
35828 delete arg3;
35829 }
35830 return resultobj;
35831 fail:
35832 {
35833 if (temp3)
35834 delete arg3;
35835 }
35836 return NULL;
35837 }
35838
35839
35840 static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
35841 PyObject *resultobj;
35842 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35843 int arg2 ;
35844 wxString result;
35845 PyObject * obj0 = 0 ;
35846 PyObject * obj1 = 0 ;
35847 char *kwnames[] = {
35848 (char *) "self",(char *) "id", NULL
35849 };
35850
35851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
35852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35853 if (SWIG_arg_fail(1)) SWIG_fail;
35854 {
35855 arg2 = (int)(SWIG_As_int(obj1));
35856 if (SWIG_arg_fail(2)) SWIG_fail;
35857 }
35858 {
35859 PyThreadState* __tstate = wxPyBeginAllowThreads();
35860 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
35861
35862 wxPyEndAllowThreads(__tstate);
35863 if (PyErr_Occurred()) SWIG_fail;
35864 }
35865 {
35866 #if wxUSE_UNICODE
35867 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35868 #else
35869 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35870 #endif
35871 }
35872 return resultobj;
35873 fail:
35874 return NULL;
35875 }
35876
35877
35878 static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
35879 PyObject *resultobj;
35880 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35881 wxFrame *result;
35882 PyObject * obj0 = 0 ;
35883 char *kwnames[] = {
35884 (char *) "self", NULL
35885 };
35886
35887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
35888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35889 if (SWIG_arg_fail(1)) SWIG_fail;
35890 {
35891 PyThreadState* __tstate = wxPyBeginAllowThreads();
35892 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
35893
35894 wxPyEndAllowThreads(__tstate);
35895 if (PyErr_Occurred()) SWIG_fail;
35896 }
35897 {
35898 resultobj = wxPyMake_wxObject(result, 0);
35899 }
35900 return resultobj;
35901 fail:
35902 return NULL;
35903 }
35904
35905
35906 static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
35907 PyObject *resultobj;
35908 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35909 bool result;
35910 PyObject * obj0 = 0 ;
35911 char *kwnames[] = {
35912 (char *) "self", NULL
35913 };
35914
35915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
35916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35917 if (SWIG_arg_fail(1)) SWIG_fail;
35918 {
35919 PyThreadState* __tstate = wxPyBeginAllowThreads();
35920 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
35921
35922 wxPyEndAllowThreads(__tstate);
35923 if (PyErr_Occurred()) SWIG_fail;
35924 }
35925 {
35926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35927 }
35928 return resultobj;
35929 fail:
35930 return NULL;
35931 }
35932
35933
35934 static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
35935 PyObject *resultobj;
35936 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35937 wxFrame *arg2 = (wxFrame *) 0 ;
35938 PyObject * obj0 = 0 ;
35939 PyObject * obj1 = 0 ;
35940 char *kwnames[] = {
35941 (char *) "self",(char *) "frame", NULL
35942 };
35943
35944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
35945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35946 if (SWIG_arg_fail(1)) SWIG_fail;
35947 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
35948 if (SWIG_arg_fail(2)) SWIG_fail;
35949 {
35950 PyThreadState* __tstate = wxPyBeginAllowThreads();
35951 (arg1)->Attach(arg2);
35952
35953 wxPyEndAllowThreads(__tstate);
35954 if (PyErr_Occurred()) SWIG_fail;
35955 }
35956 Py_INCREF(Py_None); resultobj = Py_None;
35957 return resultobj;
35958 fail:
35959 return NULL;
35960 }
35961
35962
35963 static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
35964 PyObject *resultobj;
35965 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35966 PyObject * obj0 = 0 ;
35967 char *kwnames[] = {
35968 (char *) "self", NULL
35969 };
35970
35971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
35972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35973 if (SWIG_arg_fail(1)) SWIG_fail;
35974 {
35975 PyThreadState* __tstate = wxPyBeginAllowThreads();
35976 (arg1)->Detach();
35977
35978 wxPyEndAllowThreads(__tstate);
35979 if (PyErr_Occurred()) SWIG_fail;
35980 }
35981 Py_INCREF(Py_None); resultobj = Py_None;
35982 return resultobj;
35983 fail:
35984 return NULL;
35985 }
35986
35987
35988 static PyObject *_wrap_MenuBar_SetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
35989 PyObject *resultobj;
35990 bool arg1 ;
35991 PyObject * obj0 = 0 ;
35992 char *kwnames[] = {
35993 (char *) "enable", NULL
35994 };
35995
35996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames,&obj0)) goto fail;
35997 {
35998 arg1 = (bool)(SWIG_As_bool(obj0));
35999 if (SWIG_arg_fail(1)) SWIG_fail;
36000 }
36001 {
36002 PyThreadState* __tstate = wxPyBeginAllowThreads();
36003 MenuBar_SetAutoWindowMenu(arg1);
36004
36005 wxPyEndAllowThreads(__tstate);
36006 if (PyErr_Occurred()) SWIG_fail;
36007 }
36008 Py_INCREF(Py_None); resultobj = Py_None;
36009 return resultobj;
36010 fail:
36011 return NULL;
36012 }
36013
36014
36015 static PyObject *_wrap_MenuBar_GetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
36016 PyObject *resultobj;
36017 bool result;
36018 char *kwnames[] = {
36019 NULL
36020 };
36021
36022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuBar_GetAutoWindowMenu",kwnames)) goto fail;
36023 {
36024 PyThreadState* __tstate = wxPyBeginAllowThreads();
36025 result = (bool)MenuBar_GetAutoWindowMenu();
36026
36027 wxPyEndAllowThreads(__tstate);
36028 if (PyErr_Occurred()) SWIG_fail;
36029 }
36030 {
36031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36032 }
36033 return resultobj;
36034 fail:
36035 return NULL;
36036 }
36037
36038
36039 static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) {
36040 PyObject *obj;
36041 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36042 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
36043 Py_INCREF(obj);
36044 return Py_BuildValue((char *)"");
36045 }
36046 static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
36047 PyObject *resultobj;
36048 wxMenu *arg1 = (wxMenu *) NULL ;
36049 int arg2 = (int) wxID_ANY ;
36050 wxString const &arg3_defvalue = wxPyEmptyString ;
36051 wxString *arg3 = (wxString *) &arg3_defvalue ;
36052 wxString const &arg4_defvalue = wxPyEmptyString ;
36053 wxString *arg4 = (wxString *) &arg4_defvalue ;
36054 wxItemKind arg5 = (wxItemKind) wxITEM_NORMAL ;
36055 wxMenu *arg6 = (wxMenu *) NULL ;
36056 wxMenuItem *result;
36057 bool temp3 = false ;
36058 bool temp4 = false ;
36059 PyObject * obj0 = 0 ;
36060 PyObject * obj1 = 0 ;
36061 PyObject * obj2 = 0 ;
36062 PyObject * obj3 = 0 ;
36063 PyObject * obj4 = 0 ;
36064 PyObject * obj5 = 0 ;
36065 char *kwnames[] = {
36066 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
36067 };
36068
36069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36070 if (obj0) {
36071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
36072 if (SWIG_arg_fail(1)) SWIG_fail;
36073 }
36074 if (obj1) {
36075 {
36076 arg2 = (int)(SWIG_As_int(obj1));
36077 if (SWIG_arg_fail(2)) SWIG_fail;
36078 }
36079 }
36080 if (obj2) {
36081 {
36082 arg3 = wxString_in_helper(obj2);
36083 if (arg3 == NULL) SWIG_fail;
36084 temp3 = true;
36085 }
36086 }
36087 if (obj3) {
36088 {
36089 arg4 = wxString_in_helper(obj3);
36090 if (arg4 == NULL) SWIG_fail;
36091 temp4 = true;
36092 }
36093 }
36094 if (obj4) {
36095 {
36096 arg5 = (wxItemKind)(SWIG_As_int(obj4));
36097 if (SWIG_arg_fail(5)) SWIG_fail;
36098 }
36099 }
36100 if (obj5) {
36101 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
36102 if (SWIG_arg_fail(6)) SWIG_fail;
36103 }
36104 {
36105 PyThreadState* __tstate = wxPyBeginAllowThreads();
36106 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
36107
36108 wxPyEndAllowThreads(__tstate);
36109 if (PyErr_Occurred()) SWIG_fail;
36110 }
36111 {
36112 resultobj = wxPyMake_wxObject(result, 1);
36113 }
36114 {
36115 if (temp3)
36116 delete arg3;
36117 }
36118 {
36119 if (temp4)
36120 delete arg4;
36121 }
36122 return resultobj;
36123 fail:
36124 {
36125 if (temp3)
36126 delete arg3;
36127 }
36128 {
36129 if (temp4)
36130 delete arg4;
36131 }
36132 return NULL;
36133 }
36134
36135
36136 static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
36137 PyObject *resultobj;
36138 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36139 wxMenu *result;
36140 PyObject * obj0 = 0 ;
36141 char *kwnames[] = {
36142 (char *) "self", NULL
36143 };
36144
36145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
36146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36147 if (SWIG_arg_fail(1)) SWIG_fail;
36148 {
36149 PyThreadState* __tstate = wxPyBeginAllowThreads();
36150 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
36151
36152 wxPyEndAllowThreads(__tstate);
36153 if (PyErr_Occurred()) SWIG_fail;
36154 }
36155 {
36156 resultobj = wxPyMake_wxObject(result, 0);
36157 }
36158 return resultobj;
36159 fail:
36160 return NULL;
36161 }
36162
36163
36164 static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
36165 PyObject *resultobj;
36166 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36167 wxMenu *arg2 = (wxMenu *) 0 ;
36168 PyObject * obj0 = 0 ;
36169 PyObject * obj1 = 0 ;
36170 char *kwnames[] = {
36171 (char *) "self",(char *) "menu", NULL
36172 };
36173
36174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
36175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36176 if (SWIG_arg_fail(1)) SWIG_fail;
36177 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
36178 if (SWIG_arg_fail(2)) SWIG_fail;
36179 {
36180 PyThreadState* __tstate = wxPyBeginAllowThreads();
36181 (arg1)->SetMenu(arg2);
36182
36183 wxPyEndAllowThreads(__tstate);
36184 if (PyErr_Occurred()) SWIG_fail;
36185 }
36186 Py_INCREF(Py_None); resultobj = Py_None;
36187 return resultobj;
36188 fail:
36189 return NULL;
36190 }
36191
36192
36193 static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
36194 PyObject *resultobj;
36195 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36196 int arg2 ;
36197 PyObject * obj0 = 0 ;
36198 PyObject * obj1 = 0 ;
36199 char *kwnames[] = {
36200 (char *) "self",(char *) "id", NULL
36201 };
36202
36203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
36204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36205 if (SWIG_arg_fail(1)) SWIG_fail;
36206 {
36207 arg2 = (int)(SWIG_As_int(obj1));
36208 if (SWIG_arg_fail(2)) SWIG_fail;
36209 }
36210 {
36211 PyThreadState* __tstate = wxPyBeginAllowThreads();
36212 (arg1)->SetId(arg2);
36213
36214 wxPyEndAllowThreads(__tstate);
36215 if (PyErr_Occurred()) SWIG_fail;
36216 }
36217 Py_INCREF(Py_None); resultobj = Py_None;
36218 return resultobj;
36219 fail:
36220 return NULL;
36221 }
36222
36223
36224 static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
36225 PyObject *resultobj;
36226 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36227 int result;
36228 PyObject * obj0 = 0 ;
36229 char *kwnames[] = {
36230 (char *) "self", NULL
36231 };
36232
36233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
36234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36235 if (SWIG_arg_fail(1)) SWIG_fail;
36236 {
36237 PyThreadState* __tstate = wxPyBeginAllowThreads();
36238 result = (int)((wxMenuItem const *)arg1)->GetId();
36239
36240 wxPyEndAllowThreads(__tstate);
36241 if (PyErr_Occurred()) SWIG_fail;
36242 }
36243 {
36244 resultobj = SWIG_From_int((int)(result));
36245 }
36246 return resultobj;
36247 fail:
36248 return NULL;
36249 }
36250
36251
36252 static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
36253 PyObject *resultobj;
36254 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36255 bool result;
36256 PyObject * obj0 = 0 ;
36257 char *kwnames[] = {
36258 (char *) "self", NULL
36259 };
36260
36261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
36262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36263 if (SWIG_arg_fail(1)) SWIG_fail;
36264 {
36265 PyThreadState* __tstate = wxPyBeginAllowThreads();
36266 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
36267
36268 wxPyEndAllowThreads(__tstate);
36269 if (PyErr_Occurred()) SWIG_fail;
36270 }
36271 {
36272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36273 }
36274 return resultobj;
36275 fail:
36276 return NULL;
36277 }
36278
36279
36280 static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
36281 PyObject *resultobj;
36282 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36283 wxString *arg2 = 0 ;
36284 bool temp2 = false ;
36285 PyObject * obj0 = 0 ;
36286 PyObject * obj1 = 0 ;
36287 char *kwnames[] = {
36288 (char *) "self",(char *) "str", NULL
36289 };
36290
36291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
36292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36293 if (SWIG_arg_fail(1)) SWIG_fail;
36294 {
36295 arg2 = wxString_in_helper(obj1);
36296 if (arg2 == NULL) SWIG_fail;
36297 temp2 = true;
36298 }
36299 {
36300 PyThreadState* __tstate = wxPyBeginAllowThreads();
36301 (arg1)->SetText((wxString const &)*arg2);
36302
36303 wxPyEndAllowThreads(__tstate);
36304 if (PyErr_Occurred()) SWIG_fail;
36305 }
36306 Py_INCREF(Py_None); resultobj = Py_None;
36307 {
36308 if (temp2)
36309 delete arg2;
36310 }
36311 return resultobj;
36312 fail:
36313 {
36314 if (temp2)
36315 delete arg2;
36316 }
36317 return NULL;
36318 }
36319
36320
36321 static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
36322 PyObject *resultobj;
36323 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36324 wxString result;
36325 PyObject * obj0 = 0 ;
36326 char *kwnames[] = {
36327 (char *) "self", NULL
36328 };
36329
36330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
36331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36332 if (SWIG_arg_fail(1)) SWIG_fail;
36333 {
36334 PyThreadState* __tstate = wxPyBeginAllowThreads();
36335 result = ((wxMenuItem const *)arg1)->GetLabel();
36336
36337 wxPyEndAllowThreads(__tstate);
36338 if (PyErr_Occurred()) SWIG_fail;
36339 }
36340 {
36341 #if wxUSE_UNICODE
36342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
36343 #else
36344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
36345 #endif
36346 }
36347 return resultobj;
36348 fail:
36349 return NULL;
36350 }
36351
36352
36353 static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
36354 PyObject *resultobj;
36355 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36356 wxString *result;
36357 PyObject * obj0 = 0 ;
36358 char *kwnames[] = {
36359 (char *) "self", NULL
36360 };
36361
36362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
36363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36364 if (SWIG_arg_fail(1)) SWIG_fail;
36365 {
36366 PyThreadState* __tstate = wxPyBeginAllowThreads();
36367 {
36368 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
36369 result = (wxString *) &_result_ref;
36370 }
36371
36372 wxPyEndAllowThreads(__tstate);
36373 if (PyErr_Occurred()) SWIG_fail;
36374 }
36375 {
36376 #if wxUSE_UNICODE
36377 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
36378 #else
36379 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
36380 #endif
36381 }
36382 return resultobj;
36383 fail:
36384 return NULL;
36385 }
36386
36387
36388 static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) {
36389 PyObject *resultobj;
36390 wxString *arg1 = 0 ;
36391 wxString result;
36392 bool temp1 = false ;
36393 PyObject * obj0 = 0 ;
36394 char *kwnames[] = {
36395 (char *) "text", NULL
36396 };
36397
36398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
36399 {
36400 arg1 = wxString_in_helper(obj0);
36401 if (arg1 == NULL) SWIG_fail;
36402 temp1 = true;
36403 }
36404 {
36405 PyThreadState* __tstate = wxPyBeginAllowThreads();
36406 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
36407
36408 wxPyEndAllowThreads(__tstate);
36409 if (PyErr_Occurred()) SWIG_fail;
36410 }
36411 {
36412 #if wxUSE_UNICODE
36413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
36414 #else
36415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
36416 #endif
36417 }
36418 {
36419 if (temp1)
36420 delete arg1;
36421 }
36422 return resultobj;
36423 fail:
36424 {
36425 if (temp1)
36426 delete arg1;
36427 }
36428 return NULL;
36429 }
36430
36431
36432 static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
36433 PyObject *resultobj;
36434 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36435 wxItemKind result;
36436 PyObject * obj0 = 0 ;
36437 char *kwnames[] = {
36438 (char *) "self", NULL
36439 };
36440
36441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
36442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36443 if (SWIG_arg_fail(1)) SWIG_fail;
36444 {
36445 PyThreadState* __tstate = wxPyBeginAllowThreads();
36446 result = (wxItemKind)((wxMenuItem const *)arg1)->GetKind();
36447
36448 wxPyEndAllowThreads(__tstate);
36449 if (PyErr_Occurred()) SWIG_fail;
36450 }
36451 resultobj = SWIG_From_int((result));
36452 return resultobj;
36453 fail:
36454 return NULL;
36455 }
36456
36457
36458 static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) {
36459 PyObject *resultobj;
36460 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36461 wxItemKind arg2 ;
36462 PyObject * obj0 = 0 ;
36463 PyObject * obj1 = 0 ;
36464 char *kwnames[] = {
36465 (char *) "self",(char *) "kind", NULL
36466 };
36467
36468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
36469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36470 if (SWIG_arg_fail(1)) SWIG_fail;
36471 {
36472 arg2 = (wxItemKind)(SWIG_As_int(obj1));
36473 if (SWIG_arg_fail(2)) SWIG_fail;
36474 }
36475 {
36476 PyThreadState* __tstate = wxPyBeginAllowThreads();
36477 (arg1)->SetKind((wxItemKind )arg2);
36478
36479 wxPyEndAllowThreads(__tstate);
36480 if (PyErr_Occurred()) SWIG_fail;
36481 }
36482 Py_INCREF(Py_None); resultobj = Py_None;
36483 return resultobj;
36484 fail:
36485 return NULL;
36486 }
36487
36488
36489 static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
36490 PyObject *resultobj;
36491 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36492 bool arg2 ;
36493 PyObject * obj0 = 0 ;
36494 PyObject * obj1 = 0 ;
36495 char *kwnames[] = {
36496 (char *) "self",(char *) "checkable", NULL
36497 };
36498
36499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
36500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36501 if (SWIG_arg_fail(1)) SWIG_fail;
36502 {
36503 arg2 = (bool)(SWIG_As_bool(obj1));
36504 if (SWIG_arg_fail(2)) SWIG_fail;
36505 }
36506 {
36507 PyThreadState* __tstate = wxPyBeginAllowThreads();
36508 (arg1)->SetCheckable(arg2);
36509
36510 wxPyEndAllowThreads(__tstate);
36511 if (PyErr_Occurred()) SWIG_fail;
36512 }
36513 Py_INCREF(Py_None); resultobj = Py_None;
36514 return resultobj;
36515 fail:
36516 return NULL;
36517 }
36518
36519
36520 static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
36521 PyObject *resultobj;
36522 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36523 bool result;
36524 PyObject * obj0 = 0 ;
36525 char *kwnames[] = {
36526 (char *) "self", NULL
36527 };
36528
36529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
36530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36531 if (SWIG_arg_fail(1)) SWIG_fail;
36532 {
36533 PyThreadState* __tstate = wxPyBeginAllowThreads();
36534 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
36535
36536 wxPyEndAllowThreads(__tstate);
36537 if (PyErr_Occurred()) SWIG_fail;
36538 }
36539 {
36540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36541 }
36542 return resultobj;
36543 fail:
36544 return NULL;
36545 }
36546
36547
36548 static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
36549 PyObject *resultobj;
36550 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36551 bool result;
36552 PyObject * obj0 = 0 ;
36553 char *kwnames[] = {
36554 (char *) "self", NULL
36555 };
36556
36557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
36558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36559 if (SWIG_arg_fail(1)) SWIG_fail;
36560 {
36561 PyThreadState* __tstate = wxPyBeginAllowThreads();
36562 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
36563
36564 wxPyEndAllowThreads(__tstate);
36565 if (PyErr_Occurred()) SWIG_fail;
36566 }
36567 {
36568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36569 }
36570 return resultobj;
36571 fail:
36572 return NULL;
36573 }
36574
36575
36576 static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
36577 PyObject *resultobj;
36578 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36579 wxMenu *arg2 = (wxMenu *) 0 ;
36580 PyObject * obj0 = 0 ;
36581 PyObject * obj1 = 0 ;
36582 char *kwnames[] = {
36583 (char *) "self",(char *) "menu", NULL
36584 };
36585
36586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
36587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36588 if (SWIG_arg_fail(1)) SWIG_fail;
36589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
36590 if (SWIG_arg_fail(2)) SWIG_fail;
36591 {
36592 PyThreadState* __tstate = wxPyBeginAllowThreads();
36593 (arg1)->SetSubMenu(arg2);
36594
36595 wxPyEndAllowThreads(__tstate);
36596 if (PyErr_Occurred()) SWIG_fail;
36597 }
36598 Py_INCREF(Py_None); resultobj = Py_None;
36599 return resultobj;
36600 fail:
36601 return NULL;
36602 }
36603
36604
36605 static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
36606 PyObject *resultobj;
36607 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36608 wxMenu *result;
36609 PyObject * obj0 = 0 ;
36610 char *kwnames[] = {
36611 (char *) "self", NULL
36612 };
36613
36614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
36615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36616 if (SWIG_arg_fail(1)) SWIG_fail;
36617 {
36618 PyThreadState* __tstate = wxPyBeginAllowThreads();
36619 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
36620
36621 wxPyEndAllowThreads(__tstate);
36622 if (PyErr_Occurred()) SWIG_fail;
36623 }
36624 {
36625 resultobj = wxPyMake_wxObject(result, 0);
36626 }
36627 return resultobj;
36628 fail:
36629 return NULL;
36630 }
36631
36632
36633 static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
36634 PyObject *resultobj;
36635 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36636 bool arg2 = (bool) true ;
36637 PyObject * obj0 = 0 ;
36638 PyObject * obj1 = 0 ;
36639 char *kwnames[] = {
36640 (char *) "self",(char *) "enable", NULL
36641 };
36642
36643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
36644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36645 if (SWIG_arg_fail(1)) SWIG_fail;
36646 if (obj1) {
36647 {
36648 arg2 = (bool)(SWIG_As_bool(obj1));
36649 if (SWIG_arg_fail(2)) SWIG_fail;
36650 }
36651 }
36652 {
36653 PyThreadState* __tstate = wxPyBeginAllowThreads();
36654 (arg1)->Enable(arg2);
36655
36656 wxPyEndAllowThreads(__tstate);
36657 if (PyErr_Occurred()) SWIG_fail;
36658 }
36659 Py_INCREF(Py_None); resultobj = Py_None;
36660 return resultobj;
36661 fail:
36662 return NULL;
36663 }
36664
36665
36666 static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
36667 PyObject *resultobj;
36668 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36669 bool result;
36670 PyObject * obj0 = 0 ;
36671 char *kwnames[] = {
36672 (char *) "self", NULL
36673 };
36674
36675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
36676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36677 if (SWIG_arg_fail(1)) SWIG_fail;
36678 {
36679 PyThreadState* __tstate = wxPyBeginAllowThreads();
36680 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
36681
36682 wxPyEndAllowThreads(__tstate);
36683 if (PyErr_Occurred()) SWIG_fail;
36684 }
36685 {
36686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36687 }
36688 return resultobj;
36689 fail:
36690 return NULL;
36691 }
36692
36693
36694 static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
36695 PyObject *resultobj;
36696 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36697 bool arg2 = (bool) true ;
36698 PyObject * obj0 = 0 ;
36699 PyObject * obj1 = 0 ;
36700 char *kwnames[] = {
36701 (char *) "self",(char *) "check", NULL
36702 };
36703
36704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
36705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36706 if (SWIG_arg_fail(1)) SWIG_fail;
36707 if (obj1) {
36708 {
36709 arg2 = (bool)(SWIG_As_bool(obj1));
36710 if (SWIG_arg_fail(2)) SWIG_fail;
36711 }
36712 }
36713 {
36714 PyThreadState* __tstate = wxPyBeginAllowThreads();
36715 (arg1)->Check(arg2);
36716
36717 wxPyEndAllowThreads(__tstate);
36718 if (PyErr_Occurred()) SWIG_fail;
36719 }
36720 Py_INCREF(Py_None); resultobj = Py_None;
36721 return resultobj;
36722 fail:
36723 return NULL;
36724 }
36725
36726
36727 static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
36728 PyObject *resultobj;
36729 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36730 bool result;
36731 PyObject * obj0 = 0 ;
36732 char *kwnames[] = {
36733 (char *) "self", NULL
36734 };
36735
36736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
36737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36738 if (SWIG_arg_fail(1)) SWIG_fail;
36739 {
36740 PyThreadState* __tstate = wxPyBeginAllowThreads();
36741 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
36742
36743 wxPyEndAllowThreads(__tstate);
36744 if (PyErr_Occurred()) SWIG_fail;
36745 }
36746 {
36747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36748 }
36749 return resultobj;
36750 fail:
36751 return NULL;
36752 }
36753
36754
36755 static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
36756 PyObject *resultobj;
36757 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36758 PyObject * obj0 = 0 ;
36759 char *kwnames[] = {
36760 (char *) "self", NULL
36761 };
36762
36763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
36764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36765 if (SWIG_arg_fail(1)) SWIG_fail;
36766 {
36767 PyThreadState* __tstate = wxPyBeginAllowThreads();
36768 (arg1)->Toggle();
36769
36770 wxPyEndAllowThreads(__tstate);
36771 if (PyErr_Occurred()) SWIG_fail;
36772 }
36773 Py_INCREF(Py_None); resultobj = Py_None;
36774 return resultobj;
36775 fail:
36776 return NULL;
36777 }
36778
36779
36780 static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
36781 PyObject *resultobj;
36782 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36783 wxString *arg2 = 0 ;
36784 bool temp2 = false ;
36785 PyObject * obj0 = 0 ;
36786 PyObject * obj1 = 0 ;
36787 char *kwnames[] = {
36788 (char *) "self",(char *) "str", NULL
36789 };
36790
36791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
36792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36793 if (SWIG_arg_fail(1)) SWIG_fail;
36794 {
36795 arg2 = wxString_in_helper(obj1);
36796 if (arg2 == NULL) SWIG_fail;
36797 temp2 = true;
36798 }
36799 {
36800 PyThreadState* __tstate = wxPyBeginAllowThreads();
36801 (arg1)->SetHelp((wxString const &)*arg2);
36802
36803 wxPyEndAllowThreads(__tstate);
36804 if (PyErr_Occurred()) SWIG_fail;
36805 }
36806 Py_INCREF(Py_None); resultobj = Py_None;
36807 {
36808 if (temp2)
36809 delete arg2;
36810 }
36811 return resultobj;
36812 fail:
36813 {
36814 if (temp2)
36815 delete arg2;
36816 }
36817 return NULL;
36818 }
36819
36820
36821 static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
36822 PyObject *resultobj;
36823 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36824 wxString *result;
36825 PyObject * obj0 = 0 ;
36826 char *kwnames[] = {
36827 (char *) "self", NULL
36828 };
36829
36830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
36831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36832 if (SWIG_arg_fail(1)) SWIG_fail;
36833 {
36834 PyThreadState* __tstate = wxPyBeginAllowThreads();
36835 {
36836 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
36837 result = (wxString *) &_result_ref;
36838 }
36839
36840 wxPyEndAllowThreads(__tstate);
36841 if (PyErr_Occurred()) SWIG_fail;
36842 }
36843 {
36844 #if wxUSE_UNICODE
36845 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
36846 #else
36847 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
36848 #endif
36849 }
36850 return resultobj;
36851 fail:
36852 return NULL;
36853 }
36854
36855
36856 static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
36857 PyObject *resultobj;
36858 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36859 wxAcceleratorEntry *result;
36860 PyObject * obj0 = 0 ;
36861 char *kwnames[] = {
36862 (char *) "self", NULL
36863 };
36864
36865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
36866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36867 if (SWIG_arg_fail(1)) SWIG_fail;
36868 {
36869 PyThreadState* __tstate = wxPyBeginAllowThreads();
36870 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
36871
36872 wxPyEndAllowThreads(__tstate);
36873 if (PyErr_Occurred()) SWIG_fail;
36874 }
36875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
36876 return resultobj;
36877 fail:
36878 return NULL;
36879 }
36880
36881
36882 static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
36883 PyObject *resultobj;
36884 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36885 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
36886 PyObject * obj0 = 0 ;
36887 PyObject * obj1 = 0 ;
36888 char *kwnames[] = {
36889 (char *) "self",(char *) "accel", NULL
36890 };
36891
36892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
36893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36894 if (SWIG_arg_fail(1)) SWIG_fail;
36895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
36896 if (SWIG_arg_fail(2)) SWIG_fail;
36897 {
36898 PyThreadState* __tstate = wxPyBeginAllowThreads();
36899 (arg1)->SetAccel(arg2);
36900
36901 wxPyEndAllowThreads(__tstate);
36902 if (PyErr_Occurred()) SWIG_fail;
36903 }
36904 Py_INCREF(Py_None); resultobj = Py_None;
36905 return resultobj;
36906 fail:
36907 return NULL;
36908 }
36909
36910
36911 static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
36912 PyObject *resultobj;
36913 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36914 wxFont *arg2 = 0 ;
36915 PyObject * obj0 = 0 ;
36916 PyObject * obj1 = 0 ;
36917 char *kwnames[] = {
36918 (char *) "self",(char *) "font", NULL
36919 };
36920
36921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
36922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36923 if (SWIG_arg_fail(1)) SWIG_fail;
36924 {
36925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
36926 if (SWIG_arg_fail(2)) SWIG_fail;
36927 if (arg2 == NULL) {
36928 SWIG_null_ref("wxFont");
36929 }
36930 if (SWIG_arg_fail(2)) SWIG_fail;
36931 }
36932 {
36933 PyThreadState* __tstate = wxPyBeginAllowThreads();
36934 (arg1)->SetFont((wxFont const &)*arg2);
36935
36936 wxPyEndAllowThreads(__tstate);
36937 if (PyErr_Occurred()) SWIG_fail;
36938 }
36939 Py_INCREF(Py_None); resultobj = Py_None;
36940 return resultobj;
36941 fail:
36942 return NULL;
36943 }
36944
36945
36946 static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
36947 PyObject *resultobj;
36948 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36949 wxFont result;
36950 PyObject * obj0 = 0 ;
36951 char *kwnames[] = {
36952 (char *) "self", NULL
36953 };
36954
36955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail;
36956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36957 if (SWIG_arg_fail(1)) SWIG_fail;
36958 {
36959 PyThreadState* __tstate = wxPyBeginAllowThreads();
36960 result = (arg1)->GetFont();
36961
36962 wxPyEndAllowThreads(__tstate);
36963 if (PyErr_Occurred()) SWIG_fail;
36964 }
36965 {
36966 wxFont * resultptr;
36967 resultptr = new wxFont((wxFont &)(result));
36968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
36969 }
36970 return resultobj;
36971 fail:
36972 return NULL;
36973 }
36974
36975
36976 static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
36977 PyObject *resultobj;
36978 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36979 wxColour *arg2 = 0 ;
36980 wxColour temp2 ;
36981 PyObject * obj0 = 0 ;
36982 PyObject * obj1 = 0 ;
36983 char *kwnames[] = {
36984 (char *) "self",(char *) "colText", NULL
36985 };
36986
36987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36989 if (SWIG_arg_fail(1)) SWIG_fail;
36990 {
36991 arg2 = &temp2;
36992 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
36993 }
36994 {
36995 PyThreadState* __tstate = wxPyBeginAllowThreads();
36996 (arg1)->SetTextColour((wxColour const &)*arg2);
36997
36998 wxPyEndAllowThreads(__tstate);
36999 if (PyErr_Occurred()) SWIG_fail;
37000 }
37001 Py_INCREF(Py_None); resultobj = Py_None;
37002 return resultobj;
37003 fail:
37004 return NULL;
37005 }
37006
37007
37008 static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
37009 PyObject *resultobj;
37010 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37011 wxColour result;
37012 PyObject * obj0 = 0 ;
37013 char *kwnames[] = {
37014 (char *) "self", NULL
37015 };
37016
37017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail;
37018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37019 if (SWIG_arg_fail(1)) SWIG_fail;
37020 {
37021 PyThreadState* __tstate = wxPyBeginAllowThreads();
37022 result = (arg1)->GetTextColour();
37023
37024 wxPyEndAllowThreads(__tstate);
37025 if (PyErr_Occurred()) SWIG_fail;
37026 }
37027 {
37028 wxColour * resultptr;
37029 resultptr = new wxColour((wxColour &)(result));
37030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
37031 }
37032 return resultobj;
37033 fail:
37034 return NULL;
37035 }
37036
37037
37038 static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
37039 PyObject *resultobj;
37040 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37041 wxColour *arg2 = 0 ;
37042 wxColour temp2 ;
37043 PyObject * obj0 = 0 ;
37044 PyObject * obj1 = 0 ;
37045 char *kwnames[] = {
37046 (char *) "self",(char *) "colBack", NULL
37047 };
37048
37049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
37050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37051 if (SWIG_arg_fail(1)) SWIG_fail;
37052 {
37053 arg2 = &temp2;
37054 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
37055 }
37056 {
37057 PyThreadState* __tstate = wxPyBeginAllowThreads();
37058 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
37059
37060 wxPyEndAllowThreads(__tstate);
37061 if (PyErr_Occurred()) SWIG_fail;
37062 }
37063 Py_INCREF(Py_None); resultobj = Py_None;
37064 return resultobj;
37065 fail:
37066 return NULL;
37067 }
37068
37069
37070 static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
37071 PyObject *resultobj;
37072 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37073 wxColour result;
37074 PyObject * obj0 = 0 ;
37075 char *kwnames[] = {
37076 (char *) "self", NULL
37077 };
37078
37079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
37080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37081 if (SWIG_arg_fail(1)) SWIG_fail;
37082 {
37083 PyThreadState* __tstate = wxPyBeginAllowThreads();
37084 result = (arg1)->GetBackgroundColour();
37085
37086 wxPyEndAllowThreads(__tstate);
37087 if (PyErr_Occurred()) SWIG_fail;
37088 }
37089 {
37090 wxColour * resultptr;
37091 resultptr = new wxColour((wxColour &)(result));
37092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
37093 }
37094 return resultobj;
37095 fail:
37096 return NULL;
37097 }
37098
37099
37100 static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject *kwargs) {
37101 PyObject *resultobj;
37102 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37103 wxBitmap *arg2 = 0 ;
37104 wxBitmap const &arg3_defvalue = wxNullBitmap ;
37105 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
37106 PyObject * obj0 = 0 ;
37107 PyObject * obj1 = 0 ;
37108 PyObject * obj2 = 0 ;
37109 char *kwnames[] = {
37110 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37111 };
37112
37113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail;
37114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37115 if (SWIG_arg_fail(1)) SWIG_fail;
37116 {
37117 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
37118 if (SWIG_arg_fail(2)) SWIG_fail;
37119 if (arg2 == NULL) {
37120 SWIG_null_ref("wxBitmap");
37121 }
37122 if (SWIG_arg_fail(2)) SWIG_fail;
37123 }
37124 if (obj2) {
37125 {
37126 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
37127 if (SWIG_arg_fail(3)) SWIG_fail;
37128 if (arg3 == NULL) {
37129 SWIG_null_ref("wxBitmap");
37130 }
37131 if (SWIG_arg_fail(3)) SWIG_fail;
37132 }
37133 }
37134 {
37135 PyThreadState* __tstate = wxPyBeginAllowThreads();
37136 (arg1)->SetBitmaps((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
37137
37138 wxPyEndAllowThreads(__tstate);
37139 if (PyErr_Occurred()) SWIG_fail;
37140 }
37141 Py_INCREF(Py_None); resultobj = Py_None;
37142 return resultobj;
37143 fail:
37144 return NULL;
37145 }
37146
37147
37148 static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
37149 PyObject *resultobj;
37150 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37151 wxBitmap *arg2 = 0 ;
37152 PyObject * obj0 = 0 ;
37153 PyObject * obj1 = 0 ;
37154 char *kwnames[] = {
37155 (char *) "self",(char *) "bmpDisabled", NULL
37156 };
37157
37158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
37159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37160 if (SWIG_arg_fail(1)) SWIG_fail;
37161 {
37162 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
37163 if (SWIG_arg_fail(2)) SWIG_fail;
37164 if (arg2 == NULL) {
37165 SWIG_null_ref("wxBitmap");
37166 }
37167 if (SWIG_arg_fail(2)) SWIG_fail;
37168 }
37169 {
37170 PyThreadState* __tstate = wxPyBeginAllowThreads();
37171 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
37172
37173 wxPyEndAllowThreads(__tstate);
37174 if (PyErr_Occurred()) SWIG_fail;
37175 }
37176 Py_INCREF(Py_None); resultobj = Py_None;
37177 return resultobj;
37178 fail:
37179 return NULL;
37180 }
37181
37182
37183 static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
37184 PyObject *resultobj;
37185 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37186 wxBitmap *result;
37187 PyObject * obj0 = 0 ;
37188 char *kwnames[] = {
37189 (char *) "self", NULL
37190 };
37191
37192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail;
37193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37194 if (SWIG_arg_fail(1)) SWIG_fail;
37195 {
37196 PyThreadState* __tstate = wxPyBeginAllowThreads();
37197 {
37198 wxBitmap const &_result_ref = ((wxMenuItem const *)arg1)->GetDisabledBitmap();
37199 result = (wxBitmap *) &_result_ref;
37200 }
37201
37202 wxPyEndAllowThreads(__tstate);
37203 if (PyErr_Occurred()) SWIG_fail;
37204 }
37205 {
37206 wxBitmap* resultptr = new wxBitmap(*result);
37207 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
37208 }
37209 return resultobj;
37210 fail:
37211 return NULL;
37212 }
37213
37214
37215 static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
37216 PyObject *resultobj;
37217 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37218 int arg2 ;
37219 PyObject * obj0 = 0 ;
37220 PyObject * obj1 = 0 ;
37221 char *kwnames[] = {
37222 (char *) "self",(char *) "nWidth", NULL
37223 };
37224
37225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
37226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37227 if (SWIG_arg_fail(1)) SWIG_fail;
37228 {
37229 arg2 = (int)(SWIG_As_int(obj1));
37230 if (SWIG_arg_fail(2)) SWIG_fail;
37231 }
37232 {
37233 PyThreadState* __tstate = wxPyBeginAllowThreads();
37234 (arg1)->SetMarginWidth(arg2);
37235
37236 wxPyEndAllowThreads(__tstate);
37237 if (PyErr_Occurred()) SWIG_fail;
37238 }
37239 Py_INCREF(Py_None); resultobj = Py_None;
37240 return resultobj;
37241 fail:
37242 return NULL;
37243 }
37244
37245
37246 static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
37247 PyObject *resultobj;
37248 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37249 int result;
37250 PyObject * obj0 = 0 ;
37251 char *kwnames[] = {
37252 (char *) "self", NULL
37253 };
37254
37255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail;
37256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37257 if (SWIG_arg_fail(1)) SWIG_fail;
37258 {
37259 PyThreadState* __tstate = wxPyBeginAllowThreads();
37260 result = (int)(arg1)->GetMarginWidth();
37261
37262 wxPyEndAllowThreads(__tstate);
37263 if (PyErr_Occurred()) SWIG_fail;
37264 }
37265 {
37266 resultobj = SWIG_From_int((int)(result));
37267 }
37268 return resultobj;
37269 fail:
37270 return NULL;
37271 }
37272
37273
37274 static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
37275 PyObject *resultobj;
37276 int result;
37277 char *kwnames[] = {
37278 NULL
37279 };
37280
37281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
37282 {
37283 PyThreadState* __tstate = wxPyBeginAllowThreads();
37284 result = (int)wxMenuItem::GetDefaultMarginWidth();
37285
37286 wxPyEndAllowThreads(__tstate);
37287 if (PyErr_Occurred()) SWIG_fail;
37288 }
37289 {
37290 resultobj = SWIG_From_int((int)(result));
37291 }
37292 return resultobj;
37293 fail:
37294 return NULL;
37295 }
37296
37297
37298 static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
37299 PyObject *resultobj;
37300 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37301 bool result;
37302 PyObject * obj0 = 0 ;
37303 char *kwnames[] = {
37304 (char *) "self", NULL
37305 };
37306
37307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail;
37308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37309 if (SWIG_arg_fail(1)) SWIG_fail;
37310 {
37311 PyThreadState* __tstate = wxPyBeginAllowThreads();
37312 result = (bool)(arg1)->IsOwnerDrawn();
37313
37314 wxPyEndAllowThreads(__tstate);
37315 if (PyErr_Occurred()) SWIG_fail;
37316 }
37317 {
37318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37319 }
37320 return resultobj;
37321 fail:
37322 return NULL;
37323 }
37324
37325
37326 static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
37327 PyObject *resultobj;
37328 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37329 bool arg2 = (bool) true ;
37330 PyObject * obj0 = 0 ;
37331 PyObject * obj1 = 0 ;
37332 char *kwnames[] = {
37333 (char *) "self",(char *) "ownerDrawn", NULL
37334 };
37335
37336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail;
37337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37338 if (SWIG_arg_fail(1)) SWIG_fail;
37339 if (obj1) {
37340 {
37341 arg2 = (bool)(SWIG_As_bool(obj1));
37342 if (SWIG_arg_fail(2)) SWIG_fail;
37343 }
37344 }
37345 {
37346 PyThreadState* __tstate = wxPyBeginAllowThreads();
37347 (arg1)->SetOwnerDrawn(arg2);
37348
37349 wxPyEndAllowThreads(__tstate);
37350 if (PyErr_Occurred()) SWIG_fail;
37351 }
37352 Py_INCREF(Py_None); resultobj = Py_None;
37353 return resultobj;
37354 fail:
37355 return NULL;
37356 }
37357
37358
37359 static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
37360 PyObject *resultobj;
37361 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37362 PyObject * obj0 = 0 ;
37363 char *kwnames[] = {
37364 (char *) "self", NULL
37365 };
37366
37367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail;
37368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37369 if (SWIG_arg_fail(1)) SWIG_fail;
37370 {
37371 PyThreadState* __tstate = wxPyBeginAllowThreads();
37372 (arg1)->ResetOwnerDrawn();
37373
37374 wxPyEndAllowThreads(__tstate);
37375 if (PyErr_Occurred()) SWIG_fail;
37376 }
37377 Py_INCREF(Py_None); resultobj = Py_None;
37378 return resultobj;
37379 fail:
37380 return NULL;
37381 }
37382
37383
37384 static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
37385 PyObject *resultobj;
37386 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37387 wxBitmap *arg2 = 0 ;
37388 PyObject * obj0 = 0 ;
37389 PyObject * obj1 = 0 ;
37390 char *kwnames[] = {
37391 (char *) "self",(char *) "bitmap", NULL
37392 };
37393
37394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
37395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37396 if (SWIG_arg_fail(1)) SWIG_fail;
37397 {
37398 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
37399 if (SWIG_arg_fail(2)) SWIG_fail;
37400 if (arg2 == NULL) {
37401 SWIG_null_ref("wxBitmap");
37402 }
37403 if (SWIG_arg_fail(2)) SWIG_fail;
37404 }
37405 {
37406 PyThreadState* __tstate = wxPyBeginAllowThreads();
37407 (arg1)->SetBitmap((wxBitmap const &)*arg2);
37408
37409 wxPyEndAllowThreads(__tstate);
37410 if (PyErr_Occurred()) SWIG_fail;
37411 }
37412 Py_INCREF(Py_None); resultobj = Py_None;
37413 return resultobj;
37414 fail:
37415 return NULL;
37416 }
37417
37418
37419 static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
37420 PyObject *resultobj;
37421 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37422 wxBitmap *result;
37423 PyObject * obj0 = 0 ;
37424 char *kwnames[] = {
37425 (char *) "self", NULL
37426 };
37427
37428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
37429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37430 if (SWIG_arg_fail(1)) SWIG_fail;
37431 {
37432 PyThreadState* __tstate = wxPyBeginAllowThreads();
37433 {
37434 wxBitmap const &_result_ref = (arg1)->GetBitmap();
37435 result = (wxBitmap *) &_result_ref;
37436 }
37437
37438 wxPyEndAllowThreads(__tstate);
37439 if (PyErr_Occurred()) SWIG_fail;
37440 }
37441 {
37442 wxBitmap* resultptr = new wxBitmap(*result);
37443 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
37444 }
37445 return resultobj;
37446 fail:
37447 return NULL;
37448 }
37449
37450
37451 static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
37452 PyObject *obj;
37453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37454 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
37455 Py_INCREF(obj);
37456 return Py_BuildValue((char *)"");
37457 }
37458 static int _wrap_ControlNameStr_set(PyObject *) {
37459 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
37460 return 1;
37461 }
37462
37463
37464 static PyObject *_wrap_ControlNameStr_get(void) {
37465 PyObject *pyobj;
37466
37467 {
37468 #if wxUSE_UNICODE
37469 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
37470 #else
37471 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
37472 #endif
37473 }
37474 return pyobj;
37475 }
37476
37477
37478 static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) {
37479 PyObject *resultobj;
37480 wxWindow *arg1 = (wxWindow *) 0 ;
37481 int arg2 = (int) -1 ;
37482 wxPoint const &arg3_defvalue = wxDefaultPosition ;
37483 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
37484 wxSize const &arg4_defvalue = wxDefaultSize ;
37485 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
37486 long arg5 = (long) 0 ;
37487 wxValidator const &arg6_defvalue = wxDefaultValidator ;
37488 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
37489 wxString const &arg7_defvalue = wxPyControlNameStr ;
37490 wxString *arg7 = (wxString *) &arg7_defvalue ;
37491 wxControl *result;
37492 wxPoint temp3 ;
37493 wxSize temp4 ;
37494 bool temp7 = false ;
37495 PyObject * obj0 = 0 ;
37496 PyObject * obj1 = 0 ;
37497 PyObject * obj2 = 0 ;
37498 PyObject * obj3 = 0 ;
37499 PyObject * obj4 = 0 ;
37500 PyObject * obj5 = 0 ;
37501 PyObject * obj6 = 0 ;
37502 char *kwnames[] = {
37503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37504 };
37505
37506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
37507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
37508 if (SWIG_arg_fail(1)) SWIG_fail;
37509 if (obj1) {
37510 {
37511 arg2 = (int)(SWIG_As_int(obj1));
37512 if (SWIG_arg_fail(2)) SWIG_fail;
37513 }
37514 }
37515 if (obj2) {
37516 {
37517 arg3 = &temp3;
37518 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
37519 }
37520 }
37521 if (obj3) {
37522 {
37523 arg4 = &temp4;
37524 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
37525 }
37526 }
37527 if (obj4) {
37528 {
37529 arg5 = (long)(SWIG_As_long(obj4));
37530 if (SWIG_arg_fail(5)) SWIG_fail;
37531 }
37532 }
37533 if (obj5) {
37534 {
37535 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
37536 if (SWIG_arg_fail(6)) SWIG_fail;
37537 if (arg6 == NULL) {
37538 SWIG_null_ref("wxValidator");
37539 }
37540 if (SWIG_arg_fail(6)) SWIG_fail;
37541 }
37542 }
37543 if (obj6) {
37544 {
37545 arg7 = wxString_in_helper(obj6);
37546 if (arg7 == NULL) SWIG_fail;
37547 temp7 = true;
37548 }
37549 }
37550 {
37551 if (!wxPyCheckForApp()) SWIG_fail;
37552 PyThreadState* __tstate = wxPyBeginAllowThreads();
37553 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
37554
37555 wxPyEndAllowThreads(__tstate);
37556 if (PyErr_Occurred()) SWIG_fail;
37557 }
37558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
37559 {
37560 if (temp7)
37561 delete arg7;
37562 }
37563 return resultobj;
37564 fail:
37565 {
37566 if (temp7)
37567 delete arg7;
37568 }
37569 return NULL;
37570 }
37571
37572
37573 static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) {
37574 PyObject *resultobj;
37575 wxControl *result;
37576 char *kwnames[] = {
37577 NULL
37578 };
37579
37580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
37581 {
37582 if (!wxPyCheckForApp()) SWIG_fail;
37583 PyThreadState* __tstate = wxPyBeginAllowThreads();
37584 result = (wxControl *)new wxControl();
37585
37586 wxPyEndAllowThreads(__tstate);
37587 if (PyErr_Occurred()) SWIG_fail;
37588 }
37589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
37590 return resultobj;
37591 fail:
37592 return NULL;
37593 }
37594
37595
37596 static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) {
37597 PyObject *resultobj;
37598 wxControl *arg1 = (wxControl *) 0 ;
37599 wxWindow *arg2 = (wxWindow *) 0 ;
37600 int arg3 = (int) -1 ;
37601 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37602 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37603 wxSize const &arg5_defvalue = wxDefaultSize ;
37604 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37605 long arg6 = (long) 0 ;
37606 wxValidator const &arg7_defvalue = wxDefaultValidator ;
37607 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
37608 wxString const &arg8_defvalue = wxPyControlNameStr ;
37609 wxString *arg8 = (wxString *) &arg8_defvalue ;
37610 bool result;
37611 wxPoint temp4 ;
37612 wxSize temp5 ;
37613 bool temp8 = false ;
37614 PyObject * obj0 = 0 ;
37615 PyObject * obj1 = 0 ;
37616 PyObject * obj2 = 0 ;
37617 PyObject * obj3 = 0 ;
37618 PyObject * obj4 = 0 ;
37619 PyObject * obj5 = 0 ;
37620 PyObject * obj6 = 0 ;
37621 PyObject * obj7 = 0 ;
37622 char *kwnames[] = {
37623 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37624 };
37625
37626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
37627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
37628 if (SWIG_arg_fail(1)) SWIG_fail;
37629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
37630 if (SWIG_arg_fail(2)) SWIG_fail;
37631 if (obj2) {
37632 {
37633 arg3 = (int)(SWIG_As_int(obj2));
37634 if (SWIG_arg_fail(3)) SWIG_fail;
37635 }
37636 }
37637 if (obj3) {
37638 {
37639 arg4 = &temp4;
37640 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
37641 }
37642 }
37643 if (obj4) {
37644 {
37645 arg5 = &temp5;
37646 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
37647 }
37648 }
37649 if (obj5) {
37650 {
37651 arg6 = (long)(SWIG_As_long(obj5));
37652 if (SWIG_arg_fail(6)) SWIG_fail;
37653 }
37654 }
37655 if (obj6) {
37656 {
37657 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
37658 if (SWIG_arg_fail(7)) SWIG_fail;
37659 if (arg7 == NULL) {
37660 SWIG_null_ref("wxValidator");
37661 }
37662 if (SWIG_arg_fail(7)) SWIG_fail;
37663 }
37664 }
37665 if (obj7) {
37666 {
37667 arg8 = wxString_in_helper(obj7);
37668 if (arg8 == NULL) SWIG_fail;
37669 temp8 = true;
37670 }
37671 }
37672 {
37673 PyThreadState* __tstate = wxPyBeginAllowThreads();
37674 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
37675
37676 wxPyEndAllowThreads(__tstate);
37677 if (PyErr_Occurred()) SWIG_fail;
37678 }
37679 {
37680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37681 }
37682 {
37683 if (temp8)
37684 delete arg8;
37685 }
37686 return resultobj;
37687 fail:
37688 {
37689 if (temp8)
37690 delete arg8;
37691 }
37692 return NULL;
37693 }
37694
37695
37696 static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) {
37697 PyObject *resultobj;
37698 wxControl *arg1 = (wxControl *) 0 ;
37699 wxCommandEvent *arg2 = 0 ;
37700 PyObject * obj0 = 0 ;
37701 PyObject * obj1 = 0 ;
37702 char *kwnames[] = {
37703 (char *) "self",(char *) "event", NULL
37704 };
37705
37706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
37707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
37708 if (SWIG_arg_fail(1)) SWIG_fail;
37709 {
37710 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
37711 if (SWIG_arg_fail(2)) SWIG_fail;
37712 if (arg2 == NULL) {
37713 SWIG_null_ref("wxCommandEvent");
37714 }
37715 if (SWIG_arg_fail(2)) SWIG_fail;
37716 }
37717 {
37718 PyThreadState* __tstate = wxPyBeginAllowThreads();
37719 (arg1)->Command(*arg2);
37720
37721 wxPyEndAllowThreads(__tstate);
37722 if (PyErr_Occurred()) SWIG_fail;
37723 }
37724 Py_INCREF(Py_None); resultobj = Py_None;
37725 return resultobj;
37726 fail:
37727 return NULL;
37728 }
37729
37730
37731 static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
37732 PyObject *resultobj;
37733 wxControl *arg1 = (wxControl *) 0 ;
37734 wxString result;
37735 PyObject * obj0 = 0 ;
37736 char *kwnames[] = {
37737 (char *) "self", NULL
37738 };
37739
37740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
37741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
37742 if (SWIG_arg_fail(1)) SWIG_fail;
37743 {
37744 PyThreadState* __tstate = wxPyBeginAllowThreads();
37745 result = (arg1)->GetLabel();
37746
37747 wxPyEndAllowThreads(__tstate);
37748 if (PyErr_Occurred()) SWIG_fail;
37749 }
37750 {
37751 #if wxUSE_UNICODE
37752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37753 #else
37754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37755 #endif
37756 }
37757 return resultobj;
37758 fail:
37759 return NULL;
37760 }
37761
37762
37763 static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
37764 PyObject *resultobj;
37765 wxControl *arg1 = (wxControl *) 0 ;
37766 wxString *arg2 = 0 ;
37767 bool temp2 = false ;
37768 PyObject * obj0 = 0 ;
37769 PyObject * obj1 = 0 ;
37770 char *kwnames[] = {
37771 (char *) "self",(char *) "label", NULL
37772 };
37773
37774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
37775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
37776 if (SWIG_arg_fail(1)) SWIG_fail;
37777 {
37778 arg2 = wxString_in_helper(obj1);
37779 if (arg2 == NULL) SWIG_fail;
37780 temp2 = true;
37781 }
37782 {
37783 PyThreadState* __tstate = wxPyBeginAllowThreads();
37784 (arg1)->SetLabel((wxString const &)*arg2);
37785
37786 wxPyEndAllowThreads(__tstate);
37787 if (PyErr_Occurred()) SWIG_fail;
37788 }
37789 Py_INCREF(Py_None); resultobj = Py_None;
37790 {
37791 if (temp2)
37792 delete arg2;
37793 }
37794 return resultobj;
37795 fail:
37796 {
37797 if (temp2)
37798 delete arg2;
37799 }
37800 return NULL;
37801 }
37802
37803
37804 static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
37805 PyObject *resultobj;
37806 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37807 wxVisualAttributes result;
37808 PyObject * obj0 = 0 ;
37809 char *kwnames[] = {
37810 (char *) "variant", NULL
37811 };
37812
37813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
37814 if (obj0) {
37815 {
37816 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
37817 if (SWIG_arg_fail(1)) SWIG_fail;
37818 }
37819 }
37820 {
37821 if (!wxPyCheckForApp()) SWIG_fail;
37822 PyThreadState* __tstate = wxPyBeginAllowThreads();
37823 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
37824
37825 wxPyEndAllowThreads(__tstate);
37826 if (PyErr_Occurred()) SWIG_fail;
37827 }
37828 {
37829 wxVisualAttributes * resultptr;
37830 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
37831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
37832 }
37833 return resultobj;
37834 fail:
37835 return NULL;
37836 }
37837
37838
37839 static PyObject * Control_swigregister(PyObject *, PyObject *args) {
37840 PyObject *obj;
37841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37842 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
37843 Py_INCREF(obj);
37844 return Py_BuildValue((char *)"");
37845 }
37846 static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) {
37847 PyObject *resultobj;
37848 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
37849 wxString *arg2 = 0 ;
37850 PyObject *arg3 = (PyObject *) NULL ;
37851 int result;
37852 bool temp2 = false ;
37853 PyObject * obj0 = 0 ;
37854 PyObject * obj1 = 0 ;
37855 PyObject * obj2 = 0 ;
37856 char *kwnames[] = {
37857 (char *) "self",(char *) "item",(char *) "clientData", NULL
37858 };
37859
37860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
37861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
37862 if (SWIG_arg_fail(1)) SWIG_fail;
37863 {
37864 arg2 = wxString_in_helper(obj1);
37865 if (arg2 == NULL) SWIG_fail;
37866 temp2 = true;
37867 }
37868 if (obj2) {
37869 arg3 = obj2;
37870 }
37871 {
37872 PyThreadState* __tstate = wxPyBeginAllowThreads();
37873 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
37874
37875 wxPyEndAllowThreads(__tstate);
37876 if (PyErr_Occurred()) SWIG_fail;
37877 }
37878 {
37879 resultobj = SWIG_From_int((int)(result));
37880 }
37881 {
37882 if (temp2)
37883 delete arg2;
37884 }
37885 return resultobj;
37886 fail:
37887 {
37888 if (temp2)
37889 delete arg2;
37890 }
37891 return NULL;
37892 }
37893
37894
37895 static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) {
37896 PyObject *resultobj;
37897 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
37898 wxArrayString *arg2 = 0 ;
37899 bool temp2 = false ;
37900 PyObject * obj0 = 0 ;
37901 PyObject * obj1 = 0 ;
37902 char *kwnames[] = {
37903 (char *) "self",(char *) "strings", NULL
37904 };
37905
37906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
37907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
37908 if (SWIG_arg_fail(1)) SWIG_fail;
37909 {
37910 if (! PySequence_Check(obj1)) {
37911 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
37912 SWIG_fail;
37913 }
37914 arg2 = new wxArrayString;
37915 temp2 = true;
37916 int i, len=PySequence_Length(obj1);
37917 for (i=0; i<len; i++) {
37918 PyObject* item = PySequence_GetItem(obj1, i);
37919 wxString* s = wxString_in_helper(item);
37920 if (PyErr_Occurred()) SWIG_fail;
37921 arg2->Add(*s);
37922 delete s;
37923 Py_DECREF(item);
37924 }
37925 }
37926 {
37927 PyThreadState* __tstate = wxPyBeginAllowThreads();
37928 (arg1)->Append((wxArrayString const &)*arg2);
37929
37930 wxPyEndAllowThreads(__tstate);
37931 if (PyErr_Occurred()) SWIG_fail;
37932 }
37933 Py_INCREF(Py_None); resultobj = Py_None;
37934 {
37935 if (temp2) delete arg2;
37936 }
37937 return resultobj;
37938 fail:
37939 {
37940 if (temp2) delete arg2;
37941 }
37942 return NULL;
37943 }
37944
37945
37946 static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
37947 PyObject *resultobj;
37948 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
37949 wxString *arg2 = 0 ;
37950 int arg3 ;
37951 PyObject *arg4 = (PyObject *) NULL ;
37952 int result;
37953 bool temp2 = false ;
37954 PyObject * obj0 = 0 ;
37955 PyObject * obj1 = 0 ;
37956 PyObject * obj2 = 0 ;
37957 PyObject * obj3 = 0 ;
37958 char *kwnames[] = {
37959 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37960 };
37961
37962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
37963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
37964 if (SWIG_arg_fail(1)) SWIG_fail;
37965 {
37966 arg2 = wxString_in_helper(obj1);
37967 if (arg2 == NULL) SWIG_fail;
37968 temp2 = true;
37969 }
37970 {
37971 arg3 = (int)(SWIG_As_int(obj2));
37972 if (SWIG_arg_fail(3)) SWIG_fail;
37973 }
37974 if (obj3) {
37975 arg4 = obj3;
37976 }
37977 {
37978 PyThreadState* __tstate = wxPyBeginAllowThreads();
37979 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
37980
37981 wxPyEndAllowThreads(__tstate);
37982 if (PyErr_Occurred()) SWIG_fail;
37983 }
37984 {
37985 resultobj = SWIG_From_int((int)(result));
37986 }
37987 {
37988 if (temp2)
37989 delete arg2;
37990 }
37991 return resultobj;
37992 fail:
37993 {
37994 if (temp2)
37995 delete arg2;
37996 }
37997 return NULL;
37998 }
37999
38000
38001 static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
38002 PyObject *resultobj;
38003 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38004 PyObject * obj0 = 0 ;
38005 char *kwnames[] = {
38006 (char *) "self", NULL
38007 };
38008
38009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
38010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38011 if (SWIG_arg_fail(1)) SWIG_fail;
38012 {
38013 PyThreadState* __tstate = wxPyBeginAllowThreads();
38014 (arg1)->Clear();
38015
38016 wxPyEndAllowThreads(__tstate);
38017 if (PyErr_Occurred()) SWIG_fail;
38018 }
38019 Py_INCREF(Py_None); resultobj = Py_None;
38020 return resultobj;
38021 fail:
38022 return NULL;
38023 }
38024
38025
38026 static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
38027 PyObject *resultobj;
38028 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38029 int arg2 ;
38030 PyObject * obj0 = 0 ;
38031 PyObject * obj1 = 0 ;
38032 char *kwnames[] = {
38033 (char *) "self",(char *) "n", NULL
38034 };
38035
38036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
38037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38038 if (SWIG_arg_fail(1)) SWIG_fail;
38039 {
38040 arg2 = (int)(SWIG_As_int(obj1));
38041 if (SWIG_arg_fail(2)) SWIG_fail;
38042 }
38043 {
38044 PyThreadState* __tstate = wxPyBeginAllowThreads();
38045 (arg1)->Delete(arg2);
38046
38047 wxPyEndAllowThreads(__tstate);
38048 if (PyErr_Occurred()) SWIG_fail;
38049 }
38050 Py_INCREF(Py_None); resultobj = Py_None;
38051 return resultobj;
38052 fail:
38053 return NULL;
38054 }
38055
38056
38057 static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
38058 PyObject *resultobj;
38059 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38060 int arg2 ;
38061 PyObject *result;
38062 PyObject * obj0 = 0 ;
38063 PyObject * obj1 = 0 ;
38064 char *kwnames[] = {
38065 (char *) "self",(char *) "n", NULL
38066 };
38067
38068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
38069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38070 if (SWIG_arg_fail(1)) SWIG_fail;
38071 {
38072 arg2 = (int)(SWIG_As_int(obj1));
38073 if (SWIG_arg_fail(2)) SWIG_fail;
38074 }
38075 {
38076 PyThreadState* __tstate = wxPyBeginAllowThreads();
38077 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
38078
38079 wxPyEndAllowThreads(__tstate);
38080 if (PyErr_Occurred()) SWIG_fail;
38081 }
38082 resultobj = result;
38083 return resultobj;
38084 fail:
38085 return NULL;
38086 }
38087
38088
38089 static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
38090 PyObject *resultobj;
38091 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38092 int arg2 ;
38093 PyObject *arg3 = (PyObject *) 0 ;
38094 PyObject * obj0 = 0 ;
38095 PyObject * obj1 = 0 ;
38096 PyObject * obj2 = 0 ;
38097 char *kwnames[] = {
38098 (char *) "self",(char *) "n",(char *) "clientData", NULL
38099 };
38100
38101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
38102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38103 if (SWIG_arg_fail(1)) SWIG_fail;
38104 {
38105 arg2 = (int)(SWIG_As_int(obj1));
38106 if (SWIG_arg_fail(2)) SWIG_fail;
38107 }
38108 arg3 = obj2;
38109 {
38110 PyThreadState* __tstate = wxPyBeginAllowThreads();
38111 wxItemContainer_SetClientData(arg1,arg2,arg3);
38112
38113 wxPyEndAllowThreads(__tstate);
38114 if (PyErr_Occurred()) SWIG_fail;
38115 }
38116 Py_INCREF(Py_None); resultobj = Py_None;
38117 return resultobj;
38118 fail:
38119 return NULL;
38120 }
38121
38122
38123 static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
38124 PyObject *resultobj;
38125 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38126 int result;
38127 PyObject * obj0 = 0 ;
38128 char *kwnames[] = {
38129 (char *) "self", NULL
38130 };
38131
38132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
38133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38134 if (SWIG_arg_fail(1)) SWIG_fail;
38135 {
38136 PyThreadState* __tstate = wxPyBeginAllowThreads();
38137 result = (int)((wxItemContainer const *)arg1)->GetCount();
38138
38139 wxPyEndAllowThreads(__tstate);
38140 if (PyErr_Occurred()) SWIG_fail;
38141 }
38142 {
38143 resultobj = SWIG_From_int((int)(result));
38144 }
38145 return resultobj;
38146 fail:
38147 return NULL;
38148 }
38149
38150
38151 static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
38152 PyObject *resultobj;
38153 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38154 bool result;
38155 PyObject * obj0 = 0 ;
38156 char *kwnames[] = {
38157 (char *) "self", NULL
38158 };
38159
38160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
38161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38162 if (SWIG_arg_fail(1)) SWIG_fail;
38163 {
38164 PyThreadState* __tstate = wxPyBeginAllowThreads();
38165 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
38166
38167 wxPyEndAllowThreads(__tstate);
38168 if (PyErr_Occurred()) SWIG_fail;
38169 }
38170 {
38171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38172 }
38173 return resultobj;
38174 fail:
38175 return NULL;
38176 }
38177
38178
38179 static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
38180 PyObject *resultobj;
38181 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38182 int arg2 ;
38183 wxString result;
38184 PyObject * obj0 = 0 ;
38185 PyObject * obj1 = 0 ;
38186 char *kwnames[] = {
38187 (char *) "self",(char *) "n", NULL
38188 };
38189
38190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
38191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38192 if (SWIG_arg_fail(1)) SWIG_fail;
38193 {
38194 arg2 = (int)(SWIG_As_int(obj1));
38195 if (SWIG_arg_fail(2)) SWIG_fail;
38196 }
38197 {
38198 PyThreadState* __tstate = wxPyBeginAllowThreads();
38199 result = ((wxItemContainer const *)arg1)->GetString(arg2);
38200
38201 wxPyEndAllowThreads(__tstate);
38202 if (PyErr_Occurred()) SWIG_fail;
38203 }
38204 {
38205 #if wxUSE_UNICODE
38206 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38207 #else
38208 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38209 #endif
38210 }
38211 return resultobj;
38212 fail:
38213 return NULL;
38214 }
38215
38216
38217 static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
38218 PyObject *resultobj;
38219 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38220 wxArrayString result;
38221 PyObject * obj0 = 0 ;
38222 char *kwnames[] = {
38223 (char *) "self", NULL
38224 };
38225
38226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
38227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38228 if (SWIG_arg_fail(1)) SWIG_fail;
38229 {
38230 PyThreadState* __tstate = wxPyBeginAllowThreads();
38231 result = ((wxItemContainer const *)arg1)->GetStrings();
38232
38233 wxPyEndAllowThreads(__tstate);
38234 if (PyErr_Occurred()) SWIG_fail;
38235 }
38236 {
38237 resultobj = wxArrayString2PyList_helper(result);
38238 }
38239 return resultobj;
38240 fail:
38241 return NULL;
38242 }
38243
38244
38245 static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
38246 PyObject *resultobj;
38247 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38248 int arg2 ;
38249 wxString *arg3 = 0 ;
38250 bool temp3 = false ;
38251 PyObject * obj0 = 0 ;
38252 PyObject * obj1 = 0 ;
38253 PyObject * obj2 = 0 ;
38254 char *kwnames[] = {
38255 (char *) "self",(char *) "n",(char *) "s", NULL
38256 };
38257
38258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
38259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38260 if (SWIG_arg_fail(1)) SWIG_fail;
38261 {
38262 arg2 = (int)(SWIG_As_int(obj1));
38263 if (SWIG_arg_fail(2)) SWIG_fail;
38264 }
38265 {
38266 arg3 = wxString_in_helper(obj2);
38267 if (arg3 == NULL) SWIG_fail;
38268 temp3 = true;
38269 }
38270 {
38271 PyThreadState* __tstate = wxPyBeginAllowThreads();
38272 (arg1)->SetString(arg2,(wxString const &)*arg3);
38273
38274 wxPyEndAllowThreads(__tstate);
38275 if (PyErr_Occurred()) SWIG_fail;
38276 }
38277 Py_INCREF(Py_None); resultobj = Py_None;
38278 {
38279 if (temp3)
38280 delete arg3;
38281 }
38282 return resultobj;
38283 fail:
38284 {
38285 if (temp3)
38286 delete arg3;
38287 }
38288 return NULL;
38289 }
38290
38291
38292 static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
38293 PyObject *resultobj;
38294 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38295 wxString *arg2 = 0 ;
38296 int result;
38297 bool temp2 = false ;
38298 PyObject * obj0 = 0 ;
38299 PyObject * obj1 = 0 ;
38300 char *kwnames[] = {
38301 (char *) "self",(char *) "s", NULL
38302 };
38303
38304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
38305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38306 if (SWIG_arg_fail(1)) SWIG_fail;
38307 {
38308 arg2 = wxString_in_helper(obj1);
38309 if (arg2 == NULL) SWIG_fail;
38310 temp2 = true;
38311 }
38312 {
38313 PyThreadState* __tstate = wxPyBeginAllowThreads();
38314 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
38315
38316 wxPyEndAllowThreads(__tstate);
38317 if (PyErr_Occurred()) SWIG_fail;
38318 }
38319 {
38320 resultobj = SWIG_From_int((int)(result));
38321 }
38322 {
38323 if (temp2)
38324 delete arg2;
38325 }
38326 return resultobj;
38327 fail:
38328 {
38329 if (temp2)
38330 delete arg2;
38331 }
38332 return NULL;
38333 }
38334
38335
38336 static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
38337 PyObject *resultobj;
38338 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38339 int arg2 ;
38340 PyObject * obj0 = 0 ;
38341 PyObject * obj1 = 0 ;
38342 char *kwnames[] = {
38343 (char *) "self",(char *) "n", NULL
38344 };
38345
38346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_SetSelection",kwnames,&obj0,&obj1)) goto fail;
38347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38348 if (SWIG_arg_fail(1)) SWIG_fail;
38349 {
38350 arg2 = (int)(SWIG_As_int(obj1));
38351 if (SWIG_arg_fail(2)) SWIG_fail;
38352 }
38353 {
38354 PyThreadState* __tstate = wxPyBeginAllowThreads();
38355 (arg1)->SetSelection(arg2);
38356
38357 wxPyEndAllowThreads(__tstate);
38358 if (PyErr_Occurred()) SWIG_fail;
38359 }
38360 Py_INCREF(Py_None); resultobj = Py_None;
38361 return resultobj;
38362 fail:
38363 return NULL;
38364 }
38365
38366
38367 static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
38368 PyObject *resultobj;
38369 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38370 int result;
38371 PyObject * obj0 = 0 ;
38372 char *kwnames[] = {
38373 (char *) "self", NULL
38374 };
38375
38376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
38377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38378 if (SWIG_arg_fail(1)) SWIG_fail;
38379 {
38380 PyThreadState* __tstate = wxPyBeginAllowThreads();
38381 result = (int)((wxItemContainer const *)arg1)->GetSelection();
38382
38383 wxPyEndAllowThreads(__tstate);
38384 if (PyErr_Occurred()) SWIG_fail;
38385 }
38386 {
38387 resultobj = SWIG_From_int((int)(result));
38388 }
38389 return resultobj;
38390 fail:
38391 return NULL;
38392 }
38393
38394
38395 static PyObject *_wrap_ItemContainer_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
38396 PyObject *resultobj;
38397 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38398 wxString *arg2 = 0 ;
38399 bool result;
38400 bool temp2 = false ;
38401 PyObject * obj0 = 0 ;
38402 PyObject * obj1 = 0 ;
38403 char *kwnames[] = {
38404 (char *) "self",(char *) "s", NULL
38405 };
38406
38407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
38408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38409 if (SWIG_arg_fail(1)) SWIG_fail;
38410 {
38411 arg2 = wxString_in_helper(obj1);
38412 if (arg2 == NULL) SWIG_fail;
38413 temp2 = true;
38414 }
38415 {
38416 PyThreadState* __tstate = wxPyBeginAllowThreads();
38417 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
38418
38419 wxPyEndAllowThreads(__tstate);
38420 if (PyErr_Occurred()) SWIG_fail;
38421 }
38422 {
38423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38424 }
38425 {
38426 if (temp2)
38427 delete arg2;
38428 }
38429 return resultobj;
38430 fail:
38431 {
38432 if (temp2)
38433 delete arg2;
38434 }
38435 return NULL;
38436 }
38437
38438
38439 static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
38440 PyObject *resultobj;
38441 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38442 wxString result;
38443 PyObject * obj0 = 0 ;
38444 char *kwnames[] = {
38445 (char *) "self", NULL
38446 };
38447
38448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
38449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38450 if (SWIG_arg_fail(1)) SWIG_fail;
38451 {
38452 PyThreadState* __tstate = wxPyBeginAllowThreads();
38453 result = ((wxItemContainer const *)arg1)->GetStringSelection();
38454
38455 wxPyEndAllowThreads(__tstate);
38456 if (PyErr_Occurred()) SWIG_fail;
38457 }
38458 {
38459 #if wxUSE_UNICODE
38460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38461 #else
38462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38463 #endif
38464 }
38465 return resultobj;
38466 fail:
38467 return NULL;
38468 }
38469
38470
38471 static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) {
38472 PyObject *resultobj;
38473 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38474 int arg2 ;
38475 PyObject * obj0 = 0 ;
38476 PyObject * obj1 = 0 ;
38477 char *kwnames[] = {
38478 (char *) "self",(char *) "n", NULL
38479 };
38480
38481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
38482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38483 if (SWIG_arg_fail(1)) SWIG_fail;
38484 {
38485 arg2 = (int)(SWIG_As_int(obj1));
38486 if (SWIG_arg_fail(2)) SWIG_fail;
38487 }
38488 {
38489 PyThreadState* __tstate = wxPyBeginAllowThreads();
38490 (arg1)->Select(arg2);
38491
38492 wxPyEndAllowThreads(__tstate);
38493 if (PyErr_Occurred()) SWIG_fail;
38494 }
38495 Py_INCREF(Py_None); resultobj = Py_None;
38496 return resultobj;
38497 fail:
38498 return NULL;
38499 }
38500
38501
38502 static PyObject * ItemContainer_swigregister(PyObject *, PyObject *args) {
38503 PyObject *obj;
38504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38505 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
38506 Py_INCREF(obj);
38507 return Py_BuildValue((char *)"");
38508 }
38509 static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) {
38510 PyObject *obj;
38511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38512 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
38513 Py_INCREF(obj);
38514 return Py_BuildValue((char *)"");
38515 }
38516 static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
38517 PyObject *resultobj;
38518 wxSizerItem *result;
38519 char *kwnames[] = {
38520 NULL
38521 };
38522
38523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
38524 {
38525 PyThreadState* __tstate = wxPyBeginAllowThreads();
38526 result = (wxSizerItem *)new wxSizerItem();
38527
38528 wxPyEndAllowThreads(__tstate);
38529 if (PyErr_Occurred()) SWIG_fail;
38530 }
38531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
38532 return resultobj;
38533 fail:
38534 return NULL;
38535 }
38536
38537
38538 static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
38539 PyObject *resultobj;
38540 wxWindow *arg1 = (wxWindow *) 0 ;
38541 int arg2 ;
38542 int arg3 ;
38543 int arg4 ;
38544 PyObject *arg5 = (PyObject *) NULL ;
38545 wxSizerItem *result;
38546 PyObject * obj0 = 0 ;
38547 PyObject * obj1 = 0 ;
38548 PyObject * obj2 = 0 ;
38549 PyObject * obj3 = 0 ;
38550 PyObject * obj4 = 0 ;
38551 char *kwnames[] = {
38552 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38553 };
38554
38555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
38556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
38557 if (SWIG_arg_fail(1)) SWIG_fail;
38558 {
38559 arg2 = (int)(SWIG_As_int(obj1));
38560 if (SWIG_arg_fail(2)) SWIG_fail;
38561 }
38562 {
38563 arg3 = (int)(SWIG_As_int(obj2));
38564 if (SWIG_arg_fail(3)) SWIG_fail;
38565 }
38566 {
38567 arg4 = (int)(SWIG_As_int(obj3));
38568 if (SWIG_arg_fail(4)) SWIG_fail;
38569 }
38570 if (obj4) {
38571 arg5 = obj4;
38572 }
38573 {
38574 PyThreadState* __tstate = wxPyBeginAllowThreads();
38575 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
38576
38577 wxPyEndAllowThreads(__tstate);
38578 if (PyErr_Occurred()) SWIG_fail;
38579 }
38580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
38581 return resultobj;
38582 fail:
38583 return NULL;
38584 }
38585
38586
38587 static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
38588 PyObject *resultobj;
38589 int arg1 ;
38590 int arg2 ;
38591 int arg3 ;
38592 int arg4 ;
38593 int arg5 ;
38594 PyObject *arg6 = (PyObject *) NULL ;
38595 wxSizerItem *result;
38596 PyObject * obj0 = 0 ;
38597 PyObject * obj1 = 0 ;
38598 PyObject * obj2 = 0 ;
38599 PyObject * obj3 = 0 ;
38600 PyObject * obj4 = 0 ;
38601 PyObject * obj5 = 0 ;
38602 char *kwnames[] = {
38603 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38604 };
38605
38606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
38607 {
38608 arg1 = (int)(SWIG_As_int(obj0));
38609 if (SWIG_arg_fail(1)) SWIG_fail;
38610 }
38611 {
38612 arg2 = (int)(SWIG_As_int(obj1));
38613 if (SWIG_arg_fail(2)) SWIG_fail;
38614 }
38615 {
38616 arg3 = (int)(SWIG_As_int(obj2));
38617 if (SWIG_arg_fail(3)) SWIG_fail;
38618 }
38619 {
38620 arg4 = (int)(SWIG_As_int(obj3));
38621 if (SWIG_arg_fail(4)) SWIG_fail;
38622 }
38623 {
38624 arg5 = (int)(SWIG_As_int(obj4));
38625 if (SWIG_arg_fail(5)) SWIG_fail;
38626 }
38627 if (obj5) {
38628 arg6 = obj5;
38629 }
38630 {
38631 PyThreadState* __tstate = wxPyBeginAllowThreads();
38632 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
38633
38634 wxPyEndAllowThreads(__tstate);
38635 if (PyErr_Occurred()) SWIG_fail;
38636 }
38637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
38638 return resultobj;
38639 fail:
38640 return NULL;
38641 }
38642
38643
38644 static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
38645 PyObject *resultobj;
38646 wxSizer *arg1 = (wxSizer *) 0 ;
38647 int arg2 ;
38648 int arg3 ;
38649 int arg4 ;
38650 PyObject *arg5 = (PyObject *) NULL ;
38651 wxSizerItem *result;
38652 PyObject * obj0 = 0 ;
38653 PyObject * obj1 = 0 ;
38654 PyObject * obj2 = 0 ;
38655 PyObject * obj3 = 0 ;
38656 PyObject * obj4 = 0 ;
38657 char *kwnames[] = {
38658 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38659 };
38660
38661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
38662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
38663 if (SWIG_arg_fail(1)) SWIG_fail;
38664 {
38665 arg2 = (int)(SWIG_As_int(obj1));
38666 if (SWIG_arg_fail(2)) SWIG_fail;
38667 }
38668 {
38669 arg3 = (int)(SWIG_As_int(obj2));
38670 if (SWIG_arg_fail(3)) SWIG_fail;
38671 }
38672 {
38673 arg4 = (int)(SWIG_As_int(obj3));
38674 if (SWIG_arg_fail(4)) SWIG_fail;
38675 }
38676 if (obj4) {
38677 arg5 = obj4;
38678 }
38679 {
38680 PyThreadState* __tstate = wxPyBeginAllowThreads();
38681 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
38682
38683 wxPyEndAllowThreads(__tstate);
38684 if (PyErr_Occurred()) SWIG_fail;
38685 }
38686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
38687 return resultobj;
38688 fail:
38689 return NULL;
38690 }
38691
38692
38693 static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
38694 PyObject *resultobj;
38695 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38696 PyObject * obj0 = 0 ;
38697 char *kwnames[] = {
38698 (char *) "self", NULL
38699 };
38700
38701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
38702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38703 if (SWIG_arg_fail(1)) SWIG_fail;
38704 {
38705 PyThreadState* __tstate = wxPyBeginAllowThreads();
38706 (arg1)->DeleteWindows();
38707
38708 wxPyEndAllowThreads(__tstate);
38709 if (PyErr_Occurred()) SWIG_fail;
38710 }
38711 Py_INCREF(Py_None); resultobj = Py_None;
38712 return resultobj;
38713 fail:
38714 return NULL;
38715 }
38716
38717
38718 static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) {
38719 PyObject *resultobj;
38720 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38721 PyObject * obj0 = 0 ;
38722 char *kwnames[] = {
38723 (char *) "self", NULL
38724 };
38725
38726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
38727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38728 if (SWIG_arg_fail(1)) SWIG_fail;
38729 {
38730 PyThreadState* __tstate = wxPyBeginAllowThreads();
38731 (arg1)->DetachSizer();
38732
38733 wxPyEndAllowThreads(__tstate);
38734 if (PyErr_Occurred()) SWIG_fail;
38735 }
38736 Py_INCREF(Py_None); resultobj = Py_None;
38737 return resultobj;
38738 fail:
38739 return NULL;
38740 }
38741
38742
38743 static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
38744 PyObject *resultobj;
38745 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38746 wxSize result;
38747 PyObject * obj0 = 0 ;
38748 char *kwnames[] = {
38749 (char *) "self", NULL
38750 };
38751
38752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
38753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38754 if (SWIG_arg_fail(1)) SWIG_fail;
38755 {
38756 PyThreadState* __tstate = wxPyBeginAllowThreads();
38757 result = (arg1)->GetSize();
38758
38759 wxPyEndAllowThreads(__tstate);
38760 if (PyErr_Occurred()) SWIG_fail;
38761 }
38762 {
38763 wxSize * resultptr;
38764 resultptr = new wxSize((wxSize &)(result));
38765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38766 }
38767 return resultobj;
38768 fail:
38769 return NULL;
38770 }
38771
38772
38773 static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
38774 PyObject *resultobj;
38775 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38776 wxSize result;
38777 PyObject * obj0 = 0 ;
38778 char *kwnames[] = {
38779 (char *) "self", NULL
38780 };
38781
38782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
38783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38784 if (SWIG_arg_fail(1)) SWIG_fail;
38785 {
38786 PyThreadState* __tstate = wxPyBeginAllowThreads();
38787 result = (arg1)->CalcMin();
38788
38789 wxPyEndAllowThreads(__tstate);
38790 if (PyErr_Occurred()) SWIG_fail;
38791 }
38792 {
38793 wxSize * resultptr;
38794 resultptr = new wxSize((wxSize &)(result));
38795 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38796 }
38797 return resultobj;
38798 fail:
38799 return NULL;
38800 }
38801
38802
38803 static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
38804 PyObject *resultobj;
38805 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38806 wxPoint arg2 ;
38807 wxSize arg3 ;
38808 PyObject * obj0 = 0 ;
38809 PyObject * obj1 = 0 ;
38810 PyObject * obj2 = 0 ;
38811 char *kwnames[] = {
38812 (char *) "self",(char *) "pos",(char *) "size", NULL
38813 };
38814
38815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
38816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38817 if (SWIG_arg_fail(1)) SWIG_fail;
38818 {
38819 wxPoint * argp;
38820 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION);
38821 if (SWIG_arg_fail(2)) SWIG_fail;
38822 if (argp == NULL) {
38823 SWIG_null_ref("wxPoint");
38824 }
38825 if (SWIG_arg_fail(2)) SWIG_fail;
38826 arg2 = *argp;
38827 }
38828 {
38829 wxSize * argp;
38830 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION);
38831 if (SWIG_arg_fail(3)) SWIG_fail;
38832 if (argp == NULL) {
38833 SWIG_null_ref("wxSize");
38834 }
38835 if (SWIG_arg_fail(3)) SWIG_fail;
38836 arg3 = *argp;
38837 }
38838 {
38839 PyThreadState* __tstate = wxPyBeginAllowThreads();
38840 (arg1)->SetDimension(arg2,arg3);
38841
38842 wxPyEndAllowThreads(__tstate);
38843 if (PyErr_Occurred()) SWIG_fail;
38844 }
38845 Py_INCREF(Py_None); resultobj = Py_None;
38846 return resultobj;
38847 fail:
38848 return NULL;
38849 }
38850
38851
38852 static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
38853 PyObject *resultobj;
38854 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38855 wxSize result;
38856 PyObject * obj0 = 0 ;
38857 char *kwnames[] = {
38858 (char *) "self", NULL
38859 };
38860
38861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
38862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38863 if (SWIG_arg_fail(1)) SWIG_fail;
38864 {
38865 PyThreadState* __tstate = wxPyBeginAllowThreads();
38866 result = (arg1)->GetMinSize();
38867
38868 wxPyEndAllowThreads(__tstate);
38869 if (PyErr_Occurred()) SWIG_fail;
38870 }
38871 {
38872 wxSize * resultptr;
38873 resultptr = new wxSize((wxSize &)(result));
38874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38875 }
38876 return resultobj;
38877 fail:
38878 return NULL;
38879 }
38880
38881
38882 static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) {
38883 PyObject *resultobj;
38884 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38885 wxSize result;
38886 PyObject * obj0 = 0 ;
38887 char *kwnames[] = {
38888 (char *) "self", NULL
38889 };
38890
38891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
38892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38893 if (SWIG_arg_fail(1)) SWIG_fail;
38894 {
38895 PyThreadState* __tstate = wxPyBeginAllowThreads();
38896 result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
38897
38898 wxPyEndAllowThreads(__tstate);
38899 if (PyErr_Occurred()) SWIG_fail;
38900 }
38901 {
38902 wxSize * resultptr;
38903 resultptr = new wxSize((wxSize &)(result));
38904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38905 }
38906 return resultobj;
38907 fail:
38908 return NULL;
38909 }
38910
38911
38912 static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) {
38913 PyObject *resultobj;
38914 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38915 int arg2 ;
38916 int arg3 ;
38917 PyObject * obj0 = 0 ;
38918 PyObject * obj1 = 0 ;
38919 PyObject * obj2 = 0 ;
38920 char *kwnames[] = {
38921 (char *) "self",(char *) "x",(char *) "y", NULL
38922 };
38923
38924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
38925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38926 if (SWIG_arg_fail(1)) SWIG_fail;
38927 {
38928 arg2 = (int)(SWIG_As_int(obj1));
38929 if (SWIG_arg_fail(2)) SWIG_fail;
38930 }
38931 {
38932 arg3 = (int)(SWIG_As_int(obj2));
38933 if (SWIG_arg_fail(3)) SWIG_fail;
38934 }
38935 {
38936 PyThreadState* __tstate = wxPyBeginAllowThreads();
38937 (arg1)->SetInitSize(arg2,arg3);
38938
38939 wxPyEndAllowThreads(__tstate);
38940 if (PyErr_Occurred()) SWIG_fail;
38941 }
38942 Py_INCREF(Py_None); resultobj = Py_None;
38943 return resultobj;
38944 fail:
38945 return NULL;
38946 }
38947
38948
38949 static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) {
38950 PyObject *resultobj;
38951 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38952 int arg2 ;
38953 int arg3 ;
38954 PyObject * obj0 = 0 ;
38955 PyObject * obj1 = 0 ;
38956 PyObject * obj2 = 0 ;
38957 char *kwnames[] = {
38958 (char *) "self",(char *) "width",(char *) "height", NULL
38959 };
38960
38961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
38962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38963 if (SWIG_arg_fail(1)) SWIG_fail;
38964 {
38965 arg2 = (int)(SWIG_As_int(obj1));
38966 if (SWIG_arg_fail(2)) SWIG_fail;
38967 }
38968 {
38969 arg3 = (int)(SWIG_As_int(obj2));
38970 if (SWIG_arg_fail(3)) SWIG_fail;
38971 }
38972 {
38973 PyThreadState* __tstate = wxPyBeginAllowThreads();
38974 (arg1)->SetRatio(arg2,arg3);
38975
38976 wxPyEndAllowThreads(__tstate);
38977 if (PyErr_Occurred()) SWIG_fail;
38978 }
38979 Py_INCREF(Py_None); resultobj = Py_None;
38980 return resultobj;
38981 fail:
38982 return NULL;
38983 }
38984
38985
38986 static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) {
38987 PyObject *resultobj;
38988 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38989 wxSize *arg2 = 0 ;
38990 wxSize temp2 ;
38991 PyObject * obj0 = 0 ;
38992 PyObject * obj1 = 0 ;
38993 char *kwnames[] = {
38994 (char *) "self",(char *) "size", NULL
38995 };
38996
38997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
38998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38999 if (SWIG_arg_fail(1)) SWIG_fail;
39000 {
39001 arg2 = &temp2;
39002 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
39003 }
39004 {
39005 PyThreadState* __tstate = wxPyBeginAllowThreads();
39006 (arg1)->SetRatio((wxSize const &)*arg2);
39007
39008 wxPyEndAllowThreads(__tstate);
39009 if (PyErr_Occurred()) SWIG_fail;
39010 }
39011 Py_INCREF(Py_None); resultobj = Py_None;
39012 return resultobj;
39013 fail:
39014 return NULL;
39015 }
39016
39017
39018 static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
39019 PyObject *resultobj;
39020 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39021 float arg2 ;
39022 PyObject * obj0 = 0 ;
39023 PyObject * obj1 = 0 ;
39024 char *kwnames[] = {
39025 (char *) "self",(char *) "ratio", NULL
39026 };
39027
39028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
39029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39030 if (SWIG_arg_fail(1)) SWIG_fail;
39031 {
39032 arg2 = (float)(SWIG_As_float(obj1));
39033 if (SWIG_arg_fail(2)) SWIG_fail;
39034 }
39035 {
39036 PyThreadState* __tstate = wxPyBeginAllowThreads();
39037 (arg1)->SetRatio(arg2);
39038
39039 wxPyEndAllowThreads(__tstate);
39040 if (PyErr_Occurred()) SWIG_fail;
39041 }
39042 Py_INCREF(Py_None); resultobj = Py_None;
39043 return resultobj;
39044 fail:
39045 return NULL;
39046 }
39047
39048
39049 static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
39050 PyObject *resultobj;
39051 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39052 float result;
39053 PyObject * obj0 = 0 ;
39054 char *kwnames[] = {
39055 (char *) "self", NULL
39056 };
39057
39058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
39059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39060 if (SWIG_arg_fail(1)) SWIG_fail;
39061 {
39062 PyThreadState* __tstate = wxPyBeginAllowThreads();
39063 result = (float)(arg1)->GetRatio();
39064
39065 wxPyEndAllowThreads(__tstate);
39066 if (PyErr_Occurred()) SWIG_fail;
39067 }
39068 {
39069 resultobj = SWIG_From_float((float)(result));
39070 }
39071 return resultobj;
39072 fail:
39073 return NULL;
39074 }
39075
39076
39077 static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
39078 PyObject *resultobj;
39079 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39080 wxRect result;
39081 PyObject * obj0 = 0 ;
39082 char *kwnames[] = {
39083 (char *) "self", NULL
39084 };
39085
39086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRect",kwnames,&obj0)) goto fail;
39087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39088 if (SWIG_arg_fail(1)) SWIG_fail;
39089 {
39090 PyThreadState* __tstate = wxPyBeginAllowThreads();
39091 result = (arg1)->GetRect();
39092
39093 wxPyEndAllowThreads(__tstate);
39094 if (PyErr_Occurred()) SWIG_fail;
39095 }
39096 {
39097 wxRect * resultptr;
39098 resultptr = new wxRect((wxRect &)(result));
39099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
39100 }
39101 return resultobj;
39102 fail:
39103 return NULL;
39104 }
39105
39106
39107 static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
39108 PyObject *resultobj;
39109 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39110 bool result;
39111 PyObject * obj0 = 0 ;
39112 char *kwnames[] = {
39113 (char *) "self", NULL
39114 };
39115
39116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
39117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39118 if (SWIG_arg_fail(1)) SWIG_fail;
39119 {
39120 PyThreadState* __tstate = wxPyBeginAllowThreads();
39121 result = (bool)(arg1)->IsWindow();
39122
39123 wxPyEndAllowThreads(__tstate);
39124 if (PyErr_Occurred()) SWIG_fail;
39125 }
39126 {
39127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39128 }
39129 return resultobj;
39130 fail:
39131 return NULL;
39132 }
39133
39134
39135 static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) {
39136 PyObject *resultobj;
39137 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39138 bool result;
39139 PyObject * obj0 = 0 ;
39140 char *kwnames[] = {
39141 (char *) "self", NULL
39142 };
39143
39144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
39145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39146 if (SWIG_arg_fail(1)) SWIG_fail;
39147 {
39148 PyThreadState* __tstate = wxPyBeginAllowThreads();
39149 result = (bool)(arg1)->IsSizer();
39150
39151 wxPyEndAllowThreads(__tstate);
39152 if (PyErr_Occurred()) SWIG_fail;
39153 }
39154 {
39155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39156 }
39157 return resultobj;
39158 fail:
39159 return NULL;
39160 }
39161
39162
39163 static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
39164 PyObject *resultobj;
39165 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39166 bool result;
39167 PyObject * obj0 = 0 ;
39168 char *kwnames[] = {
39169 (char *) "self", NULL
39170 };
39171
39172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
39173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39174 if (SWIG_arg_fail(1)) SWIG_fail;
39175 {
39176 PyThreadState* __tstate = wxPyBeginAllowThreads();
39177 result = (bool)(arg1)->IsSpacer();
39178
39179 wxPyEndAllowThreads(__tstate);
39180 if (PyErr_Occurred()) SWIG_fail;
39181 }
39182 {
39183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39184 }
39185 return resultobj;
39186 fail:
39187 return NULL;
39188 }
39189
39190
39191 static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
39192 PyObject *resultobj;
39193 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39194 int arg2 ;
39195 PyObject * obj0 = 0 ;
39196 PyObject * obj1 = 0 ;
39197 char *kwnames[] = {
39198 (char *) "self",(char *) "proportion", NULL
39199 };
39200
39201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
39202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39203 if (SWIG_arg_fail(1)) SWIG_fail;
39204 {
39205 arg2 = (int)(SWIG_As_int(obj1));
39206 if (SWIG_arg_fail(2)) SWIG_fail;
39207 }
39208 {
39209 PyThreadState* __tstate = wxPyBeginAllowThreads();
39210 (arg1)->SetProportion(arg2);
39211
39212 wxPyEndAllowThreads(__tstate);
39213 if (PyErr_Occurred()) SWIG_fail;
39214 }
39215 Py_INCREF(Py_None); resultobj = Py_None;
39216 return resultobj;
39217 fail:
39218 return NULL;
39219 }
39220
39221
39222 static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
39223 PyObject *resultobj;
39224 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39225 int result;
39226 PyObject * obj0 = 0 ;
39227 char *kwnames[] = {
39228 (char *) "self", NULL
39229 };
39230
39231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
39232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39233 if (SWIG_arg_fail(1)) SWIG_fail;
39234 {
39235 PyThreadState* __tstate = wxPyBeginAllowThreads();
39236 result = (int)(arg1)->GetProportion();
39237
39238 wxPyEndAllowThreads(__tstate);
39239 if (PyErr_Occurred()) SWIG_fail;
39240 }
39241 {
39242 resultobj = SWIG_From_int((int)(result));
39243 }
39244 return resultobj;
39245 fail:
39246 return NULL;
39247 }
39248
39249
39250 static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
39251 PyObject *resultobj;
39252 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39253 int arg2 ;
39254 PyObject * obj0 = 0 ;
39255 PyObject * obj1 = 0 ;
39256 char *kwnames[] = {
39257 (char *) "self",(char *) "flag", NULL
39258 };
39259
39260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
39261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39262 if (SWIG_arg_fail(1)) SWIG_fail;
39263 {
39264 arg2 = (int)(SWIG_As_int(obj1));
39265 if (SWIG_arg_fail(2)) SWIG_fail;
39266 }
39267 {
39268 PyThreadState* __tstate = wxPyBeginAllowThreads();
39269 (arg1)->SetFlag(arg2);
39270
39271 wxPyEndAllowThreads(__tstate);
39272 if (PyErr_Occurred()) SWIG_fail;
39273 }
39274 Py_INCREF(Py_None); resultobj = Py_None;
39275 return resultobj;
39276 fail:
39277 return NULL;
39278 }
39279
39280
39281 static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
39282 PyObject *resultobj;
39283 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39284 int result;
39285 PyObject * obj0 = 0 ;
39286 char *kwnames[] = {
39287 (char *) "self", NULL
39288 };
39289
39290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
39291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39292 if (SWIG_arg_fail(1)) SWIG_fail;
39293 {
39294 PyThreadState* __tstate = wxPyBeginAllowThreads();
39295 result = (int)(arg1)->GetFlag();
39296
39297 wxPyEndAllowThreads(__tstate);
39298 if (PyErr_Occurred()) SWIG_fail;
39299 }
39300 {
39301 resultobj = SWIG_From_int((int)(result));
39302 }
39303 return resultobj;
39304 fail:
39305 return NULL;
39306 }
39307
39308
39309 static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
39310 PyObject *resultobj;
39311 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39312 int arg2 ;
39313 PyObject * obj0 = 0 ;
39314 PyObject * obj1 = 0 ;
39315 char *kwnames[] = {
39316 (char *) "self",(char *) "border", NULL
39317 };
39318
39319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
39320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39321 if (SWIG_arg_fail(1)) SWIG_fail;
39322 {
39323 arg2 = (int)(SWIG_As_int(obj1));
39324 if (SWIG_arg_fail(2)) SWIG_fail;
39325 }
39326 {
39327 PyThreadState* __tstate = wxPyBeginAllowThreads();
39328 (arg1)->SetBorder(arg2);
39329
39330 wxPyEndAllowThreads(__tstate);
39331 if (PyErr_Occurred()) SWIG_fail;
39332 }
39333 Py_INCREF(Py_None); resultobj = Py_None;
39334 return resultobj;
39335 fail:
39336 return NULL;
39337 }
39338
39339
39340 static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
39341 PyObject *resultobj;
39342 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39343 int result;
39344 PyObject * obj0 = 0 ;
39345 char *kwnames[] = {
39346 (char *) "self", NULL
39347 };
39348
39349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
39350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39351 if (SWIG_arg_fail(1)) SWIG_fail;
39352 {
39353 PyThreadState* __tstate = wxPyBeginAllowThreads();
39354 result = (int)(arg1)->GetBorder();
39355
39356 wxPyEndAllowThreads(__tstate);
39357 if (PyErr_Occurred()) SWIG_fail;
39358 }
39359 {
39360 resultobj = SWIG_From_int((int)(result));
39361 }
39362 return resultobj;
39363 fail:
39364 return NULL;
39365 }
39366
39367
39368 static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
39369 PyObject *resultobj;
39370 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39371 wxWindow *result;
39372 PyObject * obj0 = 0 ;
39373 char *kwnames[] = {
39374 (char *) "self", NULL
39375 };
39376
39377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
39378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39379 if (SWIG_arg_fail(1)) SWIG_fail;
39380 {
39381 PyThreadState* __tstate = wxPyBeginAllowThreads();
39382 result = (wxWindow *)(arg1)->GetWindow();
39383
39384 wxPyEndAllowThreads(__tstate);
39385 if (PyErr_Occurred()) SWIG_fail;
39386 }
39387 {
39388 resultobj = wxPyMake_wxObject(result, 0);
39389 }
39390 return resultobj;
39391 fail:
39392 return NULL;
39393 }
39394
39395
39396 static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
39397 PyObject *resultobj;
39398 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39399 wxWindow *arg2 = (wxWindow *) 0 ;
39400 PyObject * obj0 = 0 ;
39401 PyObject * obj1 = 0 ;
39402 char *kwnames[] = {
39403 (char *) "self",(char *) "window", NULL
39404 };
39405
39406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
39407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39408 if (SWIG_arg_fail(1)) SWIG_fail;
39409 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
39410 if (SWIG_arg_fail(2)) SWIG_fail;
39411 {
39412 PyThreadState* __tstate = wxPyBeginAllowThreads();
39413 (arg1)->SetWindow(arg2);
39414
39415 wxPyEndAllowThreads(__tstate);
39416 if (PyErr_Occurred()) SWIG_fail;
39417 }
39418 Py_INCREF(Py_None); resultobj = Py_None;
39419 return resultobj;
39420 fail:
39421 return NULL;
39422 }
39423
39424
39425 static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
39426 PyObject *resultobj;
39427 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39428 wxSizer *result;
39429 PyObject * obj0 = 0 ;
39430 char *kwnames[] = {
39431 (char *) "self", NULL
39432 };
39433
39434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
39435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39436 if (SWIG_arg_fail(1)) SWIG_fail;
39437 {
39438 PyThreadState* __tstate = wxPyBeginAllowThreads();
39439 result = (wxSizer *)(arg1)->GetSizer();
39440
39441 wxPyEndAllowThreads(__tstate);
39442 if (PyErr_Occurred()) SWIG_fail;
39443 }
39444 {
39445 resultobj = wxPyMake_wxObject(result, 0);
39446 }
39447 return resultobj;
39448 fail:
39449 return NULL;
39450 }
39451
39452
39453 static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
39454 PyObject *resultobj;
39455 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39456 wxSizer *arg2 = (wxSizer *) 0 ;
39457 PyObject * obj0 = 0 ;
39458 PyObject * obj1 = 0 ;
39459 char *kwnames[] = {
39460 (char *) "self",(char *) "sizer", NULL
39461 };
39462
39463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
39464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39465 if (SWIG_arg_fail(1)) SWIG_fail;
39466 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39467 if (SWIG_arg_fail(2)) SWIG_fail;
39468 {
39469 PyThreadState* __tstate = wxPyBeginAllowThreads();
39470 (arg1)->SetSizer(arg2);
39471
39472 wxPyEndAllowThreads(__tstate);
39473 if (PyErr_Occurred()) SWIG_fail;
39474 }
39475 Py_INCREF(Py_None); resultobj = Py_None;
39476 return resultobj;
39477 fail:
39478 return NULL;
39479 }
39480
39481
39482 static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
39483 PyObject *resultobj;
39484 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39485 wxSize *result;
39486 PyObject * obj0 = 0 ;
39487 char *kwnames[] = {
39488 (char *) "self", NULL
39489 };
39490
39491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
39492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39493 if (SWIG_arg_fail(1)) SWIG_fail;
39494 {
39495 PyThreadState* __tstate = wxPyBeginAllowThreads();
39496 {
39497 wxSize const &_result_ref = (arg1)->GetSpacer();
39498 result = (wxSize *) &_result_ref;
39499 }
39500
39501 wxPyEndAllowThreads(__tstate);
39502 if (PyErr_Occurred()) SWIG_fail;
39503 }
39504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
39505 return resultobj;
39506 fail:
39507 return NULL;
39508 }
39509
39510
39511 static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
39512 PyObject *resultobj;
39513 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39514 wxSize *arg2 = 0 ;
39515 wxSize temp2 ;
39516 PyObject * obj0 = 0 ;
39517 PyObject * obj1 = 0 ;
39518 char *kwnames[] = {
39519 (char *) "self",(char *) "size", NULL
39520 };
39521
39522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
39523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39524 if (SWIG_arg_fail(1)) SWIG_fail;
39525 {
39526 arg2 = &temp2;
39527 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
39528 }
39529 {
39530 PyThreadState* __tstate = wxPyBeginAllowThreads();
39531 (arg1)->SetSpacer((wxSize const &)*arg2);
39532
39533 wxPyEndAllowThreads(__tstate);
39534 if (PyErr_Occurred()) SWIG_fail;
39535 }
39536 Py_INCREF(Py_None); resultobj = Py_None;
39537 return resultobj;
39538 fail:
39539 return NULL;
39540 }
39541
39542
39543 static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) {
39544 PyObject *resultobj;
39545 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39546 bool arg2 ;
39547 PyObject * obj0 = 0 ;
39548 PyObject * obj1 = 0 ;
39549 char *kwnames[] = {
39550 (char *) "self",(char *) "show", NULL
39551 };
39552
39553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
39554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39555 if (SWIG_arg_fail(1)) SWIG_fail;
39556 {
39557 arg2 = (bool)(SWIG_As_bool(obj1));
39558 if (SWIG_arg_fail(2)) SWIG_fail;
39559 }
39560 {
39561 PyThreadState* __tstate = wxPyBeginAllowThreads();
39562 (arg1)->Show(arg2);
39563
39564 wxPyEndAllowThreads(__tstate);
39565 if (PyErr_Occurred()) SWIG_fail;
39566 }
39567 Py_INCREF(Py_None); resultobj = Py_None;
39568 return resultobj;
39569 fail:
39570 return NULL;
39571 }
39572
39573
39574 static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
39575 PyObject *resultobj;
39576 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39577 bool result;
39578 PyObject * obj0 = 0 ;
39579 char *kwnames[] = {
39580 (char *) "self", NULL
39581 };
39582
39583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
39584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39585 if (SWIG_arg_fail(1)) SWIG_fail;
39586 {
39587 PyThreadState* __tstate = wxPyBeginAllowThreads();
39588 result = (bool)(arg1)->IsShown();
39589
39590 wxPyEndAllowThreads(__tstate);
39591 if (PyErr_Occurred()) SWIG_fail;
39592 }
39593 {
39594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39595 }
39596 return resultobj;
39597 fail:
39598 return NULL;
39599 }
39600
39601
39602 static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
39603 PyObject *resultobj;
39604 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39605 wxPoint result;
39606 PyObject * obj0 = 0 ;
39607 char *kwnames[] = {
39608 (char *) "self", NULL
39609 };
39610
39611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
39612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39613 if (SWIG_arg_fail(1)) SWIG_fail;
39614 {
39615 PyThreadState* __tstate = wxPyBeginAllowThreads();
39616 result = (arg1)->GetPosition();
39617
39618 wxPyEndAllowThreads(__tstate);
39619 if (PyErr_Occurred()) SWIG_fail;
39620 }
39621 {
39622 wxPoint * resultptr;
39623 resultptr = new wxPoint((wxPoint &)(result));
39624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
39625 }
39626 return resultobj;
39627 fail:
39628 return NULL;
39629 }
39630
39631
39632 static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
39633 PyObject *resultobj;
39634 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39635 PyObject *result;
39636 PyObject * obj0 = 0 ;
39637 char *kwnames[] = {
39638 (char *) "self", NULL
39639 };
39640
39641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
39642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39643 if (SWIG_arg_fail(1)) SWIG_fail;
39644 {
39645 PyThreadState* __tstate = wxPyBeginAllowThreads();
39646 result = (PyObject *)wxSizerItem_GetUserData(arg1);
39647
39648 wxPyEndAllowThreads(__tstate);
39649 if (PyErr_Occurred()) SWIG_fail;
39650 }
39651 resultobj = result;
39652 return resultobj;
39653 fail:
39654 return NULL;
39655 }
39656
39657
39658 static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
39659 PyObject *obj;
39660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39661 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
39662 Py_INCREF(obj);
39663 return Py_BuildValue((char *)"");
39664 }
39665 static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
39666 PyObject *resultobj;
39667 wxSizer *arg1 = (wxSizer *) 0 ;
39668 PyObject *arg2 = (PyObject *) 0 ;
39669 PyObject * obj0 = 0 ;
39670 PyObject * obj1 = 0 ;
39671 char *kwnames[] = {
39672 (char *) "self",(char *) "_self", NULL
39673 };
39674
39675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
39676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39677 if (SWIG_arg_fail(1)) SWIG_fail;
39678 arg2 = obj1;
39679 {
39680 PyThreadState* __tstate = wxPyBeginAllowThreads();
39681 wxSizer__setOORInfo(arg1,arg2);
39682
39683 wxPyEndAllowThreads(__tstate);
39684 if (PyErr_Occurred()) SWIG_fail;
39685 }
39686 Py_INCREF(Py_None); resultobj = Py_None;
39687 return resultobj;
39688 fail:
39689 return NULL;
39690 }
39691
39692
39693 static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
39694 PyObject *resultobj;
39695 wxSizer *arg1 = (wxSizer *) 0 ;
39696 PyObject *arg2 = (PyObject *) 0 ;
39697 int arg3 = (int) 0 ;
39698 int arg4 = (int) 0 ;
39699 int arg5 = (int) 0 ;
39700 PyObject *arg6 = (PyObject *) NULL ;
39701 wxSizerItem *result;
39702 PyObject * obj0 = 0 ;
39703 PyObject * obj1 = 0 ;
39704 PyObject * obj2 = 0 ;
39705 PyObject * obj3 = 0 ;
39706 PyObject * obj4 = 0 ;
39707 PyObject * obj5 = 0 ;
39708 char *kwnames[] = {
39709 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39710 };
39711
39712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
39713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39714 if (SWIG_arg_fail(1)) SWIG_fail;
39715 arg2 = obj1;
39716 if (obj2) {
39717 {
39718 arg3 = (int)(SWIG_As_int(obj2));
39719 if (SWIG_arg_fail(3)) SWIG_fail;
39720 }
39721 }
39722 if (obj3) {
39723 {
39724 arg4 = (int)(SWIG_As_int(obj3));
39725 if (SWIG_arg_fail(4)) SWIG_fail;
39726 }
39727 }
39728 if (obj4) {
39729 {
39730 arg5 = (int)(SWIG_As_int(obj4));
39731 if (SWIG_arg_fail(5)) SWIG_fail;
39732 }
39733 }
39734 if (obj5) {
39735 arg6 = obj5;
39736 }
39737 {
39738 PyThreadState* __tstate = wxPyBeginAllowThreads();
39739 result = (wxSizerItem *)wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
39740
39741 wxPyEndAllowThreads(__tstate);
39742 if (PyErr_Occurred()) SWIG_fail;
39743 }
39744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
39745 return resultobj;
39746 fail:
39747 return NULL;
39748 }
39749
39750
39751 static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
39752 PyObject *resultobj;
39753 wxSizer *arg1 = (wxSizer *) 0 ;
39754 int arg2 ;
39755 PyObject *arg3 = (PyObject *) 0 ;
39756 int arg4 = (int) 0 ;
39757 int arg5 = (int) 0 ;
39758 int arg6 = (int) 0 ;
39759 PyObject *arg7 = (PyObject *) NULL ;
39760 wxSizerItem *result;
39761 PyObject * obj0 = 0 ;
39762 PyObject * obj1 = 0 ;
39763 PyObject * obj2 = 0 ;
39764 PyObject * obj3 = 0 ;
39765 PyObject * obj4 = 0 ;
39766 PyObject * obj5 = 0 ;
39767 PyObject * obj6 = 0 ;
39768 char *kwnames[] = {
39769 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39770 };
39771
39772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
39773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39774 if (SWIG_arg_fail(1)) SWIG_fail;
39775 {
39776 arg2 = (int)(SWIG_As_int(obj1));
39777 if (SWIG_arg_fail(2)) SWIG_fail;
39778 }
39779 arg3 = obj2;
39780 if (obj3) {
39781 {
39782 arg4 = (int)(SWIG_As_int(obj3));
39783 if (SWIG_arg_fail(4)) SWIG_fail;
39784 }
39785 }
39786 if (obj4) {
39787 {
39788 arg5 = (int)(SWIG_As_int(obj4));
39789 if (SWIG_arg_fail(5)) SWIG_fail;
39790 }
39791 }
39792 if (obj5) {
39793 {
39794 arg6 = (int)(SWIG_As_int(obj5));
39795 if (SWIG_arg_fail(6)) SWIG_fail;
39796 }
39797 }
39798 if (obj6) {
39799 arg7 = obj6;
39800 }
39801 {
39802 PyThreadState* __tstate = wxPyBeginAllowThreads();
39803 result = (wxSizerItem *)wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
39804
39805 wxPyEndAllowThreads(__tstate);
39806 if (PyErr_Occurred()) SWIG_fail;
39807 }
39808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
39809 return resultobj;
39810 fail:
39811 return NULL;
39812 }
39813
39814
39815 static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
39816 PyObject *resultobj;
39817 wxSizer *arg1 = (wxSizer *) 0 ;
39818 PyObject *arg2 = (PyObject *) 0 ;
39819 int arg3 = (int) 0 ;
39820 int arg4 = (int) 0 ;
39821 int arg5 = (int) 0 ;
39822 PyObject *arg6 = (PyObject *) NULL ;
39823 wxSizerItem *result;
39824 PyObject * obj0 = 0 ;
39825 PyObject * obj1 = 0 ;
39826 PyObject * obj2 = 0 ;
39827 PyObject * obj3 = 0 ;
39828 PyObject * obj4 = 0 ;
39829 PyObject * obj5 = 0 ;
39830 char *kwnames[] = {
39831 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39832 };
39833
39834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
39835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39836 if (SWIG_arg_fail(1)) SWIG_fail;
39837 arg2 = obj1;
39838 if (obj2) {
39839 {
39840 arg3 = (int)(SWIG_As_int(obj2));
39841 if (SWIG_arg_fail(3)) SWIG_fail;
39842 }
39843 }
39844 if (obj3) {
39845 {
39846 arg4 = (int)(SWIG_As_int(obj3));
39847 if (SWIG_arg_fail(4)) SWIG_fail;
39848 }
39849 }
39850 if (obj4) {
39851 {
39852 arg5 = (int)(SWIG_As_int(obj4));
39853 if (SWIG_arg_fail(5)) SWIG_fail;
39854 }
39855 }
39856 if (obj5) {
39857 arg6 = obj5;
39858 }
39859 {
39860 PyThreadState* __tstate = wxPyBeginAllowThreads();
39861 result = (wxSizerItem *)wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
39862
39863 wxPyEndAllowThreads(__tstate);
39864 if (PyErr_Occurred()) SWIG_fail;
39865 }
39866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
39867 return resultobj;
39868 fail:
39869 return NULL;
39870 }
39871
39872
39873 static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
39874 PyObject *resultobj;
39875 wxSizer *arg1 = (wxSizer *) 0 ;
39876 PyObject *arg2 = (PyObject *) 0 ;
39877 bool result;
39878 PyObject * obj0 = 0 ;
39879 PyObject * obj1 = 0 ;
39880 char *kwnames[] = {
39881 (char *) "self",(char *) "item", NULL
39882 };
39883
39884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
39885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39886 if (SWIG_arg_fail(1)) SWIG_fail;
39887 arg2 = obj1;
39888 {
39889 PyThreadState* __tstate = wxPyBeginAllowThreads();
39890 result = (bool)wxSizer_Remove(arg1,arg2);
39891
39892 wxPyEndAllowThreads(__tstate);
39893 if (PyErr_Occurred()) SWIG_fail;
39894 }
39895 {
39896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39897 }
39898 return resultobj;
39899 fail:
39900 return NULL;
39901 }
39902
39903
39904 static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
39905 PyObject *resultobj;
39906 wxSizer *arg1 = (wxSizer *) 0 ;
39907 PyObject *arg2 = (PyObject *) 0 ;
39908 bool result;
39909 PyObject * obj0 = 0 ;
39910 PyObject * obj1 = 0 ;
39911 char *kwnames[] = {
39912 (char *) "self",(char *) "item", NULL
39913 };
39914
39915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
39916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39917 if (SWIG_arg_fail(1)) SWIG_fail;
39918 arg2 = obj1;
39919 {
39920 PyThreadState* __tstate = wxPyBeginAllowThreads();
39921 result = (bool)wxSizer_Detach(arg1,arg2);
39922
39923 wxPyEndAllowThreads(__tstate);
39924 if (PyErr_Occurred()) SWIG_fail;
39925 }
39926 {
39927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39928 }
39929 return resultobj;
39930 fail:
39931 return NULL;
39932 }
39933
39934
39935 static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
39936 PyObject *resultobj;
39937 wxSizer *arg1 = (wxSizer *) 0 ;
39938 PyObject *arg2 = (PyObject *) 0 ;
39939 wxSizerItem *result;
39940 PyObject * obj0 = 0 ;
39941 PyObject * obj1 = 0 ;
39942 char *kwnames[] = {
39943 (char *) "self",(char *) "item", NULL
39944 };
39945
39946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_GetItem",kwnames,&obj0,&obj1)) goto fail;
39947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39948 if (SWIG_arg_fail(1)) SWIG_fail;
39949 arg2 = obj1;
39950 {
39951 PyThreadState* __tstate = wxPyBeginAllowThreads();
39952 result = (wxSizerItem *)wxSizer_GetItem(arg1,arg2);
39953
39954 wxPyEndAllowThreads(__tstate);
39955 if (PyErr_Occurred()) SWIG_fail;
39956 }
39957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
39958 return resultobj;
39959 fail:
39960 return NULL;
39961 }
39962
39963
39964 static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
39965 PyObject *resultobj;
39966 wxSizer *arg1 = (wxSizer *) 0 ;
39967 PyObject *arg2 = (PyObject *) 0 ;
39968 wxSize *arg3 = 0 ;
39969 wxSize temp3 ;
39970 PyObject * obj0 = 0 ;
39971 PyObject * obj1 = 0 ;
39972 PyObject * obj2 = 0 ;
39973 char *kwnames[] = {
39974 (char *) "self",(char *) "item",(char *) "size", NULL
39975 };
39976
39977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
39978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39979 if (SWIG_arg_fail(1)) SWIG_fail;
39980 arg2 = obj1;
39981 {
39982 arg3 = &temp3;
39983 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
39984 }
39985 {
39986 PyThreadState* __tstate = wxPyBeginAllowThreads();
39987 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
39988
39989 wxPyEndAllowThreads(__tstate);
39990 if (PyErr_Occurred()) SWIG_fail;
39991 }
39992 Py_INCREF(Py_None); resultobj = Py_None;
39993 return resultobj;
39994 fail:
39995 return NULL;
39996 }
39997
39998
39999 static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
40000 PyObject *resultobj;
40001 wxSizer *arg1 = (wxSizer *) 0 ;
40002 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
40003 wxSizerItem *result;
40004 PyObject * obj0 = 0 ;
40005 PyObject * obj1 = 0 ;
40006 char *kwnames[] = {
40007 (char *) "self",(char *) "item", NULL
40008 };
40009
40010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
40011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40012 if (SWIG_arg_fail(1)) SWIG_fail;
40013 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40014 if (SWIG_arg_fail(2)) SWIG_fail;
40015 {
40016 PyThreadState* __tstate = wxPyBeginAllowThreads();
40017 result = (wxSizerItem *)(arg1)->Add(arg2);
40018
40019 wxPyEndAllowThreads(__tstate);
40020 if (PyErr_Occurred()) SWIG_fail;
40021 }
40022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
40023 return resultobj;
40024 fail:
40025 return NULL;
40026 }
40027
40028
40029 static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
40030 PyObject *resultobj;
40031 wxSizer *arg1 = (wxSizer *) 0 ;
40032 size_t arg2 ;
40033 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
40034 wxSizerItem *result;
40035 PyObject * obj0 = 0 ;
40036 PyObject * obj1 = 0 ;
40037 PyObject * obj2 = 0 ;
40038 char *kwnames[] = {
40039 (char *) "self",(char *) "index",(char *) "item", NULL
40040 };
40041
40042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
40043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40044 if (SWIG_arg_fail(1)) SWIG_fail;
40045 {
40046 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
40047 if (SWIG_arg_fail(2)) SWIG_fail;
40048 }
40049 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40050 if (SWIG_arg_fail(3)) SWIG_fail;
40051 {
40052 PyThreadState* __tstate = wxPyBeginAllowThreads();
40053 result = (wxSizerItem *)(arg1)->Insert(arg2,arg3);
40054
40055 wxPyEndAllowThreads(__tstate);
40056 if (PyErr_Occurred()) SWIG_fail;
40057 }
40058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
40059 return resultobj;
40060 fail:
40061 return NULL;
40062 }
40063
40064
40065 static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
40066 PyObject *resultobj;
40067 wxSizer *arg1 = (wxSizer *) 0 ;
40068 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
40069 wxSizerItem *result;
40070 PyObject * obj0 = 0 ;
40071 PyObject * obj1 = 0 ;
40072 char *kwnames[] = {
40073 (char *) "self",(char *) "item", NULL
40074 };
40075
40076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
40077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40078 if (SWIG_arg_fail(1)) SWIG_fail;
40079 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40080 if (SWIG_arg_fail(2)) SWIG_fail;
40081 {
40082 PyThreadState* __tstate = wxPyBeginAllowThreads();
40083 result = (wxSizerItem *)(arg1)->Prepend(arg2);
40084
40085 wxPyEndAllowThreads(__tstate);
40086 if (PyErr_Occurred()) SWIG_fail;
40087 }
40088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
40089 return resultobj;
40090 fail:
40091 return NULL;
40092 }
40093
40094
40095 static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
40096 PyObject *resultobj;
40097 wxSizer *arg1 = (wxSizer *) 0 ;
40098 int arg2 ;
40099 int arg3 ;
40100 int arg4 ;
40101 int arg5 ;
40102 PyObject * obj0 = 0 ;
40103 PyObject * obj1 = 0 ;
40104 PyObject * obj2 = 0 ;
40105 PyObject * obj3 = 0 ;
40106 PyObject * obj4 = 0 ;
40107 char *kwnames[] = {
40108 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40109 };
40110
40111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
40112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40113 if (SWIG_arg_fail(1)) SWIG_fail;
40114 {
40115 arg2 = (int)(SWIG_As_int(obj1));
40116 if (SWIG_arg_fail(2)) SWIG_fail;
40117 }
40118 {
40119 arg3 = (int)(SWIG_As_int(obj2));
40120 if (SWIG_arg_fail(3)) SWIG_fail;
40121 }
40122 {
40123 arg4 = (int)(SWIG_As_int(obj3));
40124 if (SWIG_arg_fail(4)) SWIG_fail;
40125 }
40126 {
40127 arg5 = (int)(SWIG_As_int(obj4));
40128 if (SWIG_arg_fail(5)) SWIG_fail;
40129 }
40130 {
40131 PyThreadState* __tstate = wxPyBeginAllowThreads();
40132 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
40133
40134 wxPyEndAllowThreads(__tstate);
40135 if (PyErr_Occurred()) SWIG_fail;
40136 }
40137 Py_INCREF(Py_None); resultobj = Py_None;
40138 return resultobj;
40139 fail:
40140 return NULL;
40141 }
40142
40143
40144 static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
40145 PyObject *resultobj;
40146 wxSizer *arg1 = (wxSizer *) 0 ;
40147 wxSize *arg2 = 0 ;
40148 wxSize temp2 ;
40149 PyObject * obj0 = 0 ;
40150 PyObject * obj1 = 0 ;
40151 char *kwnames[] = {
40152 (char *) "self",(char *) "size", NULL
40153 };
40154
40155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
40156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40157 if (SWIG_arg_fail(1)) SWIG_fail;
40158 {
40159 arg2 = &temp2;
40160 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
40161 }
40162 {
40163 PyThreadState* __tstate = wxPyBeginAllowThreads();
40164 (arg1)->SetMinSize((wxSize const &)*arg2);
40165
40166 wxPyEndAllowThreads(__tstate);
40167 if (PyErr_Occurred()) SWIG_fail;
40168 }
40169 Py_INCREF(Py_None); resultobj = Py_None;
40170 return resultobj;
40171 fail:
40172 return NULL;
40173 }
40174
40175
40176 static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
40177 PyObject *resultobj;
40178 wxSizer *arg1 = (wxSizer *) 0 ;
40179 wxSize result;
40180 PyObject * obj0 = 0 ;
40181 char *kwnames[] = {
40182 (char *) "self", NULL
40183 };
40184
40185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
40186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40187 if (SWIG_arg_fail(1)) SWIG_fail;
40188 {
40189 PyThreadState* __tstate = wxPyBeginAllowThreads();
40190 result = (arg1)->GetSize();
40191
40192 wxPyEndAllowThreads(__tstate);
40193 if (PyErr_Occurred()) SWIG_fail;
40194 }
40195 {
40196 wxSize * resultptr;
40197 resultptr = new wxSize((wxSize &)(result));
40198 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
40199 }
40200 return resultobj;
40201 fail:
40202 return NULL;
40203 }
40204
40205
40206 static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
40207 PyObject *resultobj;
40208 wxSizer *arg1 = (wxSizer *) 0 ;
40209 wxPoint result;
40210 PyObject * obj0 = 0 ;
40211 char *kwnames[] = {
40212 (char *) "self", NULL
40213 };
40214
40215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
40216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40217 if (SWIG_arg_fail(1)) SWIG_fail;
40218 {
40219 PyThreadState* __tstate = wxPyBeginAllowThreads();
40220 result = (arg1)->GetPosition();
40221
40222 wxPyEndAllowThreads(__tstate);
40223 if (PyErr_Occurred()) SWIG_fail;
40224 }
40225 {
40226 wxPoint * resultptr;
40227 resultptr = new wxPoint((wxPoint &)(result));
40228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
40229 }
40230 return resultobj;
40231 fail:
40232 return NULL;
40233 }
40234
40235
40236 static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
40237 PyObject *resultobj;
40238 wxSizer *arg1 = (wxSizer *) 0 ;
40239 wxSize result;
40240 PyObject * obj0 = 0 ;
40241 char *kwnames[] = {
40242 (char *) "self", NULL
40243 };
40244
40245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
40246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40247 if (SWIG_arg_fail(1)) SWIG_fail;
40248 {
40249 PyThreadState* __tstate = wxPyBeginAllowThreads();
40250 result = (arg1)->GetMinSize();
40251
40252 wxPyEndAllowThreads(__tstate);
40253 if (PyErr_Occurred()) SWIG_fail;
40254 }
40255 {
40256 wxSize * resultptr;
40257 resultptr = new wxSize((wxSize &)(result));
40258 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
40259 }
40260 return resultobj;
40261 fail:
40262 return NULL;
40263 }
40264
40265
40266 static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
40267 PyObject *resultobj;
40268 wxSizer *arg1 = (wxSizer *) 0 ;
40269 PyObject * obj0 = 0 ;
40270 char *kwnames[] = {
40271 (char *) "self", NULL
40272 };
40273
40274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
40275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40276 if (SWIG_arg_fail(1)) SWIG_fail;
40277 {
40278 PyThreadState* __tstate = wxPyBeginAllowThreads();
40279 (arg1)->RecalcSizes();
40280
40281 wxPyEndAllowThreads(__tstate);
40282 if (PyErr_Occurred()) SWIG_fail;
40283 }
40284 Py_INCREF(Py_None); resultobj = Py_None;
40285 return resultobj;
40286 fail:
40287 return NULL;
40288 }
40289
40290
40291 static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
40292 PyObject *resultobj;
40293 wxSizer *arg1 = (wxSizer *) 0 ;
40294 wxSize result;
40295 PyObject * obj0 = 0 ;
40296 char *kwnames[] = {
40297 (char *) "self", NULL
40298 };
40299
40300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
40301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40302 if (SWIG_arg_fail(1)) SWIG_fail;
40303 {
40304 PyThreadState* __tstate = wxPyBeginAllowThreads();
40305 result = (arg1)->CalcMin();
40306
40307 wxPyEndAllowThreads(__tstate);
40308 if (PyErr_Occurred()) SWIG_fail;
40309 }
40310 {
40311 wxSize * resultptr;
40312 resultptr = new wxSize((wxSize &)(result));
40313 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
40314 }
40315 return resultobj;
40316 fail:
40317 return NULL;
40318 }
40319
40320
40321 static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
40322 PyObject *resultobj;
40323 wxSizer *arg1 = (wxSizer *) 0 ;
40324 PyObject * obj0 = 0 ;
40325 char *kwnames[] = {
40326 (char *) "self", NULL
40327 };
40328
40329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
40330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40331 if (SWIG_arg_fail(1)) SWIG_fail;
40332 {
40333 PyThreadState* __tstate = wxPyBeginAllowThreads();
40334 (arg1)->Layout();
40335
40336 wxPyEndAllowThreads(__tstate);
40337 if (PyErr_Occurred()) SWIG_fail;
40338 }
40339 Py_INCREF(Py_None); resultobj = Py_None;
40340 return resultobj;
40341 fail:
40342 return NULL;
40343 }
40344
40345
40346 static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
40347 PyObject *resultobj;
40348 wxSizer *arg1 = (wxSizer *) 0 ;
40349 wxWindow *arg2 = (wxWindow *) 0 ;
40350 wxSize result;
40351 PyObject * obj0 = 0 ;
40352 PyObject * obj1 = 0 ;
40353 char *kwnames[] = {
40354 (char *) "self",(char *) "window", NULL
40355 };
40356
40357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
40358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40359 if (SWIG_arg_fail(1)) SWIG_fail;
40360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
40361 if (SWIG_arg_fail(2)) SWIG_fail;
40362 {
40363 PyThreadState* __tstate = wxPyBeginAllowThreads();
40364 result = (arg1)->Fit(arg2);
40365
40366 wxPyEndAllowThreads(__tstate);
40367 if (PyErr_Occurred()) SWIG_fail;
40368 }
40369 {
40370 wxSize * resultptr;
40371 resultptr = new wxSize((wxSize &)(result));
40372 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
40373 }
40374 return resultobj;
40375 fail:
40376 return NULL;
40377 }
40378
40379
40380 static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
40381 PyObject *resultobj;
40382 wxSizer *arg1 = (wxSizer *) 0 ;
40383 wxWindow *arg2 = (wxWindow *) 0 ;
40384 PyObject * obj0 = 0 ;
40385 PyObject * obj1 = 0 ;
40386 char *kwnames[] = {
40387 (char *) "self",(char *) "window", NULL
40388 };
40389
40390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
40391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40392 if (SWIG_arg_fail(1)) SWIG_fail;
40393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
40394 if (SWIG_arg_fail(2)) SWIG_fail;
40395 {
40396 PyThreadState* __tstate = wxPyBeginAllowThreads();
40397 (arg1)->FitInside(arg2);
40398
40399 wxPyEndAllowThreads(__tstate);
40400 if (PyErr_Occurred()) SWIG_fail;
40401 }
40402 Py_INCREF(Py_None); resultobj = Py_None;
40403 return resultobj;
40404 fail:
40405 return NULL;
40406 }
40407
40408
40409 static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
40410 PyObject *resultobj;
40411 wxSizer *arg1 = (wxSizer *) 0 ;
40412 wxWindow *arg2 = (wxWindow *) 0 ;
40413 PyObject * obj0 = 0 ;
40414 PyObject * obj1 = 0 ;
40415 char *kwnames[] = {
40416 (char *) "self",(char *) "window", NULL
40417 };
40418
40419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
40420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40421 if (SWIG_arg_fail(1)) SWIG_fail;
40422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
40423 if (SWIG_arg_fail(2)) SWIG_fail;
40424 {
40425 PyThreadState* __tstate = wxPyBeginAllowThreads();
40426 (arg1)->SetSizeHints(arg2);
40427
40428 wxPyEndAllowThreads(__tstate);
40429 if (PyErr_Occurred()) SWIG_fail;
40430 }
40431 Py_INCREF(Py_None); resultobj = Py_None;
40432 return resultobj;
40433 fail:
40434 return NULL;
40435 }
40436
40437
40438 static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
40439 PyObject *resultobj;
40440 wxSizer *arg1 = (wxSizer *) 0 ;
40441 wxWindow *arg2 = (wxWindow *) 0 ;
40442 PyObject * obj0 = 0 ;
40443 PyObject * obj1 = 0 ;
40444 char *kwnames[] = {
40445 (char *) "self",(char *) "window", NULL
40446 };
40447
40448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
40449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40450 if (SWIG_arg_fail(1)) SWIG_fail;
40451 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
40452 if (SWIG_arg_fail(2)) SWIG_fail;
40453 {
40454 PyThreadState* __tstate = wxPyBeginAllowThreads();
40455 (arg1)->SetVirtualSizeHints(arg2);
40456
40457 wxPyEndAllowThreads(__tstate);
40458 if (PyErr_Occurred()) SWIG_fail;
40459 }
40460 Py_INCREF(Py_None); resultobj = Py_None;
40461 return resultobj;
40462 fail:
40463 return NULL;
40464 }
40465
40466
40467 static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
40468 PyObject *resultobj;
40469 wxSizer *arg1 = (wxSizer *) 0 ;
40470 bool arg2 = (bool) false ;
40471 PyObject * obj0 = 0 ;
40472 PyObject * obj1 = 0 ;
40473 char *kwnames[] = {
40474 (char *) "self",(char *) "deleteWindows", NULL
40475 };
40476
40477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
40478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40479 if (SWIG_arg_fail(1)) SWIG_fail;
40480 if (obj1) {
40481 {
40482 arg2 = (bool)(SWIG_As_bool(obj1));
40483 if (SWIG_arg_fail(2)) SWIG_fail;
40484 }
40485 }
40486 {
40487 PyThreadState* __tstate = wxPyBeginAllowThreads();
40488 (arg1)->Clear(arg2);
40489
40490 wxPyEndAllowThreads(__tstate);
40491 if (PyErr_Occurred()) SWIG_fail;
40492 }
40493 Py_INCREF(Py_None); resultobj = Py_None;
40494 return resultobj;
40495 fail:
40496 return NULL;
40497 }
40498
40499
40500 static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
40501 PyObject *resultobj;
40502 wxSizer *arg1 = (wxSizer *) 0 ;
40503 PyObject * obj0 = 0 ;
40504 char *kwnames[] = {
40505 (char *) "self", NULL
40506 };
40507
40508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
40509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40510 if (SWIG_arg_fail(1)) SWIG_fail;
40511 {
40512 PyThreadState* __tstate = wxPyBeginAllowThreads();
40513 (arg1)->DeleteWindows();
40514
40515 wxPyEndAllowThreads(__tstate);
40516 if (PyErr_Occurred()) SWIG_fail;
40517 }
40518 Py_INCREF(Py_None); resultobj = Py_None;
40519 return resultobj;
40520 fail:
40521 return NULL;
40522 }
40523
40524
40525 static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
40526 PyObject *resultobj;
40527 wxSizer *arg1 = (wxSizer *) 0 ;
40528 PyObject *result;
40529 PyObject * obj0 = 0 ;
40530 char *kwnames[] = {
40531 (char *) "self", NULL
40532 };
40533
40534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
40535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40536 if (SWIG_arg_fail(1)) SWIG_fail;
40537 {
40538 PyThreadState* __tstate = wxPyBeginAllowThreads();
40539 result = (PyObject *)wxSizer_GetChildren(arg1);
40540
40541 wxPyEndAllowThreads(__tstate);
40542 if (PyErr_Occurred()) SWIG_fail;
40543 }
40544 resultobj = result;
40545 return resultobj;
40546 fail:
40547 return NULL;
40548 }
40549
40550
40551 static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) {
40552 PyObject *resultobj;
40553 wxSizer *arg1 = (wxSizer *) 0 ;
40554 PyObject *arg2 = (PyObject *) 0 ;
40555 bool arg3 = (bool) true ;
40556 bool arg4 = (bool) false ;
40557 bool result;
40558 PyObject * obj0 = 0 ;
40559 PyObject * obj1 = 0 ;
40560 PyObject * obj2 = 0 ;
40561 PyObject * obj3 = 0 ;
40562 char *kwnames[] = {
40563 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40564 };
40565
40566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Sizer_Show",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
40567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40568 if (SWIG_arg_fail(1)) SWIG_fail;
40569 arg2 = obj1;
40570 if (obj2) {
40571 {
40572 arg3 = (bool)(SWIG_As_bool(obj2));
40573 if (SWIG_arg_fail(3)) SWIG_fail;
40574 }
40575 }
40576 if (obj3) {
40577 {
40578 arg4 = (bool)(SWIG_As_bool(obj3));
40579 if (SWIG_arg_fail(4)) SWIG_fail;
40580 }
40581 }
40582 {
40583 PyThreadState* __tstate = wxPyBeginAllowThreads();
40584 result = (bool)wxSizer_Show(arg1,arg2,arg3,arg4);
40585
40586 wxPyEndAllowThreads(__tstate);
40587 if (PyErr_Occurred()) SWIG_fail;
40588 }
40589 {
40590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40591 }
40592 return resultobj;
40593 fail:
40594 return NULL;
40595 }
40596
40597
40598 static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
40599 PyObject *resultobj;
40600 wxSizer *arg1 = (wxSizer *) 0 ;
40601 PyObject *arg2 = (PyObject *) 0 ;
40602 bool result;
40603 PyObject * obj0 = 0 ;
40604 PyObject * obj1 = 0 ;
40605 char *kwnames[] = {
40606 (char *) "self",(char *) "item", NULL
40607 };
40608
40609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
40610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40611 if (SWIG_arg_fail(1)) SWIG_fail;
40612 arg2 = obj1;
40613 {
40614 PyThreadState* __tstate = wxPyBeginAllowThreads();
40615 result = (bool)wxSizer_IsShown(arg1,arg2);
40616
40617 wxPyEndAllowThreads(__tstate);
40618 if (PyErr_Occurred()) SWIG_fail;
40619 }
40620 {
40621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40622 }
40623 return resultobj;
40624 fail:
40625 return NULL;
40626 }
40627
40628
40629 static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) {
40630 PyObject *resultobj;
40631 wxSizer *arg1 = (wxSizer *) 0 ;
40632 bool arg2 ;
40633 PyObject * obj0 = 0 ;
40634 PyObject * obj1 = 0 ;
40635 char *kwnames[] = {
40636 (char *) "self",(char *) "show", NULL
40637 };
40638
40639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
40640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40641 if (SWIG_arg_fail(1)) SWIG_fail;
40642 {
40643 arg2 = (bool)(SWIG_As_bool(obj1));
40644 if (SWIG_arg_fail(2)) SWIG_fail;
40645 }
40646 {
40647 PyThreadState* __tstate = wxPyBeginAllowThreads();
40648 (arg1)->ShowItems(arg2);
40649
40650 wxPyEndAllowThreads(__tstate);
40651 if (PyErr_Occurred()) SWIG_fail;
40652 }
40653 Py_INCREF(Py_None); resultobj = Py_None;
40654 return resultobj;
40655 fail:
40656 return NULL;
40657 }
40658
40659
40660 static PyObject * Sizer_swigregister(PyObject *, PyObject *args) {
40661 PyObject *obj;
40662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40663 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
40664 Py_INCREF(obj);
40665 return Py_BuildValue((char *)"");
40666 }
40667 static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) {
40668 PyObject *resultobj;
40669 wxPySizer *result;
40670 char *kwnames[] = {
40671 NULL
40672 };
40673
40674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
40675 {
40676 PyThreadState* __tstate = wxPyBeginAllowThreads();
40677 result = (wxPySizer *)new wxPySizer();
40678
40679 wxPyEndAllowThreads(__tstate);
40680 if (PyErr_Occurred()) SWIG_fail;
40681 }
40682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
40683 return resultobj;
40684 fail:
40685 return NULL;
40686 }
40687
40688
40689 static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
40690 PyObject *resultobj;
40691 wxPySizer *arg1 = (wxPySizer *) 0 ;
40692 PyObject *arg2 = (PyObject *) 0 ;
40693 PyObject *arg3 = (PyObject *) 0 ;
40694 PyObject * obj0 = 0 ;
40695 PyObject * obj1 = 0 ;
40696 PyObject * obj2 = 0 ;
40697 char *kwnames[] = {
40698 (char *) "self",(char *) "self",(char *) "_class", NULL
40699 };
40700
40701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
40702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPySizer, SWIG_POINTER_EXCEPTION | 0);
40703 if (SWIG_arg_fail(1)) SWIG_fail;
40704 arg2 = obj1;
40705 arg3 = obj2;
40706 {
40707 PyThreadState* __tstate = wxPyBeginAllowThreads();
40708 (arg1)->_setCallbackInfo(arg2,arg3);
40709
40710 wxPyEndAllowThreads(__tstate);
40711 if (PyErr_Occurred()) SWIG_fail;
40712 }
40713 Py_INCREF(Py_None); resultobj = Py_None;
40714 return resultobj;
40715 fail:
40716 return NULL;
40717 }
40718
40719
40720 static PyObject * PySizer_swigregister(PyObject *, PyObject *args) {
40721 PyObject *obj;
40722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40723 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
40724 Py_INCREF(obj);
40725 return Py_BuildValue((char *)"");
40726 }
40727 static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
40728 PyObject *resultobj;
40729 int arg1 = (int) wxHORIZONTAL ;
40730 wxBoxSizer *result;
40731 PyObject * obj0 = 0 ;
40732 char *kwnames[] = {
40733 (char *) "orient", NULL
40734 };
40735
40736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
40737 if (obj0) {
40738 {
40739 arg1 = (int)(SWIG_As_int(obj0));
40740 if (SWIG_arg_fail(1)) SWIG_fail;
40741 }
40742 }
40743 {
40744 PyThreadState* __tstate = wxPyBeginAllowThreads();
40745 result = (wxBoxSizer *)new wxBoxSizer(arg1);
40746
40747 wxPyEndAllowThreads(__tstate);
40748 if (PyErr_Occurred()) SWIG_fail;
40749 }
40750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
40751 return resultobj;
40752 fail:
40753 return NULL;
40754 }
40755
40756
40757 static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
40758 PyObject *resultobj;
40759 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
40760 int result;
40761 PyObject * obj0 = 0 ;
40762 char *kwnames[] = {
40763 (char *) "self", NULL
40764 };
40765
40766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
40767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0);
40768 if (SWIG_arg_fail(1)) SWIG_fail;
40769 {
40770 PyThreadState* __tstate = wxPyBeginAllowThreads();
40771 result = (int)(arg1)->GetOrientation();
40772
40773 wxPyEndAllowThreads(__tstate);
40774 if (PyErr_Occurred()) SWIG_fail;
40775 }
40776 {
40777 resultobj = SWIG_From_int((int)(result));
40778 }
40779 return resultobj;
40780 fail:
40781 return NULL;
40782 }
40783
40784
40785 static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
40786 PyObject *resultobj;
40787 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
40788 int arg2 ;
40789 PyObject * obj0 = 0 ;
40790 PyObject * obj1 = 0 ;
40791 char *kwnames[] = {
40792 (char *) "self",(char *) "orient", NULL
40793 };
40794
40795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
40796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0);
40797 if (SWIG_arg_fail(1)) SWIG_fail;
40798 {
40799 arg2 = (int)(SWIG_As_int(obj1));
40800 if (SWIG_arg_fail(2)) SWIG_fail;
40801 }
40802 {
40803 PyThreadState* __tstate = wxPyBeginAllowThreads();
40804 (arg1)->SetOrientation(arg2);
40805
40806 wxPyEndAllowThreads(__tstate);
40807 if (PyErr_Occurred()) SWIG_fail;
40808 }
40809 Py_INCREF(Py_None); resultobj = Py_None;
40810 return resultobj;
40811 fail:
40812 return NULL;
40813 }
40814
40815
40816 static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) {
40817 PyObject *obj;
40818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40819 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
40820 Py_INCREF(obj);
40821 return Py_BuildValue((char *)"");
40822 }
40823 static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
40824 PyObject *resultobj;
40825 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
40826 int arg2 = (int) wxHORIZONTAL ;
40827 wxStaticBoxSizer *result;
40828 PyObject * obj0 = 0 ;
40829 PyObject * obj1 = 0 ;
40830 char *kwnames[] = {
40831 (char *) "box",(char *) "orient", NULL
40832 };
40833
40834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
40835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
40836 if (SWIG_arg_fail(1)) SWIG_fail;
40837 if (obj1) {
40838 {
40839 arg2 = (int)(SWIG_As_int(obj1));
40840 if (SWIG_arg_fail(2)) SWIG_fail;
40841 }
40842 }
40843 {
40844 PyThreadState* __tstate = wxPyBeginAllowThreads();
40845 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
40846
40847 wxPyEndAllowThreads(__tstate);
40848 if (PyErr_Occurred()) SWIG_fail;
40849 }
40850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
40851 return resultobj;
40852 fail:
40853 return NULL;
40854 }
40855
40856
40857 static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
40858 PyObject *resultobj;
40859 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
40860 wxStaticBox *result;
40861 PyObject * obj0 = 0 ;
40862 char *kwnames[] = {
40863 (char *) "self", NULL
40864 };
40865
40866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
40867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBoxSizer, SWIG_POINTER_EXCEPTION | 0);
40868 if (SWIG_arg_fail(1)) SWIG_fail;
40869 {
40870 PyThreadState* __tstate = wxPyBeginAllowThreads();
40871 result = (wxStaticBox *)(arg1)->GetStaticBox();
40872
40873 wxPyEndAllowThreads(__tstate);
40874 if (PyErr_Occurred()) SWIG_fail;
40875 }
40876 {
40877 resultobj = wxPyMake_wxObject(result, 0);
40878 }
40879 return resultobj;
40880 fail:
40881 return NULL;
40882 }
40883
40884
40885 static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) {
40886 PyObject *obj;
40887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40888 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
40889 Py_INCREF(obj);
40890 return Py_BuildValue((char *)"");
40891 }
40892 static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
40893 PyObject *resultobj;
40894 int arg1 = (int) 1 ;
40895 int arg2 = (int) 0 ;
40896 int arg3 = (int) 0 ;
40897 int arg4 = (int) 0 ;
40898 wxGridSizer *result;
40899 PyObject * obj0 = 0 ;
40900 PyObject * obj1 = 0 ;
40901 PyObject * obj2 = 0 ;
40902 PyObject * obj3 = 0 ;
40903 char *kwnames[] = {
40904 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40905 };
40906
40907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
40908 if (obj0) {
40909 {
40910 arg1 = (int)(SWIG_As_int(obj0));
40911 if (SWIG_arg_fail(1)) SWIG_fail;
40912 }
40913 }
40914 if (obj1) {
40915 {
40916 arg2 = (int)(SWIG_As_int(obj1));
40917 if (SWIG_arg_fail(2)) SWIG_fail;
40918 }
40919 }
40920 if (obj2) {
40921 {
40922 arg3 = (int)(SWIG_As_int(obj2));
40923 if (SWIG_arg_fail(3)) SWIG_fail;
40924 }
40925 }
40926 if (obj3) {
40927 {
40928 arg4 = (int)(SWIG_As_int(obj3));
40929 if (SWIG_arg_fail(4)) SWIG_fail;
40930 }
40931 }
40932 {
40933 PyThreadState* __tstate = wxPyBeginAllowThreads();
40934 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
40935
40936 wxPyEndAllowThreads(__tstate);
40937 if (PyErr_Occurred()) SWIG_fail;
40938 }
40939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
40940 return resultobj;
40941 fail:
40942 return NULL;
40943 }
40944
40945
40946 static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) {
40947 PyObject *resultobj;
40948 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
40949 int arg2 ;
40950 PyObject * obj0 = 0 ;
40951 PyObject * obj1 = 0 ;
40952 char *kwnames[] = {
40953 (char *) "self",(char *) "cols", NULL
40954 };
40955
40956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
40957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
40958 if (SWIG_arg_fail(1)) SWIG_fail;
40959 {
40960 arg2 = (int)(SWIG_As_int(obj1));
40961 if (SWIG_arg_fail(2)) SWIG_fail;
40962 }
40963 {
40964 PyThreadState* __tstate = wxPyBeginAllowThreads();
40965 (arg1)->SetCols(arg2);
40966
40967 wxPyEndAllowThreads(__tstate);
40968 if (PyErr_Occurred()) SWIG_fail;
40969 }
40970 Py_INCREF(Py_None); resultobj = Py_None;
40971 return resultobj;
40972 fail:
40973 return NULL;
40974 }
40975
40976
40977 static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
40978 PyObject *resultobj;
40979 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
40980 int arg2 ;
40981 PyObject * obj0 = 0 ;
40982 PyObject * obj1 = 0 ;
40983 char *kwnames[] = {
40984 (char *) "self",(char *) "rows", NULL
40985 };
40986
40987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
40988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
40989 if (SWIG_arg_fail(1)) SWIG_fail;
40990 {
40991 arg2 = (int)(SWIG_As_int(obj1));
40992 if (SWIG_arg_fail(2)) SWIG_fail;
40993 }
40994 {
40995 PyThreadState* __tstate = wxPyBeginAllowThreads();
40996 (arg1)->SetRows(arg2);
40997
40998 wxPyEndAllowThreads(__tstate);
40999 if (PyErr_Occurred()) SWIG_fail;
41000 }
41001 Py_INCREF(Py_None); resultobj = Py_None;
41002 return resultobj;
41003 fail:
41004 return NULL;
41005 }
41006
41007
41008 static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
41009 PyObject *resultobj;
41010 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41011 int arg2 ;
41012 PyObject * obj0 = 0 ;
41013 PyObject * obj1 = 0 ;
41014 char *kwnames[] = {
41015 (char *) "self",(char *) "gap", NULL
41016 };
41017
41018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
41019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41020 if (SWIG_arg_fail(1)) SWIG_fail;
41021 {
41022 arg2 = (int)(SWIG_As_int(obj1));
41023 if (SWIG_arg_fail(2)) SWIG_fail;
41024 }
41025 {
41026 PyThreadState* __tstate = wxPyBeginAllowThreads();
41027 (arg1)->SetVGap(arg2);
41028
41029 wxPyEndAllowThreads(__tstate);
41030 if (PyErr_Occurred()) SWIG_fail;
41031 }
41032 Py_INCREF(Py_None); resultobj = Py_None;
41033 return resultobj;
41034 fail:
41035 return NULL;
41036 }
41037
41038
41039 static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
41040 PyObject *resultobj;
41041 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41042 int arg2 ;
41043 PyObject * obj0 = 0 ;
41044 PyObject * obj1 = 0 ;
41045 char *kwnames[] = {
41046 (char *) "self",(char *) "gap", NULL
41047 };
41048
41049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
41050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41051 if (SWIG_arg_fail(1)) SWIG_fail;
41052 {
41053 arg2 = (int)(SWIG_As_int(obj1));
41054 if (SWIG_arg_fail(2)) SWIG_fail;
41055 }
41056 {
41057 PyThreadState* __tstate = wxPyBeginAllowThreads();
41058 (arg1)->SetHGap(arg2);
41059
41060 wxPyEndAllowThreads(__tstate);
41061 if (PyErr_Occurred()) SWIG_fail;
41062 }
41063 Py_INCREF(Py_None); resultobj = Py_None;
41064 return resultobj;
41065 fail:
41066 return NULL;
41067 }
41068
41069
41070 static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) {
41071 PyObject *resultobj;
41072 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41073 int result;
41074 PyObject * obj0 = 0 ;
41075 char *kwnames[] = {
41076 (char *) "self", NULL
41077 };
41078
41079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
41080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41081 if (SWIG_arg_fail(1)) SWIG_fail;
41082 {
41083 PyThreadState* __tstate = wxPyBeginAllowThreads();
41084 result = (int)(arg1)->GetCols();
41085
41086 wxPyEndAllowThreads(__tstate);
41087 if (PyErr_Occurred()) SWIG_fail;
41088 }
41089 {
41090 resultobj = SWIG_From_int((int)(result));
41091 }
41092 return resultobj;
41093 fail:
41094 return NULL;
41095 }
41096
41097
41098 static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) {
41099 PyObject *resultobj;
41100 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41101 int result;
41102 PyObject * obj0 = 0 ;
41103 char *kwnames[] = {
41104 (char *) "self", NULL
41105 };
41106
41107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
41108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41109 if (SWIG_arg_fail(1)) SWIG_fail;
41110 {
41111 PyThreadState* __tstate = wxPyBeginAllowThreads();
41112 result = (int)(arg1)->GetRows();
41113
41114 wxPyEndAllowThreads(__tstate);
41115 if (PyErr_Occurred()) SWIG_fail;
41116 }
41117 {
41118 resultobj = SWIG_From_int((int)(result));
41119 }
41120 return resultobj;
41121 fail:
41122 return NULL;
41123 }
41124
41125
41126 static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
41127 PyObject *resultobj;
41128 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41129 int result;
41130 PyObject * obj0 = 0 ;
41131 char *kwnames[] = {
41132 (char *) "self", NULL
41133 };
41134
41135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
41136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41137 if (SWIG_arg_fail(1)) SWIG_fail;
41138 {
41139 PyThreadState* __tstate = wxPyBeginAllowThreads();
41140 result = (int)(arg1)->GetVGap();
41141
41142 wxPyEndAllowThreads(__tstate);
41143 if (PyErr_Occurred()) SWIG_fail;
41144 }
41145 {
41146 resultobj = SWIG_From_int((int)(result));
41147 }
41148 return resultobj;
41149 fail:
41150 return NULL;
41151 }
41152
41153
41154 static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
41155 PyObject *resultobj;
41156 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41157 int result;
41158 PyObject * obj0 = 0 ;
41159 char *kwnames[] = {
41160 (char *) "self", NULL
41161 };
41162
41163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
41164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41165 if (SWIG_arg_fail(1)) SWIG_fail;
41166 {
41167 PyThreadState* __tstate = wxPyBeginAllowThreads();
41168 result = (int)(arg1)->GetHGap();
41169
41170 wxPyEndAllowThreads(__tstate);
41171 if (PyErr_Occurred()) SWIG_fail;
41172 }
41173 {
41174 resultobj = SWIG_From_int((int)(result));
41175 }
41176 return resultobj;
41177 fail:
41178 return NULL;
41179 }
41180
41181
41182 static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) {
41183 PyObject *obj;
41184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41185 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
41186 Py_INCREF(obj);
41187 return Py_BuildValue((char *)"");
41188 }
41189 static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
41190 PyObject *resultobj;
41191 int arg1 = (int) 1 ;
41192 int arg2 = (int) 0 ;
41193 int arg3 = (int) 0 ;
41194 int arg4 = (int) 0 ;
41195 wxFlexGridSizer *result;
41196 PyObject * obj0 = 0 ;
41197 PyObject * obj1 = 0 ;
41198 PyObject * obj2 = 0 ;
41199 PyObject * obj3 = 0 ;
41200 char *kwnames[] = {
41201 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41202 };
41203
41204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
41205 if (obj0) {
41206 {
41207 arg1 = (int)(SWIG_As_int(obj0));
41208 if (SWIG_arg_fail(1)) SWIG_fail;
41209 }
41210 }
41211 if (obj1) {
41212 {
41213 arg2 = (int)(SWIG_As_int(obj1));
41214 if (SWIG_arg_fail(2)) SWIG_fail;
41215 }
41216 }
41217 if (obj2) {
41218 {
41219 arg3 = (int)(SWIG_As_int(obj2));
41220 if (SWIG_arg_fail(3)) SWIG_fail;
41221 }
41222 }
41223 if (obj3) {
41224 {
41225 arg4 = (int)(SWIG_As_int(obj3));
41226 if (SWIG_arg_fail(4)) SWIG_fail;
41227 }
41228 }
41229 {
41230 PyThreadState* __tstate = wxPyBeginAllowThreads();
41231 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
41232
41233 wxPyEndAllowThreads(__tstate);
41234 if (PyErr_Occurred()) SWIG_fail;
41235 }
41236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
41237 return resultobj;
41238 fail:
41239 return NULL;
41240 }
41241
41242
41243 static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
41244 PyObject *resultobj;
41245 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41246 size_t arg2 ;
41247 int arg3 = (int) 0 ;
41248 PyObject * obj0 = 0 ;
41249 PyObject * obj1 = 0 ;
41250 PyObject * obj2 = 0 ;
41251 char *kwnames[] = {
41252 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41253 };
41254
41255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
41256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41257 if (SWIG_arg_fail(1)) SWIG_fail;
41258 {
41259 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
41260 if (SWIG_arg_fail(2)) SWIG_fail;
41261 }
41262 if (obj2) {
41263 {
41264 arg3 = (int)(SWIG_As_int(obj2));
41265 if (SWIG_arg_fail(3)) SWIG_fail;
41266 }
41267 }
41268 {
41269 PyThreadState* __tstate = wxPyBeginAllowThreads();
41270 (arg1)->AddGrowableRow(arg2,arg3);
41271
41272 wxPyEndAllowThreads(__tstate);
41273 if (PyErr_Occurred()) SWIG_fail;
41274 }
41275 Py_INCREF(Py_None); resultobj = Py_None;
41276 return resultobj;
41277 fail:
41278 return NULL;
41279 }
41280
41281
41282 static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
41283 PyObject *resultobj;
41284 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41285 size_t arg2 ;
41286 PyObject * obj0 = 0 ;
41287 PyObject * obj1 = 0 ;
41288 char *kwnames[] = {
41289 (char *) "self",(char *) "idx", NULL
41290 };
41291
41292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
41293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41294 if (SWIG_arg_fail(1)) SWIG_fail;
41295 {
41296 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
41297 if (SWIG_arg_fail(2)) SWIG_fail;
41298 }
41299 {
41300 PyThreadState* __tstate = wxPyBeginAllowThreads();
41301 (arg1)->RemoveGrowableRow(arg2);
41302
41303 wxPyEndAllowThreads(__tstate);
41304 if (PyErr_Occurred()) SWIG_fail;
41305 }
41306 Py_INCREF(Py_None); resultobj = Py_None;
41307 return resultobj;
41308 fail:
41309 return NULL;
41310 }
41311
41312
41313 static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
41314 PyObject *resultobj;
41315 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41316 size_t arg2 ;
41317 int arg3 = (int) 0 ;
41318 PyObject * obj0 = 0 ;
41319 PyObject * obj1 = 0 ;
41320 PyObject * obj2 = 0 ;
41321 char *kwnames[] = {
41322 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41323 };
41324
41325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
41326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41327 if (SWIG_arg_fail(1)) SWIG_fail;
41328 {
41329 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
41330 if (SWIG_arg_fail(2)) SWIG_fail;
41331 }
41332 if (obj2) {
41333 {
41334 arg3 = (int)(SWIG_As_int(obj2));
41335 if (SWIG_arg_fail(3)) SWIG_fail;
41336 }
41337 }
41338 {
41339 PyThreadState* __tstate = wxPyBeginAllowThreads();
41340 (arg1)->AddGrowableCol(arg2,arg3);
41341
41342 wxPyEndAllowThreads(__tstate);
41343 if (PyErr_Occurred()) SWIG_fail;
41344 }
41345 Py_INCREF(Py_None); resultobj = Py_None;
41346 return resultobj;
41347 fail:
41348 return NULL;
41349 }
41350
41351
41352 static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
41353 PyObject *resultobj;
41354 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41355 size_t arg2 ;
41356 PyObject * obj0 = 0 ;
41357 PyObject * obj1 = 0 ;
41358 char *kwnames[] = {
41359 (char *) "self",(char *) "idx", NULL
41360 };
41361
41362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
41363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41364 if (SWIG_arg_fail(1)) SWIG_fail;
41365 {
41366 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
41367 if (SWIG_arg_fail(2)) SWIG_fail;
41368 }
41369 {
41370 PyThreadState* __tstate = wxPyBeginAllowThreads();
41371 (arg1)->RemoveGrowableCol(arg2);
41372
41373 wxPyEndAllowThreads(__tstate);
41374 if (PyErr_Occurred()) SWIG_fail;
41375 }
41376 Py_INCREF(Py_None); resultobj = Py_None;
41377 return resultobj;
41378 fail:
41379 return NULL;
41380 }
41381
41382
41383 static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
41384 PyObject *resultobj;
41385 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41386 int arg2 ;
41387 PyObject * obj0 = 0 ;
41388 PyObject * obj1 = 0 ;
41389 char *kwnames[] = {
41390 (char *) "self",(char *) "direction", NULL
41391 };
41392
41393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
41394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41395 if (SWIG_arg_fail(1)) SWIG_fail;
41396 {
41397 arg2 = (int)(SWIG_As_int(obj1));
41398 if (SWIG_arg_fail(2)) SWIG_fail;
41399 }
41400 {
41401 PyThreadState* __tstate = wxPyBeginAllowThreads();
41402 (arg1)->SetFlexibleDirection(arg2);
41403
41404 wxPyEndAllowThreads(__tstate);
41405 if (PyErr_Occurred()) SWIG_fail;
41406 }
41407 Py_INCREF(Py_None); resultobj = Py_None;
41408 return resultobj;
41409 fail:
41410 return NULL;
41411 }
41412
41413
41414 static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
41415 PyObject *resultobj;
41416 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41417 int result;
41418 PyObject * obj0 = 0 ;
41419 char *kwnames[] = {
41420 (char *) "self", NULL
41421 };
41422
41423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
41424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41425 if (SWIG_arg_fail(1)) SWIG_fail;
41426 {
41427 PyThreadState* __tstate = wxPyBeginAllowThreads();
41428 result = (int)(arg1)->GetFlexibleDirection();
41429
41430 wxPyEndAllowThreads(__tstate);
41431 if (PyErr_Occurred()) SWIG_fail;
41432 }
41433 {
41434 resultobj = SWIG_From_int((int)(result));
41435 }
41436 return resultobj;
41437 fail:
41438 return NULL;
41439 }
41440
41441
41442 static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
41443 PyObject *resultobj;
41444 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41445 wxFlexSizerGrowMode arg2 ;
41446 PyObject * obj0 = 0 ;
41447 PyObject * obj1 = 0 ;
41448 char *kwnames[] = {
41449 (char *) "self",(char *) "mode", NULL
41450 };
41451
41452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
41453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41454 if (SWIG_arg_fail(1)) SWIG_fail;
41455 {
41456 arg2 = (wxFlexSizerGrowMode)(SWIG_As_int(obj1));
41457 if (SWIG_arg_fail(2)) SWIG_fail;
41458 }
41459 {
41460 PyThreadState* __tstate = wxPyBeginAllowThreads();
41461 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
41462
41463 wxPyEndAllowThreads(__tstate);
41464 if (PyErr_Occurred()) SWIG_fail;
41465 }
41466 Py_INCREF(Py_None); resultobj = Py_None;
41467 return resultobj;
41468 fail:
41469 return NULL;
41470 }
41471
41472
41473 static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
41474 PyObject *resultobj;
41475 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41476 wxFlexSizerGrowMode result;
41477 PyObject * obj0 = 0 ;
41478 char *kwnames[] = {
41479 (char *) "self", NULL
41480 };
41481
41482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
41483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41484 if (SWIG_arg_fail(1)) SWIG_fail;
41485 {
41486 PyThreadState* __tstate = wxPyBeginAllowThreads();
41487 result = (wxFlexSizerGrowMode)(arg1)->GetNonFlexibleGrowMode();
41488
41489 wxPyEndAllowThreads(__tstate);
41490 if (PyErr_Occurred()) SWIG_fail;
41491 }
41492 resultobj = SWIG_From_int((result));
41493 return resultobj;
41494 fail:
41495 return NULL;
41496 }
41497
41498
41499 static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) {
41500 PyObject *resultobj;
41501 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41502 wxArrayInt *result;
41503 PyObject * obj0 = 0 ;
41504 char *kwnames[] = {
41505 (char *) "self", NULL
41506 };
41507
41508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
41509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41510 if (SWIG_arg_fail(1)) SWIG_fail;
41511 {
41512 PyThreadState* __tstate = wxPyBeginAllowThreads();
41513 {
41514 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
41515 result = (wxArrayInt *) &_result_ref;
41516 }
41517
41518 wxPyEndAllowThreads(__tstate);
41519 if (PyErr_Occurred()) SWIG_fail;
41520 }
41521 {
41522 resultobj = PyList_New(0);
41523 size_t idx;
41524 for (idx = 0; idx < result->GetCount(); idx += 1) {
41525 PyObject* val = PyInt_FromLong( result->Item(idx) );
41526 PyList_Append(resultobj, val);
41527 Py_DECREF(val);
41528 }
41529 }
41530 return resultobj;
41531 fail:
41532 return NULL;
41533 }
41534
41535
41536 static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) {
41537 PyObject *resultobj;
41538 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41539 wxArrayInt *result;
41540 PyObject * obj0 = 0 ;
41541 char *kwnames[] = {
41542 (char *) "self", NULL
41543 };
41544
41545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
41546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41547 if (SWIG_arg_fail(1)) SWIG_fail;
41548 {
41549 PyThreadState* __tstate = wxPyBeginAllowThreads();
41550 {
41551 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
41552 result = (wxArrayInt *) &_result_ref;
41553 }
41554
41555 wxPyEndAllowThreads(__tstate);
41556 if (PyErr_Occurred()) SWIG_fail;
41557 }
41558 {
41559 resultobj = PyList_New(0);
41560 size_t idx;
41561 for (idx = 0; idx < result->GetCount(); idx += 1) {
41562 PyObject* val = PyInt_FromLong( result->Item(idx) );
41563 PyList_Append(resultobj, val);
41564 Py_DECREF(val);
41565 }
41566 }
41567 return resultobj;
41568 fail:
41569 return NULL;
41570 }
41571
41572
41573 static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) {
41574 PyObject *obj;
41575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41576 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
41577 Py_INCREF(obj);
41578 return Py_BuildValue((char *)"");
41579 }
41580 static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
41581 PyObject *resultobj;
41582 wxStdDialogButtonSizer *result;
41583 char *kwnames[] = {
41584 NULL
41585 };
41586
41587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StdDialogButtonSizer",kwnames)) goto fail;
41588 {
41589 PyThreadState* __tstate = wxPyBeginAllowThreads();
41590 result = (wxStdDialogButtonSizer *)new wxStdDialogButtonSizer();
41591
41592 wxPyEndAllowThreads(__tstate);
41593 if (PyErr_Occurred()) SWIG_fail;
41594 }
41595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 1);
41596 return resultobj;
41597 fail:
41598 return NULL;
41599 }
41600
41601
41602 static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args, PyObject *kwargs) {
41603 PyObject *resultobj;
41604 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41605 wxButton *arg2 = (wxButton *) 0 ;
41606 PyObject * obj0 = 0 ;
41607 PyObject * obj1 = 0 ;
41608 char *kwnames[] = {
41609 (char *) "self",(char *) "button", NULL
41610 };
41611
41612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames,&obj0,&obj1)) goto fail;
41613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41614 if (SWIG_arg_fail(1)) SWIG_fail;
41615 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
41616 if (SWIG_arg_fail(2)) SWIG_fail;
41617 {
41618 PyThreadState* __tstate = wxPyBeginAllowThreads();
41619 (arg1)->AddButton(arg2);
41620
41621 wxPyEndAllowThreads(__tstate);
41622 if (PyErr_Occurred()) SWIG_fail;
41623 }
41624 Py_INCREF(Py_None); resultobj = Py_None;
41625 return resultobj;
41626 fail:
41627 return NULL;
41628 }
41629
41630
41631 static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
41632 PyObject *resultobj;
41633 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41634 PyObject * obj0 = 0 ;
41635 char *kwnames[] = {
41636 (char *) "self", NULL
41637 };
41638
41639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_Realize",kwnames,&obj0)) goto fail;
41640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41641 if (SWIG_arg_fail(1)) SWIG_fail;
41642 {
41643 PyThreadState* __tstate = wxPyBeginAllowThreads();
41644 (arg1)->Realize();
41645
41646 wxPyEndAllowThreads(__tstate);
41647 if (PyErr_Occurred()) SWIG_fail;
41648 }
41649 Py_INCREF(Py_None); resultobj = Py_None;
41650 return resultobj;
41651 fail:
41652 return NULL;
41653 }
41654
41655
41656 static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
41657 PyObject *resultobj;
41658 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41659 wxButton *arg2 = (wxButton *) 0 ;
41660 PyObject * obj0 = 0 ;
41661 PyObject * obj1 = 0 ;
41662 char *kwnames[] = {
41663 (char *) "self",(char *) "button", NULL
41664 };
41665
41666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames,&obj0,&obj1)) goto fail;
41667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41668 if (SWIG_arg_fail(1)) SWIG_fail;
41669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
41670 if (SWIG_arg_fail(2)) SWIG_fail;
41671 {
41672 PyThreadState* __tstate = wxPyBeginAllowThreads();
41673 (arg1)->SetAffirmativeButton(arg2);
41674
41675 wxPyEndAllowThreads(__tstate);
41676 if (PyErr_Occurred()) SWIG_fail;
41677 }
41678 Py_INCREF(Py_None); resultobj = Py_None;
41679 return resultobj;
41680 fail:
41681 return NULL;
41682 }
41683
41684
41685 static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
41686 PyObject *resultobj;
41687 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41688 wxButton *arg2 = (wxButton *) 0 ;
41689 PyObject * obj0 = 0 ;
41690 PyObject * obj1 = 0 ;
41691 char *kwnames[] = {
41692 (char *) "self",(char *) "button", NULL
41693 };
41694
41695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames,&obj0,&obj1)) goto fail;
41696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41697 if (SWIG_arg_fail(1)) SWIG_fail;
41698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
41699 if (SWIG_arg_fail(2)) SWIG_fail;
41700 {
41701 PyThreadState* __tstate = wxPyBeginAllowThreads();
41702 (arg1)->SetNegativeButton(arg2);
41703
41704 wxPyEndAllowThreads(__tstate);
41705 if (PyErr_Occurred()) SWIG_fail;
41706 }
41707 Py_INCREF(Py_None); resultobj = Py_None;
41708 return resultobj;
41709 fail:
41710 return NULL;
41711 }
41712
41713
41714 static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) {
41715 PyObject *resultobj;
41716 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41717 wxButton *arg2 = (wxButton *) 0 ;
41718 PyObject * obj0 = 0 ;
41719 PyObject * obj1 = 0 ;
41720 char *kwnames[] = {
41721 (char *) "self",(char *) "button", NULL
41722 };
41723
41724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames,&obj0,&obj1)) goto fail;
41725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41726 if (SWIG_arg_fail(1)) SWIG_fail;
41727 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
41728 if (SWIG_arg_fail(2)) SWIG_fail;
41729 {
41730 PyThreadState* __tstate = wxPyBeginAllowThreads();
41731 (arg1)->SetCancelButton(arg2);
41732
41733 wxPyEndAllowThreads(__tstate);
41734 if (PyErr_Occurred()) SWIG_fail;
41735 }
41736 Py_INCREF(Py_None); resultobj = Py_None;
41737 return resultobj;
41738 fail:
41739 return NULL;
41740 }
41741
41742
41743 static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
41744 PyObject *resultobj;
41745 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41746 wxButton *result;
41747 PyObject * obj0 = 0 ;
41748 char *kwnames[] = {
41749 (char *) "self", NULL
41750 };
41751
41752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames,&obj0)) goto fail;
41753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41754 if (SWIG_arg_fail(1)) SWIG_fail;
41755 {
41756 PyThreadState* __tstate = wxPyBeginAllowThreads();
41757 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetAffirmativeButton();
41758
41759 wxPyEndAllowThreads(__tstate);
41760 if (PyErr_Occurred()) SWIG_fail;
41761 }
41762 {
41763 resultobj = wxPyMake_wxObject(result, 0);
41764 }
41765 return resultobj;
41766 fail:
41767 return NULL;
41768 }
41769
41770
41771 static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject *args, PyObject *kwargs) {
41772 PyObject *resultobj;
41773 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41774 wxButton *result;
41775 PyObject * obj0 = 0 ;
41776 char *kwnames[] = {
41777 (char *) "self", NULL
41778 };
41779
41780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames,&obj0)) goto fail;
41781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41782 if (SWIG_arg_fail(1)) SWIG_fail;
41783 {
41784 PyThreadState* __tstate = wxPyBeginAllowThreads();
41785 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetApplyButton();
41786
41787 wxPyEndAllowThreads(__tstate);
41788 if (PyErr_Occurred()) SWIG_fail;
41789 }
41790 {
41791 resultobj = wxPyMake_wxObject(result, 0);
41792 }
41793 return resultobj;
41794 fail:
41795 return NULL;
41796 }
41797
41798
41799 static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
41800 PyObject *resultobj;
41801 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41802 wxButton *result;
41803 PyObject * obj0 = 0 ;
41804 char *kwnames[] = {
41805 (char *) "self", NULL
41806 };
41807
41808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames,&obj0)) goto fail;
41809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41810 if (SWIG_arg_fail(1)) SWIG_fail;
41811 {
41812 PyThreadState* __tstate = wxPyBeginAllowThreads();
41813 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetNegativeButton();
41814
41815 wxPyEndAllowThreads(__tstate);
41816 if (PyErr_Occurred()) SWIG_fail;
41817 }
41818 {
41819 resultobj = wxPyMake_wxObject(result, 0);
41820 }
41821 return resultobj;
41822 fail:
41823 return NULL;
41824 }
41825
41826
41827 static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) {
41828 PyObject *resultobj;
41829 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41830 wxButton *result;
41831 PyObject * obj0 = 0 ;
41832 char *kwnames[] = {
41833 (char *) "self", NULL
41834 };
41835
41836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames,&obj0)) goto fail;
41837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41838 if (SWIG_arg_fail(1)) SWIG_fail;
41839 {
41840 PyThreadState* __tstate = wxPyBeginAllowThreads();
41841 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetCancelButton();
41842
41843 wxPyEndAllowThreads(__tstate);
41844 if (PyErr_Occurred()) SWIG_fail;
41845 }
41846 {
41847 resultobj = wxPyMake_wxObject(result, 0);
41848 }
41849 return resultobj;
41850 fail:
41851 return NULL;
41852 }
41853
41854
41855 static PyObject *_wrap_StdDialogButtonSizer_GetHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
41856 PyObject *resultobj;
41857 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41858 wxButton *result;
41859 PyObject * obj0 = 0 ;
41860 char *kwnames[] = {
41861 (char *) "self", NULL
41862 };
41863
41864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames,&obj0)) goto fail;
41865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41866 if (SWIG_arg_fail(1)) SWIG_fail;
41867 {
41868 PyThreadState* __tstate = wxPyBeginAllowThreads();
41869 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetHelpButton();
41870
41871 wxPyEndAllowThreads(__tstate);
41872 if (PyErr_Occurred()) SWIG_fail;
41873 }
41874 {
41875 resultobj = wxPyMake_wxObject(result, 0);
41876 }
41877 return resultobj;
41878 fail:
41879 return NULL;
41880 }
41881
41882
41883 static PyObject * StdDialogButtonSizer_swigregister(PyObject *, PyObject *args) {
41884 PyObject *obj;
41885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41886 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer, obj);
41887 Py_INCREF(obj);
41888 return Py_BuildValue((char *)"");
41889 }
41890 static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
41891 PyObject *resultobj;
41892 int arg1 = (int) 0 ;
41893 int arg2 = (int) 0 ;
41894 wxGBPosition *result;
41895 PyObject * obj0 = 0 ;
41896 PyObject * obj1 = 0 ;
41897 char *kwnames[] = {
41898 (char *) "row",(char *) "col", NULL
41899 };
41900
41901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
41902 if (obj0) {
41903 {
41904 arg1 = (int)(SWIG_As_int(obj0));
41905 if (SWIG_arg_fail(1)) SWIG_fail;
41906 }
41907 }
41908 if (obj1) {
41909 {
41910 arg2 = (int)(SWIG_As_int(obj1));
41911 if (SWIG_arg_fail(2)) SWIG_fail;
41912 }
41913 }
41914 {
41915 PyThreadState* __tstate = wxPyBeginAllowThreads();
41916 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
41917
41918 wxPyEndAllowThreads(__tstate);
41919 if (PyErr_Occurred()) SWIG_fail;
41920 }
41921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
41922 return resultobj;
41923 fail:
41924 return NULL;
41925 }
41926
41927
41928 static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
41929 PyObject *resultobj;
41930 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
41931 int result;
41932 PyObject * obj0 = 0 ;
41933 char *kwnames[] = {
41934 (char *) "self", NULL
41935 };
41936
41937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
41938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
41939 if (SWIG_arg_fail(1)) SWIG_fail;
41940 {
41941 PyThreadState* __tstate = wxPyBeginAllowThreads();
41942 result = (int)((wxGBPosition const *)arg1)->GetRow();
41943
41944 wxPyEndAllowThreads(__tstate);
41945 if (PyErr_Occurred()) SWIG_fail;
41946 }
41947 {
41948 resultobj = SWIG_From_int((int)(result));
41949 }
41950 return resultobj;
41951 fail:
41952 return NULL;
41953 }
41954
41955
41956 static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
41957 PyObject *resultobj;
41958 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
41959 int result;
41960 PyObject * obj0 = 0 ;
41961 char *kwnames[] = {
41962 (char *) "self", NULL
41963 };
41964
41965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
41966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
41967 if (SWIG_arg_fail(1)) SWIG_fail;
41968 {
41969 PyThreadState* __tstate = wxPyBeginAllowThreads();
41970 result = (int)((wxGBPosition const *)arg1)->GetCol();
41971
41972 wxPyEndAllowThreads(__tstate);
41973 if (PyErr_Occurred()) SWIG_fail;
41974 }
41975 {
41976 resultobj = SWIG_From_int((int)(result));
41977 }
41978 return resultobj;
41979 fail:
41980 return NULL;
41981 }
41982
41983
41984 static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
41985 PyObject *resultobj;
41986 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
41987 int arg2 ;
41988 PyObject * obj0 = 0 ;
41989 PyObject * obj1 = 0 ;
41990 char *kwnames[] = {
41991 (char *) "self",(char *) "row", NULL
41992 };
41993
41994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
41995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
41996 if (SWIG_arg_fail(1)) SWIG_fail;
41997 {
41998 arg2 = (int)(SWIG_As_int(obj1));
41999 if (SWIG_arg_fail(2)) SWIG_fail;
42000 }
42001 {
42002 PyThreadState* __tstate = wxPyBeginAllowThreads();
42003 (arg1)->SetRow(arg2);
42004
42005 wxPyEndAllowThreads(__tstate);
42006 if (PyErr_Occurred()) SWIG_fail;
42007 }
42008 Py_INCREF(Py_None); resultobj = Py_None;
42009 return resultobj;
42010 fail:
42011 return NULL;
42012 }
42013
42014
42015 static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
42016 PyObject *resultobj;
42017 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42018 int arg2 ;
42019 PyObject * obj0 = 0 ;
42020 PyObject * obj1 = 0 ;
42021 char *kwnames[] = {
42022 (char *) "self",(char *) "col", NULL
42023 };
42024
42025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
42026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42027 if (SWIG_arg_fail(1)) SWIG_fail;
42028 {
42029 arg2 = (int)(SWIG_As_int(obj1));
42030 if (SWIG_arg_fail(2)) SWIG_fail;
42031 }
42032 {
42033 PyThreadState* __tstate = wxPyBeginAllowThreads();
42034 (arg1)->SetCol(arg2);
42035
42036 wxPyEndAllowThreads(__tstate);
42037 if (PyErr_Occurred()) SWIG_fail;
42038 }
42039 Py_INCREF(Py_None); resultobj = Py_None;
42040 return resultobj;
42041 fail:
42042 return NULL;
42043 }
42044
42045
42046 static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
42047 PyObject *resultobj;
42048 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42049 wxGBPosition *arg2 = 0 ;
42050 bool result;
42051 wxGBPosition temp2 ;
42052 PyObject * obj0 = 0 ;
42053 PyObject * obj1 = 0 ;
42054 char *kwnames[] = {
42055 (char *) "self",(char *) "other", NULL
42056 };
42057
42058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
42059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42060 if (SWIG_arg_fail(1)) SWIG_fail;
42061 {
42062 arg2 = &temp2;
42063 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42064 }
42065 {
42066 PyThreadState* __tstate = wxPyBeginAllowThreads();
42067 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
42068
42069 wxPyEndAllowThreads(__tstate);
42070 if (PyErr_Occurred()) SWIG_fail;
42071 }
42072 {
42073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42074 }
42075 return resultobj;
42076 fail:
42077 return NULL;
42078 }
42079
42080
42081 static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
42082 PyObject *resultobj;
42083 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42084 wxGBPosition *arg2 = 0 ;
42085 bool result;
42086 wxGBPosition temp2 ;
42087 PyObject * obj0 = 0 ;
42088 PyObject * obj1 = 0 ;
42089 char *kwnames[] = {
42090 (char *) "self",(char *) "other", NULL
42091 };
42092
42093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
42094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42095 if (SWIG_arg_fail(1)) SWIG_fail;
42096 {
42097 arg2 = &temp2;
42098 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42099 }
42100 {
42101 PyThreadState* __tstate = wxPyBeginAllowThreads();
42102 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
42103
42104 wxPyEndAllowThreads(__tstate);
42105 if (PyErr_Occurred()) SWIG_fail;
42106 }
42107 {
42108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42109 }
42110 return resultobj;
42111 fail:
42112 return NULL;
42113 }
42114
42115
42116 static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) {
42117 PyObject *resultobj;
42118 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42119 int arg2 = (int) 0 ;
42120 int arg3 = (int) 0 ;
42121 PyObject * obj0 = 0 ;
42122 PyObject * obj1 = 0 ;
42123 PyObject * obj2 = 0 ;
42124 char *kwnames[] = {
42125 (char *) "self",(char *) "row",(char *) "col", NULL
42126 };
42127
42128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
42129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42130 if (SWIG_arg_fail(1)) SWIG_fail;
42131 if (obj1) {
42132 {
42133 arg2 = (int)(SWIG_As_int(obj1));
42134 if (SWIG_arg_fail(2)) SWIG_fail;
42135 }
42136 }
42137 if (obj2) {
42138 {
42139 arg3 = (int)(SWIG_As_int(obj2));
42140 if (SWIG_arg_fail(3)) SWIG_fail;
42141 }
42142 }
42143 {
42144 PyThreadState* __tstate = wxPyBeginAllowThreads();
42145 wxGBPosition_Set(arg1,arg2,arg3);
42146
42147 wxPyEndAllowThreads(__tstate);
42148 if (PyErr_Occurred()) SWIG_fail;
42149 }
42150 Py_INCREF(Py_None); resultobj = Py_None;
42151 return resultobj;
42152 fail:
42153 return NULL;
42154 }
42155
42156
42157 static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) {
42158 PyObject *resultobj;
42159 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42160 PyObject *result;
42161 PyObject * obj0 = 0 ;
42162 char *kwnames[] = {
42163 (char *) "self", NULL
42164 };
42165
42166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
42167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42168 if (SWIG_arg_fail(1)) SWIG_fail;
42169 {
42170 PyThreadState* __tstate = wxPyBeginAllowThreads();
42171 result = (PyObject *)wxGBPosition_Get(arg1);
42172
42173 wxPyEndAllowThreads(__tstate);
42174 if (PyErr_Occurred()) SWIG_fail;
42175 }
42176 resultobj = result;
42177 return resultobj;
42178 fail:
42179 return NULL;
42180 }
42181
42182
42183 static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) {
42184 PyObject *obj;
42185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
42186 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
42187 Py_INCREF(obj);
42188 return Py_BuildValue((char *)"");
42189 }
42190 static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
42191 PyObject *resultobj;
42192 int arg1 = (int) 1 ;
42193 int arg2 = (int) 1 ;
42194 wxGBSpan *result;
42195 PyObject * obj0 = 0 ;
42196 PyObject * obj1 = 0 ;
42197 char *kwnames[] = {
42198 (char *) "rowspan",(char *) "colspan", NULL
42199 };
42200
42201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
42202 if (obj0) {
42203 {
42204 arg1 = (int)(SWIG_As_int(obj0));
42205 if (SWIG_arg_fail(1)) SWIG_fail;
42206 }
42207 }
42208 if (obj1) {
42209 {
42210 arg2 = (int)(SWIG_As_int(obj1));
42211 if (SWIG_arg_fail(2)) SWIG_fail;
42212 }
42213 }
42214 {
42215 PyThreadState* __tstate = wxPyBeginAllowThreads();
42216 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
42217
42218 wxPyEndAllowThreads(__tstate);
42219 if (PyErr_Occurred()) SWIG_fail;
42220 }
42221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
42222 return resultobj;
42223 fail:
42224 return NULL;
42225 }
42226
42227
42228 static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
42229 PyObject *resultobj;
42230 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42231 int result;
42232 PyObject * obj0 = 0 ;
42233 char *kwnames[] = {
42234 (char *) "self", NULL
42235 };
42236
42237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
42238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42239 if (SWIG_arg_fail(1)) SWIG_fail;
42240 {
42241 PyThreadState* __tstate = wxPyBeginAllowThreads();
42242 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
42243
42244 wxPyEndAllowThreads(__tstate);
42245 if (PyErr_Occurred()) SWIG_fail;
42246 }
42247 {
42248 resultobj = SWIG_From_int((int)(result));
42249 }
42250 return resultobj;
42251 fail:
42252 return NULL;
42253 }
42254
42255
42256 static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
42257 PyObject *resultobj;
42258 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42259 int result;
42260 PyObject * obj0 = 0 ;
42261 char *kwnames[] = {
42262 (char *) "self", NULL
42263 };
42264
42265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
42266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42267 if (SWIG_arg_fail(1)) SWIG_fail;
42268 {
42269 PyThreadState* __tstate = wxPyBeginAllowThreads();
42270 result = (int)((wxGBSpan const *)arg1)->GetColspan();
42271
42272 wxPyEndAllowThreads(__tstate);
42273 if (PyErr_Occurred()) SWIG_fail;
42274 }
42275 {
42276 resultobj = SWIG_From_int((int)(result));
42277 }
42278 return resultobj;
42279 fail:
42280 return NULL;
42281 }
42282
42283
42284 static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
42285 PyObject *resultobj;
42286 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42287 int arg2 ;
42288 PyObject * obj0 = 0 ;
42289 PyObject * obj1 = 0 ;
42290 char *kwnames[] = {
42291 (char *) "self",(char *) "rowspan", NULL
42292 };
42293
42294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
42295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42296 if (SWIG_arg_fail(1)) SWIG_fail;
42297 {
42298 arg2 = (int)(SWIG_As_int(obj1));
42299 if (SWIG_arg_fail(2)) SWIG_fail;
42300 }
42301 {
42302 PyThreadState* __tstate = wxPyBeginAllowThreads();
42303 (arg1)->SetRowspan(arg2);
42304
42305 wxPyEndAllowThreads(__tstate);
42306 if (PyErr_Occurred()) SWIG_fail;
42307 }
42308 Py_INCREF(Py_None); resultobj = Py_None;
42309 return resultobj;
42310 fail:
42311 return NULL;
42312 }
42313
42314
42315 static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
42316 PyObject *resultobj;
42317 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42318 int arg2 ;
42319 PyObject * obj0 = 0 ;
42320 PyObject * obj1 = 0 ;
42321 char *kwnames[] = {
42322 (char *) "self",(char *) "colspan", NULL
42323 };
42324
42325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
42326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42327 if (SWIG_arg_fail(1)) SWIG_fail;
42328 {
42329 arg2 = (int)(SWIG_As_int(obj1));
42330 if (SWIG_arg_fail(2)) SWIG_fail;
42331 }
42332 {
42333 PyThreadState* __tstate = wxPyBeginAllowThreads();
42334 (arg1)->SetColspan(arg2);
42335
42336 wxPyEndAllowThreads(__tstate);
42337 if (PyErr_Occurred()) SWIG_fail;
42338 }
42339 Py_INCREF(Py_None); resultobj = Py_None;
42340 return resultobj;
42341 fail:
42342 return NULL;
42343 }
42344
42345
42346 static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
42347 PyObject *resultobj;
42348 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42349 wxGBSpan *arg2 = 0 ;
42350 bool result;
42351 wxGBSpan temp2 ;
42352 PyObject * obj0 = 0 ;
42353 PyObject * obj1 = 0 ;
42354 char *kwnames[] = {
42355 (char *) "self",(char *) "other", NULL
42356 };
42357
42358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
42359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42360 if (SWIG_arg_fail(1)) SWIG_fail;
42361 {
42362 arg2 = &temp2;
42363 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
42364 }
42365 {
42366 PyThreadState* __tstate = wxPyBeginAllowThreads();
42367 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
42368
42369 wxPyEndAllowThreads(__tstate);
42370 if (PyErr_Occurred()) SWIG_fail;
42371 }
42372 {
42373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42374 }
42375 return resultobj;
42376 fail:
42377 return NULL;
42378 }
42379
42380
42381 static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
42382 PyObject *resultobj;
42383 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42384 wxGBSpan *arg2 = 0 ;
42385 bool result;
42386 wxGBSpan temp2 ;
42387 PyObject * obj0 = 0 ;
42388 PyObject * obj1 = 0 ;
42389 char *kwnames[] = {
42390 (char *) "self",(char *) "other", NULL
42391 };
42392
42393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
42394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42395 if (SWIG_arg_fail(1)) SWIG_fail;
42396 {
42397 arg2 = &temp2;
42398 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
42399 }
42400 {
42401 PyThreadState* __tstate = wxPyBeginAllowThreads();
42402 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
42403
42404 wxPyEndAllowThreads(__tstate);
42405 if (PyErr_Occurred()) SWIG_fail;
42406 }
42407 {
42408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42409 }
42410 return resultobj;
42411 fail:
42412 return NULL;
42413 }
42414
42415
42416 static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) {
42417 PyObject *resultobj;
42418 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42419 int arg2 = (int) 1 ;
42420 int arg3 = (int) 1 ;
42421 PyObject * obj0 = 0 ;
42422 PyObject * obj1 = 0 ;
42423 PyObject * obj2 = 0 ;
42424 char *kwnames[] = {
42425 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42426 };
42427
42428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
42429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42430 if (SWIG_arg_fail(1)) SWIG_fail;
42431 if (obj1) {
42432 {
42433 arg2 = (int)(SWIG_As_int(obj1));
42434 if (SWIG_arg_fail(2)) SWIG_fail;
42435 }
42436 }
42437 if (obj2) {
42438 {
42439 arg3 = (int)(SWIG_As_int(obj2));
42440 if (SWIG_arg_fail(3)) SWIG_fail;
42441 }
42442 }
42443 {
42444 PyThreadState* __tstate = wxPyBeginAllowThreads();
42445 wxGBSpan_Set(arg1,arg2,arg3);
42446
42447 wxPyEndAllowThreads(__tstate);
42448 if (PyErr_Occurred()) SWIG_fail;
42449 }
42450 Py_INCREF(Py_None); resultobj = Py_None;
42451 return resultobj;
42452 fail:
42453 return NULL;
42454 }
42455
42456
42457 static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) {
42458 PyObject *resultobj;
42459 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42460 PyObject *result;
42461 PyObject * obj0 = 0 ;
42462 char *kwnames[] = {
42463 (char *) "self", NULL
42464 };
42465
42466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
42467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42468 if (SWIG_arg_fail(1)) SWIG_fail;
42469 {
42470 PyThreadState* __tstate = wxPyBeginAllowThreads();
42471 result = (PyObject *)wxGBSpan_Get(arg1);
42472
42473 wxPyEndAllowThreads(__tstate);
42474 if (PyErr_Occurred()) SWIG_fail;
42475 }
42476 resultobj = result;
42477 return resultobj;
42478 fail:
42479 return NULL;
42480 }
42481
42482
42483 static PyObject * GBSpan_swigregister(PyObject *, PyObject *args) {
42484 PyObject *obj;
42485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
42486 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
42487 Py_INCREF(obj);
42488 return Py_BuildValue((char *)"");
42489 }
42490 static int _wrap_DefaultSpan_set(PyObject *) {
42491 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
42492 return 1;
42493 }
42494
42495
42496 static PyObject *_wrap_DefaultSpan_get(void) {
42497 PyObject *pyobj;
42498
42499 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
42500 return pyobj;
42501 }
42502
42503
42504 static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
42505 PyObject *resultobj;
42506 wxGBSizerItem *result;
42507 char *kwnames[] = {
42508 NULL
42509 };
42510
42511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
42512 {
42513 PyThreadState* __tstate = wxPyBeginAllowThreads();
42514 result = (wxGBSizerItem *)new wxGBSizerItem();
42515
42516 wxPyEndAllowThreads(__tstate);
42517 if (PyErr_Occurred()) SWIG_fail;
42518 }
42519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
42520 return resultobj;
42521 fail:
42522 return NULL;
42523 }
42524
42525
42526 static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
42527 PyObject *resultobj;
42528 wxWindow *arg1 = (wxWindow *) 0 ;
42529 wxGBPosition *arg2 = 0 ;
42530 wxGBSpan *arg3 = 0 ;
42531 int arg4 ;
42532 int arg5 ;
42533 PyObject *arg6 = (PyObject *) NULL ;
42534 wxGBSizerItem *result;
42535 wxGBPosition temp2 ;
42536 wxGBSpan temp3 ;
42537 PyObject * obj0 = 0 ;
42538 PyObject * obj1 = 0 ;
42539 PyObject * obj2 = 0 ;
42540 PyObject * obj3 = 0 ;
42541 PyObject * obj4 = 0 ;
42542 PyObject * obj5 = 0 ;
42543 char *kwnames[] = {
42544 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42545 };
42546
42547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
42548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
42549 if (SWIG_arg_fail(1)) SWIG_fail;
42550 {
42551 arg2 = &temp2;
42552 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42553 }
42554 {
42555 arg3 = &temp3;
42556 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
42557 }
42558 {
42559 arg4 = (int)(SWIG_As_int(obj3));
42560 if (SWIG_arg_fail(4)) SWIG_fail;
42561 }
42562 {
42563 arg5 = (int)(SWIG_As_int(obj4));
42564 if (SWIG_arg_fail(5)) SWIG_fail;
42565 }
42566 if (obj5) {
42567 arg6 = obj5;
42568 }
42569 {
42570 PyThreadState* __tstate = wxPyBeginAllowThreads();
42571 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
42572
42573 wxPyEndAllowThreads(__tstate);
42574 if (PyErr_Occurred()) SWIG_fail;
42575 }
42576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
42577 return resultobj;
42578 fail:
42579 return NULL;
42580 }
42581
42582
42583 static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
42584 PyObject *resultobj;
42585 wxSizer *arg1 = (wxSizer *) 0 ;
42586 wxGBPosition *arg2 = 0 ;
42587 wxGBSpan *arg3 = 0 ;
42588 int arg4 ;
42589 int arg5 ;
42590 PyObject *arg6 = (PyObject *) NULL ;
42591 wxGBSizerItem *result;
42592 wxGBPosition temp2 ;
42593 wxGBSpan temp3 ;
42594 PyObject * obj0 = 0 ;
42595 PyObject * obj1 = 0 ;
42596 PyObject * obj2 = 0 ;
42597 PyObject * obj3 = 0 ;
42598 PyObject * obj4 = 0 ;
42599 PyObject * obj5 = 0 ;
42600 char *kwnames[] = {
42601 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42602 };
42603
42604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
42605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
42606 if (SWIG_arg_fail(1)) SWIG_fail;
42607 {
42608 arg2 = &temp2;
42609 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42610 }
42611 {
42612 arg3 = &temp3;
42613 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
42614 }
42615 {
42616 arg4 = (int)(SWIG_As_int(obj3));
42617 if (SWIG_arg_fail(4)) SWIG_fail;
42618 }
42619 {
42620 arg5 = (int)(SWIG_As_int(obj4));
42621 if (SWIG_arg_fail(5)) SWIG_fail;
42622 }
42623 if (obj5) {
42624 arg6 = obj5;
42625 }
42626 {
42627 PyThreadState* __tstate = wxPyBeginAllowThreads();
42628 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
42629
42630 wxPyEndAllowThreads(__tstate);
42631 if (PyErr_Occurred()) SWIG_fail;
42632 }
42633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
42634 return resultobj;
42635 fail:
42636 return NULL;
42637 }
42638
42639
42640 static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
42641 PyObject *resultobj;
42642 int arg1 ;
42643 int arg2 ;
42644 wxGBPosition *arg3 = 0 ;
42645 wxGBSpan *arg4 = 0 ;
42646 int arg5 ;
42647 int arg6 ;
42648 PyObject *arg7 = (PyObject *) NULL ;
42649 wxGBSizerItem *result;
42650 wxGBPosition temp3 ;
42651 wxGBSpan temp4 ;
42652 PyObject * obj0 = 0 ;
42653 PyObject * obj1 = 0 ;
42654 PyObject * obj2 = 0 ;
42655 PyObject * obj3 = 0 ;
42656 PyObject * obj4 = 0 ;
42657 PyObject * obj5 = 0 ;
42658 PyObject * obj6 = 0 ;
42659 char *kwnames[] = {
42660 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42661 };
42662
42663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
42664 {
42665 arg1 = (int)(SWIG_As_int(obj0));
42666 if (SWIG_arg_fail(1)) SWIG_fail;
42667 }
42668 {
42669 arg2 = (int)(SWIG_As_int(obj1));
42670 if (SWIG_arg_fail(2)) SWIG_fail;
42671 }
42672 {
42673 arg3 = &temp3;
42674 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
42675 }
42676 {
42677 arg4 = &temp4;
42678 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
42679 }
42680 {
42681 arg5 = (int)(SWIG_As_int(obj4));
42682 if (SWIG_arg_fail(5)) SWIG_fail;
42683 }
42684 {
42685 arg6 = (int)(SWIG_As_int(obj5));
42686 if (SWIG_arg_fail(6)) SWIG_fail;
42687 }
42688 if (obj6) {
42689 arg7 = obj6;
42690 }
42691 {
42692 PyThreadState* __tstate = wxPyBeginAllowThreads();
42693 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
42694
42695 wxPyEndAllowThreads(__tstate);
42696 if (PyErr_Occurred()) SWIG_fail;
42697 }
42698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
42699 return resultobj;
42700 fail:
42701 return NULL;
42702 }
42703
42704
42705 static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) {
42706 PyObject *resultobj;
42707 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42708 wxGBPosition result;
42709 PyObject * obj0 = 0 ;
42710 char *kwnames[] = {
42711 (char *) "self", NULL
42712 };
42713
42714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
42715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42716 if (SWIG_arg_fail(1)) SWIG_fail;
42717 {
42718 PyThreadState* __tstate = wxPyBeginAllowThreads();
42719 result = ((wxGBSizerItem const *)arg1)->GetPos();
42720
42721 wxPyEndAllowThreads(__tstate);
42722 if (PyErr_Occurred()) SWIG_fail;
42723 }
42724 {
42725 wxGBPosition * resultptr;
42726 resultptr = new wxGBPosition((wxGBPosition &)(result));
42727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
42728 }
42729 return resultobj;
42730 fail:
42731 return NULL;
42732 }
42733
42734
42735 static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
42736 PyObject *resultobj;
42737 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42738 wxGBSpan result;
42739 PyObject * obj0 = 0 ;
42740 char *kwnames[] = {
42741 (char *) "self", NULL
42742 };
42743
42744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
42745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42746 if (SWIG_arg_fail(1)) SWIG_fail;
42747 {
42748 PyThreadState* __tstate = wxPyBeginAllowThreads();
42749 result = ((wxGBSizerItem const *)arg1)->GetSpan();
42750
42751 wxPyEndAllowThreads(__tstate);
42752 if (PyErr_Occurred()) SWIG_fail;
42753 }
42754 {
42755 wxGBSpan * resultptr;
42756 resultptr = new wxGBSpan((wxGBSpan &)(result));
42757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
42758 }
42759 return resultobj;
42760 fail:
42761 return NULL;
42762 }
42763
42764
42765 static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
42766 PyObject *resultobj;
42767 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42768 wxGBPosition *arg2 = 0 ;
42769 bool result;
42770 wxGBPosition temp2 ;
42771 PyObject * obj0 = 0 ;
42772 PyObject * obj1 = 0 ;
42773 char *kwnames[] = {
42774 (char *) "self",(char *) "pos", NULL
42775 };
42776
42777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
42778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42779 if (SWIG_arg_fail(1)) SWIG_fail;
42780 {
42781 arg2 = &temp2;
42782 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42783 }
42784 {
42785 PyThreadState* __tstate = wxPyBeginAllowThreads();
42786 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
42787
42788 wxPyEndAllowThreads(__tstate);
42789 if (PyErr_Occurred()) SWIG_fail;
42790 }
42791 {
42792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42793 }
42794 return resultobj;
42795 fail:
42796 return NULL;
42797 }
42798
42799
42800 static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
42801 PyObject *resultobj;
42802 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42803 wxGBSpan *arg2 = 0 ;
42804 bool result;
42805 wxGBSpan temp2 ;
42806 PyObject * obj0 = 0 ;
42807 PyObject * obj1 = 0 ;
42808 char *kwnames[] = {
42809 (char *) "self",(char *) "span", NULL
42810 };
42811
42812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
42813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42814 if (SWIG_arg_fail(1)) SWIG_fail;
42815 {
42816 arg2 = &temp2;
42817 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
42818 }
42819 {
42820 PyThreadState* __tstate = wxPyBeginAllowThreads();
42821 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
42822
42823 wxPyEndAllowThreads(__tstate);
42824 if (PyErr_Occurred()) SWIG_fail;
42825 }
42826 {
42827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42828 }
42829 return resultobj;
42830 fail:
42831 return NULL;
42832 }
42833
42834
42835 static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
42836 PyObject *resultobj;
42837 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42838 wxGBSizerItem *arg2 = 0 ;
42839 bool result;
42840 PyObject * obj0 = 0 ;
42841 PyObject * obj1 = 0 ;
42842 char *kwnames[] = {
42843 (char *) "self",(char *) "other", NULL
42844 };
42845
42846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail;
42847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42848 if (SWIG_arg_fail(1)) SWIG_fail;
42849 {
42850 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42851 if (SWIG_arg_fail(2)) SWIG_fail;
42852 if (arg2 == NULL) {
42853 SWIG_null_ref("wxGBSizerItem");
42854 }
42855 if (SWIG_arg_fail(2)) SWIG_fail;
42856 }
42857 {
42858 PyThreadState* __tstate = wxPyBeginAllowThreads();
42859 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
42860
42861 wxPyEndAllowThreads(__tstate);
42862 if (PyErr_Occurred()) SWIG_fail;
42863 }
42864 {
42865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42866 }
42867 return resultobj;
42868 fail:
42869 return NULL;
42870 }
42871
42872
42873 static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) {
42874 PyObject *resultobj;
42875 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42876 wxGBPosition *arg2 = 0 ;
42877 wxGBSpan *arg3 = 0 ;
42878 bool result;
42879 wxGBPosition temp2 ;
42880 wxGBSpan temp3 ;
42881 PyObject * obj0 = 0 ;
42882 PyObject * obj1 = 0 ;
42883 PyObject * obj2 = 0 ;
42884 char *kwnames[] = {
42885 (char *) "self",(char *) "pos",(char *) "span", NULL
42886 };
42887
42888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
42889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42890 if (SWIG_arg_fail(1)) SWIG_fail;
42891 {
42892 arg2 = &temp2;
42893 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42894 }
42895 {
42896 arg3 = &temp3;
42897 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
42898 }
42899 {
42900 PyThreadState* __tstate = wxPyBeginAllowThreads();
42901 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
42902
42903 wxPyEndAllowThreads(__tstate);
42904 if (PyErr_Occurred()) SWIG_fail;
42905 }
42906 {
42907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42908 }
42909 return resultobj;
42910 fail:
42911 return NULL;
42912 }
42913
42914
42915 static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) {
42916 PyObject *resultobj;
42917 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42918 wxGBPosition result;
42919 PyObject * obj0 = 0 ;
42920 char *kwnames[] = {
42921 (char *) "self", NULL
42922 };
42923
42924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail;
42925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42926 if (SWIG_arg_fail(1)) SWIG_fail;
42927 {
42928 PyThreadState* __tstate = wxPyBeginAllowThreads();
42929 result = wxGBSizerItem_GetEndPos(arg1);
42930
42931 wxPyEndAllowThreads(__tstate);
42932 if (PyErr_Occurred()) SWIG_fail;
42933 }
42934 {
42935 wxGBPosition * resultptr;
42936 resultptr = new wxGBPosition((wxGBPosition &)(result));
42937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
42938 }
42939 return resultobj;
42940 fail:
42941 return NULL;
42942 }
42943
42944
42945 static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
42946 PyObject *resultobj;
42947 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42948 wxGridBagSizer *result;
42949 PyObject * obj0 = 0 ;
42950 char *kwnames[] = {
42951 (char *) "self", NULL
42952 };
42953
42954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
42955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42956 if (SWIG_arg_fail(1)) SWIG_fail;
42957 {
42958 PyThreadState* __tstate = wxPyBeginAllowThreads();
42959 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
42960
42961 wxPyEndAllowThreads(__tstate);
42962 if (PyErr_Occurred()) SWIG_fail;
42963 }
42964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
42965 return resultobj;
42966 fail:
42967 return NULL;
42968 }
42969
42970
42971 static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
42972 PyObject *resultobj;
42973 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42974 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
42975 PyObject * obj0 = 0 ;
42976 PyObject * obj1 = 0 ;
42977 char *kwnames[] = {
42978 (char *) "self",(char *) "sizer", NULL
42979 };
42980
42981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
42982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42983 if (SWIG_arg_fail(1)) SWIG_fail;
42984 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
42985 if (SWIG_arg_fail(2)) SWIG_fail;
42986 {
42987 PyThreadState* __tstate = wxPyBeginAllowThreads();
42988 (arg1)->SetGBSizer(arg2);
42989
42990 wxPyEndAllowThreads(__tstate);
42991 if (PyErr_Occurred()) SWIG_fail;
42992 }
42993 Py_INCREF(Py_None); resultobj = Py_None;
42994 return resultobj;
42995 fail:
42996 return NULL;
42997 }
42998
42999
43000 static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) {
43001 PyObject *obj;
43002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
43003 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
43004 Py_INCREF(obj);
43005 return Py_BuildValue((char *)"");
43006 }
43007 static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) {
43008 PyObject *resultobj;
43009 int arg1 = (int) 0 ;
43010 int arg2 = (int) 0 ;
43011 wxGridBagSizer *result;
43012 PyObject * obj0 = 0 ;
43013 PyObject * obj1 = 0 ;
43014 char *kwnames[] = {
43015 (char *) "vgap",(char *) "hgap", NULL
43016 };
43017
43018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
43019 if (obj0) {
43020 {
43021 arg1 = (int)(SWIG_As_int(obj0));
43022 if (SWIG_arg_fail(1)) SWIG_fail;
43023 }
43024 }
43025 if (obj1) {
43026 {
43027 arg2 = (int)(SWIG_As_int(obj1));
43028 if (SWIG_arg_fail(2)) SWIG_fail;
43029 }
43030 }
43031 {
43032 PyThreadState* __tstate = wxPyBeginAllowThreads();
43033 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
43034
43035 wxPyEndAllowThreads(__tstate);
43036 if (PyErr_Occurred()) SWIG_fail;
43037 }
43038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
43039 return resultobj;
43040 fail:
43041 return NULL;
43042 }
43043
43044
43045 static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
43046 PyObject *resultobj;
43047 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43048 PyObject *arg2 = (PyObject *) 0 ;
43049 wxGBPosition *arg3 = 0 ;
43050 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
43051 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
43052 int arg5 = (int) 0 ;
43053 int arg6 = (int) 0 ;
43054 PyObject *arg7 = (PyObject *) NULL ;
43055 wxGBSizerItem *result;
43056 wxGBPosition temp3 ;
43057 wxGBSpan temp4 ;
43058 PyObject * obj0 = 0 ;
43059 PyObject * obj1 = 0 ;
43060 PyObject * obj2 = 0 ;
43061 PyObject * obj3 = 0 ;
43062 PyObject * obj4 = 0 ;
43063 PyObject * obj5 = 0 ;
43064 PyObject * obj6 = 0 ;
43065 char *kwnames[] = {
43066 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43067 };
43068
43069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
43070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43071 if (SWIG_arg_fail(1)) SWIG_fail;
43072 arg2 = obj1;
43073 {
43074 arg3 = &temp3;
43075 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
43076 }
43077 if (obj3) {
43078 {
43079 arg4 = &temp4;
43080 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
43081 }
43082 }
43083 if (obj4) {
43084 {
43085 arg5 = (int)(SWIG_As_int(obj4));
43086 if (SWIG_arg_fail(5)) SWIG_fail;
43087 }
43088 }
43089 if (obj5) {
43090 {
43091 arg6 = (int)(SWIG_As_int(obj5));
43092 if (SWIG_arg_fail(6)) SWIG_fail;
43093 }
43094 }
43095 if (obj6) {
43096 arg7 = obj6;
43097 }
43098 {
43099 PyThreadState* __tstate = wxPyBeginAllowThreads();
43100 result = (wxGBSizerItem *)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
43101
43102 wxPyEndAllowThreads(__tstate);
43103 if (PyErr_Occurred()) SWIG_fail;
43104 }
43105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
43106 return resultobj;
43107 fail:
43108 return NULL;
43109 }
43110
43111
43112 static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
43113 PyObject *resultobj;
43114 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43115 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
43116 wxGBSizerItem *result;
43117 PyObject * obj0 = 0 ;
43118 PyObject * obj1 = 0 ;
43119 char *kwnames[] = {
43120 (char *) "self",(char *) "item", NULL
43121 };
43122
43123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
43124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43125 if (SWIG_arg_fail(1)) SWIG_fail;
43126 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43127 if (SWIG_arg_fail(2)) SWIG_fail;
43128 {
43129 PyThreadState* __tstate = wxPyBeginAllowThreads();
43130 result = (wxGBSizerItem *)(arg1)->Add(arg2);
43131
43132 wxPyEndAllowThreads(__tstate);
43133 if (PyErr_Occurred()) SWIG_fail;
43134 }
43135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
43136 return resultobj;
43137 fail:
43138 return NULL;
43139 }
43140
43141
43142 static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
43143 PyObject *resultobj;
43144 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43145 int arg2 ;
43146 int arg3 ;
43147 wxSize result;
43148 PyObject * obj0 = 0 ;
43149 PyObject * obj1 = 0 ;
43150 PyObject * obj2 = 0 ;
43151 char *kwnames[] = {
43152 (char *) "self",(char *) "row",(char *) "col", NULL
43153 };
43154
43155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridBagSizer_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
43156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43157 if (SWIG_arg_fail(1)) SWIG_fail;
43158 {
43159 arg2 = (int)(SWIG_As_int(obj1));
43160 if (SWIG_arg_fail(2)) SWIG_fail;
43161 }
43162 {
43163 arg3 = (int)(SWIG_As_int(obj2));
43164 if (SWIG_arg_fail(3)) SWIG_fail;
43165 }
43166 {
43167 PyThreadState* __tstate = wxPyBeginAllowThreads();
43168 result = ((wxGridBagSizer const *)arg1)->GetCellSize(arg2,arg3);
43169
43170 wxPyEndAllowThreads(__tstate);
43171 if (PyErr_Occurred()) SWIG_fail;
43172 }
43173 {
43174 wxSize * resultptr;
43175 resultptr = new wxSize((wxSize &)(result));
43176 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
43177 }
43178 return resultobj;
43179 fail:
43180 return NULL;
43181 }
43182
43183
43184 static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
43185 PyObject *resultobj;
43186 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43187 wxSize result;
43188 PyObject * obj0 = 0 ;
43189 char *kwnames[] = {
43190 (char *) "self", NULL
43191 };
43192
43193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
43194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43195 if (SWIG_arg_fail(1)) SWIG_fail;
43196 {
43197 PyThreadState* __tstate = wxPyBeginAllowThreads();
43198 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
43199
43200 wxPyEndAllowThreads(__tstate);
43201 if (PyErr_Occurred()) SWIG_fail;
43202 }
43203 {
43204 wxSize * resultptr;
43205 resultptr = new wxSize((wxSize &)(result));
43206 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
43207 }
43208 return resultobj;
43209 fail:
43210 return NULL;
43211 }
43212
43213
43214 static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
43215 PyObject *resultobj;
43216 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43217 wxSize *arg2 = 0 ;
43218 wxSize temp2 ;
43219 PyObject * obj0 = 0 ;
43220 PyObject * obj1 = 0 ;
43221 char *kwnames[] = {
43222 (char *) "self",(char *) "sz", NULL
43223 };
43224
43225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
43226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43227 if (SWIG_arg_fail(1)) SWIG_fail;
43228 {
43229 arg2 = &temp2;
43230 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
43231 }
43232 {
43233 PyThreadState* __tstate = wxPyBeginAllowThreads();
43234 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
43235
43236 wxPyEndAllowThreads(__tstate);
43237 if (PyErr_Occurred()) SWIG_fail;
43238 }
43239 Py_INCREF(Py_None); resultobj = Py_None;
43240 return resultobj;
43241 fail:
43242 return NULL;
43243 }
43244
43245
43246 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) {
43247 PyObject *resultobj;
43248 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43249 wxWindow *arg2 = (wxWindow *) 0 ;
43250 wxGBPosition result;
43251 PyObject * obj0 = 0 ;
43252 PyObject * obj1 = 0 ;
43253
43254 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
43255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43256 if (SWIG_arg_fail(1)) SWIG_fail;
43257 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
43258 if (SWIG_arg_fail(2)) SWIG_fail;
43259 {
43260 PyThreadState* __tstate = wxPyBeginAllowThreads();
43261 result = (arg1)->GetItemPosition(arg2);
43262
43263 wxPyEndAllowThreads(__tstate);
43264 if (PyErr_Occurred()) SWIG_fail;
43265 }
43266 {
43267 wxGBPosition * resultptr;
43268 resultptr = new wxGBPosition((wxGBPosition &)(result));
43269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
43270 }
43271 return resultobj;
43272 fail:
43273 return NULL;
43274 }
43275
43276
43277 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) {
43278 PyObject *resultobj;
43279 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43280 wxSizer *arg2 = (wxSizer *) 0 ;
43281 wxGBPosition result;
43282 PyObject * obj0 = 0 ;
43283 PyObject * obj1 = 0 ;
43284
43285 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
43286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43287 if (SWIG_arg_fail(1)) SWIG_fail;
43288 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
43289 if (SWIG_arg_fail(2)) SWIG_fail;
43290 {
43291 PyThreadState* __tstate = wxPyBeginAllowThreads();
43292 result = (arg1)->GetItemPosition(arg2);
43293
43294 wxPyEndAllowThreads(__tstate);
43295 if (PyErr_Occurred()) SWIG_fail;
43296 }
43297 {
43298 wxGBPosition * resultptr;
43299 resultptr = new wxGBPosition((wxGBPosition &)(result));
43300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
43301 }
43302 return resultobj;
43303 fail:
43304 return NULL;
43305 }
43306
43307
43308 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) {
43309 PyObject *resultobj;
43310 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43311 size_t arg2 ;
43312 wxGBPosition result;
43313 PyObject * obj0 = 0 ;
43314 PyObject * obj1 = 0 ;
43315
43316 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
43317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43318 if (SWIG_arg_fail(1)) SWIG_fail;
43319 {
43320 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
43321 if (SWIG_arg_fail(2)) SWIG_fail;
43322 }
43323 {
43324 PyThreadState* __tstate = wxPyBeginAllowThreads();
43325 result = (arg1)->GetItemPosition(arg2);
43326
43327 wxPyEndAllowThreads(__tstate);
43328 if (PyErr_Occurred()) SWIG_fail;
43329 }
43330 {
43331 wxGBPosition * resultptr;
43332 resultptr = new wxGBPosition((wxGBPosition &)(result));
43333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
43334 }
43335 return resultobj;
43336 fail:
43337 return NULL;
43338 }
43339
43340
43341 static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
43342 int argc;
43343 PyObject *argv[3];
43344 int ii;
43345
43346 argc = PyObject_Length(args);
43347 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
43348 argv[ii] = PyTuple_GetItem(args,ii);
43349 }
43350 if (argc == 2) {
43351 int _v;
43352 {
43353 void *ptr;
43354 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43355 _v = 0;
43356 PyErr_Clear();
43357 } else {
43358 _v = 1;
43359 }
43360 }
43361 if (_v) {
43362 {
43363 void *ptr;
43364 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
43365 _v = 0;
43366 PyErr_Clear();
43367 } else {
43368 _v = 1;
43369 }
43370 }
43371 if (_v) {
43372 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
43373 }
43374 }
43375 }
43376 if (argc == 2) {
43377 int _v;
43378 {
43379 void *ptr;
43380 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43381 _v = 0;
43382 PyErr_Clear();
43383 } else {
43384 _v = 1;
43385 }
43386 }
43387 if (_v) {
43388 {
43389 void *ptr;
43390 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
43391 _v = 0;
43392 PyErr_Clear();
43393 } else {
43394 _v = 1;
43395 }
43396 }
43397 if (_v) {
43398 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
43399 }
43400 }
43401 }
43402 if (argc == 2) {
43403 int _v;
43404 {
43405 void *ptr;
43406 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43407 _v = 0;
43408 PyErr_Clear();
43409 } else {
43410 _v = 1;
43411 }
43412 }
43413 if (_v) {
43414 _v = SWIG_Check_unsigned_SS_long(argv[1]);
43415 if (_v) {
43416 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
43417 }
43418 }
43419 }
43420
43421 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43422 return NULL;
43423 }
43424
43425
43426 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) {
43427 PyObject *resultobj;
43428 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43429 wxWindow *arg2 = (wxWindow *) 0 ;
43430 wxGBPosition *arg3 = 0 ;
43431 bool result;
43432 wxGBPosition temp3 ;
43433 PyObject * obj0 = 0 ;
43434 PyObject * obj1 = 0 ;
43435 PyObject * obj2 = 0 ;
43436
43437 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
43438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43439 if (SWIG_arg_fail(1)) SWIG_fail;
43440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
43441 if (SWIG_arg_fail(2)) SWIG_fail;
43442 {
43443 arg3 = &temp3;
43444 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
43445 }
43446 {
43447 PyThreadState* __tstate = wxPyBeginAllowThreads();
43448 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
43449
43450 wxPyEndAllowThreads(__tstate);
43451 if (PyErr_Occurred()) SWIG_fail;
43452 }
43453 {
43454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43455 }
43456 return resultobj;
43457 fail:
43458 return NULL;
43459 }
43460
43461
43462 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) {
43463 PyObject *resultobj;
43464 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43465 wxSizer *arg2 = (wxSizer *) 0 ;
43466 wxGBPosition *arg3 = 0 ;
43467 bool result;
43468 wxGBPosition temp3 ;
43469 PyObject * obj0 = 0 ;
43470 PyObject * obj1 = 0 ;
43471 PyObject * obj2 = 0 ;
43472
43473 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
43474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43475 if (SWIG_arg_fail(1)) SWIG_fail;
43476 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
43477 if (SWIG_arg_fail(2)) SWIG_fail;
43478 {
43479 arg3 = &temp3;
43480 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
43481 }
43482 {
43483 PyThreadState* __tstate = wxPyBeginAllowThreads();
43484 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
43485
43486 wxPyEndAllowThreads(__tstate);
43487 if (PyErr_Occurred()) SWIG_fail;
43488 }
43489 {
43490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43491 }
43492 return resultobj;
43493 fail:
43494 return NULL;
43495 }
43496
43497
43498 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) {
43499 PyObject *resultobj;
43500 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43501 size_t arg2 ;
43502 wxGBPosition *arg3 = 0 ;
43503 bool result;
43504 wxGBPosition temp3 ;
43505 PyObject * obj0 = 0 ;
43506 PyObject * obj1 = 0 ;
43507 PyObject * obj2 = 0 ;
43508
43509 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
43510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43511 if (SWIG_arg_fail(1)) SWIG_fail;
43512 {
43513 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
43514 if (SWIG_arg_fail(2)) SWIG_fail;
43515 }
43516 {
43517 arg3 = &temp3;
43518 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
43519 }
43520 {
43521 PyThreadState* __tstate = wxPyBeginAllowThreads();
43522 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
43523
43524 wxPyEndAllowThreads(__tstate);
43525 if (PyErr_Occurred()) SWIG_fail;
43526 }
43527 {
43528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43529 }
43530 return resultobj;
43531 fail:
43532 return NULL;
43533 }
43534
43535
43536 static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
43537 int argc;
43538 PyObject *argv[4];
43539 int ii;
43540
43541 argc = PyObject_Length(args);
43542 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
43543 argv[ii] = PyTuple_GetItem(args,ii);
43544 }
43545 if (argc == 3) {
43546 int _v;
43547 {
43548 void *ptr;
43549 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43550 _v = 0;
43551 PyErr_Clear();
43552 } else {
43553 _v = 1;
43554 }
43555 }
43556 if (_v) {
43557 {
43558 void *ptr;
43559 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
43560 _v = 0;
43561 PyErr_Clear();
43562 } else {
43563 _v = 1;
43564 }
43565 }
43566 if (_v) {
43567 {
43568 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
43569 }
43570 if (_v) {
43571 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
43572 }
43573 }
43574 }
43575 }
43576 if (argc == 3) {
43577 int _v;
43578 {
43579 void *ptr;
43580 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43581 _v = 0;
43582 PyErr_Clear();
43583 } else {
43584 _v = 1;
43585 }
43586 }
43587 if (_v) {
43588 {
43589 void *ptr;
43590 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
43591 _v = 0;
43592 PyErr_Clear();
43593 } else {
43594 _v = 1;
43595 }
43596 }
43597 if (_v) {
43598 {
43599 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
43600 }
43601 if (_v) {
43602 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
43603 }
43604 }
43605 }
43606 }
43607 if (argc == 3) {
43608 int _v;
43609 {
43610 void *ptr;
43611 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43612 _v = 0;
43613 PyErr_Clear();
43614 } else {
43615 _v = 1;
43616 }
43617 }
43618 if (_v) {
43619 _v = SWIG_Check_unsigned_SS_long(argv[1]);
43620 if (_v) {
43621 {
43622 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
43623 }
43624 if (_v) {
43625 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
43626 }
43627 }
43628 }
43629 }
43630
43631 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43632 return NULL;
43633 }
43634
43635
43636 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) {
43637 PyObject *resultobj;
43638 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43639 wxWindow *arg2 = (wxWindow *) 0 ;
43640 wxGBSpan result;
43641 PyObject * obj0 = 0 ;
43642 PyObject * obj1 = 0 ;
43643
43644 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
43645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43646 if (SWIG_arg_fail(1)) SWIG_fail;
43647 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
43648 if (SWIG_arg_fail(2)) SWIG_fail;
43649 {
43650 PyThreadState* __tstate = wxPyBeginAllowThreads();
43651 result = (arg1)->GetItemSpan(arg2);
43652
43653 wxPyEndAllowThreads(__tstate);
43654 if (PyErr_Occurred()) SWIG_fail;
43655 }
43656 {
43657 wxGBSpan * resultptr;
43658 resultptr = new wxGBSpan((wxGBSpan &)(result));
43659 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
43660 }
43661 return resultobj;
43662 fail:
43663 return NULL;
43664 }
43665
43666
43667 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) {
43668 PyObject *resultobj;
43669 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43670 wxSizer *arg2 = (wxSizer *) 0 ;
43671 wxGBSpan result;
43672 PyObject * obj0 = 0 ;
43673 PyObject * obj1 = 0 ;
43674
43675 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
43676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43677 if (SWIG_arg_fail(1)) SWIG_fail;
43678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
43679 if (SWIG_arg_fail(2)) SWIG_fail;
43680 {
43681 PyThreadState* __tstate = wxPyBeginAllowThreads();
43682 result = (arg1)->GetItemSpan(arg2);
43683
43684 wxPyEndAllowThreads(__tstate);
43685 if (PyErr_Occurred()) SWIG_fail;
43686 }
43687 {
43688 wxGBSpan * resultptr;
43689 resultptr = new wxGBSpan((wxGBSpan &)(result));
43690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
43691 }
43692 return resultobj;
43693 fail:
43694 return NULL;
43695 }
43696
43697
43698 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) {
43699 PyObject *resultobj;
43700 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43701 size_t arg2 ;
43702 wxGBSpan result;
43703 PyObject * obj0 = 0 ;
43704 PyObject * obj1 = 0 ;
43705
43706 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
43707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43708 if (SWIG_arg_fail(1)) SWIG_fail;
43709 {
43710 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
43711 if (SWIG_arg_fail(2)) SWIG_fail;
43712 }
43713 {
43714 PyThreadState* __tstate = wxPyBeginAllowThreads();
43715 result = (arg1)->GetItemSpan(arg2);
43716
43717 wxPyEndAllowThreads(__tstate);
43718 if (PyErr_Occurred()) SWIG_fail;
43719 }
43720 {
43721 wxGBSpan * resultptr;
43722 resultptr = new wxGBSpan((wxGBSpan &)(result));
43723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
43724 }
43725 return resultobj;
43726 fail:
43727 return NULL;
43728 }
43729
43730
43731 static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
43732 int argc;
43733 PyObject *argv[3];
43734 int ii;
43735
43736 argc = PyObject_Length(args);
43737 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
43738 argv[ii] = PyTuple_GetItem(args,ii);
43739 }
43740 if (argc == 2) {
43741 int _v;
43742 {
43743 void *ptr;
43744 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43745 _v = 0;
43746 PyErr_Clear();
43747 } else {
43748 _v = 1;
43749 }
43750 }
43751 if (_v) {
43752 {
43753 void *ptr;
43754 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
43755 _v = 0;
43756 PyErr_Clear();
43757 } else {
43758 _v = 1;
43759 }
43760 }
43761 if (_v) {
43762 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
43763 }
43764 }
43765 }
43766 if (argc == 2) {
43767 int _v;
43768 {
43769 void *ptr;
43770 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43771 _v = 0;
43772 PyErr_Clear();
43773 } else {
43774 _v = 1;
43775 }
43776 }
43777 if (_v) {
43778 {
43779 void *ptr;
43780 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
43781 _v = 0;
43782 PyErr_Clear();
43783 } else {
43784 _v = 1;
43785 }
43786 }
43787 if (_v) {
43788 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
43789 }
43790 }
43791 }
43792 if (argc == 2) {
43793 int _v;
43794 {
43795 void *ptr;
43796 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43797 _v = 0;
43798 PyErr_Clear();
43799 } else {
43800 _v = 1;
43801 }
43802 }
43803 if (_v) {
43804 _v = SWIG_Check_unsigned_SS_long(argv[1]);
43805 if (_v) {
43806 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
43807 }
43808 }
43809 }
43810
43811 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43812 return NULL;
43813 }
43814
43815
43816 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) {
43817 PyObject *resultobj;
43818 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43819 wxWindow *arg2 = (wxWindow *) 0 ;
43820 wxGBSpan *arg3 = 0 ;
43821 bool result;
43822 wxGBSpan temp3 ;
43823 PyObject * obj0 = 0 ;
43824 PyObject * obj1 = 0 ;
43825 PyObject * obj2 = 0 ;
43826
43827 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
43828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43829 if (SWIG_arg_fail(1)) SWIG_fail;
43830 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
43831 if (SWIG_arg_fail(2)) SWIG_fail;
43832 {
43833 arg3 = &temp3;
43834 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
43835 }
43836 {
43837 PyThreadState* __tstate = wxPyBeginAllowThreads();
43838 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
43839
43840 wxPyEndAllowThreads(__tstate);
43841 if (PyErr_Occurred()) SWIG_fail;
43842 }
43843 {
43844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43845 }
43846 return resultobj;
43847 fail:
43848 return NULL;
43849 }
43850
43851
43852 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) {
43853 PyObject *resultobj;
43854 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43855 wxSizer *arg2 = (wxSizer *) 0 ;
43856 wxGBSpan *arg3 = 0 ;
43857 bool result;
43858 wxGBSpan temp3 ;
43859 PyObject * obj0 = 0 ;
43860 PyObject * obj1 = 0 ;
43861 PyObject * obj2 = 0 ;
43862
43863 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
43864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43865 if (SWIG_arg_fail(1)) SWIG_fail;
43866 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
43867 if (SWIG_arg_fail(2)) SWIG_fail;
43868 {
43869 arg3 = &temp3;
43870 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
43871 }
43872 {
43873 PyThreadState* __tstate = wxPyBeginAllowThreads();
43874 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
43875
43876 wxPyEndAllowThreads(__tstate);
43877 if (PyErr_Occurred()) SWIG_fail;
43878 }
43879 {
43880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43881 }
43882 return resultobj;
43883 fail:
43884 return NULL;
43885 }
43886
43887
43888 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) {
43889 PyObject *resultobj;
43890 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43891 size_t arg2 ;
43892 wxGBSpan *arg3 = 0 ;
43893 bool result;
43894 wxGBSpan temp3 ;
43895 PyObject * obj0 = 0 ;
43896 PyObject * obj1 = 0 ;
43897 PyObject * obj2 = 0 ;
43898
43899 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
43900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43901 if (SWIG_arg_fail(1)) SWIG_fail;
43902 {
43903 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
43904 if (SWIG_arg_fail(2)) SWIG_fail;
43905 }
43906 {
43907 arg3 = &temp3;
43908 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
43909 }
43910 {
43911 PyThreadState* __tstate = wxPyBeginAllowThreads();
43912 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
43913
43914 wxPyEndAllowThreads(__tstate);
43915 if (PyErr_Occurred()) SWIG_fail;
43916 }
43917 {
43918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43919 }
43920 return resultobj;
43921 fail:
43922 return NULL;
43923 }
43924
43925
43926 static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
43927 int argc;
43928 PyObject *argv[4];
43929 int ii;
43930
43931 argc = PyObject_Length(args);
43932 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
43933 argv[ii] = PyTuple_GetItem(args,ii);
43934 }
43935 if (argc == 3) {
43936 int _v;
43937 {
43938 void *ptr;
43939 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43940 _v = 0;
43941 PyErr_Clear();
43942 } else {
43943 _v = 1;
43944 }
43945 }
43946 if (_v) {
43947 {
43948 void *ptr;
43949 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
43950 _v = 0;
43951 PyErr_Clear();
43952 } else {
43953 _v = 1;
43954 }
43955 }
43956 if (_v) {
43957 {
43958 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
43959 }
43960 if (_v) {
43961 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
43962 }
43963 }
43964 }
43965 }
43966 if (argc == 3) {
43967 int _v;
43968 {
43969 void *ptr;
43970 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43971 _v = 0;
43972 PyErr_Clear();
43973 } else {
43974 _v = 1;
43975 }
43976 }
43977 if (_v) {
43978 {
43979 void *ptr;
43980 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
43981 _v = 0;
43982 PyErr_Clear();
43983 } else {
43984 _v = 1;
43985 }
43986 }
43987 if (_v) {
43988 {
43989 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
43990 }
43991 if (_v) {
43992 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
43993 }
43994 }
43995 }
43996 }
43997 if (argc == 3) {
43998 int _v;
43999 {
44000 void *ptr;
44001 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
44002 _v = 0;
44003 PyErr_Clear();
44004 } else {
44005 _v = 1;
44006 }
44007 }
44008 if (_v) {
44009 _v = SWIG_Check_unsigned_SS_long(argv[1]);
44010 if (_v) {
44011 {
44012 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
44013 }
44014 if (_v) {
44015 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
44016 }
44017 }
44018 }
44019 }
44020
44021 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
44022 return NULL;
44023 }
44024
44025
44026 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) {
44027 PyObject *resultobj;
44028 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44029 wxWindow *arg2 = (wxWindow *) 0 ;
44030 wxGBSizerItem *result;
44031 PyObject * obj0 = 0 ;
44032 PyObject * obj1 = 0 ;
44033
44034 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
44035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44036 if (SWIG_arg_fail(1)) SWIG_fail;
44037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44038 if (SWIG_arg_fail(2)) SWIG_fail;
44039 {
44040 PyThreadState* __tstate = wxPyBeginAllowThreads();
44041 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
44042
44043 wxPyEndAllowThreads(__tstate);
44044 if (PyErr_Occurred()) SWIG_fail;
44045 }
44046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
44047 return resultobj;
44048 fail:
44049 return NULL;
44050 }
44051
44052
44053 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) {
44054 PyObject *resultobj;
44055 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44056 wxSizer *arg2 = (wxSizer *) 0 ;
44057 wxGBSizerItem *result;
44058 PyObject * obj0 = 0 ;
44059 PyObject * obj1 = 0 ;
44060
44061 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
44062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44063 if (SWIG_arg_fail(1)) SWIG_fail;
44064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
44065 if (SWIG_arg_fail(2)) SWIG_fail;
44066 {
44067 PyThreadState* __tstate = wxPyBeginAllowThreads();
44068 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
44069
44070 wxPyEndAllowThreads(__tstate);
44071 if (PyErr_Occurred()) SWIG_fail;
44072 }
44073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
44074 return resultobj;
44075 fail:
44076 return NULL;
44077 }
44078
44079
44080 static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
44081 int argc;
44082 PyObject *argv[3];
44083 int ii;
44084
44085 argc = PyObject_Length(args);
44086 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
44087 argv[ii] = PyTuple_GetItem(args,ii);
44088 }
44089 if (argc == 2) {
44090 int _v;
44091 {
44092 void *ptr;
44093 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
44094 _v = 0;
44095 PyErr_Clear();
44096 } else {
44097 _v = 1;
44098 }
44099 }
44100 if (_v) {
44101 {
44102 void *ptr;
44103 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
44104 _v = 0;
44105 PyErr_Clear();
44106 } else {
44107 _v = 1;
44108 }
44109 }
44110 if (_v) {
44111 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
44112 }
44113 }
44114 }
44115 if (argc == 2) {
44116 int _v;
44117 {
44118 void *ptr;
44119 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
44120 _v = 0;
44121 PyErr_Clear();
44122 } else {
44123 _v = 1;
44124 }
44125 }
44126 if (_v) {
44127 {
44128 void *ptr;
44129 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
44130 _v = 0;
44131 PyErr_Clear();
44132 } else {
44133 _v = 1;
44134 }
44135 }
44136 if (_v) {
44137 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
44138 }
44139 }
44140 }
44141
44142 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_FindItem'");
44143 return NULL;
44144 }
44145
44146
44147 static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44148 PyObject *resultobj;
44149 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44150 wxGBPosition *arg2 = 0 ;
44151 wxGBSizerItem *result;
44152 wxGBPosition temp2 ;
44153 PyObject * obj0 = 0 ;
44154 PyObject * obj1 = 0 ;
44155 char *kwnames[] = {
44156 (char *) "self",(char *) "pos", NULL
44157 };
44158
44159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
44160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44161 if (SWIG_arg_fail(1)) SWIG_fail;
44162 {
44163 arg2 = &temp2;
44164 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
44165 }
44166 {
44167 PyThreadState* __tstate = wxPyBeginAllowThreads();
44168 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
44169
44170 wxPyEndAllowThreads(__tstate);
44171 if (PyErr_Occurred()) SWIG_fail;
44172 }
44173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
44174 return resultobj;
44175 fail:
44176 return NULL;
44177 }
44178
44179
44180 static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44181 PyObject *resultobj;
44182 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44183 wxPoint *arg2 = 0 ;
44184 wxGBSizerItem *result;
44185 wxPoint temp2 ;
44186 PyObject * obj0 = 0 ;
44187 PyObject * obj1 = 0 ;
44188 char *kwnames[] = {
44189 (char *) "self",(char *) "pt", NULL
44190 };
44191
44192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
44193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44194 if (SWIG_arg_fail(1)) SWIG_fail;
44195 {
44196 arg2 = &temp2;
44197 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
44198 }
44199 {
44200 PyThreadState* __tstate = wxPyBeginAllowThreads();
44201 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
44202
44203 wxPyEndAllowThreads(__tstate);
44204 if (PyErr_Occurred()) SWIG_fail;
44205 }
44206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
44207 return resultobj;
44208 fail:
44209 return NULL;
44210 }
44211
44212
44213 static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) {
44214 PyObject *resultobj;
44215 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44216 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
44217 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
44218 bool result;
44219 PyObject * obj0 = 0 ;
44220 PyObject * obj1 = 0 ;
44221 PyObject * obj2 = 0 ;
44222 char *kwnames[] = {
44223 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44224 };
44225
44226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail;
44227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44228 if (SWIG_arg_fail(1)) SWIG_fail;
44229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
44230 if (SWIG_arg_fail(2)) SWIG_fail;
44231 if (obj2) {
44232 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
44233 if (SWIG_arg_fail(3)) SWIG_fail;
44234 }
44235 {
44236 PyThreadState* __tstate = wxPyBeginAllowThreads();
44237 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
44238
44239 wxPyEndAllowThreads(__tstate);
44240 if (PyErr_Occurred()) SWIG_fail;
44241 }
44242 {
44243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44244 }
44245 return resultobj;
44246 fail:
44247 return NULL;
44248 }
44249
44250
44251 static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) {
44252 PyObject *resultobj;
44253 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44254 wxGBPosition *arg2 = 0 ;
44255 wxGBSpan *arg3 = 0 ;
44256 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
44257 bool result;
44258 wxGBPosition temp2 ;
44259 wxGBSpan temp3 ;
44260 PyObject * obj0 = 0 ;
44261 PyObject * obj1 = 0 ;
44262 PyObject * obj2 = 0 ;
44263 PyObject * obj3 = 0 ;
44264 char *kwnames[] = {
44265 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44266 };
44267
44268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44270 if (SWIG_arg_fail(1)) SWIG_fail;
44271 {
44272 arg2 = &temp2;
44273 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
44274 }
44275 {
44276 arg3 = &temp3;
44277 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
44278 }
44279 if (obj3) {
44280 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
44281 if (SWIG_arg_fail(4)) SWIG_fail;
44282 }
44283 {
44284 PyThreadState* __tstate = wxPyBeginAllowThreads();
44285 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
44286
44287 wxPyEndAllowThreads(__tstate);
44288 if (PyErr_Occurred()) SWIG_fail;
44289 }
44290 {
44291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44292 }
44293 return resultobj;
44294 fail:
44295 return NULL;
44296 }
44297
44298
44299 static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) {
44300 PyObject *obj;
44301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
44302 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
44303 Py_INCREF(obj);
44304 return Py_BuildValue((char *)"");
44305 }
44306 static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
44307 PyObject *resultobj;
44308 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44309 wxRelationship arg2 ;
44310 wxWindow *arg3 = (wxWindow *) 0 ;
44311 wxEdge arg4 ;
44312 int arg5 = (int) 0 ;
44313 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
44314 PyObject * obj0 = 0 ;
44315 PyObject * obj1 = 0 ;
44316 PyObject * obj2 = 0 ;
44317 PyObject * obj3 = 0 ;
44318 PyObject * obj4 = 0 ;
44319 PyObject * obj5 = 0 ;
44320 char *kwnames[] = {
44321 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44322 };
44323
44324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44326 if (SWIG_arg_fail(1)) SWIG_fail;
44327 {
44328 arg2 = (wxRelationship)(SWIG_As_int(obj1));
44329 if (SWIG_arg_fail(2)) SWIG_fail;
44330 }
44331 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44332 if (SWIG_arg_fail(3)) SWIG_fail;
44333 {
44334 arg4 = (wxEdge)(SWIG_As_int(obj3));
44335 if (SWIG_arg_fail(4)) SWIG_fail;
44336 }
44337 if (obj4) {
44338 {
44339 arg5 = (int)(SWIG_As_int(obj4));
44340 if (SWIG_arg_fail(5)) SWIG_fail;
44341 }
44342 }
44343 if (obj5) {
44344 {
44345 arg6 = (int)(SWIG_As_int(obj5));
44346 if (SWIG_arg_fail(6)) SWIG_fail;
44347 }
44348 }
44349 {
44350 PyThreadState* __tstate = wxPyBeginAllowThreads();
44351 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
44352
44353 wxPyEndAllowThreads(__tstate);
44354 if (PyErr_Occurred()) SWIG_fail;
44355 }
44356 Py_INCREF(Py_None); resultobj = Py_None;
44357 return resultobj;
44358 fail:
44359 return NULL;
44360 }
44361
44362
44363 static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) {
44364 PyObject *resultobj;
44365 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44366 wxWindow *arg2 = (wxWindow *) 0 ;
44367 int arg3 = (int) 0 ;
44368 PyObject * obj0 = 0 ;
44369 PyObject * obj1 = 0 ;
44370 PyObject * obj2 = 0 ;
44371 char *kwnames[] = {
44372 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44373 };
44374
44375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
44376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44377 if (SWIG_arg_fail(1)) SWIG_fail;
44378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44379 if (SWIG_arg_fail(2)) SWIG_fail;
44380 if (obj2) {
44381 {
44382 arg3 = (int)(SWIG_As_int(obj2));
44383 if (SWIG_arg_fail(3)) SWIG_fail;
44384 }
44385 }
44386 {
44387 PyThreadState* __tstate = wxPyBeginAllowThreads();
44388 (arg1)->LeftOf(arg2,arg3);
44389
44390 wxPyEndAllowThreads(__tstate);
44391 if (PyErr_Occurred()) SWIG_fail;
44392 }
44393 Py_INCREF(Py_None); resultobj = Py_None;
44394 return resultobj;
44395 fail:
44396 return NULL;
44397 }
44398
44399
44400 static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) {
44401 PyObject *resultobj;
44402 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44403 wxWindow *arg2 = (wxWindow *) 0 ;
44404 int arg3 = (int) 0 ;
44405 PyObject * obj0 = 0 ;
44406 PyObject * obj1 = 0 ;
44407 PyObject * obj2 = 0 ;
44408 char *kwnames[] = {
44409 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44410 };
44411
44412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
44413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44414 if (SWIG_arg_fail(1)) SWIG_fail;
44415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44416 if (SWIG_arg_fail(2)) SWIG_fail;
44417 if (obj2) {
44418 {
44419 arg3 = (int)(SWIG_As_int(obj2));
44420 if (SWIG_arg_fail(3)) SWIG_fail;
44421 }
44422 }
44423 {
44424 PyThreadState* __tstate = wxPyBeginAllowThreads();
44425 (arg1)->RightOf(arg2,arg3);
44426
44427 wxPyEndAllowThreads(__tstate);
44428 if (PyErr_Occurred()) SWIG_fail;
44429 }
44430 Py_INCREF(Py_None); resultobj = Py_None;
44431 return resultobj;
44432 fail:
44433 return NULL;
44434 }
44435
44436
44437 static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) {
44438 PyObject *resultobj;
44439 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44440 wxWindow *arg2 = (wxWindow *) 0 ;
44441 int arg3 = (int) 0 ;
44442 PyObject * obj0 = 0 ;
44443 PyObject * obj1 = 0 ;
44444 PyObject * obj2 = 0 ;
44445 char *kwnames[] = {
44446 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44447 };
44448
44449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
44450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44451 if (SWIG_arg_fail(1)) SWIG_fail;
44452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44453 if (SWIG_arg_fail(2)) SWIG_fail;
44454 if (obj2) {
44455 {
44456 arg3 = (int)(SWIG_As_int(obj2));
44457 if (SWIG_arg_fail(3)) SWIG_fail;
44458 }
44459 }
44460 {
44461 PyThreadState* __tstate = wxPyBeginAllowThreads();
44462 (arg1)->Above(arg2,arg3);
44463
44464 wxPyEndAllowThreads(__tstate);
44465 if (PyErr_Occurred()) SWIG_fail;
44466 }
44467 Py_INCREF(Py_None); resultobj = Py_None;
44468 return resultobj;
44469 fail:
44470 return NULL;
44471 }
44472
44473
44474 static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) {
44475 PyObject *resultobj;
44476 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44477 wxWindow *arg2 = (wxWindow *) 0 ;
44478 int arg3 = (int) 0 ;
44479 PyObject * obj0 = 0 ;
44480 PyObject * obj1 = 0 ;
44481 PyObject * obj2 = 0 ;
44482 char *kwnames[] = {
44483 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44484 };
44485
44486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
44487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44488 if (SWIG_arg_fail(1)) SWIG_fail;
44489 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44490 if (SWIG_arg_fail(2)) SWIG_fail;
44491 if (obj2) {
44492 {
44493 arg3 = (int)(SWIG_As_int(obj2));
44494 if (SWIG_arg_fail(3)) SWIG_fail;
44495 }
44496 }
44497 {
44498 PyThreadState* __tstate = wxPyBeginAllowThreads();
44499 (arg1)->Below(arg2,arg3);
44500
44501 wxPyEndAllowThreads(__tstate);
44502 if (PyErr_Occurred()) SWIG_fail;
44503 }
44504 Py_INCREF(Py_None); resultobj = Py_None;
44505 return resultobj;
44506 fail:
44507 return NULL;
44508 }
44509
44510
44511 static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) {
44512 PyObject *resultobj;
44513 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44514 wxWindow *arg2 = (wxWindow *) 0 ;
44515 wxEdge arg3 ;
44516 int arg4 = (int) 0 ;
44517 PyObject * obj0 = 0 ;
44518 PyObject * obj1 = 0 ;
44519 PyObject * obj2 = 0 ;
44520 PyObject * obj3 = 0 ;
44521 char *kwnames[] = {
44522 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44523 };
44524
44525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44527 if (SWIG_arg_fail(1)) SWIG_fail;
44528 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44529 if (SWIG_arg_fail(2)) SWIG_fail;
44530 {
44531 arg3 = (wxEdge)(SWIG_As_int(obj2));
44532 if (SWIG_arg_fail(3)) SWIG_fail;
44533 }
44534 if (obj3) {
44535 {
44536 arg4 = (int)(SWIG_As_int(obj3));
44537 if (SWIG_arg_fail(4)) SWIG_fail;
44538 }
44539 }
44540 {
44541 PyThreadState* __tstate = wxPyBeginAllowThreads();
44542 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
44543
44544 wxPyEndAllowThreads(__tstate);
44545 if (PyErr_Occurred()) SWIG_fail;
44546 }
44547 Py_INCREF(Py_None); resultobj = Py_None;
44548 return resultobj;
44549 fail:
44550 return NULL;
44551 }
44552
44553
44554 static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) {
44555 PyObject *resultobj;
44556 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44557 wxWindow *arg2 = (wxWindow *) 0 ;
44558 wxEdge arg3 ;
44559 int arg4 ;
44560 PyObject * obj0 = 0 ;
44561 PyObject * obj1 = 0 ;
44562 PyObject * obj2 = 0 ;
44563 PyObject * obj3 = 0 ;
44564 char *kwnames[] = {
44565 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44566 };
44567
44568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44570 if (SWIG_arg_fail(1)) SWIG_fail;
44571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44572 if (SWIG_arg_fail(2)) SWIG_fail;
44573 {
44574 arg3 = (wxEdge)(SWIG_As_int(obj2));
44575 if (SWIG_arg_fail(3)) SWIG_fail;
44576 }
44577 {
44578 arg4 = (int)(SWIG_As_int(obj3));
44579 if (SWIG_arg_fail(4)) SWIG_fail;
44580 }
44581 {
44582 PyThreadState* __tstate = wxPyBeginAllowThreads();
44583 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
44584
44585 wxPyEndAllowThreads(__tstate);
44586 if (PyErr_Occurred()) SWIG_fail;
44587 }
44588 Py_INCREF(Py_None); resultobj = Py_None;
44589 return resultobj;
44590 fail:
44591 return NULL;
44592 }
44593
44594
44595 static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) {
44596 PyObject *resultobj;
44597 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44598 int arg2 ;
44599 PyObject * obj0 = 0 ;
44600 PyObject * obj1 = 0 ;
44601 char *kwnames[] = {
44602 (char *) "self",(char *) "val", NULL
44603 };
44604
44605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
44606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44607 if (SWIG_arg_fail(1)) SWIG_fail;
44608 {
44609 arg2 = (int)(SWIG_As_int(obj1));
44610 if (SWIG_arg_fail(2)) SWIG_fail;
44611 }
44612 {
44613 PyThreadState* __tstate = wxPyBeginAllowThreads();
44614 (arg1)->Absolute(arg2);
44615
44616 wxPyEndAllowThreads(__tstate);
44617 if (PyErr_Occurred()) SWIG_fail;
44618 }
44619 Py_INCREF(Py_None); resultobj = Py_None;
44620 return resultobj;
44621 fail:
44622 return NULL;
44623 }
44624
44625
44626 static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) {
44627 PyObject *resultobj;
44628 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44629 PyObject * obj0 = 0 ;
44630 char *kwnames[] = {
44631 (char *) "self", NULL
44632 };
44633
44634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
44635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44636 if (SWIG_arg_fail(1)) SWIG_fail;
44637 {
44638 PyThreadState* __tstate = wxPyBeginAllowThreads();
44639 (arg1)->Unconstrained();
44640
44641 wxPyEndAllowThreads(__tstate);
44642 if (PyErr_Occurred()) SWIG_fail;
44643 }
44644 Py_INCREF(Py_None); resultobj = Py_None;
44645 return resultobj;
44646 fail:
44647 return NULL;
44648 }
44649
44650
44651 static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) {
44652 PyObject *resultobj;
44653 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44654 PyObject * obj0 = 0 ;
44655 char *kwnames[] = {
44656 (char *) "self", NULL
44657 };
44658
44659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
44660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44661 if (SWIG_arg_fail(1)) SWIG_fail;
44662 {
44663 PyThreadState* __tstate = wxPyBeginAllowThreads();
44664 (arg1)->AsIs();
44665
44666 wxPyEndAllowThreads(__tstate);
44667 if (PyErr_Occurred()) SWIG_fail;
44668 }
44669 Py_INCREF(Py_None); resultobj = Py_None;
44670 return resultobj;
44671 fail:
44672 return NULL;
44673 }
44674
44675
44676 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44677 PyObject *resultobj;
44678 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44679 wxWindow *result;
44680 PyObject * obj0 = 0 ;
44681 char *kwnames[] = {
44682 (char *) "self", NULL
44683 };
44684
44685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
44686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44687 if (SWIG_arg_fail(1)) SWIG_fail;
44688 {
44689 PyThreadState* __tstate = wxPyBeginAllowThreads();
44690 result = (wxWindow *)(arg1)->GetOtherWindow();
44691
44692 wxPyEndAllowThreads(__tstate);
44693 if (PyErr_Occurred()) SWIG_fail;
44694 }
44695 {
44696 resultobj = wxPyMake_wxObject(result, 0);
44697 }
44698 return resultobj;
44699 fail:
44700 return NULL;
44701 }
44702
44703
44704 static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) {
44705 PyObject *resultobj;
44706 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44707 wxEdge result;
44708 PyObject * obj0 = 0 ;
44709 char *kwnames[] = {
44710 (char *) "self", NULL
44711 };
44712
44713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
44714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44715 if (SWIG_arg_fail(1)) SWIG_fail;
44716 {
44717 PyThreadState* __tstate = wxPyBeginAllowThreads();
44718 result = (wxEdge)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
44719
44720 wxPyEndAllowThreads(__tstate);
44721 if (PyErr_Occurred()) SWIG_fail;
44722 }
44723 resultobj = SWIG_From_int((result));
44724 return resultobj;
44725 fail:
44726 return NULL;
44727 }
44728
44729
44730 static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
44731 PyObject *resultobj;
44732 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44733 wxEdge arg2 ;
44734 PyObject * obj0 = 0 ;
44735 PyObject * obj1 = 0 ;
44736 char *kwnames[] = {
44737 (char *) "self",(char *) "which", NULL
44738 };
44739
44740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
44741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44742 if (SWIG_arg_fail(1)) SWIG_fail;
44743 {
44744 arg2 = (wxEdge)(SWIG_As_int(obj1));
44745 if (SWIG_arg_fail(2)) SWIG_fail;
44746 }
44747 {
44748 PyThreadState* __tstate = wxPyBeginAllowThreads();
44749 (arg1)->SetEdge((wxEdge )arg2);
44750
44751 wxPyEndAllowThreads(__tstate);
44752 if (PyErr_Occurred()) SWIG_fail;
44753 }
44754 Py_INCREF(Py_None); resultobj = Py_None;
44755 return resultobj;
44756 fail:
44757 return NULL;
44758 }
44759
44760
44761 static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
44762 PyObject *resultobj;
44763 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44764 int arg2 ;
44765 PyObject * obj0 = 0 ;
44766 PyObject * obj1 = 0 ;
44767 char *kwnames[] = {
44768 (char *) "self",(char *) "v", NULL
44769 };
44770
44771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
44772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44773 if (SWIG_arg_fail(1)) SWIG_fail;
44774 {
44775 arg2 = (int)(SWIG_As_int(obj1));
44776 if (SWIG_arg_fail(2)) SWIG_fail;
44777 }
44778 {
44779 PyThreadState* __tstate = wxPyBeginAllowThreads();
44780 (arg1)->SetValue(arg2);
44781
44782 wxPyEndAllowThreads(__tstate);
44783 if (PyErr_Occurred()) SWIG_fail;
44784 }
44785 Py_INCREF(Py_None); resultobj = Py_None;
44786 return resultobj;
44787 fail:
44788 return NULL;
44789 }
44790
44791
44792 static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
44793 PyObject *resultobj;
44794 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44795 int result;
44796 PyObject * obj0 = 0 ;
44797 char *kwnames[] = {
44798 (char *) "self", NULL
44799 };
44800
44801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
44802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44803 if (SWIG_arg_fail(1)) SWIG_fail;
44804 {
44805 PyThreadState* __tstate = wxPyBeginAllowThreads();
44806 result = (int)(arg1)->GetMargin();
44807
44808 wxPyEndAllowThreads(__tstate);
44809 if (PyErr_Occurred()) SWIG_fail;
44810 }
44811 {
44812 resultobj = SWIG_From_int((int)(result));
44813 }
44814 return resultobj;
44815 fail:
44816 return NULL;
44817 }
44818
44819
44820 static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
44821 PyObject *resultobj;
44822 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44823 int arg2 ;
44824 PyObject * obj0 = 0 ;
44825 PyObject * obj1 = 0 ;
44826 char *kwnames[] = {
44827 (char *) "self",(char *) "m", NULL
44828 };
44829
44830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
44831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44832 if (SWIG_arg_fail(1)) SWIG_fail;
44833 {
44834 arg2 = (int)(SWIG_As_int(obj1));
44835 if (SWIG_arg_fail(2)) SWIG_fail;
44836 }
44837 {
44838 PyThreadState* __tstate = wxPyBeginAllowThreads();
44839 (arg1)->SetMargin(arg2);
44840
44841 wxPyEndAllowThreads(__tstate);
44842 if (PyErr_Occurred()) SWIG_fail;
44843 }
44844 Py_INCREF(Py_None); resultobj = Py_None;
44845 return resultobj;
44846 fail:
44847 return NULL;
44848 }
44849
44850
44851 static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
44852 PyObject *resultobj;
44853 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44854 int result;
44855 PyObject * obj0 = 0 ;
44856 char *kwnames[] = {
44857 (char *) "self", NULL
44858 };
44859
44860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
44861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44862 if (SWIG_arg_fail(1)) SWIG_fail;
44863 {
44864 PyThreadState* __tstate = wxPyBeginAllowThreads();
44865 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
44866
44867 wxPyEndAllowThreads(__tstate);
44868 if (PyErr_Occurred()) SWIG_fail;
44869 }
44870 {
44871 resultobj = SWIG_From_int((int)(result));
44872 }
44873 return resultobj;
44874 fail:
44875 return NULL;
44876 }
44877
44878
44879 static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) {
44880 PyObject *resultobj;
44881 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44882 int result;
44883 PyObject * obj0 = 0 ;
44884 char *kwnames[] = {
44885 (char *) "self", NULL
44886 };
44887
44888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
44889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44890 if (SWIG_arg_fail(1)) SWIG_fail;
44891 {
44892 PyThreadState* __tstate = wxPyBeginAllowThreads();
44893 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
44894
44895 wxPyEndAllowThreads(__tstate);
44896 if (PyErr_Occurred()) SWIG_fail;
44897 }
44898 {
44899 resultobj = SWIG_From_int((int)(result));
44900 }
44901 return resultobj;
44902 fail:
44903 return NULL;
44904 }
44905
44906
44907 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) {
44908 PyObject *resultobj;
44909 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44910 int result;
44911 PyObject * obj0 = 0 ;
44912 char *kwnames[] = {
44913 (char *) "self", NULL
44914 };
44915
44916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
44917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44918 if (SWIG_arg_fail(1)) SWIG_fail;
44919 {
44920 PyThreadState* __tstate = wxPyBeginAllowThreads();
44921 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
44922
44923 wxPyEndAllowThreads(__tstate);
44924 if (PyErr_Occurred()) SWIG_fail;
44925 }
44926 {
44927 resultobj = SWIG_From_int((int)(result));
44928 }
44929 return resultobj;
44930 fail:
44931 return NULL;
44932 }
44933
44934
44935 static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) {
44936 PyObject *resultobj;
44937 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44938 bool result;
44939 PyObject * obj0 = 0 ;
44940 char *kwnames[] = {
44941 (char *) "self", NULL
44942 };
44943
44944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
44945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44946 if (SWIG_arg_fail(1)) SWIG_fail;
44947 {
44948 PyThreadState* __tstate = wxPyBeginAllowThreads();
44949 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
44950
44951 wxPyEndAllowThreads(__tstate);
44952 if (PyErr_Occurred()) SWIG_fail;
44953 }
44954 {
44955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44956 }
44957 return resultobj;
44958 fail:
44959 return NULL;
44960 }
44961
44962
44963 static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) {
44964 PyObject *resultobj;
44965 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44966 bool arg2 ;
44967 PyObject * obj0 = 0 ;
44968 PyObject * obj1 = 0 ;
44969 char *kwnames[] = {
44970 (char *) "self",(char *) "d", NULL
44971 };
44972
44973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
44974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44975 if (SWIG_arg_fail(1)) SWIG_fail;
44976 {
44977 arg2 = (bool)(SWIG_As_bool(obj1));
44978 if (SWIG_arg_fail(2)) SWIG_fail;
44979 }
44980 {
44981 PyThreadState* __tstate = wxPyBeginAllowThreads();
44982 (arg1)->SetDone(arg2);
44983
44984 wxPyEndAllowThreads(__tstate);
44985 if (PyErr_Occurred()) SWIG_fail;
44986 }
44987 Py_INCREF(Py_None); resultobj = Py_None;
44988 return resultobj;
44989 fail:
44990 return NULL;
44991 }
44992
44993
44994 static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
44995 PyObject *resultobj;
44996 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44997 wxRelationship result;
44998 PyObject * obj0 = 0 ;
44999 char *kwnames[] = {
45000 (char *) "self", NULL
45001 };
45002
45003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
45004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45005 if (SWIG_arg_fail(1)) SWIG_fail;
45006 {
45007 PyThreadState* __tstate = wxPyBeginAllowThreads();
45008 result = (wxRelationship)(arg1)->GetRelationship();
45009
45010 wxPyEndAllowThreads(__tstate);
45011 if (PyErr_Occurred()) SWIG_fail;
45012 }
45013 resultobj = SWIG_From_int((result));
45014 return resultobj;
45015 fail:
45016 return NULL;
45017 }
45018
45019
45020 static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
45021 PyObject *resultobj;
45022 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45023 wxRelationship arg2 ;
45024 PyObject * obj0 = 0 ;
45025 PyObject * obj1 = 0 ;
45026 char *kwnames[] = {
45027 (char *) "self",(char *) "r", NULL
45028 };
45029
45030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
45031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45032 if (SWIG_arg_fail(1)) SWIG_fail;
45033 {
45034 arg2 = (wxRelationship)(SWIG_As_int(obj1));
45035 if (SWIG_arg_fail(2)) SWIG_fail;
45036 }
45037 {
45038 PyThreadState* __tstate = wxPyBeginAllowThreads();
45039 (arg1)->SetRelationship((wxRelationship )arg2);
45040
45041 wxPyEndAllowThreads(__tstate);
45042 if (PyErr_Occurred()) SWIG_fail;
45043 }
45044 Py_INCREF(Py_None); resultobj = Py_None;
45045 return resultobj;
45046 fail:
45047 return NULL;
45048 }
45049
45050
45051 static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) {
45052 PyObject *resultobj;
45053 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45054 wxWindow *arg2 = (wxWindow *) 0 ;
45055 bool result;
45056 PyObject * obj0 = 0 ;
45057 PyObject * obj1 = 0 ;
45058 char *kwnames[] = {
45059 (char *) "self",(char *) "otherW", NULL
45060 };
45061
45062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
45063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45064 if (SWIG_arg_fail(1)) SWIG_fail;
45065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45066 if (SWIG_arg_fail(2)) SWIG_fail;
45067 {
45068 PyThreadState* __tstate = wxPyBeginAllowThreads();
45069 result = (bool)(arg1)->ResetIfWin(arg2);
45070
45071 wxPyEndAllowThreads(__tstate);
45072 if (PyErr_Occurred()) SWIG_fail;
45073 }
45074 {
45075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45076 }
45077 return resultobj;
45078 fail:
45079 return NULL;
45080 }
45081
45082
45083 static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
45084 PyObject *resultobj;
45085 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45086 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
45087 wxWindow *arg3 = (wxWindow *) 0 ;
45088 bool result;
45089 PyObject * obj0 = 0 ;
45090 PyObject * obj1 = 0 ;
45091 PyObject * obj2 = 0 ;
45092 char *kwnames[] = {
45093 (char *) "self",(char *) "constraints",(char *) "win", NULL
45094 };
45095
45096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
45097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45098 if (SWIG_arg_fail(1)) SWIG_fail;
45099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45100 if (SWIG_arg_fail(2)) SWIG_fail;
45101 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45102 if (SWIG_arg_fail(3)) SWIG_fail;
45103 {
45104 PyThreadState* __tstate = wxPyBeginAllowThreads();
45105 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
45106
45107 wxPyEndAllowThreads(__tstate);
45108 if (PyErr_Occurred()) SWIG_fail;
45109 }
45110 {
45111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45112 }
45113 return resultobj;
45114 fail:
45115 return NULL;
45116 }
45117
45118
45119 static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
45120 PyObject *resultobj;
45121 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45122 wxEdge arg2 ;
45123 wxWindow *arg3 = (wxWindow *) 0 ;
45124 wxWindow *arg4 = (wxWindow *) 0 ;
45125 int result;
45126 PyObject * obj0 = 0 ;
45127 PyObject * obj1 = 0 ;
45128 PyObject * obj2 = 0 ;
45129 PyObject * obj3 = 0 ;
45130 char *kwnames[] = {
45131 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45132 };
45133
45134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
45135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45136 if (SWIG_arg_fail(1)) SWIG_fail;
45137 {
45138 arg2 = (wxEdge)(SWIG_As_int(obj1));
45139 if (SWIG_arg_fail(2)) SWIG_fail;
45140 }
45141 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45142 if (SWIG_arg_fail(3)) SWIG_fail;
45143 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45144 if (SWIG_arg_fail(4)) SWIG_fail;
45145 {
45146 PyThreadState* __tstate = wxPyBeginAllowThreads();
45147 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
45148
45149 wxPyEndAllowThreads(__tstate);
45150 if (PyErr_Occurred()) SWIG_fail;
45151 }
45152 {
45153 resultobj = SWIG_From_int((int)(result));
45154 }
45155 return resultobj;
45156 fail:
45157 return NULL;
45158 }
45159
45160
45161 static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) {
45162 PyObject *obj;
45163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
45164 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
45165 Py_INCREF(obj);
45166 return Py_BuildValue((char *)"");
45167 }
45168 static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) {
45169 PyObject *resultobj;
45170 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45171 wxIndividualLayoutConstraint *result;
45172 PyObject * obj0 = 0 ;
45173 char *kwnames[] = {
45174 (char *) "self", NULL
45175 };
45176
45177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
45178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45179 if (SWIG_arg_fail(1)) SWIG_fail;
45180 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
45181
45182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45183 return resultobj;
45184 fail:
45185 return NULL;
45186 }
45187
45188
45189 static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) {
45190 PyObject *resultobj;
45191 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45192 wxIndividualLayoutConstraint *result;
45193 PyObject * obj0 = 0 ;
45194 char *kwnames[] = {
45195 (char *) "self", NULL
45196 };
45197
45198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
45199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45200 if (SWIG_arg_fail(1)) SWIG_fail;
45201 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
45202
45203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45204 return resultobj;
45205 fail:
45206 return NULL;
45207 }
45208
45209
45210 static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) {
45211 PyObject *resultobj;
45212 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45213 wxIndividualLayoutConstraint *result;
45214 PyObject * obj0 = 0 ;
45215 char *kwnames[] = {
45216 (char *) "self", NULL
45217 };
45218
45219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
45220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45221 if (SWIG_arg_fail(1)) SWIG_fail;
45222 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
45223
45224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45225 return resultobj;
45226 fail:
45227 return NULL;
45228 }
45229
45230
45231 static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) {
45232 PyObject *resultobj;
45233 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45234 wxIndividualLayoutConstraint *result;
45235 PyObject * obj0 = 0 ;
45236 char *kwnames[] = {
45237 (char *) "self", NULL
45238 };
45239
45240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
45241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45242 if (SWIG_arg_fail(1)) SWIG_fail;
45243 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
45244
45245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45246 return resultobj;
45247 fail:
45248 return NULL;
45249 }
45250
45251
45252 static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
45253 PyObject *resultobj;
45254 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45255 wxIndividualLayoutConstraint *result;
45256 PyObject * obj0 = 0 ;
45257 char *kwnames[] = {
45258 (char *) "self", NULL
45259 };
45260
45261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
45262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45263 if (SWIG_arg_fail(1)) SWIG_fail;
45264 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
45265
45266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45267 return resultobj;
45268 fail:
45269 return NULL;
45270 }
45271
45272
45273 static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
45274 PyObject *resultobj;
45275 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45276 wxIndividualLayoutConstraint *result;
45277 PyObject * obj0 = 0 ;
45278 char *kwnames[] = {
45279 (char *) "self", NULL
45280 };
45281
45282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
45283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45284 if (SWIG_arg_fail(1)) SWIG_fail;
45285 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
45286
45287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45288 return resultobj;
45289 fail:
45290 return NULL;
45291 }
45292
45293
45294 static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) {
45295 PyObject *resultobj;
45296 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45297 wxIndividualLayoutConstraint *result;
45298 PyObject * obj0 = 0 ;
45299 char *kwnames[] = {
45300 (char *) "self", NULL
45301 };
45302
45303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
45304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45305 if (SWIG_arg_fail(1)) SWIG_fail;
45306 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
45307
45308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45309 return resultobj;
45310 fail:
45311 return NULL;
45312 }
45313
45314
45315 static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) {
45316 PyObject *resultobj;
45317 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45318 wxIndividualLayoutConstraint *result;
45319 PyObject * obj0 = 0 ;
45320 char *kwnames[] = {
45321 (char *) "self", NULL
45322 };
45323
45324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
45325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45326 if (SWIG_arg_fail(1)) SWIG_fail;
45327 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
45328
45329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45330 return resultobj;
45331 fail:
45332 return NULL;
45333 }
45334
45335
45336 static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
45337 PyObject *resultobj;
45338 wxLayoutConstraints *result;
45339 char *kwnames[] = {
45340 NULL
45341 };
45342
45343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
45344 {
45345 PyThreadState* __tstate = wxPyBeginAllowThreads();
45346 result = (wxLayoutConstraints *)new wxLayoutConstraints();
45347
45348 wxPyEndAllowThreads(__tstate);
45349 if (PyErr_Occurred()) SWIG_fail;
45350 }
45351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
45352 return resultobj;
45353 fail:
45354 return NULL;
45355 }
45356
45357
45358 static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
45359 PyObject *resultobj;
45360 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45361 wxWindow *arg2 = (wxWindow *) 0 ;
45362 int *arg3 = (int *) 0 ;
45363 bool result;
45364 int temp3 ;
45365 int res3 = 0 ;
45366 PyObject * obj0 = 0 ;
45367 PyObject * obj1 = 0 ;
45368 char *kwnames[] = {
45369 (char *) "self",(char *) "win", NULL
45370 };
45371
45372 arg3 = &temp3; res3 = SWIG_NEWOBJ;
45373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
45374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45375 if (SWIG_arg_fail(1)) SWIG_fail;
45376 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45377 if (SWIG_arg_fail(2)) SWIG_fail;
45378 {
45379 PyThreadState* __tstate = wxPyBeginAllowThreads();
45380 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
45381
45382 wxPyEndAllowThreads(__tstate);
45383 if (PyErr_Occurred()) SWIG_fail;
45384 }
45385 {
45386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45387 }
45388 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
45389 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
45390 return resultobj;
45391 fail:
45392 return NULL;
45393 }
45394
45395
45396 static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) {
45397 PyObject *resultobj;
45398 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45399 bool result;
45400 PyObject * obj0 = 0 ;
45401 char *kwnames[] = {
45402 (char *) "self", NULL
45403 };
45404
45405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
45406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45407 if (SWIG_arg_fail(1)) SWIG_fail;
45408 {
45409 PyThreadState* __tstate = wxPyBeginAllowThreads();
45410 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
45411
45412 wxPyEndAllowThreads(__tstate);
45413 if (PyErr_Occurred()) SWIG_fail;
45414 }
45415 {
45416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45417 }
45418 return resultobj;
45419 fail:
45420 return NULL;
45421 }
45422
45423
45424 static PyObject * LayoutConstraints_swigregister(PyObject *, PyObject *args) {
45425 PyObject *obj;
45426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
45427 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
45428 Py_INCREF(obj);
45429 return Py_BuildValue((char *)"");
45430 }
45431 static PyMethodDef SwigMethods[] = {
45432 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS, NULL},
45433 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS, NULL},
45434 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL},
45435 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
45436 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL},
45437 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
45438 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
45439 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS, NULL},
45440 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS, NULL},
45441 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS, NULL},
45442 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS, NULL},
45443 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45444 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45445 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS, NULL},
45446 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
45447 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL},
45448 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL},
45449 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45450 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45451 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
45452 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45453 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
45454 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS, NULL},
45455 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
45456 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS, NULL},
45457 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS, NULL},
45458 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45459 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45460 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45461 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45462 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45463 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45464 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45465 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45466 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL},
45467 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
45468 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45469 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL},
45470 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS, NULL},
45471 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45472 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45473 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45474 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45475 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS, NULL},
45476 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS, NULL},
45477 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45478 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45479 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS, NULL},
45480 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
45481 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
45482 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
45483 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45484 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS, NULL},
45485 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS, NULL},
45486 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL},
45487 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL},
45488 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL},
45489 { (char *)"new_RectS", (PyCFunction) _wrap_new_RectS, METH_VARARGS | METH_KEYWORDS, NULL},
45490 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL},
45491 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
45492 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
45493 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
45494 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
45495 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45496 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45497 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
45498 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
45499 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45500 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45501 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45502 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45503 { (char *)"Rect_IsEmpty", (PyCFunction) _wrap_Rect_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
45504 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
45505 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
45506 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
45507 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
45508 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL},
45509 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL},
45510 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL},
45511 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL},
45512 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL},
45513 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL},
45514 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL},
45515 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL},
45516 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL},
45517 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL},
45518 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL},
45519 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS, NULL},
45520 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL},
45521 { (char *)"Rect_Union", (PyCFunction) _wrap_Rect_Union, METH_VARARGS | METH_KEYWORDS, NULL},
45522 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS, NULL},
45523 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
45524 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45525 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45526 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL},
45527 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL},
45528 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL},
45529 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45530 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45531 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45532 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45533 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
45534 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
45535 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS, NULL},
45536 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS, NULL},
45537 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45538 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS, NULL},
45539 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS, NULL},
45540 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL},
45541 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS, NULL},
45542 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS, NULL},
45543 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45544 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL},
45545 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL},
45546 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL},
45547 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL},
45548 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL},
45549 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL},
45550 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL},
45551 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL},
45552 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL},
45553 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL},
45554 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
45555 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
45556 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
45557 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
45558 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL},
45559 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45560 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45561 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45562 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45563 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45564 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45565 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45566 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS, NULL},
45567 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS, NULL},
45568 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL},
45569 { (char *)"delete_InputStream", (PyCFunction) _wrap_delete_InputStream, METH_VARARGS | METH_KEYWORDS, NULL},
45570 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS, NULL},
45571 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS, NULL},
45572 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS, NULL},
45573 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS, NULL},
45574 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS, NULL},
45575 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS, NULL},
45576 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS, NULL},
45577 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS, NULL},
45578 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS, NULL},
45579 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS, NULL},
45580 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS, NULL},
45581 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS, NULL},
45582 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS, NULL},
45583 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS, NULL},
45584 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS, NULL},
45585 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS, NULL},
45586 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS, NULL},
45587 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL},
45588 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS, NULL},
45589 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS, NULL},
45590 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS, NULL},
45591 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL},
45592 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
45593 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL},
45594 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
45595 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL},
45596 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS, NULL},
45597 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS, NULL},
45598 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45599 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45600 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
45601 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
45602 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
45603 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
45604 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS, NULL},
45605 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS, NULL},
45606 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
45607 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS, NULL},
45608 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS, NULL},
45609 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS, NULL},
45610 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
45611 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
45612 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL},
45613 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45614 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
45615 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
45616 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
45617 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45618 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL},
45619 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL},
45620 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL},
45621 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL},
45622 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45623 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
45624 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
45625 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS, NULL},
45626 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45627 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
45628 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
45629 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
45630 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
45631 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS, NULL},
45632 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS, NULL},
45633 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45634 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS, NULL},
45635 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45636 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL},
45637 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
45638 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
45639 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
45640 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
45641 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS, NULL},
45642 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
45643 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL},
45644 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
45645 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
45646 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL},
45647 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
45648 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL},
45649 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
45650 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
45651 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL},
45652 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL},
45653 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL},
45654 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL},
45655 { (char *)"ImageHistogram_GetCount", (PyCFunction) _wrap_ImageHistogram_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
45656 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction) _wrap_ImageHistogram_GetCountRGB, METH_VARARGS | METH_KEYWORDS, NULL},
45657 { (char *)"ImageHistogram_GetCountColour", (PyCFunction) _wrap_ImageHistogram_GetCountColour, METH_VARARGS | METH_KEYWORDS, NULL},
45658 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL},
45659 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL},
45660 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL},
45661 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL},
45662 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS, NULL},
45663 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS, NULL},
45664 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS, NULL},
45665 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45666 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS, NULL},
45667 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction) _wrap_new_ImageFromDataWithAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
45668 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45669 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
45670 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS, NULL},
45671 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL},
45672 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS, NULL},
45673 { (char *)"Image_Resize", (PyCFunction) _wrap_Image_Resize, METH_VARARGS | METH_KEYWORDS, NULL},
45674 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL},
45675 { (char *)"Image_SetRGBRect", (PyCFunction) _wrap_Image_SetRGBRect, METH_VARARGS | METH_KEYWORDS, NULL},
45676 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS, NULL},
45677 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL},
45678 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL},
45679 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
45680 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
45681 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
45682 { (char *)"Image_InitAlpha", (PyCFunction) _wrap_Image_InitAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
45683 { (char *)"Image_IsTransparent", (PyCFunction) _wrap_Image_IsTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
45684 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL},
45685 { (char *)"Image_ConvertAlphaToMask", (PyCFunction) _wrap_Image_ConvertAlphaToMask, METH_VARARGS | METH_KEYWORDS, NULL},
45686 { (char *)"Image_ConvertColourToAlpha", (PyCFunction) _wrap_Image_ConvertColourToAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
45687 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL},
45688 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS, NULL},
45689 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL},
45690 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
45691 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL},
45692 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
45693 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL},
45694 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL},
45695 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL},
45696 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL},
45697 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
45698 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45699 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
45700 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45701 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL},
45702 { (char *)"Image_Size", (PyCFunction) _wrap_Image_Size, METH_VARARGS | METH_KEYWORDS, NULL},
45703 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
45704 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
45705 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
45706 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
45707 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
45708 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
45709 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL},
45710 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL},
45711 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
45712 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
45713 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL},
45714 { (char *)"Image_GetOrFindMaskColour", (PyCFunction) _wrap_Image_GetOrFindMaskColour, METH_VARARGS | METH_KEYWORDS, NULL},
45715 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL},
45716 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL},
45717 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL},
45718 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
45719 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS, NULL},
45720 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS, NULL},
45721 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL},
45722 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL},
45723 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45724 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL},
45725 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
45726 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
45727 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
45728 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
45729 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
45730 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS, NULL},
45731 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL},
45732 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45733 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45734 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45735 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
45736 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45737 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45738 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL},
45739 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45740 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL},
45741 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45742 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS, NULL},
45743 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45744 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS, NULL},
45745 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45746 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS, NULL},
45747 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45748 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS, NULL},
45749 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45750 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS, NULL},
45751 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45752 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS, NULL},
45753 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45754 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS, NULL},
45755 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45756 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS, NULL},
45757 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45758 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS, NULL},
45759 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45760 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS, NULL},
45761 { (char *)"Quantize_Quantize", (PyCFunction) _wrap_Quantize_Quantize, METH_VARARGS | METH_KEYWORDS, NULL},
45762 { (char *)"Quantize_swigregister", Quantize_swigregister, METH_VARARGS, NULL},
45763 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45764 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45765 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45766 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45767 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45768 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45769 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45770 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45771 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45772 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL},
45773 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL},
45774 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL},
45775 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45776 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS, NULL},
45777 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS, NULL},
45778 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS, NULL},
45779 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL},
45780 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL},
45781 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL},
45782 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL},
45783 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
45784 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
45785 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
45786 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
45787 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45788 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS, NULL},
45789 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL},
45790 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL},
45791 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL},
45792 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL},
45793 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
45794 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL},
45795 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
45796 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
45797 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS, NULL},
45798 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL},
45799 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL},
45800 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS, NULL},
45801 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45802 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45803 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45804 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45805 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
45806 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45807 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL},
45808 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL},
45809 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL},
45810 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL},
45811 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
45812 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS, NULL},
45813 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45814 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
45815 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL},
45816 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
45817 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS, NULL},
45818 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45819 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
45820 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45821 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
45822 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45823 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS, NULL},
45824 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45825 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
45826 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45827 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
45828 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45829 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS, NULL},
45830 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45831 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
45832 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
45833 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL},
45834 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
45835 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL},
45836 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
45837 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL},
45838 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
45839 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
45840 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
45841 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
45842 { (char *)"MouseEvent_CmdDown", (PyCFunction) _wrap_MouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL},
45843 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
45844 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
45845 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL},
45846 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL},
45847 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL},
45848 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL},
45849 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL},
45850 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL},
45851 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL},
45852 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
45853 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
45854 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
45855 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL},
45856 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL},
45857 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL},
45858 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL},
45859 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45860 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
45861 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45862 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
45863 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
45864 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL},
45865 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL},
45866 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL},
45867 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL},
45868 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45869 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45870 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45871 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45872 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45873 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45874 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45875 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45876 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45877 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45878 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45879 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45880 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45881 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45882 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45883 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45884 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45885 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45886 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL},
45887 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL},
45888 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL},
45889 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL},
45890 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL},
45891 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL},
45892 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS, NULL},
45893 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45894 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
45895 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
45896 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
45897 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
45898 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL},
45899 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS, NULL},
45900 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45901 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
45902 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
45903 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
45904 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
45905 { (char *)"KeyEvent_CmdDown", (PyCFunction) _wrap_KeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL},
45906 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
45907 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
45908 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS, NULL},
45909 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
45910 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL},
45911 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45912 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
45913 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
45914 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
45915 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45916 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45917 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45918 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45919 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL},
45920 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL},
45921 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45922 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45923 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45924 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45925 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45926 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45927 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45928 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45929 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL},
45930 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL},
45931 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL},
45932 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL},
45933 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL},
45934 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL},
45935 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS, NULL},
45936 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45937 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45938 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
45939 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
45940 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45941 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL},
45942 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL},
45943 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL},
45944 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL},
45945 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS, NULL},
45946 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45947 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45948 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
45949 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
45950 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45951 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS, NULL},
45952 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45953 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS, NULL},
45954 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45955 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS, NULL},
45956 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45957 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
45958 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS, NULL},
45959 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45960 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45961 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45962 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS, NULL},
45963 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45964 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45965 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS, NULL},
45966 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45967 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL},
45968 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS, NULL},
45969 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45970 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS, NULL},
45971 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45972 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL},
45973 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL},
45974 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
45975 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS, NULL},
45976 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45977 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
45978 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
45979 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
45980 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
45981 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
45982 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
45983 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL},
45984 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45985 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL},
45986 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL},
45987 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS, NULL},
45988 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45989 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL},
45990 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS, NULL},
45991 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45992 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS, NULL},
45993 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45994 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL},
45995 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL},
45996 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS, NULL},
45997 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45998 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL},
45999 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46000 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
46001 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL},
46002 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46003 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46004 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46005 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46006 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
46007 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL},
46008 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL},
46009 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL},
46010 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL},
46011 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL},
46012 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL},
46013 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS, NULL},
46014 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46015 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS, NULL},
46016 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46017 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46018 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL},
46019 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46020 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS, NULL},
46021 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46022 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46023 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46024 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS, NULL},
46025 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46026 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL},
46027 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL},
46028 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS, NULL},
46029 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46030 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL},
46031 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL},
46032 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL},
46033 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL},
46034 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction) _wrap_NavigationKeyEvent_IsFromTab, METH_VARARGS | METH_KEYWORDS, NULL},
46035 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction) _wrap_NavigationKeyEvent_SetFromTab, METH_VARARGS | METH_KEYWORDS, NULL},
46036 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
46037 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46038 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46039 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS, NULL},
46040 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46041 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46042 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS, NULL},
46043 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46044 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46045 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS, NULL},
46046 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46047 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46048 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46049 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS, NULL},
46050 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46051 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL},
46052 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL},
46053 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL},
46054 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL},
46055 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL},
46056 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL},
46057 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46058 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46059 { (char *)"PyEvent__SetSelf", (PyCFunction) _wrap_PyEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
46060 { (char *)"PyEvent__GetSelf", (PyCFunction) _wrap_PyEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
46061 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL},
46062 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46063 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46064 { (char *)"PyCommandEvent__SetSelf", (PyCFunction) _wrap_PyCommandEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
46065 { (char *)"PyCommandEvent__GetSelf", (PyCFunction) _wrap_PyCommandEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
46066 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL},
46067 { (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46068 { (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
46069 { (char *)"DateEvent_SetDate", (PyCFunction) _wrap_DateEvent_SetDate, METH_VARARGS | METH_KEYWORDS, NULL},
46070 { (char *)"DateEvent_swigregister", DateEvent_swigregister, METH_VARARGS, NULL},
46071 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS, NULL},
46072 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS, NULL},
46073 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46074 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
46075 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
46076 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL},
46077 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL},
46078 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
46079 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
46080 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL},
46081 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL},
46082 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL},
46083 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL},
46084 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction) _wrap_PyApp_IsMainLoopRunning, METH_VARARGS | METH_KEYWORDS, NULL},
46085 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL},
46086 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL},
46087 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL},
46088 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL},
46089 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL},
46090 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL},
46091 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL},
46092 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
46093 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46094 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46095 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL},
46096 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL},
46097 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL},
46098 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL},
46099 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
46100 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
46101 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL},
46102 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL},
46103 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL},
46104 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46105 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46106 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46107 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL},
46108 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL},
46109 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46110 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46111 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46112 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL},
46113 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL},
46114 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL},
46115 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL},
46116 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS, NULL},
46117 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS, NULL},
46118 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
46119 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS, NULL},
46120 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL},
46121 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46122 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL},
46123 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL},
46124 { (char *)"SetDefaultPyEncoding", (PyCFunction) _wrap_SetDefaultPyEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
46125 { (char *)"GetDefaultPyEncoding", (PyCFunction) _wrap_GetDefaultPyEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
46126 { (char *)"new_EventLoop", (PyCFunction) _wrap_new_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL},
46127 { (char *)"delete_EventLoop", (PyCFunction) _wrap_delete_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL},
46128 { (char *)"EventLoop_Run", (PyCFunction) _wrap_EventLoop_Run, METH_VARARGS | METH_KEYWORDS, NULL},
46129 { (char *)"EventLoop_Exit", (PyCFunction) _wrap_EventLoop_Exit, METH_VARARGS | METH_KEYWORDS, NULL},
46130 { (char *)"EventLoop_Pending", (PyCFunction) _wrap_EventLoop_Pending, METH_VARARGS | METH_KEYWORDS, NULL},
46131 { (char *)"EventLoop_Dispatch", (PyCFunction) _wrap_EventLoop_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL},
46132 { (char *)"EventLoop_IsRunning", (PyCFunction) _wrap_EventLoop_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
46133 { (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL},
46134 { (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL},
46135 { (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL},
46136 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL},
46137 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL},
46138 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46139 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
46140 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
46141 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
46142 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS, NULL},
46143 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
46144 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
46145 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
46146 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS, NULL},
46147 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL},
46148 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46149 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46150 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS, NULL},
46151 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS, NULL},
46152 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS, NULL},
46153 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS, NULL},
46154 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS, NULL},
46155 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS, NULL},
46156 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL},
46157 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL},
46158 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46159 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46160 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS, NULL},
46161 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
46162 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46163 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
46164 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
46165 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
46166 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46167 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46168 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
46169 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
46170 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL},
46171 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL},
46172 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46173 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
46174 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL},
46175 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL},
46176 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL},
46177 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46178 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL},
46179 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
46180 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
46181 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS, NULL},
46182 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
46183 { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL},
46184 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS, NULL},
46185 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS, NULL},
46186 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
46187 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
46188 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL},
46189 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46190 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46191 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46192 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46193 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
46194 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
46195 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46196 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
46197 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL},
46198 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46199 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46200 { (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46201 { (char *)"Window_CacheBestSize", (PyCFunction) _wrap_Window_CacheBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46202 { (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL},
46203 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46204 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL},
46205 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
46206 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL},
46207 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS, NULL},
46208 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS, NULL},
46209 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
46210 { (char *)"Window_SetSizeHintsSz", (PyCFunction) _wrap_Window_SetSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL},
46211 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
46212 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction) _wrap_Window_SetVirtualSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL},
46213 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
46214 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46215 { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46216 { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
46217 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46218 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46219 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46220 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46221 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46222 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
46223 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46224 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46225 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46226 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS, NULL},
46227 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
46228 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46229 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS, NULL},
46230 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
46231 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46232 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46233 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46234 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46235 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL},
46236 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46237 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46238 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL},
46239 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46240 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46241 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46242 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL},
46243 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46244 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46245 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
46246 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
46247 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
46248 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
46249 { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL},
46250 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL},
46251 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction) _wrap_Window_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL},
46252 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46253 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
46254 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL},
46255 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL},
46256 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS, NULL},
46257 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
46258 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
46259 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL},
46260 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL},
46261 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46262 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46263 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46264 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46265 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46266 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL},
46267 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL},
46268 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
46269 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46270 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46271 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
46272 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
46273 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
46274 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL},
46275 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL},
46276 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL},
46277 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL},
46278 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL},
46279 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL},
46280 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL},
46281 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL},
46282 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL},
46283 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL},
46284 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL},
46285 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
46286 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL},
46287 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS, NULL},
46288 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL},
46289 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS, NULL},
46290 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL},
46291 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS, NULL},
46292 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS, NULL},
46293 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
46294 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL},
46295 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL},
46296 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL},
46297 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46298 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL},
46299 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46300 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46301 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46302 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction) _wrap_Window_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46303 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46304 { (char *)"Window_SetOwnForegroundColour", (PyCFunction) _wrap_Window_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46305 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46306 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46307 { (char *)"Window_InheritsBackgroundColour", (PyCFunction) _wrap_Window_InheritsBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46308 { (char *)"Window_UseBgCol", (PyCFunction) _wrap_Window_UseBgCol, METH_VARARGS | METH_KEYWORDS, NULL},
46309 { (char *)"Window_SetBackgroundStyle", (PyCFunction) _wrap_Window_SetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46310 { (char *)"Window_GetBackgroundStyle", (PyCFunction) _wrap_Window_GetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46311 { (char *)"Window_HasTransparentBackground", (PyCFunction) _wrap_Window_HasTransparentBackground, METH_VARARGS | METH_KEYWORDS, NULL},
46312 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
46313 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
46314 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46315 { (char *)"Window_SetOwnFont", (PyCFunction) _wrap_Window_SetOwnFont, METH_VARARGS | METH_KEYWORDS, NULL},
46316 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46317 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL},
46318 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL},
46319 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46320 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46321 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
46322 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
46323 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL},
46324 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL},
46325 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL},
46326 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL},
46327 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
46328 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46329 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS, NULL},
46330 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL},
46331 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL},
46332 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46333 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL},
46334 { (char *)"Window_AssociateHandle", (PyCFunction) _wrap_Window_AssociateHandle, METH_VARARGS | METH_KEYWORDS, NULL},
46335 { (char *)"Window_DissociateHandle", (PyCFunction) _wrap_Window_DissociateHandle, METH_VARARGS | METH_KEYWORDS, NULL},
46336 { (char *)"Window_OnPaint", (PyCFunction) _wrap_Window_OnPaint, METH_VARARGS | METH_KEYWORDS, NULL},
46337 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
46338 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
46339 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL},
46340 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL},
46341 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL},
46342 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL},
46343 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46344 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
46345 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
46346 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS, NULL},
46347 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS, NULL},
46348 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
46349 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
46350 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46351 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL},
46352 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46353 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL},
46354 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46355 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46356 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
46357 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
46358 { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS, NULL},
46359 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
46360 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
46361 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
46362 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
46363 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
46364 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46365 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL},
46366 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46367 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46368 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46369 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46370 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
46371 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS, NULL},
46372 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL},
46373 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL},
46374 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46375 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL},
46376 { (char *)"GetTopLevelWindows", (PyCFunction) _wrap_GetTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
46377 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS, NULL},
46378 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
46379 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
46380 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46381 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46382 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46383 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46384 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL},
46385 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL},
46386 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS, NULL},
46387 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS, NULL},
46388 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46389 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS, NULL},
46390 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS, NULL},
46391 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS, NULL},
46392 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46393 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL},
46394 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL},
46395 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46396 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
46397 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS, NULL},
46398 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46399 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46400 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46401 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL},
46402 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL},
46403 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46404 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
46405 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL},
46406 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46407 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL},
46408 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL},
46409 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46410 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46411 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL},
46412 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
46413 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
46414 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
46415 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL},
46416 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL},
46417 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
46418 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL},
46419 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
46420 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL},
46421 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46422 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46423 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46424 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46425 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46426 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46427 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46428 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
46429 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
46430 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
46431 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
46432 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46433 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46434 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46435 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46436 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46437 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL},
46438 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
46439 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
46440 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
46441 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL},
46442 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
46443 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
46444 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL},
46445 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
46446 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL},
46447 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46448 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL},
46449 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46450 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46451 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46452 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL},
46453 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL},
46454 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL},
46455 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL},
46456 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL},
46457 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL},
46458 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46459 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46460 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46461 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46462 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46463 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46464 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46465 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
46466 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
46467 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
46468 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL},
46469 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
46470 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
46471 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction) _wrap_MenuBar_SetAutoWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46472 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction) _wrap_MenuBar_GetAutoWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46473 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL},
46474 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL},
46475 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46476 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46477 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46478 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
46479 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46480 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
46481 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46482 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
46483 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL},
46484 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
46485 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS, NULL},
46486 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL},
46487 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL},
46488 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46489 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46490 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46491 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46492 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46493 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46494 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46495 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
46496 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46497 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46498 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL},
46499 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL},
46500 { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46501 { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46502 { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46503 { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46504 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46505 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46506 { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS, NULL},
46507 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46508 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46509 { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46510 { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46511 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46512 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
46513 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
46514 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
46515 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46516 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46517 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL},
46518 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL},
46519 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL},
46520 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46521 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL},
46522 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46523 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46524 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46525 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS, NULL},
46526 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL},
46527 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL},
46528 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46529 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
46530 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
46531 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46532 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46533 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
46534 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
46535 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46536 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
46537 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
46538 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
46539 { (char *)"ItemContainer_SetSelection", (PyCFunction) _wrap_ItemContainer_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46540 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46541 { (char *)"ItemContainer_SetStringSelection", (PyCFunction) _wrap_ItemContainer_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46542 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46543 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46544 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS, NULL},
46545 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS, NULL},
46546 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL},
46547 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46548 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
46549 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46550 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL},
46551 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46552 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46553 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
46554 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL},
46555 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46556 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46557 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL},
46558 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL},
46559 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL},
46560 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL},
46561 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL},
46562 { (char *)"SizerItem_GetRect", (PyCFunction) _wrap_SizerItem_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
46563 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46564 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46565 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
46566 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46567 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46568 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46569 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46570 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46571 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46572 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46573 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46574 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46575 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46576 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
46577 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
46578 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL},
46579 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
46580 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46581 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL},
46582 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL},
46583 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46584 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL},
46585 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46586 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL},
46587 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46588 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
46589 { (char *)"Sizer_GetItem", (PyCFunction) _wrap_Sizer_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46590 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46591 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL},
46592 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46593 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
46594 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL},
46595 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46596 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46597 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46598 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46599 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
46600 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
46601 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
46602 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL},
46603 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL},
46604 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
46605 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
46606 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
46607 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL},
46608 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46609 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS, NULL},
46610 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
46611 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL},
46612 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS, NULL},
46613 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS, NULL},
46614 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46615 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS, NULL},
46616 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46617 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
46618 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
46619 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL},
46620 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46621 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
46622 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS, NULL},
46623 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46624 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL},
46625 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
46626 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL},
46627 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL},
46628 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL},
46629 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL},
46630 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL},
46631 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL},
46632 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS, NULL},
46633 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46634 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL},
46635 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL},
46636 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL},
46637 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL},
46638 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL},
46639 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL},
46640 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL},
46641 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL},
46642 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL},
46643 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL},
46644 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS, NULL},
46645 { (char *)"new_StdDialogButtonSizer", (PyCFunction) _wrap_new_StdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46646 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction) _wrap_StdDialogButtonSizer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL},
46647 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction) _wrap_StdDialogButtonSizer_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
46648 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetAffirmativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
46649 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetNegativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
46650 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
46651 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetAffirmativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
46652 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetApplyButton, METH_VARARGS | METH_KEYWORDS, NULL},
46653 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetNegativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
46654 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
46655 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
46656 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister, METH_VARARGS, NULL},
46657 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46658 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL},
46659 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL},
46660 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL},
46661 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL},
46662 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46663 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46664 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46665 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL},
46666 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS, NULL},
46667 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL},
46668 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL},
46669 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL},
46670 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL},
46671 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL},
46672 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46673 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46674 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46675 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL},
46676 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS, NULL},
46677 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL},
46678 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46679 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46680 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
46681 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL},
46682 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL},
46683 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
46684 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL},
46685 { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS, NULL},
46686 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS, NULL},
46687 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL},
46688 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46689 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46690 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS, NULL},
46691 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46692 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL},
46693 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL},
46694 { (char *)"GridBagSizer_GetCellSize", (PyCFunction) _wrap_GridBagSizer_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
46695 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
46696 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
46697 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS, NULL},
46698 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS, NULL},
46699 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS, NULL},
46700 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS, NULL},
46701 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS, NULL},
46702 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46703 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46704 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS, NULL},
46705 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS, NULL},
46706 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS, NULL},
46707 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46708 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL},
46709 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL},
46710 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL},
46711 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL},
46712 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL},
46713 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL},
46714 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL},
46715 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL},
46716 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL},
46717 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46718 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL},
46719 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
46720 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46721 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46722 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46723 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46724 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL},
46725 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL},
46726 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL},
46727 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL},
46728 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL},
46729 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL},
46730 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL},
46731 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL},
46732 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
46733 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS, NULL},
46734 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL},
46735 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL},
46736 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL},
46737 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL},
46738 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
46739 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL},
46740 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL},
46741 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL},
46742 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
46743 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
46744 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL},
46745 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS, NULL},
46746 { NULL, NULL, 0, NULL }
46747 };
46748
46749
46750 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46751
46752 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
46753 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
46754 }
46755 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
46756 return (void *)((wxSizer *) ((wxBoxSizer *) x));
46757 }
46758 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
46759 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
46760 }
46761 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
46762 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
46763 }
46764 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
46765 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
46766 }
46767 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
46768 return (void *)((wxSizer *) ((wxGridSizer *) x));
46769 }
46770 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
46771 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
46772 }
46773 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
46774 return (void *)((wxSizer *) ((wxPySizer *) x));
46775 }
46776 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
46777 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
46778 }
46779 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x) {
46780 return (void *)((wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
46781 }
46782 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
46783 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
46784 }
46785 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
46786 return (void *)((wxEvent *) ((wxMenuEvent *) x));
46787 }
46788 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
46789 return (void *)((wxEvent *) ((wxCloseEvent *) x));
46790 }
46791 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
46792 return (void *)((wxEvent *) ((wxMouseEvent *) x));
46793 }
46794 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
46795 return (void *)((wxEvent *) ((wxEraseEvent *) x));
46796 }
46797 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
46798 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
46799 }
46800 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
46801 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
46802 }
46803 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
46804 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
46805 }
46806 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
46807 return (void *)((wxEvent *) ((wxPyEvent *) x));
46808 }
46809 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
46810 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
46811 }
46812 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
46813 return (void *)((wxEvent *) ((wxIdleEvent *) x));
46814 }
46815 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
46816 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
46817 }
46818 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
46819 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
46820 }
46821 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
46822 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
46823 }
46824 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
46825 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
46826 }
46827 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
46828 return (void *)((wxEvent *) ((wxActivateEvent *) x));
46829 }
46830 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
46831 return (void *)((wxEvent *) ((wxSizeEvent *) x));
46832 }
46833 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
46834 return (void *)((wxEvent *) ((wxMoveEvent *) x));
46835 }
46836 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
46837 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
46838 }
46839 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
46840 return (void *)((wxEvent *) ((wxPaintEvent *) x));
46841 }
46842 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
46843 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
46844 }
46845 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
46846 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
46847 }
46848 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
46849 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
46850 }
46851 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
46852 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
46853 }
46854 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
46855 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
46856 }
46857 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
46858 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
46859 }
46860 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
46861 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
46862 }
46863 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
46864 return (void *)((wxEvent *) ((wxFocusEvent *) x));
46865 }
46866 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
46867 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
46868 }
46869 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
46870 return (void *)((wxEvent *) ((wxShowEvent *) x));
46871 }
46872 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
46873 return (void *)((wxEvent *) ((wxCommandEvent *) x));
46874 }
46875 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
46876 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
46877 }
46878 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
46879 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46880 }
46881 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
46882 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
46883 }
46884 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
46885 return (void *)((wxEvent *) ((wxKeyEvent *) x));
46886 }
46887 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
46888 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
46889 }
46890 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
46891 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
46892 }
46893 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
46894 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
46895 }
46896 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
46897 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
46898 }
46899 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
46900 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
46901 }
46902 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
46903 return (void *)((wxControl *) ((wxControlWithItems *) x));
46904 }
46905 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
46906 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
46907 }
46908 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
46909 return (void *)((wxEvtHandler *) ((wxWindow *) x));
46910 }
46911 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
46912 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
46913 }
46914 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
46915 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
46916 }
46917 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
46918 return (void *)((wxEvtHandler *) ((wxValidator *) x));
46919 }
46920 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
46921 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
46922 }
46923 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
46924 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
46925 }
46926 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
46927 return (void *)((wxEvtHandler *) ((wxMenu *) x));
46928 }
46929 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
46930 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
46931 }
46932 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
46933 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
46934 }
46935 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
46936 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
46937 }
46938 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
46939 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
46940 }
46941 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
46942 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
46943 }
46944 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
46945 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
46946 }
46947 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
46948 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
46949 }
46950 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
46951 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
46952 }
46953 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
46954 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
46955 }
46956 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
46957 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
46958 }
46959 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
46960 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
46961 }
46962 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
46963 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
46964 }
46965 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
46966 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
46967 }
46968 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
46969 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
46970 }
46971 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
46972 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
46973 }
46974 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
46975 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
46976 }
46977 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
46978 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
46979 }
46980 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
46981 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
46982 }
46983 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
46984 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
46985 }
46986 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
46987 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
46988 }
46989 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
46990 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
46991 }
46992 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
46993 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
46994 }
46995 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
46996 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
46997 }
46998 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
46999 return (void *)((wxObject *) ((wxSizerItem *) x));
47000 }
47001 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
47002 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
47003 }
47004 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
47005 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
47006 }
47007 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
47008 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
47009 }
47010 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
47011 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
47012 }
47013 static void *_p_wxSizerTo_p_wxObject(void *x) {
47014 return (void *)((wxObject *) ((wxSizer *) x));
47015 }
47016 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
47017 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
47018 }
47019 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
47020 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
47021 }
47022 static void *_p_wxEventTo_p_wxObject(void *x) {
47023 return (void *)((wxObject *) ((wxEvent *) x));
47024 }
47025 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
47026 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
47027 }
47028 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
47029 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
47030 }
47031 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
47032 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
47033 }
47034 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
47035 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
47036 }
47037 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
47038 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
47039 }
47040 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
47041 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
47042 }
47043 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
47044 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
47045 }
47046 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
47047 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47048 }
47049 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
47050 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
47051 }
47052 static void *_p_wxControlTo_p_wxObject(void *x) {
47053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
47054 }
47055 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
47056 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
47057 }
47058 static void *_p_wxFSFileTo_p_wxObject(void *x) {
47059 return (void *)((wxObject *) ((wxFSFile *) x));
47060 }
47061 static void *_p_wxPySizerTo_p_wxObject(void *x) {
47062 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
47063 }
47064 static void *_p_wxPyEventTo_p_wxObject(void *x) {
47065 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
47066 }
47067 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
47068 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
47069 }
47070 static void *_p_wxShowEventTo_p_wxObject(void *x) {
47071 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
47072 }
47073 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
47074 return (void *)((wxObject *) ((wxMenuItem *) x));
47075 }
47076 static void *_p_wxDateEventTo_p_wxObject(void *x) {
47077 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
47078 }
47079 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
47080 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
47081 }
47082 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
47083 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
47084 }
47085 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
47086 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
47087 }
47088 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
47089 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
47090 }
47091 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
47092 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
47093 }
47094 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
47095 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
47096 }
47097 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
47098 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
47099 }
47100 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
47101 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
47102 }
47103 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
47104 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
47105 }
47106 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
47107 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
47108 }
47109 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
47110 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
47111 }
47112 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
47113 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
47114 }
47115 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
47116 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
47117 }
47118 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
47119 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
47120 }
47121 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
47122 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
47123 }
47124 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
47125 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
47126 }
47127 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
47128 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
47129 }
47130 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
47131 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
47132 }
47133 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
47134 return (void *)((wxObject *) ((wxImageHandler *) x));
47135 }
47136 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
47137 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
47138 }
47139 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
47140 return (void *)((wxObject *) ((wxEvtHandler *) x));
47141 }
47142 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
47143 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
47144 }
47145 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
47146 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
47147 }
47148 static void *_p_wxImageTo_p_wxObject(void *x) {
47149 return (void *)((wxObject *) ((wxImage *) x));
47150 }
47151 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
47152 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
47153 }
47154 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
47155 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47156 }
47157 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
47158 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
47159 }
47160 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
47161 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
47162 }
47163 static void *_p_wxWindowTo_p_wxObject(void *x) {
47164 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
47165 }
47166 static void *_p_wxMenuTo_p_wxObject(void *x) {
47167 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
47168 }
47169 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
47170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
47171 }
47172 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
47173 return (void *)((wxObject *) ((wxFileSystem *) x));
47174 }
47175 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
47176 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
47177 }
47178 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
47179 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
47180 }
47181 static void *_p_wxPyAppTo_p_wxObject(void *x) {
47182 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
47183 }
47184 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
47185 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
47186 }
47187 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
47188 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
47189 }
47190 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
47191 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
47192 }
47193 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
47194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
47195 }
47196 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
47197 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
47198 }
47199 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
47200 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
47201 }
47202 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
47203 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
47204 }
47205 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
47206 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
47207 }
47208 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
47209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47210 }
47211 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
47212 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
47213 }
47214 static void *_p_wxValidatorTo_p_wxObject(void *x) {
47215 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
47216 }
47217 static void *_p_wxControlTo_p_wxWindow(void *x) {
47218 return (void *)((wxWindow *) ((wxControl *) x));
47219 }
47220 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
47221 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
47222 }
47223 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
47224 return (void *)((wxWindow *) ((wxMenuBar *) x));
47225 }
47226 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
47227 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
47228 }
47229 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
47230 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
47231 }
47232 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
47233 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
47234 }
47235 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
47236 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
47237 }
47238 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
47239 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
47240 }
47241 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
47242 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47243 }
47244 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
47245 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
47246 }
47247 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
47248 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
47249 }
47250 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
47251 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
47252 }
47253 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
47254 return (void *)((wxValidator *) ((wxPyValidator *) x));
47255 }
47256 static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47257 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47258 static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47259 static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47260 static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47261 static swig_type_info _swigt__p_wxEventLoop[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47262 static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47263 static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47264 static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47265 static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47266 static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47267 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47268 static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47269 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47270 static swig_type_info _swigt__p_buffer[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47271 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47272 static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47273 static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47274 static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47275 static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47276 static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47277 static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47278 static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47279 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47280 static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47281 static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47282 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47283 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47284 static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47285 static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47286 static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47287 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47288 static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47289 static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47290 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47291 static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47292 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47293 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47294 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47295 static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47296 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47297 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47298 static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47299 static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47300 static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47301 static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47302 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47303 static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47304 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47305 static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47306 static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47307 static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47308 static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47309 static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47310 static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47311 static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47312 static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47313 static swig_type_info _swigt__p_wxDateEvent[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47314 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47315 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47316 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47317 static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47318 static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47319 static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47320 static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47321 static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47322 static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47323 static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47324 static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47325 static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47326 static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47327 static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47328 static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47329 static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47330 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47331 static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47332 static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47333 static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47334 static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47335 static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47336 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47337 static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47338 static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47339 static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47340 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47341 static swig_type_info _swigt__p_wxStdDialogButtonSizer[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47342 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47343 static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47344 static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47345 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47346 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47347 static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47348 static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47349 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47350 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47351 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47352 static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47353 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47354 static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47355 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47356 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47357 static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47358 static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47359 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47360 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47361 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47362 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47363 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47364 static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47365 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47366 static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47367 static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47368 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47369 static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47370 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47371 static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47372 static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47373 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47374 static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47375 static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47376 static swig_type_info _swigt__p_wxQuantize[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47377 static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47378 static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47379 static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47380 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47381 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47382 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47383 static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47384
47385 static swig_type_info *swig_types_initial[] = {
47386 _swigt__p_wxLayoutConstraints,
47387 _swigt__p_wxRealPoint,
47388 _swigt__p_wxSizerItem,
47389 _swigt__p_wxGBSizerItem,
47390 _swigt__p_wxScrollEvent,
47391 _swigt__p_wxEventLoop,
47392 _swigt__p_wxIndividualLayoutConstraint,
47393 _swigt__p_wxSizer,
47394 _swigt__p_wxBoxSizer,
47395 _swigt__p_wxStaticBoxSizer,
47396 _swigt__p_wxGridBagSizer,
47397 _swigt__p_wxAcceleratorEntry,
47398 _swigt__p_wxUpdateUIEvent,
47399 _swigt__p_wxEvent,
47400 _swigt__p_buffer,
47401 _swigt__p_wxMenu,
47402 _swigt__p_wxGridSizer,
47403 _swigt__p_wxFlexGridSizer,
47404 _swigt__p_wxInitDialogEvent,
47405 _swigt__p_wxItemContainer,
47406 _swigt__p_wxNcPaintEvent,
47407 _swigt__p_wxPaintEvent,
47408 _swigt__p_wxSysColourChangedEvent,
47409 _swigt__p_wxMouseCaptureChangedEvent,
47410 _swigt__p_wxDisplayChangedEvent,
47411 _swigt__p_wxPaletteChangedEvent,
47412 _swigt__p_wxControl,
47413 _swigt__p_wxFont,
47414 _swigt__p_wxMenuBarBase,
47415 _swigt__p_wxSetCursorEvent,
47416 _swigt__p_wxFSFile,
47417 _swigt__p_wxCaret,
47418 _swigt__ptrdiff_t,
47419 _swigt__std__ptrdiff_t,
47420 _swigt__p_wxRegion,
47421 _swigt__p_wxPoint2D,
47422 _swigt__p_int,
47423 _swigt__p_wxSize,
47424 _swigt__p_wxDC,
47425 _swigt__p_wxPySizer,
47426 _swigt__p_wxVisualAttributes,
47427 _swigt__p_wxNotifyEvent,
47428 _swigt__p_wxPyEvent,
47429 _swigt__p_wxPropagationDisabler,
47430 _swigt__p_form_ops_t,
47431 _swigt__p_wxAppTraits,
47432 _swigt__p_wxArrayString,
47433 _swigt__p_wxShowEvent,
47434 _swigt__p_wxToolTip,
47435 _swigt__p_wxMoveEvent,
47436 _swigt__p_wxSizeEvent,
47437 _swigt__p_wxActivateEvent,
47438 _swigt__p_wxIconizeEvent,
47439 _swigt__p_wxMaximizeEvent,
47440 _swigt__p_wxQueryNewPaletteEvent,
47441 _swigt__p_wxWindowCreateEvent,
47442 _swigt__p_wxIdleEvent,
47443 _swigt__p_wxDateEvent,
47444 _swigt__p_wxMenuItem,
47445 _swigt__p_wxStaticBox,
47446 _swigt__p_long,
47447 _swigt__p_wxDuplexMode,
47448 _swigt__p_wxTIFFHandler,
47449 _swigt__p_wxXPMHandler,
47450 _swigt__p_wxPNMHandler,
47451 _swigt__p_wxJPEGHandler,
47452 _swigt__p_wxPCXHandler,
47453 _swigt__p_wxGIFHandler,
47454 _swigt__p_wxPNGHandler,
47455 _swigt__p_wxANIHandler,
47456 _swigt__p_wxMemoryFSHandler,
47457 _swigt__p_wxZipFSHandler,
47458 _swigt__p_wxInternetFSHandler,
47459 _swigt__p_wxPyFileSystemHandler,
47460 _swigt__p_wxEvtHandler,
47461 _swigt__p_wxCURHandler,
47462 _swigt__p_wxICOHandler,
47463 _swigt__p_wxBMPHandler,
47464 _swigt__p_wxImageHandler,
47465 _swigt__p_wxFileSystemHandler,
47466 _swigt__p_wxRect,
47467 _swigt__p_wxButton,
47468 _swigt__p_wxGBSpan,
47469 _swigt__p_wxPropagateOnce,
47470 _swigt__p_wxAcceleratorTable,
47471 _swigt__p_wxStdDialogButtonSizer,
47472 _swigt__p_char,
47473 _swigt__p_wxGBPosition,
47474 _swigt__p_wxImage,
47475 _swigt__p_wxFrame,
47476 _swigt__p_wxScrollWinEvent,
47477 _swigt__p_wxPaperSize,
47478 _swigt__p_wxImageHistogram,
47479 _swigt__p_wxPoint,
47480 _swigt__p_wxCursor,
47481 _swigt__p_wxObject,
47482 _swigt__p_wxInputStream,
47483 _swigt__p_wxOutputStream,
47484 _swigt__p_wxPyInputStream,
47485 _swigt__p_wxDateTime,
47486 _swigt__p_wxKeyEvent,
47487 _swigt__p_wxNavigationKeyEvent,
47488 _swigt__p_wxWindowDestroyEvent,
47489 _swigt__p_unsigned_long,
47490 _swigt__p_wxWindow,
47491 _swigt__p_wxMenuBar,
47492 _swigt__p_wxFileSystem,
47493 _swigt__p_wxBitmap,
47494 _swigt__unsigned_int,
47495 _swigt__p_unsigned_int,
47496 _swigt__p_wxMenuEvent,
47497 _swigt__p_wxContextMenuEvent,
47498 _swigt__p_unsigned_char,
47499 _swigt__p_wxEraseEvent,
47500 _swigt__p_wxMouseEvent,
47501 _swigt__p_wxCloseEvent,
47502 _swigt__p_wxPyApp,
47503 _swigt__p_wxCommandEvent,
47504 _swigt__p_wxPyCommandEvent,
47505 _swigt__p_wxPyDropTarget,
47506 _swigt__p_wxQuantize,
47507 _swigt__p_wxFocusEvent,
47508 _swigt__p_wxChildFocusEvent,
47509 _swigt__p_wxDropFilesEvent,
47510 _swigt__p_wxControlWithItems,
47511 _swigt__p_wxColour,
47512 _swigt__p_wxValidator,
47513 _swigt__p_wxPyValidator,
47514 0
47515 };
47516
47517
47518 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47519
47520 static swig_const_info swig_const_table[] = {
47521 {0, 0, 0, 0.0, 0, 0}};
47522
47523 #ifdef __cplusplus
47524 }
47525 #endif
47526
47527
47528 #ifdef __cplusplus
47529 extern "C" {
47530 #endif
47531
47532 /* Python-specific SWIG API */
47533 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47534 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47535 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47536
47537 /* -----------------------------------------------------------------------------
47538 * global variable support code.
47539 * ----------------------------------------------------------------------------- */
47540
47541 typedef struct swig_globalvar {
47542 char *name; /* Name of global variable */
47543 PyObject *(*get_attr)(); /* Return the current value */
47544 int (*set_attr)(PyObject *); /* Set the value */
47545 struct swig_globalvar *next;
47546 } swig_globalvar;
47547
47548 typedef struct swig_varlinkobject {
47549 PyObject_HEAD
47550 swig_globalvar *vars;
47551 } swig_varlinkobject;
47552
47553 static PyObject *
47554 swig_varlink_repr(swig_varlinkobject *v) {
47555 v = v;
47556 return PyString_FromString("<Swig global variables>");
47557 }
47558
47559 static int
47560 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
47561 swig_globalvar *var;
47562 flags = flags;
47563 fprintf(fp,"Swig global variables { ");
47564 for (var = v->vars; var; var=var->next) {
47565 fprintf(fp,"%s", var->name);
47566 if (var->next) fprintf(fp,", ");
47567 }
47568 fprintf(fp," }\n");
47569 return 0;
47570 }
47571
47572 static PyObject *
47573 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
47574 swig_globalvar *var = v->vars;
47575 while (var) {
47576 if (strcmp(var->name,n) == 0) {
47577 return (*var->get_attr)();
47578 }
47579 var = var->next;
47580 }
47581 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
47582 return NULL;
47583 }
47584
47585 static int
47586 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
47587 swig_globalvar *var = v->vars;
47588 while (var) {
47589 if (strcmp(var->name,n) == 0) {
47590 return (*var->set_attr)(p);
47591 }
47592 var = var->next;
47593 }
47594 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
47595 return 1;
47596 }
47597
47598 static PyTypeObject varlinktype = {
47599 PyObject_HEAD_INIT(0)
47600 0, /* Number of items in variable part (ob_size) */
47601 (char *)"swigvarlink", /* Type name (tp_name) */
47602 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
47603 0, /* Itemsize (tp_itemsize) */
47604 0, /* Deallocator (tp_dealloc) */
47605 (printfunc) swig_varlink_print, /* Print (tp_print) */
47606 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
47607 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
47608 0, /* tp_compare */
47609 (reprfunc) swig_varlink_repr, /* tp_repr */
47610 0, /* tp_as_number */
47611 0, /* tp_as_sequence */
47612 0, /* tp_as_mapping */
47613 0, /* tp_hash */
47614 0, /* tp_call */
47615 0, /* tp_str */
47616 0, /* tp_getattro */
47617 0, /* tp_setattro */
47618 0, /* tp_as_buffer */
47619 0, /* tp_flags */
47620 0, /* tp_doc */
47621 #if PY_VERSION_HEX >= 0x02000000
47622 0, /* tp_traverse */
47623 0, /* tp_clear */
47624 #endif
47625 #if PY_VERSION_HEX >= 0x02010000
47626 0, /* tp_richcompare */
47627 0, /* tp_weaklistoffset */
47628 #endif
47629 #if PY_VERSION_HEX >= 0x02020000
47630 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47631 #endif
47632 #if PY_VERSION_HEX >= 0x02030000
47633 0, /* tp_del */
47634 #endif
47635 #ifdef COUNT_ALLOCS
47636 0,0,0,0 /* tp_alloc -> tp_next */
47637 #endif
47638 };
47639
47640 /* Create a variable linking object for use later */
47641 static PyObject *
47642 SWIG_Python_newvarlink(void) {
47643 swig_varlinkobject *result = 0;
47644 result = PyMem_NEW(swig_varlinkobject,1);
47645 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
47646 result->ob_type = &varlinktype;
47647 result->vars = 0;
47648 result->ob_refcnt = 0;
47649 Py_XINCREF((PyObject *) result);
47650 return ((PyObject*) result);
47651 }
47652
47653 static void
47654 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
47655 swig_varlinkobject *v;
47656 swig_globalvar *gv;
47657 v= (swig_varlinkobject *) p;
47658 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
47659 gv->name = (char *) malloc(strlen(name)+1);
47660 strcpy(gv->name,name);
47661 gv->get_attr = get_attr;
47662 gv->set_attr = set_attr;
47663 gv->next = v->vars;
47664 v->vars = gv;
47665 }
47666
47667 /* -----------------------------------------------------------------------------
47668 * constants/methods manipulation
47669 * ----------------------------------------------------------------------------- */
47670
47671 /* Install Constants */
47672 static void
47673 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
47674 PyObject *obj = 0;
47675 size_t i;
47676 for (i = 0; constants[i].type; i++) {
47677 switch(constants[i].type) {
47678 case SWIG_PY_INT:
47679 obj = PyInt_FromLong(constants[i].lvalue);
47680 break;
47681 case SWIG_PY_FLOAT:
47682 obj = PyFloat_FromDouble(constants[i].dvalue);
47683 break;
47684 case SWIG_PY_STRING:
47685 if (constants[i].pvalue) {
47686 obj = PyString_FromString((char *) constants[i].pvalue);
47687 } else {
47688 Py_INCREF(Py_None);
47689 obj = Py_None;
47690 }
47691 break;
47692 case SWIG_PY_POINTER:
47693 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
47694 break;
47695 case SWIG_PY_BINARY:
47696 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
47697 break;
47698 default:
47699 obj = 0;
47700 break;
47701 }
47702 if (obj) {
47703 PyDict_SetItemString(d,constants[i].name,obj);
47704 Py_DECREF(obj);
47705 }
47706 }
47707 }
47708
47709 /* -----------------------------------------------------------------------------*/
47710 /* Fix SwigMethods to carry the callback ptrs when needed */
47711 /* -----------------------------------------------------------------------------*/
47712
47713 static void
47714 SWIG_Python_FixMethods(PyMethodDef *methods,
47715 swig_const_info *const_table,
47716 swig_type_info **types,
47717 swig_type_info **types_initial) {
47718 size_t i;
47719 for (i = 0; methods[i].ml_name; ++i) {
47720 char *c = methods[i].ml_doc;
47721 if (c && (c = strstr(c, "swig_ptr: "))) {
47722 int j;
47723 swig_const_info *ci = 0;
47724 char *name = c + 10;
47725 for (j = 0; const_table[j].type; j++) {
47726 if (strncmp(const_table[j].name, name,
47727 strlen(const_table[j].name)) == 0) {
47728 ci = &(const_table[j]);
47729 break;
47730 }
47731 }
47732 if (ci) {
47733 size_t shift = (ci->ptype) - types;
47734 swig_type_info *ty = types_initial[shift];
47735 size_t ldoc = (c - methods[i].ml_doc);
47736 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
47737 char *ndoc = (char*)malloc(ldoc + lptr + 10);
47738 char *buff = ndoc;
47739 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
47740 strncpy(buff, methods[i].ml_doc, ldoc);
47741 buff += ldoc;
47742 strncpy(buff, "swig_ptr: ", 10);
47743 buff += 10;
47744 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
47745 methods[i].ml_doc = ndoc;
47746 }
47747 }
47748 }
47749 }
47750
47751 /* -----------------------------------------------------------------------------*
47752 * Initialize type list
47753 * -----------------------------------------------------------------------------*/
47754
47755 #if PY_MAJOR_VERSION < 2
47756 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47757 is copied out of Python/modsupport.c in python version 2.3.4 */
47758 static int
47759 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
47760 {
47761 PyObject *dict;
47762 if (!PyModule_Check(m)) {
47763 PyErr_SetString(PyExc_TypeError,
47764 "PyModule_AddObject() needs module as first arg");
47765 return -1;
47766 }
47767 if (!o) {
47768 PyErr_SetString(PyExc_TypeError,
47769 "PyModule_AddObject() needs non-NULL value");
47770 return -1;
47771 }
47772
47773 dict = PyModule_GetDict(m);
47774 if (dict == NULL) {
47775 /* Internal error -- modules must have a dict! */
47776 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
47777 PyModule_GetName(m));
47778 return -1;
47779 }
47780 if (PyDict_SetItemString(dict, name, o))
47781 return -1;
47782 Py_DECREF(o);
47783 return 0;
47784 }
47785 #endif
47786
47787 static swig_type_info **
47788 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
47789 static PyMethodDef swig_empty_runtime_method_table[] = {
47790 {
47791 NULL, NULL, 0, NULL
47792 }
47793 };/* Sentinel */
47794
47795 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
47796 swig_empty_runtime_method_table);
47797 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
47798 if (pointer && module) {
47799 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
47800 }
47801 return type_list_handle;
47802 }
47803
47804 static swig_type_info **
47805 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
47806 swig_type_info **type_pointer;
47807
47808 /* first check if module already created */
47809 type_pointer = SWIG_Python_GetTypeListHandle();
47810 if (type_pointer) {
47811 return type_pointer;
47812 } else {
47813 /* create a new module and variable */
47814 return SWIG_Python_SetTypeListHandle(type_list_handle);
47815 }
47816 }
47817
47818 #ifdef __cplusplus
47819 }
47820 #endif
47821
47822 /* -----------------------------------------------------------------------------*
47823 * Partial Init method
47824 * -----------------------------------------------------------------------------*/
47825
47826 #ifdef SWIG_LINK_RUNTIME
47827 #ifdef __cplusplus
47828 extern "C"
47829 #endif
47830 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47831 #endif
47832
47833 #ifdef __cplusplus
47834 extern "C"
47835 #endif
47836 SWIGEXPORT(void) SWIG_init(void) {
47837 static PyObject *SWIG_globals = 0;
47838 static int typeinit = 0;
47839 PyObject *m, *d;
47840 int i;
47841 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
47842
47843 /* Fix SwigMethods to carry the callback ptrs when needed */
47844 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
47845
47846 m = Py_InitModule((char *) SWIG_name, SwigMethods);
47847 d = PyModule_GetDict(m);
47848
47849 if (!typeinit) {
47850 #ifdef SWIG_LINK_RUNTIME
47851 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
47852 #else
47853 # ifndef SWIG_STATIC_RUNTIME
47854 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
47855 # endif
47856 #endif
47857 for (i = 0; swig_types_initial[i]; i++) {
47858 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
47859 }
47860 typeinit = 1;
47861 }
47862 SWIG_InstallConstants(d,swig_const_table);
47863
47864
47865 #ifndef wxPyUSE_EXPORT
47866 // Make our API structure a CObject so other modules can import it
47867 // from this module.
47868 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
47869 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
47870 Py_XDECREF(cobj);
47871 #endif
47872
47873 {
47874 PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND)));
47875 }
47876 {
47877 PyDict_SetItemString(d,"VSCROLL", SWIG_From_int((int)(wxVSCROLL)));
47878 }
47879 {
47880 PyDict_SetItemString(d,"HSCROLL", SWIG_From_int((int)(wxHSCROLL)));
47881 }
47882 {
47883 PyDict_SetItemString(d,"CAPTION", SWIG_From_int((int)(wxCAPTION)));
47884 }
47885 {
47886 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER)));
47887 }
47888 {
47889 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER)));
47890 }
47891 {
47892 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER)));
47893 }
47894 {
47895 PyDict_SetItemString(d,"BORDER", SWIG_From_int((int)(wxBORDER)));
47896 }
47897 {
47898 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER)));
47899 }
47900 {
47901 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER)));
47902 }
47903 {
47904 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW)));
47905 }
47906 {
47907 PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER)));
47908 }
47909 {
47910 PyDict_SetItemString(d,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER)));
47911 }
47912 {
47913 PyDict_SetItemString(d,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE)));
47914 }
47915 {
47916 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL)));
47917 }
47918 {
47919 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS)));
47920 }
47921 {
47922 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW)));
47923 }
47924 {
47925 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME)));
47926 }
47927 {
47928 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN)));
47929 }
47930 {
47931 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN)));
47932 }
47933 {
47934 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN)));
47935 }
47936 {
47937 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS)));
47938 }
47939 {
47940 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB)));
47941 }
47942 {
47943 PyDict_SetItemString(d,"RETAINED", SWIG_From_int((int)(wxRETAINED)));
47944 }
47945 {
47946 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE)));
47947 }
47948 {
47949 PyDict_SetItemString(d,"COLOURED", SWIG_From_int((int)(wxCOLOURED)));
47950 }
47951 {
47952 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH)));
47953 }
47954 {
47955 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB)));
47956 }
47957 {
47958 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB)));
47959 }
47960 {
47961 PyDict_SetItemString(d,"LB_SORT", SWIG_From_int((int)(wxLB_SORT)));
47962 }
47963 {
47964 PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE)));
47965 }
47966 {
47967 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE)));
47968 }
47969 {
47970 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED)));
47971 }
47972 {
47973 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW)));
47974 }
47975 {
47976 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL)));
47977 }
47978 {
47979 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER)));
47980 }
47981 {
47982 PyDict_SetItemString(d,"PASSWORD", SWIG_From_int((int)(wxPASSWORD)));
47983 }
47984 {
47985 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE)));
47986 }
47987 {
47988 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN)));
47989 }
47990 {
47991 PyDict_SetItemString(d,"CB_SORT", SWIG_From_int((int)(wxCB_SORT)));
47992 }
47993 {
47994 PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY)));
47995 }
47996 {
47997 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL)));
47998 }
47999 {
48000 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL)));
48001 }
48002 {
48003 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS)));
48004 }
48005 {
48006 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS)));
48007 }
48008 {
48009 PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX)));
48010 }
48011 {
48012 PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP)));
48013 }
48014 {
48015 PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE)));
48016 }
48017 {
48018 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL)));
48019 }
48020 {
48021 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL)));
48022 }
48023 {
48024 PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX)));
48025 }
48026 {
48027 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP)));
48028 }
48029 {
48030 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE)));
48031 }
48032 {
48033 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE)));
48034 }
48035 {
48036 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER)));
48037 }
48038 {
48039 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE)));
48040 }
48041 {
48042 PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE)));
48043 }
48044 {
48045 PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP)));
48046 }
48047 {
48048 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM)));
48049 }
48050 {
48051 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT)));
48052 }
48053 {
48054 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT)));
48055 }
48056 {
48057 PyDict_SetItemString(d,"OK", SWIG_From_int((int)(wxOK)));
48058 }
48059 {
48060 PyDict_SetItemString(d,"YES_NO", SWIG_From_int((int)(wxYES_NO)));
48061 }
48062 {
48063 PyDict_SetItemString(d,"CANCEL", SWIG_From_int((int)(wxCANCEL)));
48064 }
48065 {
48066 PyDict_SetItemString(d,"YES", SWIG_From_int((int)(wxYES)));
48067 }
48068 {
48069 PyDict_SetItemString(d,"NO", SWIG_From_int((int)(wxNO)));
48070 }
48071 {
48072 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT)));
48073 }
48074 {
48075 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT)));
48076 }
48077 {
48078 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION)));
48079 }
48080 {
48081 PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND)));
48082 }
48083 {
48084 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION)));
48085 }
48086 {
48087 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION)));
48088 }
48089 {
48090 PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP)));
48091 }
48092 {
48093 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK)));
48094 }
48095 {
48096 PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK)));
48097 }
48098 {
48099 PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING)));
48100 }
48101 {
48102 PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR)));
48103 }
48104 {
48105 PyDict_SetItemString(d,"FORWARD", SWIG_From_int((int)(wxFORWARD)));
48106 }
48107 {
48108 PyDict_SetItemString(d,"BACKWARD", SWIG_From_int((int)(wxBACKWARD)));
48109 }
48110 {
48111 PyDict_SetItemString(d,"RESET", SWIG_From_int((int)(wxRESET)));
48112 }
48113 {
48114 PyDict_SetItemString(d,"HELP", SWIG_From_int((int)(wxHELP)));
48115 }
48116 {
48117 PyDict_SetItemString(d,"MORE", SWIG_From_int((int)(wxMORE)));
48118 }
48119 {
48120 PyDict_SetItemString(d,"SETUP", SWIG_From_int((int)(wxSETUP)));
48121 }
48122 {
48123 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH)));
48124 }
48125 {
48126 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT)));
48127 }
48128 {
48129 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO)));
48130 }
48131 {
48132 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING)));
48133 }
48134 {
48135 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE)));
48136 }
48137 {
48138 PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT)));
48139 }
48140 {
48141 PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE)));
48142 }
48143 {
48144 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH)));
48145 }
48146 {
48147 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM)));
48148 }
48149 {
48150 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW)));
48151 }
48152 {
48153 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT)));
48154 }
48155 {
48156 PyDict_SetItemString(d,"ID_ANY", SWIG_From_int((int)(wxID_ANY)));
48157 }
48158 {
48159 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR)));
48160 }
48161 {
48162 PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST)));
48163 }
48164 {
48165 PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN)));
48166 }
48167 {
48168 PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE)));
48169 }
48170 {
48171 PyDict_SetItemString(d,"ID_NEW", SWIG_From_int((int)(wxID_NEW)));
48172 }
48173 {
48174 PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE)));
48175 }
48176 {
48177 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS)));
48178 }
48179 {
48180 PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT)));
48181 }
48182 {
48183 PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT)));
48184 }
48185 {
48186 PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO)));
48187 }
48188 {
48189 PyDict_SetItemString(d,"ID_REDO", SWIG_From_int((int)(wxID_REDO)));
48190 }
48191 {
48192 PyDict_SetItemString(d,"ID_HELP", SWIG_From_int((int)(wxID_HELP)));
48193 }
48194 {
48195 PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT)));
48196 }
48197 {
48198 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP)));
48199 }
48200 {
48201 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW)));
48202 }
48203 {
48204 PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT)));
48205 }
48206 {
48207 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS)));
48208 }
48209 {
48210 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS)));
48211 }
48212 {
48213 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES)));
48214 }
48215 {
48216 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT)));
48217 }
48218 {
48219 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL)));
48220 }
48221 {
48222 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES)));
48223 }
48224 {
48225 PyDict_SetItemString(d,"ID_CUT", SWIG_From_int((int)(wxID_CUT)));
48226 }
48227 {
48228 PyDict_SetItemString(d,"ID_COPY", SWIG_From_int((int)(wxID_COPY)));
48229 }
48230 {
48231 PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE)));
48232 }
48233 {
48234 PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR)));
48235 }
48236 {
48237 PyDict_SetItemString(d,"ID_FIND", SWIG_From_int((int)(wxID_FIND)));
48238 }
48239 {
48240 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE)));
48241 }
48242 {
48243 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL)));
48244 }
48245 {
48246 PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE)));
48247 }
48248 {
48249 PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE)));
48250 }
48251 {
48252 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL)));
48253 }
48254 {
48255 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES)));
48256 }
48257 {
48258 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS)));
48259 }
48260 {
48261 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS)));
48262 }
48263 {
48264 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS)));
48265 }
48266 {
48267 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST)));
48268 }
48269 {
48270 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE)));
48271 }
48272 {
48273 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME)));
48274 }
48275 {
48276 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE)));
48277 }
48278 {
48279 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE)));
48280 }
48281 {
48282 PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1)));
48283 }
48284 {
48285 PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2)));
48286 }
48287 {
48288 PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3)));
48289 }
48290 {
48291 PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4)));
48292 }
48293 {
48294 PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5)));
48295 }
48296 {
48297 PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6)));
48298 }
48299 {
48300 PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7)));
48301 }
48302 {
48303 PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8)));
48304 }
48305 {
48306 PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9)));
48307 }
48308 {
48309 PyDict_SetItemString(d,"ID_OK", SWIG_From_int((int)(wxID_OK)));
48310 }
48311 {
48312 PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL)));
48313 }
48314 {
48315 PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY)));
48316 }
48317 {
48318 PyDict_SetItemString(d,"ID_YES", SWIG_From_int((int)(wxID_YES)));
48319 }
48320 {
48321 PyDict_SetItemString(d,"ID_NO", SWIG_From_int((int)(wxID_NO)));
48322 }
48323 {
48324 PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC)));
48325 }
48326 {
48327 PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD)));
48328 }
48329 {
48330 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD)));
48331 }
48332 {
48333 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT)));
48334 }
48335 {
48336 PyDict_SetItemString(d,"ID_MORE", SWIG_From_int((int)(wxID_MORE)));
48337 }
48338 {
48339 PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP)));
48340 }
48341 {
48342 PyDict_SetItemString(d,"ID_RESET", SWIG_From_int((int)(wxID_RESET)));
48343 }
48344 {
48345 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP)));
48346 }
48347 {
48348 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL)));
48349 }
48350 {
48351 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL)));
48352 }
48353 {
48354 PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT)));
48355 }
48356 {
48357 PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY)));
48358 }
48359 {
48360 PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE)));
48361 }
48362 {
48363 PyDict_SetItemString(d,"ID_ADD", SWIG_From_int((int)(wxID_ADD)));
48364 }
48365 {
48366 PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE)));
48367 }
48368 {
48369 PyDict_SetItemString(d,"ID_UP", SWIG_From_int((int)(wxID_UP)));
48370 }
48371 {
48372 PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN)));
48373 }
48374 {
48375 PyDict_SetItemString(d,"ID_HOME", SWIG_From_int((int)(wxID_HOME)));
48376 }
48377 {
48378 PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH)));
48379 }
48380 {
48381 PyDict_SetItemString(d,"ID_STOP", SWIG_From_int((int)(wxID_STOP)));
48382 }
48383 {
48384 PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX)));
48385 }
48386 {
48387 PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD)));
48388 }
48389 {
48390 PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC)));
48391 }
48392 {
48393 PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER)));
48394 }
48395 {
48396 PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL)));
48397 }
48398 {
48399 PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT)));
48400 }
48401 {
48402 PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT)));
48403 }
48404 {
48405 PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE)));
48406 }
48407 {
48408 PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT)));
48409 }
48410 {
48411 PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT)));
48412 }
48413 {
48414 PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100)));
48415 }
48416 {
48417 PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT)));
48418 }
48419 {
48420 PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN)));
48421 }
48422 {
48423 PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT)));
48424 }
48425 {
48426 PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE)));
48427 }
48428 {
48429 PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED)));
48430 }
48431 {
48432 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST)));
48433 }
48434 {
48435 PyDict_SetItemString(d,"OPEN", SWIG_From_int((int)(wxOPEN)));
48436 }
48437 {
48438 PyDict_SetItemString(d,"SAVE", SWIG_From_int((int)(wxSAVE)));
48439 }
48440 {
48441 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY)));
48442 }
48443 {
48444 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT)));
48445 }
48446 {
48447 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST)));
48448 }
48449 {
48450 PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE)));
48451 }
48452 {
48453 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR)));
48454 }
48455 {
48456 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT)));
48457 }
48458 {
48459 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL)));
48460 }
48461 {
48462 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT)));
48463 }
48464 {
48465 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL)));
48466 }
48467 {
48468 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE)));
48469 }
48470 {
48471 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL)));
48472 }
48473 {
48474 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT)));
48475 }
48476 {
48477 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME)));
48478 }
48479 {
48480 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME)));
48481 }
48482 {
48483 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME)));
48484 }
48485 {
48486 PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH)));
48487 }
48488 {
48489 PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP)));
48490 }
48491 {
48492 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON)));
48493 }
48494 {
48495 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE)));
48496 }
48497 {
48498 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF)));
48499 }
48500 {
48501 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE)));
48502 }
48503 {
48504 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE)));
48505 }
48506 {
48507 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE)));
48508 }
48509 {
48510 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL)));
48511 }
48512 {
48513 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL)));
48514 }
48515 {
48516 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY)));
48517 }
48518 {
48519 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS)));
48520 }
48521 {
48522 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT)));
48523 }
48524 {
48525 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND)));
48526 }
48527 {
48528 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE)));
48529 }
48530 {
48531 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES)));
48532 }
48533 {
48534 PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT)));
48535 }
48536 {
48537 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC)));
48538 }
48539 {
48540 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC)));
48541 }
48542 {
48543 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH)));
48544 }
48545 {
48546 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH)));
48547 }
48548 {
48549 PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS)));
48550 }
48551 {
48552 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC)));
48553 }
48554 {
48555 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC)));
48556 }
48557 {
48558 PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS)));
48559 }
48560 {
48561 PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC)));
48562 }
48563 {
48564 PyDict_SetItemString(d,"CENTRE", SWIG_From_int((int)(wxCENTRE)));
48565 }
48566 {
48567 PyDict_SetItemString(d,"CENTER", SWIG_From_int((int)(wxCENTER)));
48568 }
48569 {
48570 PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL)));
48571 }
48572 {
48573 PyDict_SetItemString(d,"VERTICAL", SWIG_From_int((int)(wxVERTICAL)));
48574 }
48575 {
48576 PyDict_SetItemString(d,"BOTH", SWIG_From_int((int)(wxBOTH)));
48577 }
48578 {
48579 PyDict_SetItemString(d,"LEFT", SWIG_From_int((int)(wxLEFT)));
48580 }
48581 {
48582 PyDict_SetItemString(d,"RIGHT", SWIG_From_int((int)(wxRIGHT)));
48583 }
48584 {
48585 PyDict_SetItemString(d,"UP", SWIG_From_int((int)(wxUP)));
48586 }
48587 {
48588 PyDict_SetItemString(d,"DOWN", SWIG_From_int((int)(wxDOWN)));
48589 }
48590 {
48591 PyDict_SetItemString(d,"TOP", SWIG_From_int((int)(wxTOP)));
48592 }
48593 {
48594 PyDict_SetItemString(d,"BOTTOM", SWIG_From_int((int)(wxBOTTOM)));
48595 }
48596 {
48597 PyDict_SetItemString(d,"NORTH", SWIG_From_int((int)(wxNORTH)));
48598 }
48599 {
48600 PyDict_SetItemString(d,"SOUTH", SWIG_From_int((int)(wxSOUTH)));
48601 }
48602 {
48603 PyDict_SetItemString(d,"WEST", SWIG_From_int((int)(wxWEST)));
48604 }
48605 {
48606 PyDict_SetItemString(d,"EAST", SWIG_From_int((int)(wxEAST)));
48607 }
48608 {
48609 PyDict_SetItemString(d,"ALL", SWIG_From_int((int)(wxALL)));
48610 }
48611 {
48612 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT)));
48613 }
48614 {
48615 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL)));
48616 }
48617 {
48618 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL)));
48619 }
48620 {
48621 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT)));
48622 }
48623 {
48624 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP)));
48625 }
48626 {
48627 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT)));
48628 }
48629 {
48630 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM)));
48631 }
48632 {
48633 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL)));
48634 }
48635 {
48636 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL)));
48637 }
48638 {
48639 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER)));
48640 }
48641 {
48642 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE)));
48643 }
48644 {
48645 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK)));
48646 }
48647 {
48648 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT)));
48649 }
48650 {
48651 PyDict_SetItemString(d,"SHRINK", SWIG_From_int((int)(wxSHRINK)));
48652 }
48653 {
48654 PyDict_SetItemString(d,"GROW", SWIG_From_int((int)(wxGROW)));
48655 }
48656 {
48657 PyDict_SetItemString(d,"EXPAND", SWIG_From_int((int)(wxEXPAND)));
48658 }
48659 {
48660 PyDict_SetItemString(d,"SHAPED", SWIG_From_int((int)(wxSHAPED)));
48661 }
48662 {
48663 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE)));
48664 }
48665 {
48666 PyDict_SetItemString(d,"TILE", SWIG_From_int((int)(wxTILE)));
48667 }
48668 {
48669 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE)));
48670 }
48671 {
48672 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT)));
48673 }
48674 {
48675 PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE)));
48676 }
48677 {
48678 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC)));
48679 }
48680 {
48681 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE)));
48682 }
48683 {
48684 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED)));
48685 }
48686 {
48687 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN)));
48688 }
48689 {
48690 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE)));
48691 }
48692 {
48693 PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK)));
48694 }
48695 {
48696 PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM)));
48697 }
48698 {
48699 PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR)));
48700 }
48701 {
48702 PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM)));
48703 }
48704 {
48705 PyDict_SetItemString(d,"DEFAULT", SWIG_From_int((int)(wxDEFAULT)));
48706 }
48707 {
48708 PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE)));
48709 }
48710 {
48711 PyDict_SetItemString(d,"ROMAN", SWIG_From_int((int)(wxROMAN)));
48712 }
48713 {
48714 PyDict_SetItemString(d,"SCRIPT", SWIG_From_int((int)(wxSCRIPT)));
48715 }
48716 {
48717 PyDict_SetItemString(d,"SWISS", SWIG_From_int((int)(wxSWISS)));
48718 }
48719 {
48720 PyDict_SetItemString(d,"MODERN", SWIG_From_int((int)(wxMODERN)));
48721 }
48722 {
48723 PyDict_SetItemString(d,"TELETYPE", SWIG_From_int((int)(wxTELETYPE)));
48724 }
48725 {
48726 PyDict_SetItemString(d,"VARIABLE", SWIG_From_int((int)(wxVARIABLE)));
48727 }
48728 {
48729 PyDict_SetItemString(d,"FIXED", SWIG_From_int((int)(wxFIXED)));
48730 }
48731 {
48732 PyDict_SetItemString(d,"NORMAL", SWIG_From_int((int)(wxNORMAL)));
48733 }
48734 {
48735 PyDict_SetItemString(d,"LIGHT", SWIG_From_int((int)(wxLIGHT)));
48736 }
48737 {
48738 PyDict_SetItemString(d,"BOLD", SWIG_From_int((int)(wxBOLD)));
48739 }
48740 {
48741 PyDict_SetItemString(d,"ITALIC", SWIG_From_int((int)(wxITALIC)));
48742 }
48743 {
48744 PyDict_SetItemString(d,"SLANT", SWIG_From_int((int)(wxSLANT)));
48745 }
48746 {
48747 PyDict_SetItemString(d,"SOLID", SWIG_From_int((int)(wxSOLID)));
48748 }
48749 {
48750 PyDict_SetItemString(d,"DOT", SWIG_From_int((int)(wxDOT)));
48751 }
48752 {
48753 PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH)));
48754 }
48755 {
48756 PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH)));
48757 }
48758 {
48759 PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH)));
48760 }
48761 {
48762 PyDict_SetItemString(d,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH)));
48763 }
48764 {
48765 PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT)));
48766 }
48767 {
48768 PyDict_SetItemString(d,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE)));
48769 }
48770 {
48771 PyDict_SetItemString(d,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK)));
48772 }
48773 {
48774 PyDict_SetItemString(d,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE)));
48775 }
48776 {
48777 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH)));
48778 }
48779 {
48780 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH)));
48781 }
48782 {
48783 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH)));
48784 }
48785 {
48786 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH)));
48787 }
48788 {
48789 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH)));
48790 }
48791 {
48792 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH)));
48793 }
48794 {
48795 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL)));
48796 }
48797 {
48798 PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER)));
48799 }
48800 {
48801 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND)));
48802 }
48803 {
48804 PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND)));
48805 }
48806 {
48807 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING)));
48808 }
48809 {
48810 PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT)));
48811 }
48812 {
48813 PyDict_SetItemString(d,"CLEAR", SWIG_From_int((int)(wxCLEAR)));
48814 }
48815 {
48816 PyDict_SetItemString(d,"XOR", SWIG_From_int((int)(wxXOR)));
48817 }
48818 {
48819 PyDict_SetItemString(d,"INVERT", SWIG_From_int((int)(wxINVERT)));
48820 }
48821 {
48822 PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE)));
48823 }
48824 {
48825 PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE)));
48826 }
48827 {
48828 PyDict_SetItemString(d,"COPY", SWIG_From_int((int)(wxCOPY)));
48829 }
48830 {
48831 PyDict_SetItemString(d,"AND", SWIG_From_int((int)(wxAND)));
48832 }
48833 {
48834 PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT)));
48835 }
48836 {
48837 PyDict_SetItemString(d,"NO_OP", SWIG_From_int((int)(wxNO_OP)));
48838 }
48839 {
48840 PyDict_SetItemString(d,"NOR", SWIG_From_int((int)(wxNOR)));
48841 }
48842 {
48843 PyDict_SetItemString(d,"EQUIV", SWIG_From_int((int)(wxEQUIV)));
48844 }
48845 {
48846 PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT)));
48847 }
48848 {
48849 PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT)));
48850 }
48851 {
48852 PyDict_SetItemString(d,"NAND", SWIG_From_int((int)(wxNAND)));
48853 }
48854 {
48855 PyDict_SetItemString(d,"OR", SWIG_From_int((int)(wxOR)));
48856 }
48857 {
48858 PyDict_SetItemString(d,"SET", SWIG_From_int((int)(wxSET)));
48859 }
48860 {
48861 PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int((int)(WXK_BACK)));
48862 }
48863 {
48864 PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int((int)(WXK_TAB)));
48865 }
48866 {
48867 PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN)));
48868 }
48869 {
48870 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE)));
48871 }
48872 {
48873 PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE)));
48874 }
48875 {
48876 PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE)));
48877 }
48878 {
48879 PyDict_SetItemString(d,"WXK_START", SWIG_From_int((int)(WXK_START)));
48880 }
48881 {
48882 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON)));
48883 }
48884 {
48885 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON)));
48886 }
48887 {
48888 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL)));
48889 }
48890 {
48891 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON)));
48892 }
48893 {
48894 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR)));
48895 }
48896 {
48897 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT)));
48898 }
48899 {
48900 PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int((int)(WXK_ALT)));
48901 }
48902 {
48903 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL)));
48904 }
48905 {
48906 PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int((int)(WXK_MENU)));
48907 }
48908 {
48909 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE)));
48910 }
48911 {
48912 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL)));
48913 }
48914 {
48915 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR)));
48916 }
48917 {
48918 PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT)));
48919 }
48920 {
48921 PyDict_SetItemString(d,"WXK_END", SWIG_From_int((int)(WXK_END)));
48922 }
48923 {
48924 PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int((int)(WXK_HOME)));
48925 }
48926 {
48927 PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT)));
48928 }
48929 {
48930 PyDict_SetItemString(d,"WXK_UP", SWIG_From_int((int)(WXK_UP)));
48931 }
48932 {
48933 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT)));
48934 }
48935 {
48936 PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN)));
48937 }
48938 {
48939 PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT)));
48940 }
48941 {
48942 PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT)));
48943 }
48944 {
48945 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE)));
48946 }
48947 {
48948 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT)));
48949 }
48950 {
48951 PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT)));
48952 }
48953 {
48954 PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int((int)(WXK_HELP)));
48955 }
48956 {
48957 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0)));
48958 }
48959 {
48960 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1)));
48961 }
48962 {
48963 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2)));
48964 }
48965 {
48966 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3)));
48967 }
48968 {
48969 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4)));
48970 }
48971 {
48972 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5)));
48973 }
48974 {
48975 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6)));
48976 }
48977 {
48978 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7)));
48979 }
48980 {
48981 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8)));
48982 }
48983 {
48984 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9)));
48985 }
48986 {
48987 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY)));
48988 }
48989 {
48990 PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int((int)(WXK_ADD)));
48991 }
48992 {
48993 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR)));
48994 }
48995 {
48996 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT)));
48997 }
48998 {
48999 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL)));
49000 }
49001 {
49002 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE)));
49003 }
49004 {
49005 PyDict_SetItemString(d,"WXK_F1", SWIG_From_int((int)(WXK_F1)));
49006 }
49007 {
49008 PyDict_SetItemString(d,"WXK_F2", SWIG_From_int((int)(WXK_F2)));
49009 }
49010 {
49011 PyDict_SetItemString(d,"WXK_F3", SWIG_From_int((int)(WXK_F3)));
49012 }
49013 {
49014 PyDict_SetItemString(d,"WXK_F4", SWIG_From_int((int)(WXK_F4)));
49015 }
49016 {
49017 PyDict_SetItemString(d,"WXK_F5", SWIG_From_int((int)(WXK_F5)));
49018 }
49019 {
49020 PyDict_SetItemString(d,"WXK_F6", SWIG_From_int((int)(WXK_F6)));
49021 }
49022 {
49023 PyDict_SetItemString(d,"WXK_F7", SWIG_From_int((int)(WXK_F7)));
49024 }
49025 {
49026 PyDict_SetItemString(d,"WXK_F8", SWIG_From_int((int)(WXK_F8)));
49027 }
49028 {
49029 PyDict_SetItemString(d,"WXK_F9", SWIG_From_int((int)(WXK_F9)));
49030 }
49031 {
49032 PyDict_SetItemString(d,"WXK_F10", SWIG_From_int((int)(WXK_F10)));
49033 }
49034 {
49035 PyDict_SetItemString(d,"WXK_F11", SWIG_From_int((int)(WXK_F11)));
49036 }
49037 {
49038 PyDict_SetItemString(d,"WXK_F12", SWIG_From_int((int)(WXK_F12)));
49039 }
49040 {
49041 PyDict_SetItemString(d,"WXK_F13", SWIG_From_int((int)(WXK_F13)));
49042 }
49043 {
49044 PyDict_SetItemString(d,"WXK_F14", SWIG_From_int((int)(WXK_F14)));
49045 }
49046 {
49047 PyDict_SetItemString(d,"WXK_F15", SWIG_From_int((int)(WXK_F15)));
49048 }
49049 {
49050 PyDict_SetItemString(d,"WXK_F16", SWIG_From_int((int)(WXK_F16)));
49051 }
49052 {
49053 PyDict_SetItemString(d,"WXK_F17", SWIG_From_int((int)(WXK_F17)));
49054 }
49055 {
49056 PyDict_SetItemString(d,"WXK_F18", SWIG_From_int((int)(WXK_F18)));
49057 }
49058 {
49059 PyDict_SetItemString(d,"WXK_F19", SWIG_From_int((int)(WXK_F19)));
49060 }
49061 {
49062 PyDict_SetItemString(d,"WXK_F20", SWIG_From_int((int)(WXK_F20)));
49063 }
49064 {
49065 PyDict_SetItemString(d,"WXK_F21", SWIG_From_int((int)(WXK_F21)));
49066 }
49067 {
49068 PyDict_SetItemString(d,"WXK_F22", SWIG_From_int((int)(WXK_F22)));
49069 }
49070 {
49071 PyDict_SetItemString(d,"WXK_F23", SWIG_From_int((int)(WXK_F23)));
49072 }
49073 {
49074 PyDict_SetItemString(d,"WXK_F24", SWIG_From_int((int)(WXK_F24)));
49075 }
49076 {
49077 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK)));
49078 }
49079 {
49080 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL)));
49081 }
49082 {
49083 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP)));
49084 }
49085 {
49086 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN)));
49087 }
49088 {
49089 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE)));
49090 }
49091 {
49092 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB)));
49093 }
49094 {
49095 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER)));
49096 }
49097 {
49098 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1)));
49099 }
49100 {
49101 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2)));
49102 }
49103 {
49104 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3)));
49105 }
49106 {
49107 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4)));
49108 }
49109 {
49110 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME)));
49111 }
49112 {
49113 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT)));
49114 }
49115 {
49116 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP)));
49117 }
49118 {
49119 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT)));
49120 }
49121 {
49122 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN)));
49123 }
49124 {
49125 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR)));
49126 }
49127 {
49128 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP)));
49129 }
49130 {
49131 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT)));
49132 }
49133 {
49134 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN)));
49135 }
49136 {
49137 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END)));
49138 }
49139 {
49140 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN)));
49141 }
49142 {
49143 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT)));
49144 }
49145 {
49146 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE)));
49147 }
49148 {
49149 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL)));
49150 }
49151 {
49152 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY)));
49153 }
49154 {
49155 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD)));
49156 }
49157 {
49158 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR)));
49159 }
49160 {
49161 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT)));
49162 }
49163 {
49164 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL)));
49165 }
49166 {
49167 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE)));
49168 }
49169 {
49170 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT)));
49171 }
49172 {
49173 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT)));
49174 }
49175 {
49176 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU)));
49177 }
49178 {
49179 PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND)));
49180 }
49181 {
49182 PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1)));
49183 }
49184 {
49185 PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2)));
49186 }
49187 {
49188 PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3)));
49189 }
49190 {
49191 PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4)));
49192 }
49193 {
49194 PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5)));
49195 }
49196 {
49197 PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6)));
49198 }
49199 {
49200 PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7)));
49201 }
49202 {
49203 PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8)));
49204 }
49205 {
49206 PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9)));
49207 }
49208 {
49209 PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10)));
49210 }
49211 {
49212 PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11)));
49213 }
49214 {
49215 PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12)));
49216 }
49217 {
49218 PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13)));
49219 }
49220 {
49221 PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14)));
49222 }
49223 {
49224 PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15)));
49225 }
49226 {
49227 PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16)));
49228 }
49229 {
49230 PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17)));
49231 }
49232 {
49233 PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18)));
49234 }
49235 {
49236 PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19)));
49237 }
49238 {
49239 PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20)));
49240 }
49241 {
49242 PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE)));
49243 }
49244 {
49245 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER)));
49246 }
49247 {
49248 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL)));
49249 }
49250 {
49251 PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4)));
49252 }
49253 {
49254 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET)));
49255 }
49256 {
49257 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET)));
49258 }
49259 {
49260 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET)));
49261 }
49262 {
49263 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL)));
49264 }
49265 {
49266 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID)));
49267 }
49268 {
49269 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER)));
49270 }
49271 {
49272 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT)));
49273 }
49274 {
49275 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE)));
49276 }
49277 {
49278 PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3)));
49279 }
49280 {
49281 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL)));
49282 }
49283 {
49284 PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5)));
49285 }
49286 {
49287 PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4)));
49288 }
49289 {
49290 PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5)));
49291 }
49292 {
49293 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO)));
49294 }
49295 {
49296 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO)));
49297 }
49298 {
49299 PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14)));
49300 }
49301 {
49302 PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17)));
49303 }
49304 {
49305 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE)));
49306 }
49307 {
49308 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9)));
49309 }
49310 {
49311 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10)));
49312 }
49313 {
49314 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11)));
49315 }
49316 {
49317 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12)));
49318 }
49319 {
49320 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14)));
49321 }
49322 {
49323 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL)));
49324 }
49325 {
49326 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5)));
49327 }
49328 {
49329 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3)));
49330 }
49331 {
49332 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4)));
49333 }
49334 {
49335 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6)));
49336 }
49337 {
49338 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65)));
49339 }
49340 {
49341 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4)));
49342 }
49343 {
49344 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5)));
49345 }
49346 {
49347 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6)));
49348 }
49349 {
49350 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY)));
49351 }
49352 {
49353 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH)));
49354 }
49355 {
49356 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL)));
49357 }
49358 {
49359 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US)));
49360 }
49361 {
49362 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN)));
49363 }
49364 {
49365 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN)));
49366 }
49367 {
49368 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4)));
49369 }
49370 {
49371 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD)));
49372 }
49373 {
49374 PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11)));
49375 }
49376 {
49377 PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11)));
49378 }
49379 {
49380 PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11)));
49381 }
49382 {
49383 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE)));
49384 }
49385 {
49386 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA)));
49387 }
49388 {
49389 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA)));
49390 }
49391 {
49392 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA)));
49393 }
49394 {
49395 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA)));
49396 }
49397 {
49398 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE)));
49399 }
49400 {
49401 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE)));
49402 }
49403 {
49404 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE)));
49405 }
49406 {
49407 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS)));
49408 }
49409 {
49410 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS)));
49411 }
49412 {
49413 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS)));
49414 }
49415 {
49416 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS)));
49417 }
49418 {
49419 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE)));
49420 }
49421 {
49422 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE)));
49423 }
49424 {
49425 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA)));
49426 }
49427 {
49428 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA)));
49429 }
49430 {
49431 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA)));
49432 }
49433 {
49434 PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2)));
49435 }
49436 {
49437 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE)));
49438 }
49439 {
49440 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE)));
49441 }
49442 {
49443 PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD)));
49444 }
49445 {
49446 PyDict_SetItemString(d,"PAPER_A6", SWIG_From_int((int)(wxPAPER_A6)));
49447 }
49448 {
49449 PyDict_SetItemString(d,"PAPER_JENV_KAKU2", SWIG_From_int((int)(wxPAPER_JENV_KAKU2)));
49450 }
49451 {
49452 PyDict_SetItemString(d,"PAPER_JENV_KAKU3", SWIG_From_int((int)(wxPAPER_JENV_KAKU3)));
49453 }
49454 {
49455 PyDict_SetItemString(d,"PAPER_JENV_CHOU3", SWIG_From_int((int)(wxPAPER_JENV_CHOU3)));
49456 }
49457 {
49458 PyDict_SetItemString(d,"PAPER_JENV_CHOU4", SWIG_From_int((int)(wxPAPER_JENV_CHOU4)));
49459 }
49460 {
49461 PyDict_SetItemString(d,"PAPER_LETTER_ROTATED", SWIG_From_int((int)(wxPAPER_LETTER_ROTATED)));
49462 }
49463 {
49464 PyDict_SetItemString(d,"PAPER_A3_ROTATED", SWIG_From_int((int)(wxPAPER_A3_ROTATED)));
49465 }
49466 {
49467 PyDict_SetItemString(d,"PAPER_A4_ROTATED", SWIG_From_int((int)(wxPAPER_A4_ROTATED)));
49468 }
49469 {
49470 PyDict_SetItemString(d,"PAPER_A5_ROTATED", SWIG_From_int((int)(wxPAPER_A5_ROTATED)));
49471 }
49472 {
49473 PyDict_SetItemString(d,"PAPER_B4_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B4_JIS_ROTATED)));
49474 }
49475 {
49476 PyDict_SetItemString(d,"PAPER_B5_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B5_JIS_ROTATED)));
49477 }
49478 {
49479 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD_ROTATED)));
49480 }
49481 {
49482 PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED)));
49483 }
49484 {
49485 PyDict_SetItemString(d,"PAPER_A6_ROTATED", SWIG_From_int((int)(wxPAPER_A6_ROTATED)));
49486 }
49487 {
49488 PyDict_SetItemString(d,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU2_ROTATED)));
49489 }
49490 {
49491 PyDict_SetItemString(d,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU3_ROTATED)));
49492 }
49493 {
49494 PyDict_SetItemString(d,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU3_ROTATED)));
49495 }
49496 {
49497 PyDict_SetItemString(d,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU4_ROTATED)));
49498 }
49499 {
49500 PyDict_SetItemString(d,"PAPER_B6_JIS", SWIG_From_int((int)(wxPAPER_B6_JIS)));
49501 }
49502 {
49503 PyDict_SetItemString(d,"PAPER_B6_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B6_JIS_ROTATED)));
49504 }
49505 {
49506 PyDict_SetItemString(d,"PAPER_12X11", SWIG_From_int((int)(wxPAPER_12X11)));
49507 }
49508 {
49509 PyDict_SetItemString(d,"PAPER_JENV_YOU4", SWIG_From_int((int)(wxPAPER_JENV_YOU4)));
49510 }
49511 {
49512 PyDict_SetItemString(d,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_YOU4_ROTATED)));
49513 }
49514 {
49515 PyDict_SetItemString(d,"PAPER_P16K", SWIG_From_int((int)(wxPAPER_P16K)));
49516 }
49517 {
49518 PyDict_SetItemString(d,"PAPER_P32K", SWIG_From_int((int)(wxPAPER_P32K)));
49519 }
49520 {
49521 PyDict_SetItemString(d,"PAPER_P32KBIG", SWIG_From_int((int)(wxPAPER_P32KBIG)));
49522 }
49523 {
49524 PyDict_SetItemString(d,"PAPER_PENV_1", SWIG_From_int((int)(wxPAPER_PENV_1)));
49525 }
49526 {
49527 PyDict_SetItemString(d,"PAPER_PENV_2", SWIG_From_int((int)(wxPAPER_PENV_2)));
49528 }
49529 {
49530 PyDict_SetItemString(d,"PAPER_PENV_3", SWIG_From_int((int)(wxPAPER_PENV_3)));
49531 }
49532 {
49533 PyDict_SetItemString(d,"PAPER_PENV_4", SWIG_From_int((int)(wxPAPER_PENV_4)));
49534 }
49535 {
49536 PyDict_SetItemString(d,"PAPER_PENV_5", SWIG_From_int((int)(wxPAPER_PENV_5)));
49537 }
49538 {
49539 PyDict_SetItemString(d,"PAPER_PENV_6", SWIG_From_int((int)(wxPAPER_PENV_6)));
49540 }
49541 {
49542 PyDict_SetItemString(d,"PAPER_PENV_7", SWIG_From_int((int)(wxPAPER_PENV_7)));
49543 }
49544 {
49545 PyDict_SetItemString(d,"PAPER_PENV_8", SWIG_From_int((int)(wxPAPER_PENV_8)));
49546 }
49547 {
49548 PyDict_SetItemString(d,"PAPER_PENV_9", SWIG_From_int((int)(wxPAPER_PENV_9)));
49549 }
49550 {
49551 PyDict_SetItemString(d,"PAPER_PENV_10", SWIG_From_int((int)(wxPAPER_PENV_10)));
49552 }
49553 {
49554 PyDict_SetItemString(d,"PAPER_P16K_ROTATED", SWIG_From_int((int)(wxPAPER_P16K_ROTATED)));
49555 }
49556 {
49557 PyDict_SetItemString(d,"PAPER_P32K_ROTATED", SWIG_From_int((int)(wxPAPER_P32K_ROTATED)));
49558 }
49559 {
49560 PyDict_SetItemString(d,"PAPER_P32KBIG_ROTATED", SWIG_From_int((int)(wxPAPER_P32KBIG_ROTATED)));
49561 }
49562 {
49563 PyDict_SetItemString(d,"PAPER_PENV_1_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_1_ROTATED)));
49564 }
49565 {
49566 PyDict_SetItemString(d,"PAPER_PENV_2_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_2_ROTATED)));
49567 }
49568 {
49569 PyDict_SetItemString(d,"PAPER_PENV_3_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_3_ROTATED)));
49570 }
49571 {
49572 PyDict_SetItemString(d,"PAPER_PENV_4_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_4_ROTATED)));
49573 }
49574 {
49575 PyDict_SetItemString(d,"PAPER_PENV_5_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_5_ROTATED)));
49576 }
49577 {
49578 PyDict_SetItemString(d,"PAPER_PENV_6_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_6_ROTATED)));
49579 }
49580 {
49581 PyDict_SetItemString(d,"PAPER_PENV_7_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_7_ROTATED)));
49582 }
49583 {
49584 PyDict_SetItemString(d,"PAPER_PENV_8_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_8_ROTATED)));
49585 }
49586 {
49587 PyDict_SetItemString(d,"PAPER_PENV_9_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_9_ROTATED)));
49588 }
49589 {
49590 PyDict_SetItemString(d,"PAPER_PENV_10_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_10_ROTATED)));
49591 }
49592 {
49593 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX)));
49594 }
49595 {
49596 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL)));
49597 }
49598 {
49599 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL)));
49600 }
49601 {
49602 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR)));
49603 }
49604 {
49605 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL)));
49606 }
49607 {
49608 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK)));
49609 }
49610 {
49611 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO)));
49612 }
49613 {
49614 PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX)));
49615 }
49616 {
49617 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE)));
49618 }
49619 {
49620 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST)));
49621 }
49622 {
49623 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1)));
49624 }
49625 {
49626 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2)));
49627 }
49628 {
49629 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1)));
49630 }
49631 {
49632 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2)));
49633 }
49634 {
49635 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB)));
49636 }
49637 {
49638 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1)));
49639 }
49640 {
49641 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2)));
49642 }
49643 {
49644 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST)));
49645 }
49646 {
49647 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE)));
49648 }
49649 {
49650 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE)));
49651 }
49652 {
49653 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR)));
49654 }
49655 {
49656 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR)));
49657 }
49658 {
49659 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER)));
49660 }
49661 {
49662 PyDict_SetItemString(d,"HT_MAX", SWIG_From_int((int)(wxHT_MAX)));
49663 }
49664 {
49665 PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE)));
49666 }
49667 {
49668 PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT)));
49669 }
49670 {
49671 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL)));
49672 }
49673 {
49674 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT)));
49675 }
49676 {
49677 PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN)));
49678 }
49679 {
49680 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE)));
49681 }
49682 {
49683 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE)));
49684 }
49685 {
49686 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE)));
49687 }
49688 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
49689 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
49690 {
49691 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID)));
49692 }
49693 {
49694 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP)));
49695 }
49696 {
49697 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO)));
49698 }
49699 {
49700 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR)));
49701 }
49702 {
49703 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM)));
49704 }
49705 {
49706 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA)));
49707 }
49708 {
49709 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM)));
49710 }
49711 {
49712 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA)));
49713 }
49714 {
49715 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF)));
49716 }
49717 {
49718 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF)));
49719 }
49720 {
49721 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG)));
49722 }
49723 {
49724 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG)));
49725 }
49726 {
49727 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM)));
49728 }
49729 {
49730 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX)));
49731 }
49732 {
49733 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT)));
49734 }
49735 {
49736 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON)));
49737 }
49738 {
49739 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI)));
49740 }
49741 {
49742 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF)));
49743 }
49744 {
49745 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR)));
49746 }
49747 {
49748 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY)));
49749 }
49750 {
49751 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE)));
49752 }
49753 {
49754 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW)));
49755 }
49756 {
49757 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW)));
49758 }
49759 {
49760 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE)));
49761 }
49762 {
49763 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR)));
49764 }
49765 {
49766 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS)));
49767 }
49768 {
49769 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND)));
49770 }
49771 {
49772 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM)));
49773 }
49774 {
49775 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON)));
49776 }
49777 {
49778 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER)));
49779 }
49780 {
49781 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON)));
49782 }
49783 {
49784 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY)));
49785 }
49786 {
49787 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH)));
49788 }
49789 {
49790 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL)));
49791 }
49792 {
49793 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT)));
49794 }
49795 {
49796 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT)));
49797 }
49798 {
49799 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW)));
49800 }
49801 {
49802 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON)));
49803 }
49804 {
49805 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW)));
49806 }
49807 {
49808 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS)));
49809 }
49810 {
49811 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE)));
49812 }
49813 {
49814 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE)));
49815 }
49816 {
49817 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING)));
49818 }
49819 {
49820 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN)));
49821 }
49822 {
49823 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT)));
49824 }
49825 {
49826 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH)));
49827 }
49828 {
49829 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK)));
49830 }
49831 {
49832 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT)));
49833 }
49834 {
49835 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW)));
49836 }
49837 {
49838 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT)));
49839 }
49840 {
49841 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX)));
49842 }
49843 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
49844 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
49845 {
49846 PyDict_SetItemString(d,"FromStart", SWIG_From_int((int)(wxFromStart)));
49847 }
49848 {
49849 PyDict_SetItemString(d,"FromCurrent", SWIG_From_int((int)(wxFromCurrent)));
49850 }
49851 {
49852 PyDict_SetItemString(d,"FromEnd", SWIG_From_int((int)(wxFromEnd)));
49853 }
49854
49855 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49856
49857
49858 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49859
49860 {
49861 PyDict_SetItemString(d,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT)));
49862 }
49863 {
49864 PyDict_SetItemString(d,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD)));
49865 }
49866 {
49867 PyDict_SetItemString(d,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE)));
49868 }
49869 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
49870 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get, _wrap_IMAGE_OPTION_FILENAME_set);
49871 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
49872 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
49873 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
49874 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
49875 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get, _wrap_IMAGE_OPTION_RESOLUTIONX_set);
49876 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get, _wrap_IMAGE_OPTION_RESOLUTIONY_set);
49877 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
49878 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get, _wrap_IMAGE_OPTION_QUALITY_set);
49879 {
49880 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES)));
49881 }
49882 {
49883 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM)));
49884 }
49885 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set);
49886 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set);
49887 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get, _wrap_IMAGE_OPTION_COMPRESSION_set);
49888 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set);
49889 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get, _wrap_IMAGE_OPTION_PNG_FORMAT_set);
49890 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set);
49891 {
49892 PyDict_SetItemString(d,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR)));
49893 }
49894 {
49895 PyDict_SetItemString(d,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY)));
49896 }
49897 {
49898 PyDict_SetItemString(d,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED)));
49899 }
49900 {
49901 PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP)));
49902 }
49903 {
49904 PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP)));
49905 }
49906 {
49907 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY)));
49908 }
49909 {
49910 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY)));
49911 }
49912 {
49913 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED)));
49914 }
49915 {
49916 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE)));
49917 }
49918 {
49919 PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP)));
49920 }
49921 {
49922 PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP)));
49923 }
49924 {
49925 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW)));
49926 }
49927 {
49928 PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS)));
49929 }
49930 {
49931 PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE)));
49932 }
49933 {
49934 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE)));
49935 }
49936 {
49937 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX)));
49938 }
49939 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
49940 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
49941 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
49942 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
49943 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
49944 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
49945 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
49946 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
49947 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
49948 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
49949 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
49950 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
49951 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
49952 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
49953 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
49954 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
49955 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
49956 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
49957 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
49958 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
49959 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
49960 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
49961 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
49962 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
49963 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
49964 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
49965 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
49966 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
49967 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
49968 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
49969 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
49970 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
49971 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
49972 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
49973 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
49974 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
49975 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
49976 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
49977 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
49978 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
49979 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
49980 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
49981 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
49982 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
49983 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
49984 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
49985 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
49986 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
49987 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
49988 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
49989 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
49990 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
49991 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
49992 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
49993 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
49994 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
49995 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
49996 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
49997 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
49998 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
49999 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
50000 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
50001 PyDict_SetItemString(d, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED));
50002 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
50003 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
50004 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
50005 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
50006 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
50007 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
50008 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
50009 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
50010 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
50011 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
50012 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
50013 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
50014 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
50015 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
50016 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
50017 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
50018 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
50019 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
50020 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
50021 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
50022 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
50023 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
50024 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
50025 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
50026 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
50027 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
50028 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
50029 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
50030 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
50031 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
50032 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
50033 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
50034 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
50035 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
50036 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
50037 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
50038 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
50039 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
50040 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
50041 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
50042 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
50043 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
50044 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
50045 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
50046 PyDict_SetItemString(d, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE));
50047 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
50048 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
50049 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
50050 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
50051 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
50052 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
50053 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
50054 {
50055 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY)));
50056 }
50057 {
50058 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE)));
50059 }
50060 {
50061 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT)));
50062 }
50063 {
50064 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE)));
50065 }
50066 {
50067 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT)));
50068 }
50069 {
50070 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL)));
50071 }
50072 {
50073 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED)));
50074 }
50075 {
50076 PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward)));
50077 }
50078 {
50079 PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward)));
50080 }
50081 {
50082 PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange)));
50083 }
50084 {
50085 PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab)));
50086 }
50087 {
50088 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL)));
50089 }
50090 {
50091 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED)));
50092 }
50093 PyDict_SetItemString(d, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED));
50094 {
50095 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS)));
50096 }
50097 {
50098 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION)));
50099 }
50100 {
50101 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG)));
50102 }
50103 {
50104 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG)));
50105 }
50106 {
50107 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS)));
50108 }
50109 {
50110 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT)));
50111 }
50112 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
50113 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
50114 {
50115 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL)));
50116 }
50117 {
50118 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL)));
50119 }
50120 {
50121 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI)));
50122 }
50123 {
50124 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE)));
50125 }
50126 {
50127 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX)));
50128 }
50129 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
50130 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
50131 {
50132 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE)));
50133 }
50134 {
50135 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED)));
50136 }
50137 {
50138 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL)));
50139 }
50140 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
50141 {
50142 PyDict_SetItemString(d,"Left", SWIG_From_int((int)(wxLeft)));
50143 }
50144 {
50145 PyDict_SetItemString(d,"Top", SWIG_From_int((int)(wxTop)));
50146 }
50147 {
50148 PyDict_SetItemString(d,"Right", SWIG_From_int((int)(wxRight)));
50149 }
50150 {
50151 PyDict_SetItemString(d,"Bottom", SWIG_From_int((int)(wxBottom)));
50152 }
50153 {
50154 PyDict_SetItemString(d,"Width", SWIG_From_int((int)(wxWidth)));
50155 }
50156 {
50157 PyDict_SetItemString(d,"Height", SWIG_From_int((int)(wxHeight)));
50158 }
50159 {
50160 PyDict_SetItemString(d,"Centre", SWIG_From_int((int)(wxCentre)));
50161 }
50162 {
50163 PyDict_SetItemString(d,"Center", SWIG_From_int((int)(wxCenter)));
50164 }
50165 {
50166 PyDict_SetItemString(d,"CentreX", SWIG_From_int((int)(wxCentreX)));
50167 }
50168 {
50169 PyDict_SetItemString(d,"CentreY", SWIG_From_int((int)(wxCentreY)));
50170 }
50171 {
50172 PyDict_SetItemString(d,"Unconstrained", SWIG_From_int((int)(wxUnconstrained)));
50173 }
50174 {
50175 PyDict_SetItemString(d,"AsIs", SWIG_From_int((int)(wxAsIs)));
50176 }
50177 {
50178 PyDict_SetItemString(d,"PercentOf", SWIG_From_int((int)(wxPercentOf)));
50179 }
50180 {
50181 PyDict_SetItemString(d,"Above", SWIG_From_int((int)(wxAbove)));
50182 }
50183 {
50184 PyDict_SetItemString(d,"Below", SWIG_From_int((int)(wxBelow)));
50185 }
50186 {
50187 PyDict_SetItemString(d,"LeftOf", SWIG_From_int((int)(wxLeftOf)));
50188 }
50189 {
50190 PyDict_SetItemString(d,"RightOf", SWIG_From_int((int)(wxRightOf)));
50191 }
50192 {
50193 PyDict_SetItemString(d,"SameAs", SWIG_From_int((int)(wxSameAs)));
50194 }
50195 {
50196 PyDict_SetItemString(d,"Absolute", SWIG_From_int((int)(wxAbsolute)));
50197 }
50198
50199 // Initialize threading, some globals and such
50200 __wxPyPreStart(d);
50201
50202
50203 // Although these are defined in __version__ they need to be here too so
50204 // that an assert can be done to ensure that the wxPython and the wxWindows
50205 // versions match.
50206 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
50207 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
50208 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
50209
50210 }
50211