1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
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
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
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"
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)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
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'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
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
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
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 */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
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
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
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
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
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
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
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
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
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
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
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
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
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);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
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.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
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
);
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
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
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.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
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)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
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
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
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
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
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)
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)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
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
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
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 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
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
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
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;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
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*/
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 */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
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*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
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 */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
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
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
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
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
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;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
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*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
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 */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
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)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
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
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
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;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
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
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
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);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
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;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
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];
1472 /* -------- TYPES TABLE (END) -------- */
1475 /*-----------------------------------------------
1476 @(target):= _core_.so
1477 ------------------------------------------------*/
1478 #define SWIG_init init_core_
1480 #define SWIG_name "_core_"
1482 #include "wx/wxPython/wxPython_int.h"
1483 #include "wx/wxPython/pyclasses.h"
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.
1491 #include <wx/hashmap.h>
1492 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
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
;
1500 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1502 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1504 if (typeInfoCache
== NULL
)
1505 typeInfoCache
= new wxPyTypeInfoHashMap
;
1507 wxString
name(className
);
1508 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1511 // it wasn't in the cache, so look it up from SWIG
1512 name
.Append(wxT(" *"));
1513 swigType
= SWIG_TypeQuery(name
.mb_str());
1515 // if it still wasn't found, try looking for a mapped name
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());
1528 // and add it to the map if found
1529 (*typeInfoCache
)[className
] = swigType
;
1536 // Check if a class name is a type known to SWIG
1537 bool wxPyCheckSwigType(const wxChar
* className
) {
1539 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1540 return swigType
!= NULL
;
1544 // Given a pointer to a C++ object and a class name, construct a Python proxy
1546 PyObject
* wxPyConstructObject(void* ptr
,
1547 const wxChar
* className
,
1550 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1551 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1553 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
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
) {
1564 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1565 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1567 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1571 // Make a SWIGified pointer object suitable for a .this attribute
1572 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1574 PyObject
* robj
= NULL
;
1576 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1577 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1579 #ifdef SWIG_COBJECT_TYPES
1580 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1584 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1585 PyString_FromString(result
) : 0;
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
= {
1601 wxPyConstructObject
,
1605 wxPyBeginAllowThreads
,
1606 wxPyEndAllowThreads
,
1607 wxPyBeginBlockThreads
,
1608 wxPyEndBlockThreads
,
1620 wxPoint_LIST_helper
,
1621 wxBitmap_LIST_helper
,
1622 wxString_LIST_helper
,
1623 wxAcceleratorEntry_LIST_helper
,
1632 wxPySimple_typecheck
,
1635 wxPyCBH_setCallbackInfo
,
1636 wxPyCBH_findCallback
,
1637 wxPyCBH_callCallback
,
1638 wxPyCBH_callCallbackObj
,
1644 wxPy2int_seq_helper
,
1645 wxPy4int_seq_helper
,
1646 wxArrayString2PyList_helper
,
1647 wxArrayInt2PyList_helper
,
1649 wxPyClientData_dtor
,
1651 wxPyOORClientData_dtor
,
1653 wxPyCBInputStream_create
,
1654 wxPyCBInputStream_copy
,
1657 wxPySwigInstance_Check
,
1666 #if !WXWIN_COMPATIBILITY_2_4
1667 #define wxHIDE_READONLY 0
1671 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1672 #define SWIG_From_int PyInt_FromLong
1677 enum wxHotkeyModifier
1685 #define wxEVT_HOTKEY 9999
1688 static const wxString
wxPyEmptyString(wxEmptyString
);
1689 static wxString
wxObject_GetClassName(wxObject
*self
){
1690 return self
->GetClassInfo()->GetClassName();
1692 static void wxObject_Destroy(wxObject
*self
){
1697 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1705 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %ld is less than '%s' minimum %ld",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %ld is greater than '%s' maximum %ld",
1719 value
, errmsg
, max_value
);
1728 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1730 if (PyNumber_Check(obj
)) {
1731 if (val
) *val
= PyInt_AsLong(obj
);
1735 SWIG_type_error("number", obj
);
1741 #if INT_MAX != LONG_MAX
1743 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1745 const char* errmsg
= val
? "int" : (char*)0;
1747 if (SWIG_AsVal_long(obj
, &v
)) {
1748 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1749 if (val
) *val
= (int)(v
);
1758 SWIG_type_error(errmsg
, obj
);
1764 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1766 return SWIG_AsVal_long(obj
,(long*)val
);
1772 SWIG_As_int(PyObject
* obj
)
1775 if (!SWIG_AsVal_int(obj
, &v
)) {
1777 this is needed to make valgrind/purify happier.
1779 memset((void*)&v
, 0, sizeof(int));
1786 SWIG_Check_int(PyObject
* obj
)
1788 return SWIG_AsVal_int(obj
, (int*)0);
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
);
1801 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1803 if (PyNumber_Check(obj
)) {
1804 if (val
) *val
= PyFloat_AsDouble(obj
);
1808 SWIG_type_error("number", obj
);
1814 SWIGINTERNSHORT
double
1815 SWIG_As_double(PyObject
* obj
)
1818 if (!SWIG_AsVal_double(obj
, &v
)) {
1820 this is needed to make valgrind/purify happier.
1822 memset((void*)&v
, 0, sizeof(double));
1829 SWIG_Check_double(PyObject
* obj
)
1831 return SWIG_AsVal_double(obj
, (double*)0);
1835 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1836 #define SWIG_From_double PyFloat_FromDouble
1839 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
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
);
1852 SWIGINTERNSHORT
long
1853 SWIG_As_long(PyObject
* obj
)
1856 if (!SWIG_AsVal_long(obj
, &v
)) {
1858 this is needed to make valgrind/purify happier.
1860 memset((void*)&v
, 0, sizeof(long));
1867 SWIG_Check_long(PyObject
* obj
)
1869 return SWIG_AsVal_long(obj
, (long*)0);
1872 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
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
);
1884 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1887 self
->width
= width
;
1888 self
->height
= height
;
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
);
1901 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1904 wxRect
dest(0,0,0,0);
1907 reg1
.Intersect(reg2
);
1908 dest
= reg1
.GetBox();
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
);
1922 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1928 } else if (target
== Py_None
) {
1932 if (!PyTuple_Check(target
)) {
1934 target
= PyTuple_New(1);
1935 PyTuple_SetItem(target
, 0, o2
);
1937 o3
= PyTuple_New(1);
1938 PyTuple_SetItem(o3
, 0, o
);
1941 target
= PySequence_Concat(o2
, o3
);
1949 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
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
);
1962 #include "wx/wxPython/pyistream.h"
1964 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1965 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1967 return new wxPyInputStream(wxis
);
1972 SWIGINTERNSHORT PyObject
*
1973 SWIG_From_char(char c
)
1975 return PyString_FromStringAndSize(&c
,1);
1979 SWIGINTERNSHORT PyObject
*
1980 SWIG_From_unsigned_SS_long(unsigned long value
)
1982 return (value
> LONG_MAX
) ?
1983 PyLong_FromUnsignedLong(value
)
1984 : PyInt_FromLong((long)(value
));
1988 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1990 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1992 static swig_type_info
* pchar_info
= 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;
2001 if (PyString_Check(obj
)) {
2003 *cptr
= PyString_AS_STRING(obj
);
2005 *psize
= PyString_GET_SIZE(obj
) + 1;
2012 SWIG_type_error("char *", obj
);
2019 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2021 char* cptr
; size_t csize
;
2022 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2025 char x[5] = "hello";
2027 ie, assing the array using an extra '0' char.
2029 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2030 if (csize
<= size
) {
2032 if (csize
) memcpy(val
, cptr
, csize
);
2033 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2039 PyErr_Format(PyExc_TypeError
,
2040 "a char array of maximum size %lu is expected",
2041 (unsigned long) size
);
2048 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2050 const char* errmsg
= val
? "char" : (char*)0;
2052 if (SWIG_AsVal_long(obj
, &v
)) {
2053 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2054 if (val
) *val
= (char)(v
);
2061 return SWIG_AsCharArray(obj
, val
, 1);
2066 SWIGINTERNSHORT
char
2067 SWIG_As_char(PyObject
* obj
)
2070 if (!SWIG_AsVal_char(obj
, &v
)) {
2072 this is needed to make valgrind/purify happier.
2074 memset((void*)&v
, 0, sizeof(char));
2081 SWIG_Check_char(PyObject
* obj
)
2083 return SWIG_AsVal_char(obj
, (char*)0);
2087 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2088 #define SWIG_From_long PyInt_FromLong
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
);
2095 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2098 self
->Write(PyString_AS_STRING(str
),
2099 PyString_GET_SIZE(str
));
2103 #include "wx/wxPython/pyistream.h"
2106 class wxPyFileSystemHandler
: public wxFileSystemHandler
2109 wxPyFileSystemHandler() : wxFileSystemHandler() {}
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
);
2116 wxString
GetProtocol(const wxString
& location
) {
2117 return wxFileSystemHandler::GetProtocol(location
);
2120 wxString
GetLeftLocation(const wxString
& location
) {
2121 return wxFileSystemHandler::GetLeftLocation(location
);
2124 wxString
GetAnchor(const wxString
& location
) {
2125 return wxFileSystemHandler::GetAnchor(location
);
2128 wxString
GetRightLocation(const wxString
& location
) {
2129 return wxFileSystemHandler::GetRightLocation(location
);
2132 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2133 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
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
);
2147 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2149 if (obj
== Py_True
) {
2150 if (val
) *val
= true;
2153 if (obj
== Py_False
) {
2154 if (val
) *val
= false;
2158 if (SWIG_AsVal_int(obj
, &res
)) {
2159 if (val
) *val
= res
? true : false;
2165 SWIG_type_error("bool", obj
);
2171 SWIGINTERNSHORT
bool
2172 SWIG_As_bool(PyObject
* obj
)
2175 if (!SWIG_AsVal_bool(obj
, &v
)) {
2177 this is needed to make valgrind/purify happier.
2179 memset((void*)&v
, 0, sizeof(bool));
2186 SWIG_Check_bool(PyObject
* obj
)
2188 return SWIG_AsVal_bool(obj
, (bool*)0);
2191 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2192 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2193 return fname
.GetFullPath();
2196 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2199 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2202 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2203 const wxBitmap
& bitmap
,
2205 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2208 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2210 if (! PyString_Check(data
)) {
2211 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2212 "Expected string object"));
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 void* ptr
= (void*)PyString_AsString(data
);
2218 size_t size
= PyString_Size(data
);
2219 wxPyEndBlockThreads(blocked
);
2221 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2225 #include "wx/wxPython/pyistream.h"
2229 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2232 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2233 SWIG_type_error("unsigned number", obj
);
2236 *val
= (unsigned long)v
;
2242 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2243 unsigned long max_value
,
2246 if (value
> max_value
) {
2248 PyErr_Format(PyExc_OverflowError
,
2249 "value %lu is greater than '%s' minimum %lu",
2250 value
, errmsg
, max_value
);
2259 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2261 const char* errmsg
= val
? "unsigned char" : (char*)0;
2263 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2264 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2265 if (val
) *val
= (unsigned char)(v
);
2274 SWIG_type_error(errmsg
, obj
);
2280 SWIGINTERNSHORT
unsigned char
2281 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2284 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2286 this is needed to make valgrind/purify happier.
2288 memset((void*)&v
, 0, sizeof(unsigned char));
2295 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2297 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2301 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2302 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2307 SWIGINTERNSHORT
unsigned long
2308 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2311 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2313 this is needed to make valgrind/purify happier.
2315 memset((void*)&v
, 0, sizeof(unsigned long));
2322 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2324 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2327 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2328 wxImageHistogramEntry e
= (*self
)[key
];
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
];
2336 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2337 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2340 wxImageHistogramEntry e
= (*self
)[key
];
2344 typedef unsigned char* buffer
;
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
);
2352 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2353 return new wxImage(bitmap
.ConvertToImage());
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.");
2361 // Copy the source data so the wxImage can clean it up later
2362 buffer copy
= (buffer
)malloc(DATASIZE
);
2364 wxPyBLOCK_THREADS(PyErr_NoMemory());
2367 memcpy(copy
, data
, DATASIZE
);
2368 return new wxImage(width
, height
, copy
, false);
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.");
2375 if (ALPHASIZE
!= width
*height
) {
2376 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
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());
2386 memcpy(dcopy
, data
, DATASIZE
);
2388 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2389 if (acopy
== NULL
) {
2390 wxPyBLOCK_THREADS(PyErr_NoMemory());
2393 memcpy(acopy
, alpha
, ALPHASIZE
);
2395 return new wxImage(width
, height
, dcopy
, acopy
, false);
2397 static wxSize
wxImage_GetSize(wxImage
*self
){
2398 wxSize
size(self
->GetWidth(), self
->GetHeight());
2401 static PyObject
*wxImage_GetData(wxImage
*self
){
2402 buffer data
= self
->GetData();
2403 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2405 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
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.");
2413 buffer copy
= (buffer
)malloc(DATASIZE
);
2415 wxPyBLOCK_THREADS(PyErr_NoMemory());
2418 memcpy(copy
, data
, DATASIZE
);
2419 self
->SetData(copy
, false);
2420 // wxImage takes ownership of copy...
2422 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2423 buffer data
= self
->GetData();
2424 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2426 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
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.");
2434 self
->SetData(data
, true);
2436 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2437 buffer data
= self
->GetAlpha();
2441 int len
= self
->GetWidth() * self
->GetHeight();
2443 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
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.");
2452 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2453 if (acopy
== NULL
) {
2454 wxPyBLOCK_THREADS(PyErr_NoMemory());
2457 memcpy(acopy
, alpha
, ALPHASIZE
);
2458 self
->SetAlpha(acopy
, false);
2459 // wxImage takes ownership of acopy...
2461 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2462 buffer data
= self
->GetAlpha();
2463 int len
= self
->GetWidth() * self
->GetHeight();
2465 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
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.");
2473 self
->SetAlpha(alpha
, true);
2475 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2476 wxBitmap
bitmap(*self
, depth
);
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 );
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
);
2500 #include <wx/quantize.h>
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
,
2506 NULL
, // eightBitData
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
));
2515 else if (func
== Py_None
) {
2516 self
->Disconnect(id
, lastId
, eventType
,
2517 (wxObjectEventFunction
)
2518 &wxPyCallback::EventThunker
);
2522 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
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
);
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
));
2535 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2537 self
->SetClientObject(NULL
); // This will delete it too
2542 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2544 return self
->GetUnicodeKey();
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
2555 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2556 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2561 #if UINT_MAX != ULONG_MAX
2563 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2565 const char* errmsg
= val
? "unsigned int" : (char*)0;
2567 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2568 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2569 if (val
) *val
= (unsigned int)(v
);
2576 SWIG_type_error(errmsg
, obj
);
2581 SWIGINTERNSHORT
unsigned int
2582 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2584 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2589 SWIGINTERNSHORT
unsigned int
2590 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2593 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2595 this is needed to make valgrind/purify happier.
2597 memset((void*)&v
, 0, sizeof(unsigned int));
2604 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2606 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2609 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2610 self
->m_size
= size
;
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
);
2619 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2620 wxPyEndBlockThreads(blocked
);
2624 for (int i
=0; i
<count
; i
++) {
2625 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2627 wxPyEndBlockThreads(blocked
);
2632 static wxPyApp
*new_wxPyApp(){
2633 wxPythonApp
= new wxPyApp();
2637 void wxApp_CleanUp() {
2642 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2646 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2648 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2653 SWIG_type_error("char *", obj
);
2659 SWIGINTERN PyObject
*
2660 SWIG_FromCharPtr(const char* cptr
)
2663 size_t size
= strlen(cptr
);
2664 if (size
> INT_MAX
) {
2665 return SWIG_NewPointerObj((char*)(cptr
),
2666 SWIG_TypeQuery("char *"), 0);
2669 return PyString_FromStringAndSize(cptr
, size
);
2671 return PyString_FromString(cptr
);
2682 // A dummy class that raises an exception if used...
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(); }
2698 #include <wx/evtloop.h>
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
);
2711 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2713 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2718 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2725 static long wxWindow_GetHandle(wxWindow
*self
){
2726 return wxPyGetWinHandle(self
);
2728 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2729 self
->AssociateHandle((WXWidget
)handle
);
2732 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2733 return wxWindow::FindWindowById(id
, parent
);
2736 wxWindow
* wxFindWindowByName( const wxString
& name
,
2737 const wxWindow
*parent
= NULL
) {
2738 return wxWindow::FindWindowByName(name
, parent
);
2741 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2742 const wxWindow
*parent
= NULL
) {
2743 return wxWindow::FindWindowByLabel(label
, parent
);
2748 #include <wx/msw/private.h> // to get wxGetWindowId
2752 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2754 WXHWND hWnd
= (WXHWND
)_hWnd
;
2755 long id
= wxGetWindowId(hWnd
);
2756 wxWindow
* win
= new wxWindow
;
2757 parent
->AddChild(win
);
2758 win
->SetEventHandler(win
);
2761 win
->SubclassWin(hWnd
);
2762 win
->AdoptAttributesFromHWND();
2763 win
->SetupColours();
2766 wxPyRaiseNotImplemented();
2772 PyObject
* GetTopLevelWindows() {
2773 return wxPy_ConvertList(&wxTopLevelWindows
);
2777 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2778 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2779 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2781 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
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
);
2788 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2789 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2791 wxPyClientData
* data
= new wxPyClientData(clientData
);
2792 return self
->Append(item
, data
);
2794 return self
->Append(item
);
2796 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2798 wxPyClientData
* data
= new wxPyClientData(clientData
);
2799 return self
->Insert(item
, pos
, data
);
2801 return self
->Insert(item
, pos
);
2803 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2804 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2806 Py_INCREF(data
->m_obj
);
2813 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2814 wxPyClientData
* data
= new wxPyClientData(clientData
);
2815 self
->SetClientObject(n
, data
);
2819 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2820 wxPyUserData
* data
= NULL
;
2822 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2823 data
= new wxPyUserData(userData
);
2824 wxPyEndBlockThreads(blocked
);
2826 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2828 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2829 wxPyUserData
* data
= NULL
;
2831 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2832 data
= new wxPyUserData(userData
);
2833 wxPyEndBlockThreads(blocked
);
2835 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2837 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2838 wxPyUserData
* data
= NULL
;
2840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2841 data
= new wxPyUserData(userData
);
2842 wxPyEndBlockThreads(blocked
);
2844 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2849 SWIG_CheckDoubleInRange(double value
, double min_value
,
2850 double max_value
, const char* errmsg
)
2852 if (value
< min_value
) {
2854 PyErr_Format(PyExc_OverflowError
,
2855 "value %g is less than %s minimum %g",
2856 value
, errmsg
, min_value
);
2859 } else if (value
> max_value
) {
2861 PyErr_Format(PyExc_OverflowError
,
2862 "value %g is greater than %s maximum %g",
2863 value
, errmsg
, max_value
);
2872 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2874 const char* errmsg
= val
? "float" : (char*)0;
2876 if (SWIG_AsVal_double(obj
, &v
)) {
2877 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2878 if (val
) *val
= (float)(v
);
2887 SWIG_type_error(errmsg
, obj
);
2893 SWIGINTERNSHORT
float
2894 SWIG_As_float(PyObject
* obj
)
2897 if (!SWIG_AsVal_float(obj
, &v
)) {
2899 this is needed to make valgrind/purify happier.
2901 memset((void*)&v
, 0, sizeof(float));
2908 SWIG_Check_float(PyObject
* obj
)
2910 return SWIG_AsVal_float(obj
, (float*)0);
2914 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2915 #define SWIG_From_float PyFloat_FromDouble
2918 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2919 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2921 Py_INCREF(data
->m_obj
);
2929 // Figure out the type of the sizer item
2931 struct wxPySizerItemInfo
{
2933 : window(NULL
), sizer(NULL
), gotSize(false),
2934 size(wxDefaultSize
), gotPos(false), pos(-1)
2945 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2947 wxPySizerItemInfo info
;
2949 wxSize
* sizePtr
= &size
;
2951 // Find out what the type of the item is
2953 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2958 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2962 // try wxSize or (w,h)
2963 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2964 info
.size
= *sizePtr
;
2965 info
.gotSize
= true;
2969 if (checkIdx
&& PyInt_Check(item
)) {
2970 info
.pos
= PyInt_AsLong(item
);
2976 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2977 // no expected type, figure out what kind of error message to generate
2978 if ( !checkSize
&& !checkIdx
)
2979 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2980 else if ( checkSize
&& !checkIdx
)
2981 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2982 else if ( !checkSize
&& checkIdx
)
2983 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2985 // can this one happen?
2986 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2992 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2993 if (!self
->GetClientObject())
2994 self
->SetClientObject(new wxPyOORClientData(_self
));
2996 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2998 wxPyUserData
* data
= NULL
;
2999 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3000 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3001 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3002 data
= new wxPyUserData(userData
);
3003 wxPyEndBlockThreads(blocked
);
3005 // Now call the real Add method if a valid item type was found
3007 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3008 else if ( info
.sizer
)
3009 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3010 else if (info
.gotSize
)
3011 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3012 proportion
, flag
, border
, data
);
3016 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3018 wxPyUserData
* data
= NULL
;
3019 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3020 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3021 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3022 data
= new wxPyUserData(userData
);
3023 wxPyEndBlockThreads(blocked
);
3025 // Now call the real Insert method if a valid item type was found
3027 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3028 else if ( info
.sizer
)
3029 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3030 else if (info
.gotSize
)
3031 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3032 proportion
, flag
, border
, data
);
3036 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3038 wxPyUserData
* data
= NULL
;
3039 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3040 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3041 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3042 data
= new wxPyUserData(userData
);
3043 wxPyEndBlockThreads(blocked
);
3045 // Now call the real Prepend method if a valid item type was found
3047 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3048 else if ( info
.sizer
)
3049 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3050 else if (info
.gotSize
)
3051 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3052 proportion
, flag
, border
, data
);
3056 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3058 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3059 wxPyEndBlockThreads(blocked
);
3061 return self
->Remove(info
.window
);
3062 else if ( info
.sizer
)
3063 return self
->Remove(info
.sizer
);
3064 else if ( info
.gotPos
)
3065 return self
->Remove(info
.pos
);
3069 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3070 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3071 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3072 wxPyEndBlockThreads(blocked
);
3074 return self
->Detach(info
.window
);
3075 else if ( info
.sizer
)
3076 return self
->Detach(info
.sizer
);
3077 else if ( info
.gotPos
)
3078 return self
->Detach(info
.pos
);
3082 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3083 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3084 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3085 wxPyEndBlockThreads(blocked
);
3087 return self
->GetItem(info
.window
);
3088 else if ( info
.sizer
)
3089 return self
->GetItem(info
.sizer
);
3090 else if ( info
.gotPos
)
3091 return self
->GetItem(info
.pos
);
3095 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3097 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3098 wxPyEndBlockThreads(blocked
);
3100 self
->SetItemMinSize(info
.window
, size
);
3101 else if ( info
.sizer
)
3102 self
->SetItemMinSize(info
.sizer
, size
);
3103 else if ( info
.gotPos
)
3104 self
->SetItemMinSize(info
.pos
, size
);
3106 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3107 wxSizerItemList
& list
= self
->GetChildren();
3108 return wxPy_ConvertList(&list
);
3110 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3111 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3112 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3113 wxPyEndBlockThreads(blocked
);
3115 return self
->Show(info
.window
, show
, recursive
);
3116 else if ( info
.sizer
)
3117 return self
->Show(info
.sizer
, show
, recursive
);
3118 else if ( info
.gotPos
)
3119 return self
->Show(info
.pos
, show
);
3123 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3124 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3125 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3126 wxPyEndBlockThreads(blocked
);
3128 return self
->IsShown(info
.window
);
3129 else if ( info
.sizer
)
3130 return self
->IsShown(info
.sizer
);
3131 else if ( info
.gotPos
)
3132 return self
->IsShown(info
.pos
);
3138 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3139 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3140 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3145 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3147 if (source
== Py_None
) {
3148 **obj
= wxGBPosition(-1,-1);
3151 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3154 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3156 if (source
== Py_None
) {
3157 **obj
= wxGBSpan(-1,-1);
3160 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3164 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3168 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3169 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3170 PyObject
* tup
= PyTuple_New(2);
3171 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3172 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3173 wxPyEndBlockThreads(blocked
);
3176 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3177 self
->SetRowspan(rowspan
);
3178 self
->SetColspan(colspan
);
3180 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3182 PyObject
* tup
= PyTuple_New(2);
3183 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3184 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3185 wxPyEndBlockThreads(blocked
);
3188 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3189 wxPyUserData
* data
= NULL
;
3191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3192 data
= new wxPyUserData(userData
);
3193 wxPyEndBlockThreads(blocked
);
3195 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3197 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3198 wxPyUserData
* data
= NULL
;
3200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3201 data
= new wxPyUserData(userData
);
3202 wxPyEndBlockThreads(blocked
);
3204 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3206 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3207 wxPyUserData
* data
= NULL
;
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 data
= new wxPyUserData(userData
);
3211 wxPyEndBlockThreads(blocked
);
3213 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3215 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3217 self
->GetEndPos(row
, col
);
3218 return wxGBPosition(row
, col
);
3220 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3222 wxPyUserData
* data
= NULL
;
3223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3224 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3225 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3226 data
= new wxPyUserData(userData
);
3227 wxPyEndBlockThreads(blocked
);
3229 // Now call the real Add method if a valid item type was found
3231 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3232 else if ( info
.sizer
)
3233 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3234 else if (info
.gotSize
)
3235 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3236 pos
, span
, flag
, border
, data
);
3244 static int _wrap_EmptyString_set(PyObject
*) {
3245 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3250 static PyObject
*_wrap_EmptyString_get(void) {
3255 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3257 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3264 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
*resultobj
;
3266 wxObject
*arg1
= (wxObject
*) 0 ;
3268 PyObject
* obj0
= 0 ;
3270 (char *) "self", NULL
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3275 if (SWIG_arg_fail(1)) SWIG_fail
;
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 result
= wxObject_GetClassName(arg1
);
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3296 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxObject
*arg1
= (wxObject
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3301 (char *) "self", NULL
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3306 if (SWIG_arg_fail(1)) SWIG_fail
;
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 wxObject_Destroy(arg1
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3314 Py_INCREF(Py_None
); resultobj
= Py_None
;
3321 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3324 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3326 return Py_BuildValue((char *)"");
3328 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxSize
*arg1
= (wxSize
*) 0 ;
3332 PyObject
* obj0
= 0 ;
3333 PyObject
* obj1
= 0 ;
3335 (char *) "self",(char *) "x", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3340 if (SWIG_arg_fail(1)) SWIG_fail
;
3342 arg2
= (int)(SWIG_As_int(obj1
));
3343 if (SWIG_arg_fail(2)) SWIG_fail
;
3345 if (arg1
) (arg1
)->x
= arg2
;
3347 Py_INCREF(Py_None
); resultobj
= Py_None
;
3354 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxSize
*arg1
= (wxSize
*) 0 ;
3358 PyObject
* obj0
= 0 ;
3360 (char *) "self", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3365 if (SWIG_arg_fail(1)) SWIG_fail
;
3366 result
= (int) ((arg1
)->x
);
3369 resultobj
= SWIG_From_int((int)(result
));
3377 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxSize
*arg1
= (wxSize
*) 0 ;
3381 PyObject
* obj0
= 0 ;
3382 PyObject
* obj1
= 0 ;
3384 (char *) "self",(char *) "y", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3389 if (SWIG_arg_fail(1)) SWIG_fail
;
3391 arg2
= (int)(SWIG_As_int(obj1
));
3392 if (SWIG_arg_fail(2)) SWIG_fail
;
3394 if (arg1
) (arg1
)->y
= arg2
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3403 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxSize
*arg1
= (wxSize
*) 0 ;
3407 PyObject
* obj0
= 0 ;
3409 (char *) "self", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3414 if (SWIG_arg_fail(1)) SWIG_fail
;
3415 result
= (int) ((arg1
)->y
);
3418 resultobj
= SWIG_From_int((int)(result
));
3426 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 int arg1
= (int) 0 ;
3429 int arg2
= (int) 0 ;
3431 PyObject
* obj0
= 0 ;
3432 PyObject
* obj1
= 0 ;
3434 (char *) "w",(char *) "h", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3440 arg1
= (int)(SWIG_As_int(obj0
));
3441 if (SWIG_arg_fail(1)) SWIG_fail
;
3446 arg2
= (int)(SWIG_As_int(obj1
));
3447 if (SWIG_arg_fail(2)) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3464 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxSize
*arg1
= (wxSize
*) 0 ;
3467 PyObject
* obj0
= 0 ;
3469 (char *) "self", NULL
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3474 if (SWIG_arg_fail(1)) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxSize
*arg1
= (wxSize
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3498 (char *) "self",(char *) "sz", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3503 if (SWIG_arg_fail(1)) SWIG_fail
;
3506 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3524 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxSize
*arg1
= (wxSize
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "sz", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail
;
3541 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3559 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
*resultobj
;
3561 wxSize
*arg1
= (wxSize
*) 0 ;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3568 (char *) "self",(char *) "sz", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3573 if (SWIG_arg_fail(1)) SWIG_fail
;
3576 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3587 resultptr
= new wxSize((wxSize
&)(result
));
3588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3596 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxSize
*arg1
= (wxSize
*) 0 ;
3602 PyObject
* obj0
= 0 ;
3603 PyObject
* obj1
= 0 ;
3605 (char *) "self",(char *) "sz", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3610 if (SWIG_arg_fail(1)) SWIG_fail
;
3613 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3624 resultptr
= new wxSize((wxSize
&)(result
));
3625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3633 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3635 wxSize
*arg1
= (wxSize
*) 0 ;
3638 PyObject
* obj0
= 0 ;
3639 PyObject
* obj1
= 0 ;
3641 (char *) "self",(char *) "sz", NULL
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3646 if (SWIG_arg_fail(1)) SWIG_fail
;
3649 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 (arg1
)->IncTo((wxSize
const &)*arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 Py_INCREF(Py_None
); resultobj
= Py_None
;
3665 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxSize
*arg1
= (wxSize
*) 0 ;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3673 (char *) "self",(char *) "sz", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3678 if (SWIG_arg_fail(1)) SWIG_fail
;
3681 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 (arg1
)->DecTo((wxSize
const &)*arg2
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 Py_INCREF(Py_None
); resultobj
= Py_None
;
3697 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxSize
*arg1
= (wxSize
*) 0 ;
3702 PyObject
* obj0
= 0 ;
3703 PyObject
* obj1
= 0 ;
3704 PyObject
* obj2
= 0 ;
3706 (char *) "self",(char *) "w",(char *) "h", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3711 if (SWIG_arg_fail(1)) SWIG_fail
;
3713 arg2
= (int)(SWIG_As_int(obj1
));
3714 if (SWIG_arg_fail(2)) SWIG_fail
;
3717 arg3
= (int)(SWIG_As_int(obj2
));
3718 if (SWIG_arg_fail(3)) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 (arg1
)->Set(arg2
,arg3
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 Py_INCREF(Py_None
); resultobj
= Py_None
;
3734 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxSize
*arg1
= (wxSize
*) 0 ;
3738 PyObject
* obj0
= 0 ;
3739 PyObject
* obj1
= 0 ;
3741 (char *) "self",(char *) "w", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3746 if (SWIG_arg_fail(1)) SWIG_fail
;
3748 arg2
= (int)(SWIG_As_int(obj1
));
3749 if (SWIG_arg_fail(2)) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 (arg1
)->SetWidth(arg2
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 Py_INCREF(Py_None
); resultobj
= Py_None
;
3765 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxSize
*arg1
= (wxSize
*) 0 ;
3769 PyObject
* obj0
= 0 ;
3770 PyObject
* obj1
= 0 ;
3772 (char *) "self",(char *) "h", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3777 if (SWIG_arg_fail(1)) SWIG_fail
;
3779 arg2
= (int)(SWIG_As_int(obj1
));
3780 if (SWIG_arg_fail(2)) SWIG_fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 (arg1
)->SetHeight(arg2
);
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3789 Py_INCREF(Py_None
); resultobj
= Py_None
;
3796 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
*resultobj
;
3798 wxSize
*arg1
= (wxSize
*) 0 ;
3800 PyObject
* obj0
= 0 ;
3802 (char *) "self", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3807 if (SWIG_arg_fail(1)) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_From_int((int)(result
));
3824 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxSize
*arg1
= (wxSize
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "self", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3835 if (SWIG_arg_fail(1)) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= SWIG_From_int((int)(result
));
3852 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxSize
*arg1
= (wxSize
*) 0 ;
3856 PyObject
* obj0
= 0 ;
3858 (char *) "self", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3863 if (SWIG_arg_fail(1)) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3880 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxSize
*arg1
= (wxSize
*) 0 ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3888 (char *) "self",(char *) "size", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3893 if (SWIG_arg_fail(1)) SWIG_fail
;
3896 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 Py_INCREF(Py_None
); resultobj
= Py_None
;
3912 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxSize
*arg1
= (wxSize
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3918 (char *) "self", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3923 if (SWIG_arg_fail(1)) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 result
= (PyObject
*)wxSize_Get(arg1
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3938 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3941 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3943 return Py_BuildValue((char *)"");
3945 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3949 PyObject
* obj0
= 0 ;
3950 PyObject
* obj1
= 0 ;
3952 (char *) "self",(char *) "x", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3957 if (SWIG_arg_fail(1)) SWIG_fail
;
3959 arg2
= (double)(SWIG_As_double(obj1
));
3960 if (SWIG_arg_fail(2)) SWIG_fail
;
3962 if (arg1
) (arg1
)->x
= arg2
;
3964 Py_INCREF(Py_None
); resultobj
= Py_None
;
3971 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3975 PyObject
* obj0
= 0 ;
3977 (char *) "self", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3982 if (SWIG_arg_fail(1)) SWIG_fail
;
3983 result
= (double) ((arg1
)->x
);
3986 resultobj
= SWIG_From_double((double)(result
));
3994 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 (char *) "self",(char *) "y", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4006 if (SWIG_arg_fail(1)) SWIG_fail
;
4008 arg2
= (double)(SWIG_As_double(obj1
));
4009 if (SWIG_arg_fail(2)) SWIG_fail
;
4011 if (arg1
) (arg1
)->y
= arg2
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4020 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4026 (char *) "self", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4031 if (SWIG_arg_fail(1)) SWIG_fail
;
4032 result
= (double) ((arg1
)->y
);
4035 resultobj
= SWIG_From_double((double)(result
));
4043 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
;
4045 double arg1
= (double) 0.0 ;
4046 double arg2
= (double) 0.0 ;
4047 wxRealPoint
*result
;
4048 PyObject
* obj0
= 0 ;
4049 PyObject
* obj1
= 0 ;
4051 (char *) "x",(char *) "y", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4057 arg1
= (double)(SWIG_As_double(obj0
));
4058 if (SWIG_arg_fail(1)) SWIG_fail
;
4063 arg2
= (double)(SWIG_As_double(obj1
));
4064 if (SWIG_arg_fail(2)) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4081 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "self", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4091 if (SWIG_arg_fail(1)) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 Py_INCREF(Py_None
); resultobj
= Py_None
;
4106 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4109 wxRealPoint
*arg2
= 0 ;
4112 PyObject
* obj0
= 0 ;
4113 PyObject
* obj1
= 0 ;
4115 (char *) "self",(char *) "pt", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4120 if (SWIG_arg_fail(1)) SWIG_fail
;
4123 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4141 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4144 wxRealPoint
*arg2
= 0 ;
4147 PyObject
* obj0
= 0 ;
4148 PyObject
* obj1
= 0 ;
4150 (char *) "self",(char *) "pt", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4155 if (SWIG_arg_fail(1)) SWIG_fail
;
4158 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4176 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4179 wxRealPoint
*arg2
= 0 ;
4182 PyObject
* obj0
= 0 ;
4183 PyObject
* obj1
= 0 ;
4185 (char *) "self",(char *) "pt", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail
;
4193 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4203 wxRealPoint
* resultptr
;
4204 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4213 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4216 wxRealPoint
*arg2
= 0 ;
4219 PyObject
* obj0
= 0 ;
4220 PyObject
* obj1
= 0 ;
4222 (char *) "self",(char *) "pt", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4227 if (SWIG_arg_fail(1)) SWIG_fail
;
4230 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4240 wxRealPoint
* resultptr
;
4241 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4250 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4257 PyObject
* obj2
= 0 ;
4259 (char *) "self",(char *) "x",(char *) "y", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4264 if (SWIG_arg_fail(1)) SWIG_fail
;
4266 arg2
= (double)(SWIG_As_double(obj1
));
4267 if (SWIG_arg_fail(2)) SWIG_fail
;
4270 arg3
= (double)(SWIG_As_double(obj2
));
4271 if (SWIG_arg_fail(3)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxRealPoint_Set(arg1
,arg2
,arg3
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 Py_INCREF(Py_None
); resultobj
= Py_None
;
4287 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "self", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4298 if (SWIG_arg_fail(1)) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4313 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4316 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4318 return Py_BuildValue((char *)"");
4320 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxPoint
*arg1
= (wxPoint
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4327 (char *) "self",(char *) "x", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4332 if (SWIG_arg_fail(1)) SWIG_fail
;
4334 arg2
= (int)(SWIG_As_int(obj1
));
4335 if (SWIG_arg_fail(2)) SWIG_fail
;
4337 if (arg1
) (arg1
)->x
= arg2
;
4339 Py_INCREF(Py_None
); resultobj
= Py_None
;
4346 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
;
4348 wxPoint
*arg1
= (wxPoint
*) 0 ;
4350 PyObject
* obj0
= 0 ;
4352 (char *) "self", NULL
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4357 if (SWIG_arg_fail(1)) SWIG_fail
;
4358 result
= (int) ((arg1
)->x
);
4361 resultobj
= SWIG_From_int((int)(result
));
4369 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4371 wxPoint
*arg1
= (wxPoint
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4374 PyObject
* obj1
= 0 ;
4376 (char *) "self",(char *) "y", NULL
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4381 if (SWIG_arg_fail(1)) SWIG_fail
;
4383 arg2
= (int)(SWIG_As_int(obj1
));
4384 if (SWIG_arg_fail(2)) SWIG_fail
;
4386 if (arg1
) (arg1
)->y
= arg2
;
4388 Py_INCREF(Py_None
); resultobj
= Py_None
;
4395 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxPoint
*arg1
= (wxPoint
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4401 (char *) "self", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4406 if (SWIG_arg_fail(1)) SWIG_fail
;
4407 result
= (int) ((arg1
)->y
);
4410 resultobj
= SWIG_From_int((int)(result
));
4418 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 int arg1
= (int) 0 ;
4421 int arg2
= (int) 0 ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4426 (char *) "x",(char *) "y", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4432 arg1
= (int)(SWIG_As_int(obj0
));
4433 if (SWIG_arg_fail(1)) SWIG_fail
;
4438 arg2
= (int)(SWIG_As_int(obj1
));
4439 if (SWIG_arg_fail(2)) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4456 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxPoint
*arg1
= (wxPoint
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4461 (char *) "self", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4466 if (SWIG_arg_fail(1)) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 Py_INCREF(Py_None
); resultobj
= Py_None
;
4481 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxPoint
*arg1
= (wxPoint
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4490 (char *) "self",(char *) "pt", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4495 if (SWIG_arg_fail(1)) SWIG_fail
;
4498 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4516 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxPoint
*arg1
= (wxPoint
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4525 (char *) "self",(char *) "pt", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4530 if (SWIG_arg_fail(1)) SWIG_fail
;
4533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4551 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxPoint
*arg1
= (wxPoint
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4560 (char *) "self",(char *) "pt", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail
;
4568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 wxPoint
* resultptr
;
4579 resultptr
= new wxPoint((wxPoint
&)(result
));
4580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4588 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxPoint
*arg1
= (wxPoint
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4595 PyObject
* obj1
= 0 ;
4597 (char *) "self",(char *) "pt", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4602 if (SWIG_arg_fail(1)) SWIG_fail
;
4605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4615 wxPoint
* resultptr
;
4616 resultptr
= new wxPoint((wxPoint
&)(result
));
4617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4625 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxPoint
*arg1
= (wxPoint
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4632 PyObject
* obj1
= 0 ;
4634 (char *) "self",(char *) "pt", NULL
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4639 if (SWIG_arg_fail(1)) SWIG_fail
;
4642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4648 result
= (wxPoint
*) &_result_ref
;
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4661 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxPoint
*arg1
= (wxPoint
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4670 (char *) "self",(char *) "pt", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4675 if (SWIG_arg_fail(1)) SWIG_fail
;
4678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4684 result
= (wxPoint
*) &_result_ref
;
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4697 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxPoint
*arg1
= (wxPoint
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4704 PyObject
* obj2
= 0 ;
4706 (char *) "self",(char *) "x",(char *) "y", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4711 if (SWIG_arg_fail(1)) SWIG_fail
;
4713 arg2
= (long)(SWIG_As_long(obj1
));
4714 if (SWIG_arg_fail(2)) SWIG_fail
;
4717 arg3
= (long)(SWIG_As_long(obj2
));
4718 if (SWIG_arg_fail(3)) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxPoint_Set(arg1
,arg2
,arg3
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 Py_INCREF(Py_None
); resultobj
= Py_None
;
4734 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
;
4736 wxPoint
*arg1
= (wxPoint
*) 0 ;
4738 PyObject
* obj0
= 0 ;
4740 (char *) "self", NULL
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4745 if (SWIG_arg_fail(1)) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (PyObject
*)wxPoint_Get(arg1
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4760 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4763 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4765 return Py_BuildValue((char *)"");
4767 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 int arg1
= (int) 0 ;
4770 int arg2
= (int) 0 ;
4771 int arg3
= (int) 0 ;
4772 int arg4
= (int) 0 ;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4776 PyObject
* obj2
= 0 ;
4777 PyObject
* obj3
= 0 ;
4779 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4785 arg1
= (int)(SWIG_As_int(obj0
));
4786 if (SWIG_arg_fail(1)) SWIG_fail
;
4791 arg2
= (int)(SWIG_As_int(obj1
));
4792 if (SWIG_arg_fail(2)) SWIG_fail
;
4797 arg3
= (int)(SWIG_As_int(obj2
));
4798 if (SWIG_arg_fail(3)) SWIG_fail
;
4803 arg4
= (int)(SWIG_As_int(obj3
));
4804 if (SWIG_arg_fail(4)) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4821 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4831 (char *) "topLeft",(char *) "bottomRight", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4837 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4857 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4864 PyObject
* obj0
= 0 ;
4865 PyObject
* obj1
= 0 ;
4867 (char *) "pos",(char *) "size", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4873 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4877 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4893 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
;
4898 PyObject
* obj0
= 0 ;
4900 (char *) "size", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4906 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4922 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxRect
*arg1
= (wxRect
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4927 (char *) "self", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4932 if (SWIG_arg_fail(1)) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 Py_INCREF(Py_None
); resultobj
= Py_None
;
4947 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxRect
*arg1
= (wxRect
*) 0 ;
4951 PyObject
* obj0
= 0 ;
4953 (char *) "self", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4958 if (SWIG_arg_fail(1)) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (int)((wxRect
const *)arg1
)->GetX();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= SWIG_From_int((int)(result
));
4975 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
;
4977 wxRect
*arg1
= (wxRect
*) 0 ;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4982 (char *) "self",(char *) "x", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4987 if (SWIG_arg_fail(1)) SWIG_fail
;
4989 arg2
= (int)(SWIG_As_int(obj1
));
4990 if (SWIG_arg_fail(2)) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 Py_INCREF(Py_None
); resultobj
= Py_None
;
5006 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxRect
*arg1
= (wxRect
*) 0 ;
5010 PyObject
* obj0
= 0 ;
5012 (char *) "self", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5017 if (SWIG_arg_fail(1)) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 result
= (int)(arg1
)->GetY();
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5026 resultobj
= SWIG_From_int((int)(result
));
5034 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
;
5036 wxRect
*arg1
= (wxRect
*) 0 ;
5038 PyObject
* obj0
= 0 ;
5039 PyObject
* obj1
= 0 ;
5041 (char *) "self",(char *) "y", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5046 if (SWIG_arg_fail(1)) SWIG_fail
;
5048 arg2
= (int)(SWIG_As_int(obj1
));
5049 if (SWIG_arg_fail(2)) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 Py_INCREF(Py_None
); resultobj
= Py_None
;
5065 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxRect
*arg1
= (wxRect
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5071 (char *) "self", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5076 if (SWIG_arg_fail(1)) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= SWIG_From_int((int)(result
));
5093 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxRect
*arg1
= (wxRect
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5100 (char *) "self",(char *) "w", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5105 if (SWIG_arg_fail(1)) SWIG_fail
;
5107 arg2
= (int)(SWIG_As_int(obj1
));
5108 if (SWIG_arg_fail(2)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 (arg1
)->SetWidth(arg2
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 Py_INCREF(Py_None
); resultobj
= Py_None
;
5124 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxRect
*arg1
= (wxRect
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5130 (char *) "self", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5135 if (SWIG_arg_fail(1)) SWIG_fail
;
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5144 resultobj
= SWIG_From_int((int)(result
));
5152 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxRect
*arg1
= (wxRect
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5159 (char *) "self",(char *) "h", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail
;
5166 arg2
= (int)(SWIG_As_int(obj1
));
5167 if (SWIG_arg_fail(2)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 (arg1
)->SetHeight(arg2
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 Py_INCREF(Py_None
); resultobj
= Py_None
;
5183 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
;
5185 wxRect
*arg1
= (wxRect
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5189 (char *) "self", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= ((wxRect
const *)arg1
)->GetPosition();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 wxPoint
* resultptr
;
5204 resultptr
= new wxPoint((wxPoint
&)(result
));
5205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5213 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxRect
*arg1
= (wxRect
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5221 (char *) "self",(char *) "p", NULL
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5226 if (SWIG_arg_fail(1)) SWIG_fail
;
5229 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 Py_INCREF(Py_None
); resultobj
= Py_None
;
5245 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
;
5247 wxRect
*arg1
= (wxRect
*) 0 ;
5249 PyObject
* obj0
= 0 ;
5251 (char *) "self", NULL
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5256 if (SWIG_arg_fail(1)) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= ((wxRect
const *)arg1
)->GetSize();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5266 resultptr
= new wxSize((wxSize
&)(result
));
5267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5275 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxRect
*arg1
= (wxRect
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5281 PyObject
* obj1
= 0 ;
5283 (char *) "self",(char *) "s", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5288 if (SWIG_arg_fail(1)) SWIG_fail
;
5291 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 (arg1
)->SetSize((wxSize
const &)*arg2
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 Py_INCREF(Py_None
); resultobj
= Py_None
;
5307 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxRect
*arg1
= (wxRect
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5313 (char *) "self", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5318 if (SWIG_arg_fail(1)) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5335 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxRect
*arg1
= (wxRect
*) 0 ;
5339 PyObject
* obj0
= 0 ;
5341 (char *) "self", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5346 if (SWIG_arg_fail(1)) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5355 wxPoint
* resultptr
;
5356 resultptr
= new wxPoint((wxPoint
&)(result
));
5357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5365 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxRect
*arg1
= (wxRect
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "p", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5378 if (SWIG_arg_fail(1)) SWIG_fail
;
5381 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxRect
*arg1
= (wxRect
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5403 (char *) "self", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5408 if (SWIG_arg_fail(1)) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5417 wxPoint
* resultptr
;
5418 resultptr
= new wxPoint((wxPoint
&)(result
));
5419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5427 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxRect
*arg1
= (wxRect
*) 0 ;
5432 PyObject
* obj0
= 0 ;
5433 PyObject
* obj1
= 0 ;
5435 (char *) "self",(char *) "p", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5440 if (SWIG_arg_fail(1)) SWIG_fail
;
5443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5452 Py_INCREF(Py_None
); resultobj
= Py_None
;
5459 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxRect
*arg1
= (wxRect
*) 0 ;
5463 PyObject
* obj0
= 0 ;
5465 (char *) "self", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_From_int((int)(result
));
5487 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxRect
*arg1
= (wxRect
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5493 (char *) "self", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5498 if (SWIG_arg_fail(1)) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (int)((wxRect
const *)arg1
)->GetTop();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_From_int((int)(result
));
5515 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxRect
*arg1
= (wxRect
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5521 (char *) "self", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= SWIG_From_int((int)(result
));
5543 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxRect
*arg1
= (wxRect
*) 0 ;
5547 PyObject
* obj0
= 0 ;
5549 (char *) "self", NULL
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5554 if (SWIG_arg_fail(1)) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= (int)((wxRect
const *)arg1
)->GetRight();
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_From_int((int)(result
));
5571 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxRect
*arg1
= (wxRect
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5578 (char *) "self",(char *) "left", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5583 if (SWIG_arg_fail(1)) SWIG_fail
;
5585 arg2
= (int)(SWIG_As_int(obj1
));
5586 if (SWIG_arg_fail(2)) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 (arg1
)->SetLeft(arg2
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 Py_INCREF(Py_None
); resultobj
= Py_None
;
5602 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxRect
*arg1
= (wxRect
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5609 (char *) "self",(char *) "right", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5614 if (SWIG_arg_fail(1)) SWIG_fail
;
5616 arg2
= (int)(SWIG_As_int(obj1
));
5617 if (SWIG_arg_fail(2)) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 (arg1
)->SetRight(arg2
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 Py_INCREF(Py_None
); resultobj
= Py_None
;
5633 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
;
5635 wxRect
*arg1
= (wxRect
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5640 (char *) "self",(char *) "top", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail
;
5647 arg2
= (int)(SWIG_As_int(obj1
));
5648 if (SWIG_arg_fail(2)) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 (arg1
)->SetTop(arg2
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 Py_INCREF(Py_None
); resultobj
= Py_None
;
5664 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 wxRect
*arg1
= (wxRect
*) 0 ;
5668 PyObject
* obj0
= 0 ;
5669 PyObject
* obj1
= 0 ;
5671 (char *) "self",(char *) "bottom", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5676 if (SWIG_arg_fail(1)) SWIG_fail
;
5678 arg2
= (int)(SWIG_As_int(obj1
));
5679 if (SWIG_arg_fail(2)) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 (arg1
)->SetBottom(arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 Py_INCREF(Py_None
); resultobj
= Py_None
;
5695 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxRect
*arg1
= (wxRect
*) 0 ;
5701 PyObject
* obj0
= 0 ;
5702 PyObject
* obj1
= 0 ;
5703 PyObject
* obj2
= 0 ;
5705 (char *) "self",(char *) "dx",(char *) "dy", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5710 if (SWIG_arg_fail(1)) SWIG_fail
;
5712 arg2
= (int)(SWIG_As_int(obj1
));
5713 if (SWIG_arg_fail(2)) SWIG_fail
;
5716 arg3
= (int)(SWIG_As_int(obj2
));
5717 if (SWIG_arg_fail(3)) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5723 result
= (wxRect
*) &_result_ref
;
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5736 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxRect
*arg1
= (wxRect
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5744 PyObject
* obj2
= 0 ;
5746 (char *) "self",(char *) "dx",(char *) "dy", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail
;
5753 arg2
= (int)(SWIG_As_int(obj1
));
5754 if (SWIG_arg_fail(2)) SWIG_fail
;
5757 arg3
= (int)(SWIG_As_int(obj2
));
5758 if (SWIG_arg_fail(3)) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5764 result
= (wxRect
*) &_result_ref
;
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5777 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxRect
*arg1
= (wxRect
*) 0 ;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5784 PyObject
* obj2
= 0 ;
5786 (char *) "self",(char *) "dx",(char *) "dy", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5791 if (SWIG_arg_fail(1)) SWIG_fail
;
5793 arg2
= (int)(SWIG_As_int(obj1
));
5794 if (SWIG_arg_fail(2)) SWIG_fail
;
5797 arg3
= (int)(SWIG_As_int(obj2
));
5798 if (SWIG_arg_fail(3)) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 (arg1
)->Offset(arg2
,arg3
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 Py_INCREF(Py_None
); resultobj
= Py_None
;
5814 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxRect
*arg1
= (wxRect
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5822 (char *) "self",(char *) "pt", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5827 if (SWIG_arg_fail(1)) SWIG_fail
;
5830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 (arg1
)->Offset((wxPoint
const &)*arg2
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 Py_INCREF(Py_None
); resultobj
= Py_None
;
5846 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5848 wxRect
*arg1
= (wxRect
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5855 (char *) "self",(char *) "rect", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5860 if (SWIG_arg_fail(1)) SWIG_fail
;
5863 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5874 resultptr
= new wxRect((wxRect
&)(result
));
5875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5883 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxRect
*arg1
= (wxRect
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5890 PyObject
* obj1
= 0 ;
5892 (char *) "self",(char *) "rect", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5897 if (SWIG_arg_fail(1)) SWIG_fail
;
5900 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5911 resultptr
= new wxRect((wxRect
&)(result
));
5912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5920 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxRect
*arg1
= (wxRect
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5929 (char *) "self",(char *) "rect", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5934 if (SWIG_arg_fail(1)) SWIG_fail
;
5937 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5948 resultptr
= new wxRect((wxRect
&)(result
));
5949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5957 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxRect
*arg1
= (wxRect
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5966 (char *) "self",(char *) "rect", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5971 if (SWIG_arg_fail(1)) SWIG_fail
;
5974 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5980 result
= (wxRect
*) &_result_ref
;
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5993 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxRect
*arg1
= (wxRect
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6002 (char *) "self",(char *) "rect", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6007 if (SWIG_arg_fail(1)) SWIG_fail
;
6010 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6028 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxRect
*arg1
= (wxRect
*) 0 ;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6037 (char *) "self",(char *) "rect", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6042 if (SWIG_arg_fail(1)) SWIG_fail
;
6045 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxRect
*arg1
= (wxRect
*) 0 ;
6069 PyObject
* obj0
= 0 ;
6070 PyObject
* obj1
= 0 ;
6071 PyObject
* obj2
= 0 ;
6073 (char *) "self",(char *) "x",(char *) "y", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6078 if (SWIG_arg_fail(1)) SWIG_fail
;
6080 arg2
= (int)(SWIG_As_int(obj1
));
6081 if (SWIG_arg_fail(2)) SWIG_fail
;
6084 arg3
= (int)(SWIG_As_int(obj2
));
6085 if (SWIG_arg_fail(3)) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6103 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxRect
*arg1
= (wxRect
*) 0 ;
6109 PyObject
* obj0
= 0 ;
6110 PyObject
* obj1
= 0 ;
6112 (char *) "self",(char *) "pt", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6117 if (SWIG_arg_fail(1)) SWIG_fail
;
6120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6138 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxRect
*arg1
= (wxRect
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6147 (char *) "self",(char *) "rect", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6152 if (SWIG_arg_fail(1)) SWIG_fail
;
6155 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6173 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxRect
*arg1
= (wxRect
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6180 (char *) "self",(char *) "x", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6185 if (SWIG_arg_fail(1)) SWIG_fail
;
6187 arg2
= (int)(SWIG_As_int(obj1
));
6188 if (SWIG_arg_fail(2)) SWIG_fail
;
6190 if (arg1
) (arg1
)->x
= arg2
;
6192 Py_INCREF(Py_None
); resultobj
= Py_None
;
6199 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxRect
*arg1
= (wxRect
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6205 (char *) "self", NULL
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6210 if (SWIG_arg_fail(1)) SWIG_fail
;
6211 result
= (int) ((arg1
)->x
);
6214 resultobj
= SWIG_From_int((int)(result
));
6222 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxRect
*arg1
= (wxRect
*) 0 ;
6226 PyObject
* obj0
= 0 ;
6227 PyObject
* obj1
= 0 ;
6229 (char *) "self",(char *) "y", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6234 if (SWIG_arg_fail(1)) SWIG_fail
;
6236 arg2
= (int)(SWIG_As_int(obj1
));
6237 if (SWIG_arg_fail(2)) SWIG_fail
;
6239 if (arg1
) (arg1
)->y
= arg2
;
6241 Py_INCREF(Py_None
); resultobj
= Py_None
;
6248 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
;
6250 wxRect
*arg1
= (wxRect
*) 0 ;
6252 PyObject
* obj0
= 0 ;
6254 (char *) "self", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6259 if (SWIG_arg_fail(1)) SWIG_fail
;
6260 result
= (int) ((arg1
)->y
);
6263 resultobj
= SWIG_From_int((int)(result
));
6271 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxRect
*arg1
= (wxRect
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6278 (char *) "self",(char *) "width", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6283 if (SWIG_arg_fail(1)) SWIG_fail
;
6285 arg2
= (int)(SWIG_As_int(obj1
));
6286 if (SWIG_arg_fail(2)) SWIG_fail
;
6288 if (arg1
) (arg1
)->width
= arg2
;
6290 Py_INCREF(Py_None
); resultobj
= Py_None
;
6297 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxRect
*arg1
= (wxRect
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6303 (char *) "self", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6308 if (SWIG_arg_fail(1)) SWIG_fail
;
6309 result
= (int) ((arg1
)->width
);
6312 resultobj
= SWIG_From_int((int)(result
));
6320 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxRect
*arg1
= (wxRect
*) 0 ;
6324 PyObject
* obj0
= 0 ;
6325 PyObject
* obj1
= 0 ;
6327 (char *) "self",(char *) "height", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6332 if (SWIG_arg_fail(1)) SWIG_fail
;
6334 arg2
= (int)(SWIG_As_int(obj1
));
6335 if (SWIG_arg_fail(2)) SWIG_fail
;
6337 if (arg1
) (arg1
)->height
= arg2
;
6339 Py_INCREF(Py_None
); resultobj
= Py_None
;
6346 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
;
6348 wxRect
*arg1
= (wxRect
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6352 (char *) "self", NULL
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6357 if (SWIG_arg_fail(1)) SWIG_fail
;
6358 result
= (int) ((arg1
)->height
);
6361 resultobj
= SWIG_From_int((int)(result
));
6369 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxRect
*arg1
= (wxRect
*) 0 ;
6372 int arg2
= (int) 0 ;
6373 int arg3
= (int) 0 ;
6374 int arg4
= (int) 0 ;
6375 int arg5
= (int) 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6378 PyObject
* obj2
= 0 ;
6379 PyObject
* obj3
= 0 ;
6380 PyObject
* obj4
= 0 ;
6382 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail
;
6390 arg2
= (int)(SWIG_As_int(obj1
));
6391 if (SWIG_arg_fail(2)) SWIG_fail
;
6396 arg3
= (int)(SWIG_As_int(obj2
));
6397 if (SWIG_arg_fail(3)) SWIG_fail
;
6402 arg4
= (int)(SWIG_As_int(obj3
));
6403 if (SWIG_arg_fail(4)) SWIG_fail
;
6408 arg5
= (int)(SWIG_As_int(obj4
));
6409 if (SWIG_arg_fail(5)) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 Py_INCREF(Py_None
); resultobj
= Py_None
;
6426 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxRect
*arg1
= (wxRect
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6432 (char *) "self", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6437 if (SWIG_arg_fail(1)) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (PyObject
*)wxRect_Get(arg1
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6452 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6455 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6457 return Py_BuildValue((char *)"");
6459 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxRect
*arg1
= (wxRect
*) 0 ;
6462 wxRect
*arg2
= (wxRect
*) 0 ;
6464 PyObject
* obj0
= 0 ;
6465 PyObject
* obj1
= 0 ;
6467 (char *) "r1",(char *) "r2", NULL
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6472 if (SWIG_arg_fail(1)) SWIG_fail
;
6473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6474 if (SWIG_arg_fail(2)) SWIG_fail
;
6476 if (!wxPyCheckForApp()) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6490 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 double arg1
= (double) 0.0 ;
6493 double arg2
= (double) 0.0 ;
6495 PyObject
* obj0
= 0 ;
6496 PyObject
* obj1
= 0 ;
6498 (char *) "x",(char *) "y", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6504 arg1
= (double)(SWIG_As_double(obj0
));
6505 if (SWIG_arg_fail(1)) SWIG_fail
;
6510 arg2
= (double)(SWIG_As_double(obj1
));
6511 if (SWIG_arg_fail(2)) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6528 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxPoint2D
*arg1
= 0 ;
6533 PyObject
* obj0
= 0 ;
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6541 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6557 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6562 PyObject
* obj0
= 0 ;
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6570 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6586 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6589 int *arg2
= (int *) 0 ;
6590 int *arg3
= (int *) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6601 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 Py_INCREF(Py_None
); resultobj
= Py_None
;
6613 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6614 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6615 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6616 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6623 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6626 int *arg2
= (int *) 0 ;
6627 int *arg3
= (int *) 0 ;
6632 PyObject
* obj0
= 0 ;
6634 (char *) "self", NULL
6637 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6638 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6641 if (SWIG_arg_fail(1)) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 Py_INCREF(Py_None
); resultobj
= Py_None
;
6650 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6651 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6652 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6653 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6660 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6666 (char *) "self", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6671 if (SWIG_arg_fail(1)) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= SWIG_From_double((double)(result
));
6688 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6692 PyObject
* obj0
= 0 ;
6694 (char *) "self", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6699 if (SWIG_arg_fail(1)) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= SWIG_From_double((double)(result
));
6716 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6723 (char *) "self",(char *) "length", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6728 if (SWIG_arg_fail(1)) SWIG_fail
;
6730 arg2
= (double)(SWIG_As_double(obj1
));
6731 if (SWIG_arg_fail(2)) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 (arg1
)->SetVectorLength(arg2
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 Py_INCREF(Py_None
); resultobj
= Py_None
;
6747 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6754 (char *) "self",(char *) "degrees", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6759 if (SWIG_arg_fail(1)) SWIG_fail
;
6761 arg2
= (double)(SWIG_As_double(obj1
));
6762 if (SWIG_arg_fail(2)) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->SetVectorAngle(arg2
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6781 wxPoint2D
*arg2
= 0 ;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6787 (char *) "self",(char *) "pt", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6792 if (SWIG_arg_fail(1)) SWIG_fail
;
6795 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_From_double((double)(result
));
6813 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6816 wxPoint2D
*arg2
= 0 ;
6819 PyObject
* obj0
= 0 ;
6820 PyObject
* obj1
= 0 ;
6822 (char *) "self",(char *) "pt", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6827 if (SWIG_arg_fail(1)) SWIG_fail
;
6830 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_From_double((double)(result
));
6848 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6851 wxPoint2D
*arg2
= 0 ;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6857 (char *) "self",(char *) "vec", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6862 if (SWIG_arg_fail(1)) SWIG_fail
;
6865 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_From_double((double)(result
));
6883 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6886 wxPoint2D
*arg2
= 0 ;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6892 (char *) "self",(char *) "vec", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6897 if (SWIG_arg_fail(1)) SWIG_fail
;
6900 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_From_double((double)(result
));
6918 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "self", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6929 if (SWIG_arg_fail(1)) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (arg1
)->operator -();
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6938 wxPoint2D
* resultptr
;
6939 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6948 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6951 wxPoint2D
*arg2
= 0 ;
6954 PyObject
* obj0
= 0 ;
6955 PyObject
* obj1
= 0 ;
6957 (char *) "self",(char *) "pt", NULL
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6962 if (SWIG_arg_fail(1)) SWIG_fail
;
6965 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6971 result
= (wxPoint2D
*) &_result_ref
;
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6984 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
;
6986 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6987 wxPoint2D
*arg2
= 0 ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6993 (char *) "self",(char *) "pt", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6998 if (SWIG_arg_fail(1)) SWIG_fail
;
7001 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7007 result
= (wxPoint2D
*) &_result_ref
;
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7020 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7023 wxPoint2D
*arg2
= 0 ;
7026 PyObject
* obj0
= 0 ;
7027 PyObject
* obj1
= 0 ;
7029 (char *) "self",(char *) "pt", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7034 if (SWIG_arg_fail(1)) SWIG_fail
;
7037 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7043 result
= (wxPoint2D
*) &_result_ref
;
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7056 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7059 wxPoint2D
*arg2
= 0 ;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7065 (char *) "self",(char *) "pt", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7070 if (SWIG_arg_fail(1)) SWIG_fail
;
7073 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7079 result
= (wxPoint2D
*) &_result_ref
;
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7092 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7095 wxPoint2D
*arg2
= 0 ;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7101 (char *) "self",(char *) "pt", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7106 if (SWIG_arg_fail(1)) SWIG_fail
;
7109 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7127 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7130 wxPoint2D
*arg2
= 0 ;
7133 PyObject
* obj0
= 0 ;
7134 PyObject
* obj1
= 0 ;
7136 (char *) "self",(char *) "pt", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7141 if (SWIG_arg_fail(1)) SWIG_fail
;
7144 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7162 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7166 PyObject
* obj0
= 0 ;
7167 PyObject
* obj1
= 0 ;
7169 (char *) "self",(char *) "m_x", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7174 if (SWIG_arg_fail(1)) SWIG_fail
;
7176 arg2
= (double)(SWIG_As_double(obj1
));
7177 if (SWIG_arg_fail(2)) SWIG_fail
;
7179 if (arg1
) (arg1
)->m_x
= arg2
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7194 (char *) "self", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7199 if (SWIG_arg_fail(1)) SWIG_fail
;
7200 result
= (double) ((arg1
)->m_x
);
7203 resultobj
= SWIG_From_double((double)(result
));
7211 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7218 (char *) "self",(char *) "m_y", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7223 if (SWIG_arg_fail(1)) SWIG_fail
;
7225 arg2
= (double)(SWIG_As_double(obj1
));
7226 if (SWIG_arg_fail(2)) SWIG_fail
;
7228 if (arg1
) (arg1
)->m_y
= arg2
;
7230 Py_INCREF(Py_None
); resultobj
= Py_None
;
7237 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
;
7239 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7241 PyObject
* obj0
= 0 ;
7243 (char *) "self", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7248 if (SWIG_arg_fail(1)) SWIG_fail
;
7249 result
= (double) ((arg1
)->m_y
);
7252 resultobj
= SWIG_From_double((double)(result
));
7260 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7262 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7263 double arg2
= (double) 0 ;
7264 double arg3
= (double) 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7269 (char *) "self",(char *) "x",(char *) "y", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7274 if (SWIG_arg_fail(1)) SWIG_fail
;
7277 arg2
= (double)(SWIG_As_double(obj1
));
7278 if (SWIG_arg_fail(2)) SWIG_fail
;
7283 arg3
= (double)(SWIG_As_double(obj2
));
7284 if (SWIG_arg_fail(3)) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 wxPoint2D_Set(arg1
,arg2
,arg3
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 Py_INCREF(Py_None
); resultobj
= Py_None
;
7301 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7305 PyObject
* obj0
= 0 ;
7307 (char *) "self", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7312 if (SWIG_arg_fail(1)) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7327 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7330 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7332 return Py_BuildValue((char *)"");
7334 static int _wrap_DefaultPosition_set(PyObject
*) {
7335 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7340 static PyObject
*_wrap_DefaultPosition_get(void) {
7343 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7348 static int _wrap_DefaultSize_set(PyObject
*) {
7349 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7354 static PyObject
*_wrap_DefaultSize_get(void) {
7357 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7362 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 PyObject
*arg1
= (PyObject
*) 0 ;
7365 wxPyInputStream
*result
;
7366 PyObject
* obj0
= 0 ;
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7387 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7397 if (SWIG_arg_fail(1)) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7417 (char *) "self", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 Py_INCREF(Py_None
); resultobj
= Py_None
;
7437 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7440 PyObject
* obj0
= 0 ;
7442 (char *) "self", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7447 if (SWIG_arg_fail(1)) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 Py_INCREF(Py_None
); resultobj
= Py_None
;
7462 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7466 PyObject
* obj0
= 0 ;
7468 (char *) "self", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (bool)(arg1
)->eof();
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7490 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7493 int arg2
= (int) -1 ;
7495 PyObject
* obj0
= 0 ;
7496 PyObject
* obj1
= 0 ;
7498 (char *) "self",(char *) "size", NULL
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7503 if (SWIG_arg_fail(1)) SWIG_fail
;
7506 arg2
= (int)(SWIG_As_int(obj1
));
7507 if (SWIG_arg_fail(2)) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (PyObject
*)(arg1
)->read(arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7524 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7527 int arg2
= (int) -1 ;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7532 (char *) "self",(char *) "size", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail
;
7540 arg2
= (int)(SWIG_As_int(obj1
));
7541 if (SWIG_arg_fail(2)) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (PyObject
*)(arg1
)->readline(arg2
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7558 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7561 int arg2
= (int) -1 ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7566 (char *) "self",(char *) "sizehint", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7571 if (SWIG_arg_fail(1)) SWIG_fail
;
7574 arg2
= (int)(SWIG_As_int(obj1
));
7575 if (SWIG_arg_fail(2)) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7592 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7596 int arg3
= (int) 0 ;
7597 PyObject
* obj0
= 0 ;
7598 PyObject
* obj1
= 0 ;
7599 PyObject
* obj2
= 0 ;
7601 (char *) "self",(char *) "offset",(char *) "whence", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7606 if (SWIG_arg_fail(1)) SWIG_fail
;
7608 arg2
= (int)(SWIG_As_int(obj1
));
7609 if (SWIG_arg_fail(2)) SWIG_fail
;
7613 arg3
= (int)(SWIG_As_int(obj2
));
7614 if (SWIG_arg_fail(3)) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 (arg1
)->seek(arg2
,arg3
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 Py_INCREF(Py_None
); resultobj
= Py_None
;
7631 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7637 (char *) "self", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7642 if (SWIG_arg_fail(1)) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 result
= (int)(arg1
)->tell();
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_From_int((int)(result
));
7659 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7663 PyObject
* obj0
= 0 ;
7665 (char *) "self", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7670 if (SWIG_arg_fail(1)) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (char)(arg1
)->Peek();
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_From_char((char)(result
));
7687 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "self", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 result
= (char)(arg1
)->GetC();
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= SWIG_From_char((char)(result
));
7715 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "self", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7726 if (SWIG_arg_fail(1)) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (size_t)(arg1
)->LastRead();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7743 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7749 (char *) "self", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7754 if (SWIG_arg_fail(1)) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (bool)(arg1
)->CanRead();
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7771 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7777 (char *) "self", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (bool)(arg1
)->Eof();
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7799 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
;
7801 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7807 (char *) "self",(char *) "c", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail
;
7814 arg2
= (char)(SWIG_As_char(obj1
));
7815 if (SWIG_arg_fail(2)) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (bool)(arg1
)->Ungetch(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7833 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7837 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7841 PyObject
* obj2
= 0 ;
7843 (char *) "self",(char *) "pos",(char *) "mode", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7850 arg2
= (long)(SWIG_As_long(obj1
));
7851 if (SWIG_arg_fail(2)) SWIG_fail
;
7855 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7856 if (SWIG_arg_fail(3)) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7867 resultobj
= SWIG_From_long((long)(result
));
7875 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7886 if (SWIG_arg_fail(1)) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (long)(arg1
)->TellI();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_From_long((long)(result
));
7903 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7906 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7908 return Py_BuildValue((char *)"");
7910 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7913 PyObject
*arg2
= (PyObject
*) 0 ;
7914 PyObject
* obj0
= 0 ;
7915 PyObject
* obj1
= 0 ;
7917 (char *) "self",(char *) "obj", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7922 if (SWIG_arg_fail(1)) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 wxOutputStream_write(arg1
,arg2
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 Py_INCREF(Py_None
); resultobj
= Py_None
;
7938 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7941 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7943 return Py_BuildValue((char *)"");
7945 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7948 wxString
*arg2
= 0 ;
7949 wxString
*arg3
= 0 ;
7950 wxString
*arg4
= 0 ;
7953 wxPyInputStream
*temp1
;
7954 bool temp2
= false ;
7955 bool temp3
= false ;
7956 bool temp4
= false ;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7959 PyObject
* obj2
= 0 ;
7960 PyObject
* obj3
= 0 ;
7961 PyObject
* obj4
= 0 ;
7963 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7968 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7969 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7971 PyErr_Clear(); // clear the failure of the wxPyConvert above
7972 arg1
= wxPyCBInputStream_create(obj0
, true);
7974 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7980 arg2
= wxString_in_helper(obj1
);
7981 if (arg2
== NULL
) SWIG_fail
;
7985 arg3
= wxString_in_helper(obj2
);
7986 if (arg3
== NULL
) SWIG_fail
;
7990 arg4
= wxString_in_helper(obj3
);
7991 if (arg4
== NULL
) SWIG_fail
;
7996 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7997 if (SWIG_arg_fail(5)) SWIG_fail
;
7999 SWIG_null_ref("wxDateTime");
8001 if (SWIG_arg_fail(5)) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= wxPyMake_wxObject(result
, 1);
8044 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 Py_INCREF(Py_None
); resultobj
= Py_None
;
8069 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8072 wxInputStream
*result
;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "self", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8080 if (SWIG_arg_fail(1)) SWIG_fail
;
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 result
= (wxInputStream
*)(arg1
)->GetStream();
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8089 wxPyInputStream
* _ptr
= NULL
;
8092 _ptr
= new wxPyInputStream(result
);
8094 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8102 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8106 PyObject
* obj0
= 0 ;
8108 (char *) "self", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8113 if (SWIG_arg_fail(1)) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8118 result
= (wxString
*) &_result_ref
;
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8128 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8137 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8141 PyObject
* obj0
= 0 ;
8143 (char *) "self", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 wxString
const &_result_ref
= (arg1
)->GetLocation();
8153 result
= (wxString
*) &_result_ref
;
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8163 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8172 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8176 PyObject
* obj0
= 0 ;
8178 (char *) "self", NULL
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8183 if (SWIG_arg_fail(1)) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8188 result
= (wxString
*) &_result_ref
;
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8198 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8207 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8213 (char *) "self", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8218 if (SWIG_arg_fail(1)) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 result
= (arg1
)->GetModificationTime();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8227 wxDateTime
* resultptr
;
8228 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8237 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8240 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8242 return Py_BuildValue((char *)"");
8244 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8247 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8249 return Py_BuildValue((char *)"");
8251 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxPyFileSystemHandler
*result
;
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8273 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8276 PyObject
*arg2
= (PyObject
*) 0 ;
8277 PyObject
*arg3
= (PyObject
*) 0 ;
8278 PyObject
* obj0
= 0 ;
8279 PyObject
* obj1
= 0 ;
8280 PyObject
* obj2
= 0 ;
8282 (char *) "self",(char *) "self",(char *) "_class", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8287 if (SWIG_arg_fail(1)) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 Py_INCREF(Py_None
); resultobj
= Py_None
;
8304 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8307 wxString
*arg2
= 0 ;
8309 bool temp2
= false ;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8313 (char *) "self",(char *) "location", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8318 if (SWIG_arg_fail(1)) SWIG_fail
;
8320 arg2
= wxString_in_helper(obj1
);
8321 if (arg2
== NULL
) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8348 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8351 wxFileSystem
*arg2
= 0 ;
8352 wxString
*arg3
= 0 ;
8354 bool temp3
= false ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8357 PyObject
* obj2
= 0 ;
8359 (char *) "self",(char *) "fs",(char *) "location", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8364 if (SWIG_arg_fail(1)) SWIG_fail
;
8366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8367 if (SWIG_arg_fail(2)) SWIG_fail
;
8369 SWIG_null_ref("wxFileSystem");
8371 if (SWIG_arg_fail(2)) SWIG_fail
;
8374 arg3
= wxString_in_helper(obj2
);
8375 if (arg3
== NULL
) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= wxPyMake_wxObject(result
, 1);
8402 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8405 wxString
*arg2
= 0 ;
8406 int arg3
= (int) 0 ;
8408 bool temp2
= false ;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8411 PyObject
* obj2
= 0 ;
8413 (char *) "self",(char *) "spec",(char *) "flags", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8418 if (SWIG_arg_fail(1)) SWIG_fail
;
8420 arg2
= wxString_in_helper(obj1
);
8421 if (arg2
== NULL
) SWIG_fail
;
8426 arg3
= (int)(SWIG_As_int(obj2
));
8427 if (SWIG_arg_fail(3)) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8458 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (arg1
)->FindNext();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8490 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8493 wxString
*arg2
= 0 ;
8495 bool temp2
= false ;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8499 (char *) "self",(char *) "location", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8504 if (SWIG_arg_fail(1)) SWIG_fail
;
8506 arg2
= wxString_in_helper(obj1
);
8507 if (arg2
== NULL
) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8538 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8541 wxString
*arg2
= 0 ;
8543 bool temp2
= false ;
8544 PyObject
* obj0
= 0 ;
8545 PyObject
* obj1
= 0 ;
8547 (char *) "self",(char *) "location", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail
;
8554 arg2
= wxString_in_helper(obj1
);
8555 if (arg2
== NULL
) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8586 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8589 wxString
*arg2
= 0 ;
8591 bool temp2
= false ;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8595 (char *) "self",(char *) "location", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8600 if (SWIG_arg_fail(1)) SWIG_fail
;
8602 arg2
= wxString_in_helper(obj1
);
8603 if (arg2
== NULL
) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8634 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8637 wxString
*arg2
= 0 ;
8639 bool temp2
= false ;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj1
= 0 ;
8643 (char *) "self",(char *) "location", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8648 if (SWIG_arg_fail(1)) SWIG_fail
;
8650 arg2
= wxString_in_helper(obj1
);
8651 if (arg2
== NULL
) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8682 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8685 wxString
*arg2
= 0 ;
8687 bool temp2
= false ;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8691 (char *) "self",(char *) "location", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8696 if (SWIG_arg_fail(1)) SWIG_fail
;
8698 arg2
= wxString_in_helper(obj1
);
8699 if (arg2
== NULL
) SWIG_fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8730 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8733 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8735 return Py_BuildValue((char *)"");
8737 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxFileSystem
*result
;
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= (wxFileSystem
*)new wxFileSystem();
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= wxPyMake_wxObject(result
, 1);
8761 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "self", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8771 if (SWIG_arg_fail(1)) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8789 wxString
*arg2
= 0 ;
8790 bool arg3
= (bool) false ;
8791 bool temp2
= false ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8796 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8801 if (SWIG_arg_fail(1)) SWIG_fail
;
8803 arg2
= wxString_in_helper(obj1
);
8804 if (arg2
== NULL
) SWIG_fail
;
8809 arg3
= (bool)(SWIG_As_bool(obj2
));
8810 if (SWIG_arg_fail(3)) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 Py_INCREF(Py_None
); resultobj
= Py_None
;
8835 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8839 PyObject
* obj0
= 0 ;
8841 (char *) "self", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8846 if (SWIG_arg_fail(1)) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 result
= (arg1
)->GetPath();
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8867 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8870 wxString
*arg2
= 0 ;
8872 bool temp2
= false ;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8876 (char *) "self",(char *) "location", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8881 if (SWIG_arg_fail(1)) SWIG_fail
;
8883 arg2
= wxString_in_helper(obj1
);
8884 if (arg2
== NULL
) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= wxPyMake_wxObject(result
, 1);
8911 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8914 wxString
*arg2
= 0 ;
8915 int arg3
= (int) 0 ;
8917 bool temp2
= false ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8920 PyObject
* obj2
= 0 ;
8922 (char *) "self",(char *) "spec",(char *) "flags", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8927 if (SWIG_arg_fail(1)) SWIG_fail
;
8929 arg2
= wxString_in_helper(obj1
);
8930 if (arg2
== NULL
) SWIG_fail
;
8935 arg3
= (int)(SWIG_As_int(obj2
));
8936 if (SWIG_arg_fail(3)) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8967 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8971 PyObject
* obj0
= 0 ;
8973 (char *) "self", NULL
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8978 if (SWIG_arg_fail(1)) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (arg1
)->FindNext();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8999 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9004 (char *) "handler", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9009 if (SWIG_arg_fail(1)) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 wxFileSystem::AddHandler(arg1
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 Py_INCREF(Py_None
); resultobj
= Py_None
;
9024 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 wxFileSystem::CleanUpHandlers();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxString
*arg1
= 0 ;
9049 bool temp1
= false ;
9050 PyObject
* obj0
= 0 ;
9052 (char *) "filename", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9057 arg1
= wxString_in_helper(obj0
);
9058 if (arg1
== NULL
) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9089 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxString
*arg1
= 0 ;
9093 bool temp1
= false ;
9094 PyObject
* obj0
= 0 ;
9096 (char *) "url", NULL
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9101 arg1
= wxString_in_helper(obj0
);
9102 if (arg1
== NULL
) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9133 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9136 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9138 return Py_BuildValue((char *)"");
9140 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxInternetFSHandler
*result
;
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9162 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9165 wxString
*arg2
= 0 ;
9167 bool temp2
= false ;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9171 (char *) "self",(char *) "location", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9176 if (SWIG_arg_fail(1)) SWIG_fail
;
9178 arg2
= wxString_in_helper(obj1
);
9179 if (arg2
== NULL
) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9206 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9209 wxFileSystem
*arg2
= 0 ;
9210 wxString
*arg3
= 0 ;
9212 bool temp3
= false ;
9213 PyObject
* obj0
= 0 ;
9214 PyObject
* obj1
= 0 ;
9215 PyObject
* obj2
= 0 ;
9217 (char *) "self",(char *) "fs",(char *) "location", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9222 if (SWIG_arg_fail(1)) SWIG_fail
;
9224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9225 if (SWIG_arg_fail(2)) SWIG_fail
;
9227 SWIG_null_ref("wxFileSystem");
9229 if (SWIG_arg_fail(2)) SWIG_fail
;
9232 arg3
= wxString_in_helper(obj2
);
9233 if (arg3
== NULL
) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= wxPyMake_wxObject(result
, 1);
9260 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9263 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9265 return Py_BuildValue((char *)"");
9267 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxZipFSHandler
*result
;
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9289 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9292 wxString
*arg2
= 0 ;
9294 bool temp2
= false ;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9298 (char *) "self",(char *) "location", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9303 if (SWIG_arg_fail(1)) SWIG_fail
;
9305 arg2
= wxString_in_helper(obj1
);
9306 if (arg2
== NULL
) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9333 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9336 wxFileSystem
*arg2
= 0 ;
9337 wxString
*arg3
= 0 ;
9339 bool temp3
= false ;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9342 PyObject
* obj2
= 0 ;
9344 (char *) "self",(char *) "fs",(char *) "location", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9349 if (SWIG_arg_fail(1)) SWIG_fail
;
9351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9352 if (SWIG_arg_fail(2)) SWIG_fail
;
9354 SWIG_null_ref("wxFileSystem");
9356 if (SWIG_arg_fail(2)) SWIG_fail
;
9359 arg3
= wxString_in_helper(obj2
);
9360 if (arg3
== NULL
) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= wxPyMake_wxObject(result
, 1);
9387 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9390 wxString
*arg2
= 0 ;
9391 int arg3
= (int) 0 ;
9393 bool temp2
= false ;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 PyObject
* obj2
= 0 ;
9398 (char *) "self",(char *) "spec",(char *) "flags", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9403 if (SWIG_arg_fail(1)) SWIG_fail
;
9405 arg2
= wxString_in_helper(obj1
);
9406 if (arg2
== NULL
) SWIG_fail
;
9411 arg3
= (int)(SWIG_As_int(obj2
));
9412 if (SWIG_arg_fail(3)) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9443 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9449 (char *) "self", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 result
= (arg1
)->FindNext();
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9475 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9478 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9480 return Py_BuildValue((char *)"");
9482 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxString
*arg1
= 0 ;
9487 bool temp1
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9492 (char *) "filename",(char *) "image",(char *) "type", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9497 arg1
= wxString_in_helper(obj0
);
9498 if (arg1
== NULL
) SWIG_fail
;
9502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9503 if (SWIG_arg_fail(2)) SWIG_fail
;
9505 SWIG_null_ref("wxImage");
9507 if (SWIG_arg_fail(2)) SWIG_fail
;
9510 arg3
= (long)(SWIG_As_long(obj2
));
9511 if (SWIG_arg_fail(3)) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxString
*arg1
= 0 ;
9538 wxBitmap
*arg2
= 0 ;
9540 bool temp1
= false ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 PyObject
* obj2
= 0 ;
9545 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9550 arg1
= wxString_in_helper(obj0
);
9551 if (arg1
== NULL
) SWIG_fail
;
9555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9556 if (SWIG_arg_fail(2)) SWIG_fail
;
9558 SWIG_null_ref("wxBitmap");
9560 if (SWIG_arg_fail(2)) SWIG_fail
;
9563 arg3
= (long)(SWIG_As_long(obj2
));
9564 if (SWIG_arg_fail(3)) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 Py_INCREF(Py_None
); resultobj
= Py_None
;
9588 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxString
*arg1
= 0 ;
9591 PyObject
*arg2
= (PyObject
*) 0 ;
9592 bool temp1
= false ;
9593 PyObject
* obj0
= 0 ;
9594 PyObject
* obj1
= 0 ;
9596 (char *) "filename",(char *) "data", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9601 arg1
= wxString_in_helper(obj0
);
9602 if (arg1
== NULL
) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 Py_INCREF(Py_None
); resultobj
= Py_None
;
9628 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxMemoryFSHandler
*result
;
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9650 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxString
*arg1
= 0 ;
9653 bool temp1
= false ;
9654 PyObject
* obj0
= 0 ;
9656 (char *) "filename", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9661 arg1
= wxString_in_helper(obj0
);
9662 if (arg1
== NULL
) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 Py_INCREF(Py_None
); resultobj
= Py_None
;
9687 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9690 wxString
*arg2
= 0 ;
9692 bool temp2
= false ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9696 (char *) "self",(char *) "location", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9701 if (SWIG_arg_fail(1)) SWIG_fail
;
9703 arg2
= wxString_in_helper(obj1
);
9704 if (arg2
== NULL
) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9731 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9734 wxFileSystem
*arg2
= 0 ;
9735 wxString
*arg3
= 0 ;
9737 bool temp3
= false ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9740 PyObject
* obj2
= 0 ;
9742 (char *) "self",(char *) "fs",(char *) "location", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail
;
9749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9750 if (SWIG_arg_fail(2)) SWIG_fail
;
9752 SWIG_null_ref("wxFileSystem");
9754 if (SWIG_arg_fail(2)) SWIG_fail
;
9757 arg3
= wxString_in_helper(obj2
);
9758 if (arg3
== NULL
) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= wxPyMake_wxObject(result
, 1);
9785 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9788 wxString
*arg2
= 0 ;
9789 int arg3
= (int) 0 ;
9791 bool temp2
= false ;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9794 PyObject
* obj2
= 0 ;
9796 (char *) "self",(char *) "spec",(char *) "flags", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9801 if (SWIG_arg_fail(1)) SWIG_fail
;
9803 arg2
= wxString_in_helper(obj1
);
9804 if (arg2
== NULL
) SWIG_fail
;
9809 arg3
= (int)(SWIG_As_int(obj2
));
9810 if (SWIG_arg_fail(3)) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9841 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9847 (char *) "self", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9852 if (SWIG_arg_fail(1)) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (arg1
)->FindNext();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9873 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9876 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9878 return Py_BuildValue((char *)"");
9880 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (arg1
)->GetName();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9912 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9918 (char *) "self", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9923 if (SWIG_arg_fail(1)) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (arg1
)->GetExtension();
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9944 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9950 (char *) "self", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9955 if (SWIG_arg_fail(1)) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (long)(arg1
)->GetType();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= SWIG_From_long((long)(result
));
9972 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "self", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9983 if (SWIG_arg_fail(1)) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (arg1
)->GetMimeType();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10004 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10007 wxString
*arg2
= 0 ;
10009 bool temp2
= false ;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self",(char *) "name", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail
;
10020 arg2
= wxString_in_helper(obj1
);
10021 if (arg2
== NULL
) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10048 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10051 wxString
*arg2
= 0 ;
10052 bool temp2
= false ;
10053 PyObject
* obj0
= 0 ;
10054 PyObject
* obj1
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "self",(char *) "name", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10061 if (SWIG_arg_fail(1)) SWIG_fail
;
10063 arg2
= wxString_in_helper(obj1
);
10064 if (arg2
== NULL
) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 (arg1
)->SetName((wxString
const &)*arg2
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 Py_INCREF(Py_None
); resultobj
= Py_None
;
10089 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10092 wxString
*arg2
= 0 ;
10093 bool temp2
= false ;
10094 PyObject
* obj0
= 0 ;
10095 PyObject
* obj1
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self",(char *) "extension", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10102 if (SWIG_arg_fail(1)) SWIG_fail
;
10104 arg2
= wxString_in_helper(obj1
);
10105 if (arg2
== NULL
) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 (arg1
)->SetExtension((wxString
const &)*arg2
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 Py_INCREF(Py_None
); resultobj
= Py_None
;
10130 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10134 PyObject
* obj0
= 0 ;
10135 PyObject
* obj1
= 0 ;
10136 char *kwnames
[] = {
10137 (char *) "self",(char *) "type", NULL
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10142 if (SWIG_arg_fail(1)) SWIG_fail
;
10144 arg2
= (long)(SWIG_As_long(obj1
));
10145 if (SWIG_arg_fail(2)) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 (arg1
)->SetType(arg2
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 Py_INCREF(Py_None
); resultobj
= Py_None
;
10161 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10164 wxString
*arg2
= 0 ;
10165 bool temp2
= false ;
10166 PyObject
* obj0
= 0 ;
10167 PyObject
* obj1
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self",(char *) "mimetype", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10174 if (SWIG_arg_fail(1)) SWIG_fail
;
10176 arg2
= wxString_in_helper(obj1
);
10177 if (arg2
== NULL
) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 Py_INCREF(Py_None
); resultobj
= Py_None
;
10202 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10205 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10207 return Py_BuildValue((char *)"");
10209 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxImageHistogram
*result
;
10212 char *kwnames
[] = {
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 result
= (wxImageHistogram
*)new wxImageHistogram();
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10231 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10236 unsigned long result
;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 PyObject
* obj2
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "r",(char *) "g",(char *) "b", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10246 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10247 if (SWIG_arg_fail(1)) SWIG_fail
;
10250 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10251 if (SWIG_arg_fail(2)) SWIG_fail
;
10254 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10255 if (SWIG_arg_fail(3)) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10273 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10276 byte
*arg2
= (byte
*) 0 ;
10277 byte
*arg3
= (byte
*) 0 ;
10278 byte
*arg4
= (byte
*) 0 ;
10279 byte arg5
= (byte
) 1 ;
10280 byte arg6
= (byte
) 0 ;
10281 byte arg7
= (byte
) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 PyObject
* obj3
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10297 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10298 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10299 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail
;
10305 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10306 if (SWIG_arg_fail(5)) SWIG_fail
;
10311 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10312 if (SWIG_arg_fail(6)) SWIG_fail
;
10317 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10318 if (SWIG_arg_fail(7)) SWIG_fail
;
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10331 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10332 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10333 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10334 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10335 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10336 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10343 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10346 unsigned long arg2
;
10347 unsigned long result
;
10348 PyObject
* obj0
= 0 ;
10349 PyObject
* obj1
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self",(char *) "key", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10356 if (SWIG_arg_fail(1)) SWIG_fail
;
10358 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10359 if (SWIG_arg_fail(2)) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10377 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10383 unsigned long result
;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 PyObject
* obj2
= 0 ;
10387 PyObject
* obj3
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail
;
10396 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10397 if (SWIG_arg_fail(2)) SWIG_fail
;
10400 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10401 if (SWIG_arg_fail(3)) SWIG_fail
;
10404 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10405 if (SWIG_arg_fail(4)) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10423 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10426 wxColour
*arg2
= 0 ;
10427 unsigned long result
;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self",(char *) "colour", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10437 if (SWIG_arg_fail(1)) SWIG_fail
;
10440 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10458 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10461 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10463 return Py_BuildValue((char *)"");
10465 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxString
*arg1
= 0 ;
10468 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10469 int arg3
= (int) -1 ;
10471 bool temp1
= false ;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 PyObject
* obj2
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "name",(char *) "type",(char *) "index", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10481 arg1
= wxString_in_helper(obj0
);
10482 if (arg1
== NULL
) SWIG_fail
;
10487 arg2
= (long)(SWIG_As_long(obj1
));
10488 if (SWIG_arg_fail(2)) SWIG_fail
;
10493 arg3
= (int)(SWIG_As_int(obj2
));
10494 if (SWIG_arg_fail(3)) SWIG_fail
;
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10519 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxImage
*arg1
= (wxImage
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10529 if (SWIG_arg_fail(1)) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 Py_INCREF(Py_None
); resultobj
= Py_None
;
10544 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxString
*arg1
= 0 ;
10547 wxString
*arg2
= 0 ;
10548 int arg3
= (int) -1 ;
10550 bool temp1
= false ;
10551 bool temp2
= false ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 PyObject
* obj2
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10561 arg1
= wxString_in_helper(obj0
);
10562 if (arg1
== NULL
) SWIG_fail
;
10566 arg2
= wxString_in_helper(obj1
);
10567 if (arg2
== NULL
) SWIG_fail
;
10572 arg3
= (int)(SWIG_As_int(obj2
));
10573 if (SWIG_arg_fail(3)) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10606 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxInputStream
*arg1
= 0 ;
10609 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10610 int arg3
= (int) -1 ;
10612 wxPyInputStream
*temp1
;
10614 PyObject
* obj0
= 0 ;
10615 PyObject
* obj1
= 0 ;
10616 PyObject
* obj2
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "stream",(char *) "type",(char *) "index", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10623 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10624 arg1
= temp1
->m_wxis
;
10627 PyErr_Clear(); // clear the failure of the wxPyConvert above
10628 arg1
= wxPyCBInputStream_create(obj0
, false);
10629 if (arg1
== NULL
) {
10630 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10638 arg2
= (long)(SWIG_As_long(obj1
));
10639 if (SWIG_arg_fail(2)) SWIG_fail
;
10644 arg3
= (int)(SWIG_As_int(obj2
));
10645 if (SWIG_arg_fail(3)) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10657 if (created1
) delete arg1
;
10662 if (created1
) delete arg1
;
10668 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 wxInputStream
*arg1
= 0 ;
10671 wxString
*arg2
= 0 ;
10672 int arg3
= (int) -1 ;
10674 wxPyInputStream
*temp1
;
10676 bool temp2
= false ;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 PyObject
* obj2
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10686 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10687 arg1
= temp1
->m_wxis
;
10690 PyErr_Clear(); // clear the failure of the wxPyConvert above
10691 arg1
= wxPyCBInputStream_create(obj0
, false);
10692 if (arg1
== NULL
) {
10693 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10700 arg2
= wxString_in_helper(obj1
);
10701 if (arg2
== NULL
) SWIG_fail
;
10706 arg3
= (int)(SWIG_As_int(obj2
));
10707 if (SWIG_arg_fail(3)) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10719 if (created1
) delete arg1
;
10728 if (created1
) delete arg1
;
10738 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 int arg1
= (int) 0 ;
10741 int arg2
= (int) 0 ;
10742 bool arg3
= (bool) true ;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 PyObject
* obj2
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "width",(char *) "height",(char *) "clear", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10754 arg1
= (int)(SWIG_As_int(obj0
));
10755 if (SWIG_arg_fail(1)) SWIG_fail
;
10760 arg2
= (int)(SWIG_As_int(obj1
));
10761 if (SWIG_arg_fail(2)) SWIG_fail
;
10766 arg3
= (bool)(SWIG_As_bool(obj2
));
10767 if (SWIG_arg_fail(3)) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10784 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxBitmap
*arg1
= 0 ;
10788 PyObject
* obj0
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "bitmap", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10796 if (SWIG_arg_fail(1)) SWIG_fail
;
10797 if (arg1
== NULL
) {
10798 SWIG_null_ref("wxBitmap");
10800 if (SWIG_arg_fail(1)) SWIG_fail
;
10803 if (!wxPyCheckForApp()) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10817 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 PyObject
* obj2
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "width",(char *) "height",(char *) "data", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10833 arg1
= (int)(SWIG_As_int(obj0
));
10834 if (SWIG_arg_fail(1)) SWIG_fail
;
10837 arg2
= (int)(SWIG_As_int(obj1
));
10838 if (SWIG_arg_fail(2)) SWIG_fail
;
10841 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10857 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 PyObject
* obj2
= 0 ;
10869 PyObject
* obj3
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10876 arg1
= (int)(SWIG_As_int(obj0
));
10877 if (SWIG_arg_fail(1)) SWIG_fail
;
10880 arg2
= (int)(SWIG_As_int(obj1
));
10881 if (SWIG_arg_fail(2)) SWIG_fail
;
10884 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10887 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10903 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxImage
*arg1
= (wxImage
*) 0 ;
10908 bool arg4
= (bool) true ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 PyObject
* obj2
= 0 ;
10912 PyObject
* obj3
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10919 if (SWIG_arg_fail(1)) SWIG_fail
;
10921 arg2
= (int)(SWIG_As_int(obj1
));
10922 if (SWIG_arg_fail(2)) SWIG_fail
;
10925 arg3
= (int)(SWIG_As_int(obj2
));
10926 if (SWIG_arg_fail(3)) SWIG_fail
;
10930 arg4
= (bool)(SWIG_As_bool(obj3
));
10931 if (SWIG_arg_fail(4)) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 (arg1
)->Create(arg2
,arg3
,arg4
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxImage
*arg1
= (wxImage
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10958 if (SWIG_arg_fail(1)) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxImage
*arg1
= (wxImage
*) 0 ;
10978 SwigValueWrapper
<wxImage
> result
;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 PyObject
* obj2
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self",(char *) "width",(char *) "height", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10988 if (SWIG_arg_fail(1)) SWIG_fail
;
10990 arg2
= (int)(SWIG_As_int(obj1
));
10991 if (SWIG_arg_fail(2)) SWIG_fail
;
10994 arg3
= (int)(SWIG_As_int(obj2
));
10995 if (SWIG_arg_fail(3)) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (arg1
)->Scale(arg2
,arg3
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 wxImage
* resultptr
;
11006 resultptr
= new wxImage((wxImage
&)(result
));
11007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11015 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxImage
*arg1
= (wxImage
*) 0 ;
11020 SwigValueWrapper
<wxImage
> result
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail
;
11032 arg2
= (int)(SWIG_As_int(obj1
));
11033 if (SWIG_arg_fail(2)) SWIG_fail
;
11036 arg3
= (int)(SWIG_As_int(obj2
));
11037 if (SWIG_arg_fail(3)) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 wxImage
* resultptr
;
11048 resultptr
= new wxImage((wxImage
&)(result
));
11049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11057 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxImage
*arg1
= (wxImage
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 PyObject
* obj1
= 0 ;
11065 PyObject
* obj2
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self",(char *) "width",(char *) "height", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11072 if (SWIG_arg_fail(1)) SWIG_fail
;
11074 arg2
= (int)(SWIG_As_int(obj1
));
11075 if (SWIG_arg_fail(2)) SWIG_fail
;
11078 arg3
= (int)(SWIG_As_int(obj2
));
11079 if (SWIG_arg_fail(3)) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11085 result
= (wxImage
*) &_result_ref
;
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11098 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxImage
*arg1
= (wxImage
*) 0 ;
11102 wxPoint
*arg3
= 0 ;
11103 int arg4
= (int) -1 ;
11104 int arg5
= (int) -1 ;
11105 int arg6
= (int) -1 ;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 PyObject
* obj2
= 0 ;
11112 PyObject
* obj3
= 0 ;
11113 PyObject
* obj4
= 0 ;
11114 PyObject
* obj5
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail
;
11124 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11132 arg4
= (int)(SWIG_As_int(obj3
));
11133 if (SWIG_arg_fail(4)) SWIG_fail
;
11138 arg5
= (int)(SWIG_As_int(obj4
));
11139 if (SWIG_arg_fail(5)) SWIG_fail
;
11144 arg6
= (int)(SWIG_As_int(obj5
));
11145 if (SWIG_arg_fail(6)) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11152 result
= (wxImage
*) &_result_ref
;
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11165 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxImage
*arg1
= (wxImage
*) 0 ;
11173 PyObject
* obj0
= 0 ;
11174 PyObject
* obj1
= 0 ;
11175 PyObject
* obj2
= 0 ;
11176 PyObject
* obj3
= 0 ;
11177 PyObject
* obj4
= 0 ;
11178 PyObject
* obj5
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11185 if (SWIG_arg_fail(1)) SWIG_fail
;
11187 arg2
= (int)(SWIG_As_int(obj1
));
11188 if (SWIG_arg_fail(2)) SWIG_fail
;
11191 arg3
= (int)(SWIG_As_int(obj2
));
11192 if (SWIG_arg_fail(3)) SWIG_fail
;
11195 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11196 if (SWIG_arg_fail(4)) SWIG_fail
;
11199 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11200 if (SWIG_arg_fail(5)) SWIG_fail
;
11203 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11204 if (SWIG_arg_fail(6)) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 Py_INCREF(Py_None
); resultobj
= Py_None
;
11220 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxImage
*arg1
= (wxImage
*) 0 ;
11228 PyObject
* obj0
= 0 ;
11229 PyObject
* obj1
= 0 ;
11230 PyObject
* obj2
= 0 ;
11231 PyObject
* obj3
= 0 ;
11232 PyObject
* obj4
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11239 if (SWIG_arg_fail(1)) SWIG_fail
;
11242 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11245 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11246 if (SWIG_arg_fail(3)) SWIG_fail
;
11249 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11250 if (SWIG_arg_fail(4)) SWIG_fail
;
11253 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11254 if (SWIG_arg_fail(5)) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 Py_INCREF(Py_None
); resultobj
= Py_None
;
11270 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxImage
*arg1
= (wxImage
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 PyObject
* obj2
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self",(char *) "x",(char *) "y", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11285 if (SWIG_arg_fail(1)) SWIG_fail
;
11287 arg2
= (int)(SWIG_As_int(obj1
));
11288 if (SWIG_arg_fail(2)) SWIG_fail
;
11291 arg3
= (int)(SWIG_As_int(obj2
));
11292 if (SWIG_arg_fail(3)) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11302 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11310 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxImage
*arg1
= (wxImage
*) 0 ;
11316 PyObject
* obj0
= 0 ;
11317 PyObject
* obj1
= 0 ;
11318 PyObject
* obj2
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self",(char *) "x",(char *) "y", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11325 if (SWIG_arg_fail(1)) SWIG_fail
;
11327 arg2
= (int)(SWIG_As_int(obj1
));
11328 if (SWIG_arg_fail(2)) SWIG_fail
;
11331 arg3
= (int)(SWIG_As_int(obj2
));
11332 if (SWIG_arg_fail(3)) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11350 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxImage
*arg1
= (wxImage
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 PyObject
* obj1
= 0 ;
11358 PyObject
* obj2
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self",(char *) "x",(char *) "y", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11365 if (SWIG_arg_fail(1)) SWIG_fail
;
11367 arg2
= (int)(SWIG_As_int(obj1
));
11368 if (SWIG_arg_fail(2)) SWIG_fail
;
11371 arg3
= (int)(SWIG_As_int(obj2
));
11372 if (SWIG_arg_fail(3)) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11390 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxImage
*arg1
= (wxImage
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 PyObject
* obj2
= 0 ;
11399 PyObject
* obj3
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11406 if (SWIG_arg_fail(1)) SWIG_fail
;
11408 arg2
= (int)(SWIG_As_int(obj1
));
11409 if (SWIG_arg_fail(2)) SWIG_fail
;
11412 arg3
= (int)(SWIG_As_int(obj2
));
11413 if (SWIG_arg_fail(3)) SWIG_fail
;
11416 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11417 if (SWIG_arg_fail(4)) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 Py_INCREF(Py_None
); resultobj
= Py_None
;
11433 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxImage
*arg1
= (wxImage
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 PyObject
* obj2
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self",(char *) "x",(char *) "y", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11448 if (SWIG_arg_fail(1)) SWIG_fail
;
11450 arg2
= (int)(SWIG_As_int(obj1
));
11451 if (SWIG_arg_fail(2)) SWIG_fail
;
11454 arg3
= (int)(SWIG_As_int(obj2
));
11455 if (SWIG_arg_fail(3)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11473 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxImage
*arg1
= (wxImage
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (bool)(arg1
)->HasAlpha();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11501 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxImage
*arg1
= (wxImage
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11511 if (SWIG_arg_fail(1)) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 (arg1
)->InitAlpha();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 Py_INCREF(Py_None
); resultobj
= Py_None
;
11526 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxImage
*arg1
= (wxImage
*) 0 ;
11531 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 PyObject
* obj2
= 0 ;
11536 PyObject
* obj3
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail
;
11545 arg2
= (int)(SWIG_As_int(obj1
));
11546 if (SWIG_arg_fail(2)) SWIG_fail
;
11549 arg3
= (int)(SWIG_As_int(obj2
));
11550 if (SWIG_arg_fail(3)) SWIG_fail
;
11554 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11555 if (SWIG_arg_fail(4)) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11574 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxImage
*arg1
= (wxImage
*) 0 ;
11577 byte
*arg2
= (byte
*) 0 ;
11578 byte
*arg3
= (byte
*) 0 ;
11579 byte
*arg4
= (byte
*) 0 ;
11580 byte arg5
= (byte
) 0 ;
11581 byte arg6
= (byte
) 0 ;
11582 byte arg7
= (byte
) 0 ;
11590 PyObject
* obj0
= 0 ;
11591 PyObject
* obj1
= 0 ;
11592 PyObject
* obj2
= 0 ;
11593 PyObject
* obj3
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11598 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11599 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11600 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11603 if (SWIG_arg_fail(1)) SWIG_fail
;
11606 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11607 if (SWIG_arg_fail(5)) SWIG_fail
;
11612 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11613 if (SWIG_arg_fail(6)) SWIG_fail
;
11618 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11619 if (SWIG_arg_fail(7)) SWIG_fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11632 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11633 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11634 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11635 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11636 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11637 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11644 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
;
11646 wxImage
*arg1
= (wxImage
*) 0 ;
11647 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11649 PyObject
* obj0
= 0 ;
11650 PyObject
* obj1
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "self",(char *) "threshold", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail
;
11660 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11661 if (SWIG_arg_fail(2)) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11680 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxImage
*arg1
= (wxImage
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 PyObject
* obj2
= 0 ;
11690 PyObject
* obj3
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11697 if (SWIG_arg_fail(1)) SWIG_fail
;
11699 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11700 if (SWIG_arg_fail(2)) SWIG_fail
;
11703 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11704 if (SWIG_arg_fail(3)) SWIG_fail
;
11707 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11708 if (SWIG_arg_fail(4)) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11726 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxImage
*arg1
= (wxImage
*) 0 ;
11729 wxImage
*arg2
= 0 ;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 PyObject
* obj2
= 0 ;
11737 PyObject
* obj3
= 0 ;
11738 PyObject
* obj4
= 0 ;
11739 char *kwnames
[] = {
11740 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11745 if (SWIG_arg_fail(1)) SWIG_fail
;
11747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11748 if (SWIG_arg_fail(2)) SWIG_fail
;
11749 if (arg2
== NULL
) {
11750 SWIG_null_ref("wxImage");
11752 if (SWIG_arg_fail(2)) SWIG_fail
;
11755 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11756 if (SWIG_arg_fail(3)) SWIG_fail
;
11759 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11760 if (SWIG_arg_fail(4)) SWIG_fail
;
11763 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11764 if (SWIG_arg_fail(5)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxString
*arg1
= 0 ;
11786 bool temp1
= false ;
11787 PyObject
* obj0
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "filename", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11794 arg1
= wxString_in_helper(obj0
);
11795 if (arg1
== NULL
) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11822 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxString
*arg1
= 0 ;
11825 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11827 bool temp1
= false ;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "filename",(char *) "type", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11836 arg1
= wxString_in_helper(obj0
);
11837 if (arg1
== NULL
) SWIG_fail
;
11842 arg2
= (long)(SWIG_As_long(obj1
));
11843 if (SWIG_arg_fail(2)) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_From_int((int)(result
));
11870 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxImage
*arg1
= (wxImage
*) 0 ;
11873 wxString
*arg2
= 0 ;
11874 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11875 int arg4
= (int) -1 ;
11877 bool temp2
= false ;
11878 PyObject
* obj0
= 0 ;
11879 PyObject
* obj1
= 0 ;
11880 PyObject
* obj2
= 0 ;
11881 PyObject
* obj3
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail
;
11890 arg2
= wxString_in_helper(obj1
);
11891 if (arg2
== NULL
) SWIG_fail
;
11896 arg3
= (long)(SWIG_As_long(obj2
));
11897 if (SWIG_arg_fail(3)) SWIG_fail
;
11902 arg4
= (int)(SWIG_As_int(obj3
));
11903 if (SWIG_arg_fail(4)) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11930 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxImage
*arg1
= (wxImage
*) 0 ;
11933 wxString
*arg2
= 0 ;
11934 wxString
*arg3
= 0 ;
11935 int arg4
= (int) -1 ;
11937 bool temp2
= false ;
11938 bool temp3
= false ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 PyObject
* obj2
= 0 ;
11942 PyObject
* obj3
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11949 if (SWIG_arg_fail(1)) SWIG_fail
;
11951 arg2
= wxString_in_helper(obj1
);
11952 if (arg2
== NULL
) SWIG_fail
;
11956 arg3
= wxString_in_helper(obj2
);
11957 if (arg3
== NULL
) SWIG_fail
;
11962 arg4
= (int)(SWIG_As_int(obj3
));
11963 if (SWIG_arg_fail(4)) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11998 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxImage
*arg1
= (wxImage
*) 0 ;
12001 wxString
*arg2
= 0 ;
12004 bool temp2
= false ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 PyObject
* obj2
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self",(char *) "name",(char *) "type", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12014 if (SWIG_arg_fail(1)) SWIG_fail
;
12016 arg2
= wxString_in_helper(obj1
);
12017 if (arg2
== NULL
) SWIG_fail
;
12021 arg3
= (int)(SWIG_As_int(obj2
));
12022 if (SWIG_arg_fail(3)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12048 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxImage
*arg1
= (wxImage
*) 0 ;
12051 wxString
*arg2
= 0 ;
12052 wxString
*arg3
= 0 ;
12054 bool temp2
= false ;
12055 bool temp3
= false ;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 PyObject
* obj2
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12065 if (SWIG_arg_fail(1)) SWIG_fail
;
12067 arg2
= wxString_in_helper(obj1
);
12068 if (arg2
== NULL
) SWIG_fail
;
12072 arg3
= wxString_in_helper(obj2
);
12073 if (arg3
== NULL
) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12108 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxInputStream
*arg1
= 0 ;
12112 wxPyInputStream
*temp1
;
12114 PyObject
* obj0
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "stream", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12121 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12122 arg1
= temp1
->m_wxis
;
12125 PyErr_Clear(); // clear the failure of the wxPyConvert above
12126 arg1
= wxPyCBInputStream_create(obj0
, false);
12127 if (arg1
== NULL
) {
12128 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (bool)wxImage::CanRead(*arg1
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 if (created1
) delete arg1
;
12150 if (created1
) delete arg1
;
12156 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxImage
*arg1
= (wxImage
*) 0 ;
12159 wxInputStream
*arg2
= 0 ;
12160 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12161 int arg4
= (int) -1 ;
12163 wxPyInputStream
*temp2
;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 PyObject
* obj2
= 0 ;
12168 PyObject
* obj3
= 0 ;
12169 char *kwnames
[] = {
12170 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12175 if (SWIG_arg_fail(1)) SWIG_fail
;
12177 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12178 arg2
= temp2
->m_wxis
;
12181 PyErr_Clear(); // clear the failure of the wxPyConvert above
12182 arg2
= wxPyCBInputStream_create(obj1
, false);
12183 if (arg2
== NULL
) {
12184 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12192 arg3
= (long)(SWIG_As_long(obj2
));
12193 if (SWIG_arg_fail(3)) SWIG_fail
;
12198 arg4
= (int)(SWIG_As_int(obj3
));
12199 if (SWIG_arg_fail(4)) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12213 if (created2
) delete arg2
;
12218 if (created2
) delete arg2
;
12224 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxImage
*arg1
= (wxImage
*) 0 ;
12227 wxInputStream
*arg2
= 0 ;
12228 wxString
*arg3
= 0 ;
12229 int arg4
= (int) -1 ;
12231 wxPyInputStream
*temp2
;
12233 bool temp3
= false ;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 PyObject
* obj2
= 0 ;
12237 PyObject
* obj3
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail
;
12246 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12247 arg2
= temp2
->m_wxis
;
12250 PyErr_Clear(); // clear the failure of the wxPyConvert above
12251 arg2
= wxPyCBInputStream_create(obj1
, false);
12252 if (arg2
== NULL
) {
12253 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12260 arg3
= wxString_in_helper(obj2
);
12261 if (arg3
== NULL
) SWIG_fail
;
12266 arg4
= (int)(SWIG_As_int(obj3
));
12267 if (SWIG_arg_fail(4)) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12281 if (created2
) delete arg2
;
12290 if (created2
) delete arg2
;
12300 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxImage
*arg1
= (wxImage
*) 0 ;
12304 PyObject
* obj0
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12311 if (SWIG_arg_fail(1)) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (bool)(arg1
)->Ok();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12328 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxImage
*arg1
= (wxImage
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12339 if (SWIG_arg_fail(1)) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (int)(arg1
)->GetWidth();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= SWIG_From_int((int)(result
));
12356 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxImage
*arg1
= (wxImage
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12367 if (SWIG_arg_fail(1)) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (int)(arg1
)->GetHeight();
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= SWIG_From_int((int)(result
));
12384 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxImage
*arg1
= (wxImage
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12395 if (SWIG_arg_fail(1)) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= wxImage_GetSize(arg1
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 wxSize
* resultptr
;
12405 resultptr
= new wxSize((wxSize
&)(result
));
12406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12414 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxImage
*arg1
= (wxImage
*) 0 ;
12418 SwigValueWrapper
<wxImage
> result
;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "self",(char *) "rect", NULL
12426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12428 if (SWIG_arg_fail(1)) SWIG_fail
;
12431 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12441 wxImage
* resultptr
;
12442 resultptr
= new wxImage((wxImage
&)(result
));
12443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12451 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
;
12453 wxImage
*arg1
= (wxImage
*) 0 ;
12455 wxPoint
*arg3
= 0 ;
12456 int arg4
= (int) -1 ;
12457 int arg5
= (int) -1 ;
12458 int arg6
= (int) -1 ;
12459 SwigValueWrapper
<wxImage
> result
;
12462 PyObject
* obj0
= 0 ;
12463 PyObject
* obj1
= 0 ;
12464 PyObject
* obj2
= 0 ;
12465 PyObject
* obj3
= 0 ;
12466 PyObject
* obj4
= 0 ;
12467 PyObject
* obj5
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12474 if (SWIG_arg_fail(1)) SWIG_fail
;
12477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12485 arg4
= (int)(SWIG_As_int(obj3
));
12486 if (SWIG_arg_fail(4)) SWIG_fail
;
12491 arg5
= (int)(SWIG_As_int(obj4
));
12492 if (SWIG_arg_fail(5)) SWIG_fail
;
12497 arg6
= (int)(SWIG_As_int(obj5
));
12498 if (SWIG_arg_fail(6)) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12509 wxImage
* resultptr
;
12510 resultptr
= new wxImage((wxImage
&)(result
));
12511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12519 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxImage
*arg1
= (wxImage
*) 0 ;
12522 SwigValueWrapper
<wxImage
> result
;
12523 PyObject
* obj0
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12530 if (SWIG_arg_fail(1)) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (arg1
)->Copy();
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12539 wxImage
* resultptr
;
12540 resultptr
= new wxImage((wxImage
&)(result
));
12541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12549 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxImage
*arg1
= (wxImage
*) 0 ;
12552 wxImage
*arg2
= 0 ;
12555 PyObject
* obj0
= 0 ;
12556 PyObject
* obj1
= 0 ;
12557 PyObject
* obj2
= 0 ;
12558 PyObject
* obj3
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail
;
12567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12568 if (SWIG_arg_fail(2)) SWIG_fail
;
12569 if (arg2
== NULL
) {
12570 SWIG_null_ref("wxImage");
12572 if (SWIG_arg_fail(2)) SWIG_fail
;
12575 arg3
= (int)(SWIG_As_int(obj2
));
12576 if (SWIG_arg_fail(3)) SWIG_fail
;
12579 arg4
= (int)(SWIG_As_int(obj3
));
12580 if (SWIG_arg_fail(4)) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12596 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxImage
*arg1
= (wxImage
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12607 if (SWIG_arg_fail(1)) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 result
= (PyObject
*)wxImage_GetData(arg1
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= result
;
12622 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxImage
*arg1
= (wxImage
*) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self",(char *) "data", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail
;
12637 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 wxImage_SetData(arg1
,arg2
,arg3
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 Py_INCREF(Py_None
); resultobj
= Py_None
;
12653 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxImage
*arg1
= (wxImage
*) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12664 if (SWIG_arg_fail(1)) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= result
;
12679 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxImage
*arg1
= (wxImage
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self",(char *) "data", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12692 if (SWIG_arg_fail(1)) SWIG_fail
;
12694 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxImage
*arg1
= (wxImage
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 char *kwnames
[] = {
12716 (char *) "self", NULL
12719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12721 if (SWIG_arg_fail(1)) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12729 resultobj
= result
;
12736 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
;
12738 wxImage
*arg1
= (wxImage
*) 0 ;
12741 PyObject
* obj0
= 0 ;
12742 PyObject
* obj1
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self",(char *) "alpha", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12749 if (SWIG_arg_fail(1)) SWIG_fail
;
12751 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12760 Py_INCREF(Py_None
); resultobj
= Py_None
;
12767 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxImage
*arg1
= (wxImage
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12778 if (SWIG_arg_fail(1)) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= result
;
12793 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxImage
*arg1
= (wxImage
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self",(char *) "alpha", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12806 if (SWIG_arg_fail(1)) SWIG_fail
;
12808 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 Py_INCREF(Py_None
); resultobj
= Py_None
;
12824 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxImage
*arg1
= (wxImage
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 PyObject
* obj1
= 0 ;
12832 PyObject
* obj2
= 0 ;
12833 PyObject
* obj3
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12840 if (SWIG_arg_fail(1)) SWIG_fail
;
12842 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12843 if (SWIG_arg_fail(2)) SWIG_fail
;
12846 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12847 if (SWIG_arg_fail(3)) SWIG_fail
;
12850 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12851 if (SWIG_arg_fail(4)) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 Py_INCREF(Py_None
); resultobj
= Py_None
;
12867 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxImage
*arg1
= (wxImage
*) 0 ;
12870 byte
*arg2
= (byte
*) 0 ;
12871 byte
*arg3
= (byte
*) 0 ;
12872 byte
*arg4
= (byte
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self", NULL
12884 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12885 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12886 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12889 if (SWIG_arg_fail(1)) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 Py_INCREF(Py_None
); resultobj
= Py_None
;
12898 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12899 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12900 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12901 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12902 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12903 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12910 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxImage
*arg1
= (wxImage
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12921 if (SWIG_arg_fail(1)) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (byte
)(arg1
)->GetMaskRed();
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12938 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxImage
*arg1
= (wxImage
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12949 if (SWIG_arg_fail(1)) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (byte
)(arg1
)->GetMaskGreen();
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12966 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxImage
*arg1
= (wxImage
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12977 if (SWIG_arg_fail(1)) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (byte
)(arg1
)->GetMaskBlue();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12994 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxImage
*arg1
= (wxImage
*) 0 ;
12997 bool arg2
= (bool) true ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self",(char *) "mask", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13006 if (SWIG_arg_fail(1)) SWIG_fail
;
13009 arg2
= (bool)(SWIG_As_bool(obj1
));
13010 if (SWIG_arg_fail(2)) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 (arg1
)->SetMask(arg2
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 Py_INCREF(Py_None
); resultobj
= Py_None
;
13027 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxImage
*arg1
= (wxImage
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13038 if (SWIG_arg_fail(1)) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)(arg1
)->HasMask();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
;
13057 wxImage
*arg1
= (wxImage
*) 0 ;
13059 wxPoint
*arg3
= 0 ;
13060 bool arg4
= (bool) true ;
13061 wxPoint
*arg5
= (wxPoint
*) NULL
;
13062 SwigValueWrapper
<wxImage
> result
;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 PyObject
* obj2
= 0 ;
13067 PyObject
* obj3
= 0 ;
13068 PyObject
* obj4
= 0 ;
13069 char *kwnames
[] = {
13070 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13075 if (SWIG_arg_fail(1)) SWIG_fail
;
13077 arg2
= (double)(SWIG_As_double(obj1
));
13078 if (SWIG_arg_fail(2)) SWIG_fail
;
13082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13086 arg4
= (bool)(SWIG_As_bool(obj3
));
13087 if (SWIG_arg_fail(4)) SWIG_fail
;
13091 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13092 if (SWIG_arg_fail(5)) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13102 wxImage
* resultptr
;
13103 resultptr
= new wxImage((wxImage
&)(result
));
13104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13112 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxImage
*arg1
= (wxImage
*) 0 ;
13115 bool arg2
= (bool) true ;
13116 SwigValueWrapper
<wxImage
> result
;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "self",(char *) "clockwise", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail
;
13128 arg2
= (bool)(SWIG_As_bool(obj1
));
13129 if (SWIG_arg_fail(2)) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 result
= (arg1
)->Rotate90(arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13140 wxImage
* resultptr
;
13141 resultptr
= new wxImage((wxImage
&)(result
));
13142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13150 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxImage
*arg1
= (wxImage
*) 0 ;
13153 bool arg2
= (bool) true ;
13154 SwigValueWrapper
<wxImage
> result
;
13155 PyObject
* obj0
= 0 ;
13156 PyObject
* obj1
= 0 ;
13157 char *kwnames
[] = {
13158 (char *) "self",(char *) "horizontally", NULL
13161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13163 if (SWIG_arg_fail(1)) SWIG_fail
;
13166 arg2
= (bool)(SWIG_As_bool(obj1
));
13167 if (SWIG_arg_fail(2)) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (arg1
)->Mirror(arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 wxImage
* resultptr
;
13179 resultptr
= new wxImage((wxImage
&)(result
));
13180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13188 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxImage
*arg1
= (wxImage
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 PyObject
* obj2
= 0 ;
13200 PyObject
* obj3
= 0 ;
13201 PyObject
* obj4
= 0 ;
13202 PyObject
* obj5
= 0 ;
13203 PyObject
* obj6
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail
;
13212 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13213 if (SWIG_arg_fail(2)) SWIG_fail
;
13216 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13217 if (SWIG_arg_fail(3)) SWIG_fail
;
13220 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13221 if (SWIG_arg_fail(4)) SWIG_fail
;
13224 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13225 if (SWIG_arg_fail(5)) SWIG_fail
;
13228 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13229 if (SWIG_arg_fail(6)) SWIG_fail
;
13232 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13233 if (SWIG_arg_fail(7)) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 Py_INCREF(Py_None
); resultobj
= Py_None
;
13249 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxImage
*arg1
= (wxImage
*) 0 ;
13255 SwigValueWrapper
<wxImage
> result
;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 PyObject
* obj2
= 0 ;
13259 PyObject
* obj3
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail
;
13268 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13269 if (SWIG_arg_fail(2)) SWIG_fail
;
13272 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13273 if (SWIG_arg_fail(3)) SWIG_fail
;
13276 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13277 if (SWIG_arg_fail(4)) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 wxImage
* resultptr
;
13288 resultptr
= new wxImage((wxImage
&)(result
));
13289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13297 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxImage
*arg1
= (wxImage
*) 0 ;
13300 wxString
*arg2
= 0 ;
13301 wxString
*arg3
= 0 ;
13302 bool temp2
= false ;
13303 bool temp3
= false ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 PyObject
* obj2
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self",(char *) "name",(char *) "value", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13313 if (SWIG_arg_fail(1)) SWIG_fail
;
13315 arg2
= wxString_in_helper(obj1
);
13316 if (arg2
== NULL
) SWIG_fail
;
13320 arg3
= wxString_in_helper(obj2
);
13321 if (arg3
== NULL
) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 Py_INCREF(Py_None
); resultobj
= Py_None
;
13354 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxImage
*arg1
= (wxImage
*) 0 ;
13357 wxString
*arg2
= 0 ;
13359 bool temp2
= false ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 PyObject
* obj2
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "name",(char *) "value", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13369 if (SWIG_arg_fail(1)) SWIG_fail
;
13371 arg2
= wxString_in_helper(obj1
);
13372 if (arg2
== NULL
) SWIG_fail
;
13376 arg3
= (int)(SWIG_As_int(obj2
));
13377 if (SWIG_arg_fail(3)) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 Py_INCREF(Py_None
); resultobj
= Py_None
;
13401 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxImage
*arg1
= (wxImage
*) 0 ;
13404 wxString
*arg2
= 0 ;
13406 bool temp2
= false ;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "name", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13415 if (SWIG_arg_fail(1)) SWIG_fail
;
13417 arg2
= wxString_in_helper(obj1
);
13418 if (arg2
== NULL
) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13449 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxImage
*arg1
= (wxImage
*) 0 ;
13452 wxString
*arg2
= 0 ;
13454 bool temp2
= false ;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "name", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13463 if (SWIG_arg_fail(1)) SWIG_fail
;
13465 arg2
= wxString_in_helper(obj1
);
13466 if (arg2
== NULL
) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_From_int((int)(result
));
13493 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxImage
*arg1
= (wxImage
*) 0 ;
13496 wxString
*arg2
= 0 ;
13498 bool temp2
= false ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "name", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13507 if (SWIG_arg_fail(1)) SWIG_fail
;
13509 arg2
= wxString_in_helper(obj1
);
13510 if (arg2
== NULL
) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13537 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxImage
*arg1
= (wxImage
*) 0 ;
13540 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13541 unsigned long result
;
13542 PyObject
* obj0
= 0 ;
13543 PyObject
* obj1
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self",(char *) "stopafter", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13550 if (SWIG_arg_fail(1)) SWIG_fail
;
13553 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13554 if (SWIG_arg_fail(2)) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13573 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxImage
*arg1
= (wxImage
*) 0 ;
13576 wxImageHistogram
*arg2
= 0 ;
13577 unsigned long result
;
13578 PyObject
* obj0
= 0 ;
13579 PyObject
* obj1
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self",(char *) "h", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13586 if (SWIG_arg_fail(1)) SWIG_fail
;
13588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13589 if (SWIG_arg_fail(2)) SWIG_fail
;
13590 if (arg2
== NULL
) {
13591 SWIG_null_ref("wxImageHistogram");
13593 if (SWIG_arg_fail(2)) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13611 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "handler", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13621 if (SWIG_arg_fail(1)) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 wxImage::AddHandler(arg1
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 Py_INCREF(Py_None
); resultobj
= Py_None
;
13636 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13639 PyObject
* obj0
= 0 ;
13640 char *kwnames
[] = {
13641 (char *) "handler", NULL
13644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13646 if (SWIG_arg_fail(1)) SWIG_fail
;
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 wxImage::InsertHandler(arg1
);
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 Py_INCREF(Py_None
); resultobj
= Py_None
;
13661 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
;
13663 wxString
*arg1
= 0 ;
13665 bool temp1
= false ;
13666 PyObject
* obj0
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "name", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13673 arg1
= wxString_in_helper(obj0
);
13674 if (arg1
== NULL
) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13701 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13704 char *kwnames
[] = {
13708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= wxImage::GetImageExtWildcard();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13729 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxImage
*arg1
= (wxImage
*) 0 ;
13732 int arg2
= (int) -1 ;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self",(char *) "depth", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13742 if (SWIG_arg_fail(1)) SWIG_fail
;
13745 arg2
= (int)(SWIG_As_int(obj1
));
13746 if (SWIG_arg_fail(2)) SWIG_fail
;
13750 if (!wxPyCheckForApp()) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 wxBitmap
* resultptr
;
13759 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13768 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxImage
*arg1
= (wxImage
*) 0 ;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 PyObject
* obj2
= 0 ;
13778 PyObject
* obj3
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13785 if (SWIG_arg_fail(1)) SWIG_fail
;
13787 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13788 if (SWIG_arg_fail(2)) SWIG_fail
;
13791 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13792 if (SWIG_arg_fail(3)) SWIG_fail
;
13795 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13796 if (SWIG_arg_fail(4)) SWIG_fail
;
13799 if (!wxPyCheckForApp()) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13807 wxBitmap
* resultptr
;
13808 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13817 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13820 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13822 return Py_BuildValue((char *)"");
13824 static int _wrap_NullImage_set(PyObject
*) {
13825 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13830 static PyObject
*_wrap_NullImage_get(void) {
13833 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13838 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13839 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13844 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13849 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13851 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13858 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13859 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13864 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13869 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13871 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13878 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13879 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13884 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13889 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13891 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13898 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13899 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13904 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13909 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13911 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13918 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13919 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13924 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13929 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13931 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13938 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13939 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13944 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13949 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13951 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13958 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13959 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13964 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13969 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13971 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13978 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13979 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13984 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13989 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13991 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13998 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13999 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14004 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14009 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14011 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14018 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14019 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14024 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14029 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14031 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14038 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14039 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14044 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14049 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14051 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14058 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14059 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14064 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14069 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14071 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14078 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14079 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14084 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14089 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14091 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14098 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14099 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14104 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14109 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14111 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14118 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14119 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14124 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14129 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14131 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14138 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxBMPHandler
*result
;
14141 char *kwnames
[] = {
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (wxBMPHandler
*)new wxBMPHandler();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14160 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14163 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14165 return Py_BuildValue((char *)"");
14167 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxICOHandler
*result
;
14170 char *kwnames
[] = {
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (wxICOHandler
*)new wxICOHandler();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14189 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14192 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14194 return Py_BuildValue((char *)"");
14196 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxCURHandler
*result
;
14199 char *kwnames
[] = {
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (wxCURHandler
*)new wxCURHandler();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14218 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14221 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14223 return Py_BuildValue((char *)"");
14225 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxANIHandler
*result
;
14228 char *kwnames
[] = {
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (wxANIHandler
*)new wxANIHandler();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14247 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14250 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14252 return Py_BuildValue((char *)"");
14254 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxPNGHandler
*result
;
14257 char *kwnames
[] = {
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (wxPNGHandler
*)new wxPNGHandler();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14276 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14279 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14281 return Py_BuildValue((char *)"");
14283 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxGIFHandler
*result
;
14286 char *kwnames
[] = {
14290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (wxGIFHandler
*)new wxGIFHandler();
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14305 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14308 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14310 return Py_BuildValue((char *)"");
14312 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxPCXHandler
*result
;
14315 char *kwnames
[] = {
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (wxPCXHandler
*)new wxPCXHandler();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14334 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14337 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14339 return Py_BuildValue((char *)"");
14341 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxJPEGHandler
*result
;
14344 char *kwnames
[] = {
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14363 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14366 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14368 return Py_BuildValue((char *)"");
14370 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxPNMHandler
*result
;
14373 char *kwnames
[] = {
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (wxPNMHandler
*)new wxPNMHandler();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14392 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14395 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14397 return Py_BuildValue((char *)"");
14399 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxXPMHandler
*result
;
14402 char *kwnames
[] = {
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (wxXPMHandler
*)new wxXPMHandler();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14421 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14424 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14426 return Py_BuildValue((char *)"");
14428 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
;
14430 wxTIFFHandler
*result
;
14431 char *kwnames
[] = {
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14450 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14453 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14455 return Py_BuildValue((char *)"");
14457 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxImage
*arg1
= 0 ;
14460 wxImage
*arg2
= 0 ;
14461 int arg3
= (int) 236 ;
14462 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 PyObject
* obj2
= 0 ;
14467 PyObject
* obj3
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14475 if (SWIG_arg_fail(1)) SWIG_fail
;
14476 if (arg1
== NULL
) {
14477 SWIG_null_ref("wxImage");
14479 if (SWIG_arg_fail(1)) SWIG_fail
;
14482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14483 if (SWIG_arg_fail(2)) SWIG_fail
;
14484 if (arg2
== NULL
) {
14485 SWIG_null_ref("wxImage");
14487 if (SWIG_arg_fail(2)) SWIG_fail
;
14491 arg3
= (int)(SWIG_As_int(obj2
));
14492 if (SWIG_arg_fail(3)) SWIG_fail
;
14497 arg4
= (int)(SWIG_As_int(obj3
));
14498 if (SWIG_arg_fail(4)) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14517 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14520 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14522 return Py_BuildValue((char *)"");
14524 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxEvtHandler
*result
;
14527 char *kwnames
[] = {
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (wxEvtHandler
*)new wxEvtHandler();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14546 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14549 wxEvtHandler
*result
;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14557 if (SWIG_arg_fail(1)) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= wxPyMake_wxObject(result
, 0);
14574 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14577 wxEvtHandler
*result
;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= wxPyMake_wxObject(result
, 0);
14602 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14605 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 PyObject
* obj1
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self",(char *) "handler", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14614 if (SWIG_arg_fail(1)) SWIG_fail
;
14615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14616 if (SWIG_arg_fail(2)) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 (arg1
)->SetNextHandler(arg2
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 Py_INCREF(Py_None
); resultobj
= Py_None
;
14631 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14634 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 PyObject
* obj1
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self",(char *) "handler", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail
;
14644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14645 if (SWIG_arg_fail(2)) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 (arg1
)->SetPreviousHandler(arg2
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 Py_INCREF(Py_None
); resultobj
= Py_None
;
14660 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14664 PyObject
* obj0
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14671 if (SWIG_arg_fail(1)) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14688 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 PyObject
* obj1
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "self",(char *) "enabled", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14700 if (SWIG_arg_fail(1)) SWIG_fail
;
14702 arg2
= (bool)(SWIG_As_bool(obj1
));
14703 if (SWIG_arg_fail(2)) SWIG_fail
;
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 (arg1
)->SetEvtHandlerEnabled(arg2
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 Py_INCREF(Py_None
); resultobj
= Py_None
;
14719 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14722 wxEvent
*arg2
= 0 ;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self",(char *) "event", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14732 if (SWIG_arg_fail(1)) SWIG_fail
;
14734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14735 if (SWIG_arg_fail(2)) SWIG_fail
;
14736 if (arg2
== NULL
) {
14737 SWIG_null_ref("wxEvent");
14739 if (SWIG_arg_fail(2)) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14757 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14760 wxEvent
*arg2
= 0 ;
14761 PyObject
* obj0
= 0 ;
14762 PyObject
* obj1
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self",(char *) "event", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14769 if (SWIG_arg_fail(1)) SWIG_fail
;
14771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14772 if (SWIG_arg_fail(2)) SWIG_fail
;
14773 if (arg2
== NULL
) {
14774 SWIG_null_ref("wxEvent");
14776 if (SWIG_arg_fail(2)) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 (arg1
)->AddPendingEvent(*arg2
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 Py_INCREF(Py_None
); resultobj
= Py_None
;
14792 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14802 if (SWIG_arg_fail(1)) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->ProcessPendingEvents();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14823 PyObject
*arg5
= (PyObject
*) 0 ;
14824 PyObject
* obj0
= 0 ;
14825 PyObject
* obj1
= 0 ;
14826 PyObject
* obj2
= 0 ;
14827 PyObject
* obj3
= 0 ;
14828 PyObject
* obj4
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14835 if (SWIG_arg_fail(1)) SWIG_fail
;
14837 arg2
= (int)(SWIG_As_int(obj1
));
14838 if (SWIG_arg_fail(2)) SWIG_fail
;
14841 arg3
= (int)(SWIG_As_int(obj2
));
14842 if (SWIG_arg_fail(3)) SWIG_fail
;
14845 arg4
= (int)(SWIG_As_int(obj3
));
14846 if (SWIG_arg_fail(4)) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 Py_INCREF(Py_None
); resultobj
= Py_None
;
14863 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14867 int arg3
= (int) -1 ;
14868 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 PyObject
* obj2
= 0 ;
14873 PyObject
* obj3
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14880 if (SWIG_arg_fail(1)) SWIG_fail
;
14882 arg2
= (int)(SWIG_As_int(obj1
));
14883 if (SWIG_arg_fail(2)) SWIG_fail
;
14887 arg3
= (int)(SWIG_As_int(obj2
));
14888 if (SWIG_arg_fail(3)) SWIG_fail
;
14893 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14894 if (SWIG_arg_fail(4)) SWIG_fail
;
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14913 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14916 PyObject
*arg2
= (PyObject
*) 0 ;
14917 bool arg3
= (bool) true ;
14918 PyObject
* obj0
= 0 ;
14919 PyObject
* obj1
= 0 ;
14920 PyObject
* obj2
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self",(char *) "_self",(char *) "incref", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14927 if (SWIG_arg_fail(1)) SWIG_fail
;
14931 arg3
= (bool)(SWIG_As_bool(obj2
));
14932 if (SWIG_arg_fail(3)) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 Py_INCREF(Py_None
); resultobj
= Py_None
;
14949 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14952 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14954 return Py_BuildValue((char *)"");
14956 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxEventType result
;
14959 char *kwnames
[] = {
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (wxEventType
)wxNewEventType();
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= SWIG_From_int((int)(result
));
14980 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxEvent
*arg1
= (wxEvent
*) 0 ;
14983 PyObject
* obj0
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14990 if (SWIG_arg_fail(1)) SWIG_fail
;
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 Py_INCREF(Py_None
); resultobj
= Py_None
;
15005 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxEvent
*arg1
= (wxEvent
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self",(char *) "typ", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15017 if (SWIG_arg_fail(1)) SWIG_fail
;
15019 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15020 if (SWIG_arg_fail(2)) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 (arg1
)->SetEventType(arg2
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 Py_INCREF(Py_None
); resultobj
= Py_None
;
15036 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxEvent
*arg1
= (wxEvent
*) 0 ;
15039 wxEventType result
;
15040 PyObject
* obj0
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= SWIG_From_int((int)(result
));
15064 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxEvent
*arg1
= (wxEvent
*) 0 ;
15068 PyObject
* obj0
= 0 ;
15069 char *kwnames
[] = {
15070 (char *) "self", NULL
15073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15075 if (SWIG_arg_fail(1)) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= wxPyMake_wxObject(result
, 0);
15092 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxEvent
*arg1
= (wxEvent
*) 0 ;
15095 wxObject
*arg2
= (wxObject
*) 0 ;
15096 PyObject
* obj0
= 0 ;
15097 PyObject
* obj1
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self",(char *) "obj", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15104 if (SWIG_arg_fail(1)) SWIG_fail
;
15105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15106 if (SWIG_arg_fail(2)) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 (arg1
)->SetEventObject(arg2
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 Py_INCREF(Py_None
); resultobj
= Py_None
;
15121 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxEvent
*arg1
= (wxEvent
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15132 if (SWIG_arg_fail(1)) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_From_long((long)(result
));
15149 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxEvent
*arg1
= (wxEvent
*) 0 ;
15152 long arg2
= (long) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 PyObject
* obj1
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self",(char *) "ts", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15161 if (SWIG_arg_fail(1)) SWIG_fail
;
15164 arg2
= (long)(SWIG_As_long(obj1
));
15165 if (SWIG_arg_fail(2)) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 (arg1
)->SetTimestamp(arg2
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 Py_INCREF(Py_None
); resultobj
= Py_None
;
15182 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxEvent
*arg1
= (wxEvent
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15193 if (SWIG_arg_fail(1)) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (int)((wxEvent
const *)arg1
)->GetId();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_From_int((int)(result
));
15210 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxEvent
*arg1
= (wxEvent
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 PyObject
* obj1
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self",(char *) "Id", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15222 if (SWIG_arg_fail(1)) SWIG_fail
;
15224 arg2
= (int)(SWIG_As_int(obj1
));
15225 if (SWIG_arg_fail(2)) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 (arg1
)->SetId(arg2
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 Py_INCREF(Py_None
); resultobj
= Py_None
;
15241 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxEvent
*arg1
= (wxEvent
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15269 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxEvent
*arg1
= (wxEvent
*) 0 ;
15272 bool arg2
= (bool) true ;
15273 PyObject
* obj0
= 0 ;
15274 PyObject
* obj1
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self",(char *) "skip", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15281 if (SWIG_arg_fail(1)) SWIG_fail
;
15284 arg2
= (bool)(SWIG_As_bool(obj1
));
15285 if (SWIG_arg_fail(2)) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 (arg1
)->Skip(arg2
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 Py_INCREF(Py_None
); resultobj
= Py_None
;
15302 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxEvent
*arg1
= (wxEvent
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15330 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxEvent
*arg1
= (wxEvent
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15341 if (SWIG_arg_fail(1)) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15358 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxEvent
*arg1
= (wxEvent
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15369 if (SWIG_arg_fail(1)) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (int)(arg1
)->StopPropagation();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_From_int((int)(result
));
15386 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxEvent
*arg1
= (wxEvent
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "propagationLevel", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15398 if (SWIG_arg_fail(1)) SWIG_fail
;
15400 arg2
= (int)(SWIG_As_int(obj1
));
15401 if (SWIG_arg_fail(2)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 (arg1
)->ResumePropagation(arg2
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 Py_INCREF(Py_None
); resultobj
= Py_None
;
15417 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxEvent
*arg1
= (wxEvent
*) 0 ;
15421 PyObject
* obj0
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15428 if (SWIG_arg_fail(1)) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (wxEvent
*)(arg1
)->Clone();
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15443 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15446 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15448 return Py_BuildValue((char *)"");
15450 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxEvent
*arg1
= 0 ;
15453 wxPropagationDisabler
*result
;
15454 PyObject
* obj0
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "event", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail
;
15463 if (arg1
== NULL
) {
15464 SWIG_null_ref("wxEvent");
15466 if (SWIG_arg_fail(1)) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15482 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "self", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15492 if (SWIG_arg_fail(1)) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15500 Py_INCREF(Py_None
); resultobj
= Py_None
;
15507 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15510 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15512 return Py_BuildValue((char *)"");
15514 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxEvent
*arg1
= 0 ;
15517 wxPropagateOnce
*result
;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "event", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15526 if (SWIG_arg_fail(1)) SWIG_fail
;
15527 if (arg1
== NULL
) {
15528 SWIG_null_ref("wxEvent");
15530 if (SWIG_arg_fail(1)) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15546 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15549 PyObject
* obj0
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15556 if (SWIG_arg_fail(1)) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15574 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15576 return Py_BuildValue((char *)"");
15578 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15581 int arg2
= (int) 0 ;
15582 wxCommandEvent
*result
;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "commandType",(char *) "winid", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15592 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15593 if (SWIG_arg_fail(1)) SWIG_fail
;
15598 arg2
= (int)(SWIG_As_int(obj1
));
15599 if (SWIG_arg_fail(2)) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15616 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15627 if (SWIG_arg_fail(1)) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_From_int((int)(result
));
15644 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15647 wxString
*arg2
= 0 ;
15648 bool temp2
= false ;
15649 PyObject
* obj0
= 0 ;
15650 PyObject
* obj1
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self",(char *) "s", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail
;
15659 arg2
= wxString_in_helper(obj1
);
15660 if (arg2
== NULL
) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->SetString((wxString
const &)*arg2
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 Py_INCREF(Py_None
); resultobj
= Py_None
;
15685 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15696 if (SWIG_arg_fail(1)) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15717 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15721 PyObject
* obj0
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "self", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15728 if (SWIG_arg_fail(1)) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15745 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15756 if (SWIG_arg_fail(1)) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15773 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self",(char *) "extraLong", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15785 if (SWIG_arg_fail(1)) SWIG_fail
;
15787 arg2
= (long)(SWIG_As_long(obj1
));
15788 if (SWIG_arg_fail(2)) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 (arg1
)->SetExtraLong(arg2
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 Py_INCREF(Py_None
); resultobj
= Py_None
;
15804 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15808 PyObject
* obj0
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "self", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15815 if (SWIG_arg_fail(1)) SWIG_fail
;
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_From_long((long)(result
));
15832 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15836 PyObject
* obj0
= 0 ;
15837 PyObject
* obj1
= 0 ;
15838 char *kwnames
[] = {
15839 (char *) "self",(char *) "i", NULL
15842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15844 if (SWIG_arg_fail(1)) SWIG_fail
;
15846 arg2
= (int)(SWIG_As_int(obj1
));
15847 if (SWIG_arg_fail(2)) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 (arg1
)->SetInt(arg2
);
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 Py_INCREF(Py_None
); resultobj
= Py_None
;
15863 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "self", NULL
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15874 if (SWIG_arg_fail(1)) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= SWIG_From_long((long)(result
));
15891 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15902 if (SWIG_arg_fail(1)) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15917 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15920 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15922 return Py_BuildValue((char *)"");
15924 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15927 int arg2
= (int) 0 ;
15928 wxNotifyEvent
*result
;
15929 PyObject
* obj0
= 0 ;
15930 PyObject
* obj1
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "commandType",(char *) "winid", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15938 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15939 if (SWIG_arg_fail(1)) SWIG_fail
;
15944 arg2
= (int)(SWIG_As_int(obj1
));
15945 if (SWIG_arg_fail(2)) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15962 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15965 PyObject
* obj0
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "self", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15972 if (SWIG_arg_fail(1)) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 Py_INCREF(Py_None
); resultobj
= Py_None
;
15987 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15997 if (SWIG_arg_fail(1)) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 Py_INCREF(Py_None
); resultobj
= Py_None
;
16012 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16023 if (SWIG_arg_fail(1)) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (bool)(arg1
)->IsAllowed();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16040 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16043 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16045 return Py_BuildValue((char *)"");
16047 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16049 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16050 int arg2
= (int) 0 ;
16051 int arg3
= (int) 0 ;
16052 int arg4
= (int) 0 ;
16053 wxScrollEvent
*result
;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 PyObject
* obj2
= 0 ;
16057 PyObject
* obj3
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16065 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16066 if (SWIG_arg_fail(1)) SWIG_fail
;
16071 arg2
= (int)(SWIG_As_int(obj1
));
16072 if (SWIG_arg_fail(2)) SWIG_fail
;
16077 arg3
= (int)(SWIG_As_int(obj2
));
16078 if (SWIG_arg_fail(3)) SWIG_fail
;
16083 arg4
= (int)(SWIG_As_int(obj3
));
16084 if (SWIG_arg_fail(4)) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16101 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16112 if (SWIG_arg_fail(1)) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16121 resultobj
= SWIG_From_int((int)(result
));
16129 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16133 PyObject
* obj0
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16140 if (SWIG_arg_fail(1)) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= SWIG_From_int((int)(result
));
16157 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self",(char *) "orient", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16169 if (SWIG_arg_fail(1)) SWIG_fail
;
16171 arg2
= (int)(SWIG_As_int(obj1
));
16172 if (SWIG_arg_fail(2)) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 (arg1
)->SetOrientation(arg2
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 Py_INCREF(Py_None
); resultobj
= Py_None
;
16188 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "self",(char *) "pos", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16200 if (SWIG_arg_fail(1)) SWIG_fail
;
16202 arg2
= (int)(SWIG_As_int(obj1
));
16203 if (SWIG_arg_fail(2)) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 (arg1
)->SetPosition(arg2
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 Py_INCREF(Py_None
); resultobj
= Py_None
;
16219 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16222 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16224 return Py_BuildValue((char *)"");
16226 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16229 int arg2
= (int) 0 ;
16230 int arg3
= (int) 0 ;
16231 wxScrollWinEvent
*result
;
16232 PyObject
* obj0
= 0 ;
16233 PyObject
* obj1
= 0 ;
16234 PyObject
* obj2
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16242 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16243 if (SWIG_arg_fail(1)) SWIG_fail
;
16248 arg2
= (int)(SWIG_As_int(obj1
));
16249 if (SWIG_arg_fail(2)) SWIG_fail
;
16254 arg3
= (int)(SWIG_As_int(obj2
));
16255 if (SWIG_arg_fail(3)) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16272 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16283 if (SWIG_arg_fail(1)) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_From_int((int)(result
));
16300 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16311 if (SWIG_arg_fail(1)) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_From_int((int)(result
));
16328 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 PyObject
* obj1
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self",(char *) "orient", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16340 if (SWIG_arg_fail(1)) SWIG_fail
;
16342 arg2
= (int)(SWIG_As_int(obj1
));
16343 if (SWIG_arg_fail(2)) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 (arg1
)->SetOrientation(arg2
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16352 Py_INCREF(Py_None
); resultobj
= Py_None
;
16359 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self",(char *) "pos", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16371 if (SWIG_arg_fail(1)) SWIG_fail
;
16373 arg2
= (int)(SWIG_As_int(obj1
));
16374 if (SWIG_arg_fail(2)) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 (arg1
)->SetPosition(arg2
);
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16393 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16395 return Py_BuildValue((char *)"");
16397 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16400 wxMouseEvent
*result
;
16401 PyObject
* obj0
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "mouseType", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16409 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16410 if (SWIG_arg_fail(1)) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= wxPyMake_wxObject(result
, 1);
16429 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16440 if (SWIG_arg_fail(1)) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16457 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16460 int arg2
= (int) wxMOUSE_BTN_ANY
;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self",(char *) "but", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16470 if (SWIG_arg_fail(1)) SWIG_fail
;
16473 arg2
= (int)(SWIG_As_int(obj1
));
16474 if (SWIG_arg_fail(2)) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16493 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16496 int arg2
= (int) wxMOUSE_BTN_ANY
;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self",(char *) "but", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16506 if (SWIG_arg_fail(1)) SWIG_fail
;
16509 arg2
= (int)(SWIG_As_int(obj1
));
16510 if (SWIG_arg_fail(2)) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16529 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16532 int arg2
= (int) wxMOUSE_BTN_ANY
;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "but", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16542 if (SWIG_arg_fail(1)) SWIG_fail
;
16545 arg2
= (int)(SWIG_As_int(obj1
));
16546 if (SWIG_arg_fail(2)) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16565 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "button", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16578 if (SWIG_arg_fail(1)) SWIG_fail
;
16580 arg2
= (int)(SWIG_As_int(obj1
));
16581 if (SWIG_arg_fail(2)) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16599 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self",(char *) "but", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16612 if (SWIG_arg_fail(1)) SWIG_fail
;
16614 arg2
= (int)(SWIG_As_int(obj1
));
16615 if (SWIG_arg_fail(2)) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16633 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16644 if (SWIG_arg_fail(1)) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= SWIG_From_int((int)(result
));
16661 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "self", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16672 if (SWIG_arg_fail(1)) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16689 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16693 PyObject
* obj0
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16717 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16728 if (SWIG_arg_fail(1)) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16745 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16756 if (SWIG_arg_fail(1)) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16773 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16801 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16812 if (SWIG_arg_fail(1)) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16829 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16840 if (SWIG_arg_fail(1)) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16857 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16861 PyObject
* obj0
= 0 ;
16862 char *kwnames
[] = {
16863 (char *) "self", NULL
16866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16868 if (SWIG_arg_fail(1)) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16885 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16896 if (SWIG_arg_fail(1)) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16913 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16941 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
;
16943 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16969 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16973 PyObject
* obj0
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "self", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16980 if (SWIG_arg_fail(1)) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16997 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
16999 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17001 PyObject
* obj0
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "self", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17008 if (SWIG_arg_fail(1)) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17025 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
;
17027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17029 PyObject
* obj0
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "self", NULL
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17036 if (SWIG_arg_fail(1)) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17053 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17057 PyObject
* obj0
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17064 if (SWIG_arg_fail(1)) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 result
= (bool)(arg1
)->LeftIsDown();
17069 wxPyEndAllowThreads(__tstate
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17081 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17092 if (SWIG_arg_fail(1)) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (bool)(arg1
)->MiddleIsDown();
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17109 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17113 PyObject
* obj0
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17120 if (SWIG_arg_fail(1)) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (bool)(arg1
)->RightIsDown();
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17137 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "self", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17165 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17193 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17204 if (SWIG_arg_fail(1)) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17221 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17232 if (SWIG_arg_fail(1)) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17249 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17253 PyObject
* obj0
= 0 ;
17254 char *kwnames
[] = {
17255 (char *) "self", NULL
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17260 if (SWIG_arg_fail(1)) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (arg1
)->GetPosition();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17269 wxPoint
* resultptr
;
17270 resultptr
= new wxPoint((wxPoint
&)(result
));
17271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17279 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17282 long *arg2
= (long *) 0 ;
17283 long *arg3
= (long *) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17294 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17297 if (SWIG_arg_fail(1)) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 (arg1
)->GetPosition(arg2
,arg3
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 Py_INCREF(Py_None
); resultobj
= Py_None
;
17306 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17307 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17308 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17309 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17316 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 PyObject
* obj1
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "self",(char *) "dc", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17329 if (SWIG_arg_fail(1)) SWIG_fail
;
17331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17332 if (SWIG_arg_fail(2)) SWIG_fail
;
17333 if (arg2
== NULL
) {
17334 SWIG_null_ref("wxDC");
17336 if (SWIG_arg_fail(2)) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 wxPoint
* resultptr
;
17347 resultptr
= new wxPoint((wxPoint
&)(result
));
17348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17356 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17367 if (SWIG_arg_fail(1)) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_From_int((int)(result
));
17384 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17395 if (SWIG_arg_fail(1)) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= SWIG_From_int((int)(result
));
17412 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17423 if (SWIG_arg_fail(1)) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= SWIG_From_int((int)(result
));
17440 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17442 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17444 PyObject
* obj0
= 0 ;
17445 char *kwnames
[] = {
17446 (char *) "self", NULL
17449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17451 if (SWIG_arg_fail(1)) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= SWIG_From_int((int)(result
));
17468 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17472 PyObject
* obj0
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "self", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17479 if (SWIG_arg_fail(1)) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= SWIG_From_int((int)(result
));
17496 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17500 PyObject
* obj0
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "self", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17507 if (SWIG_arg_fail(1)) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17524 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self",(char *) "m_x", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17536 if (SWIG_arg_fail(1)) SWIG_fail
;
17538 arg2
= (int)(SWIG_As_int(obj1
));
17539 if (SWIG_arg_fail(2)) SWIG_fail
;
17541 if (arg1
) (arg1
)->m_x
= arg2
;
17543 Py_INCREF(Py_None
); resultobj
= Py_None
;
17550 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17554 PyObject
* obj0
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17561 if (SWIG_arg_fail(1)) SWIG_fail
;
17562 result
= (int) ((arg1
)->m_x
);
17565 resultobj
= SWIG_From_int((int)(result
));
17573 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self",(char *) "m_y", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17585 if (SWIG_arg_fail(1)) SWIG_fail
;
17587 arg2
= (int)(SWIG_As_int(obj1
));
17588 if (SWIG_arg_fail(2)) SWIG_fail
;
17590 if (arg1
) (arg1
)->m_y
= arg2
;
17592 Py_INCREF(Py_None
); resultobj
= Py_None
;
17599 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17610 if (SWIG_arg_fail(1)) SWIG_fail
;
17611 result
= (int) ((arg1
)->m_y
);
17614 resultobj
= SWIG_From_int((int)(result
));
17622 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self",(char *) "m_leftDown", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17634 if (SWIG_arg_fail(1)) SWIG_fail
;
17636 arg2
= (bool)(SWIG_As_bool(obj1
));
17637 if (SWIG_arg_fail(2)) SWIG_fail
;
17639 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17641 Py_INCREF(Py_None
); resultobj
= Py_None
;
17648 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17659 if (SWIG_arg_fail(1)) SWIG_fail
;
17660 result
= (bool) ((arg1
)->m_leftDown
);
17663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17671 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self",(char *) "m_middleDown", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17683 if (SWIG_arg_fail(1)) SWIG_fail
;
17685 arg2
= (bool)(SWIG_As_bool(obj1
));
17686 if (SWIG_arg_fail(2)) SWIG_fail
;
17688 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17690 Py_INCREF(Py_None
); resultobj
= Py_None
;
17697 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17708 if (SWIG_arg_fail(1)) SWIG_fail
;
17709 result
= (bool) ((arg1
)->m_middleDown
);
17712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17720 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self",(char *) "m_rightDown", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17732 if (SWIG_arg_fail(1)) SWIG_fail
;
17734 arg2
= (bool)(SWIG_As_bool(obj1
));
17735 if (SWIG_arg_fail(2)) SWIG_fail
;
17737 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17739 Py_INCREF(Py_None
); resultobj
= Py_None
;
17746 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17750 PyObject
* obj0
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17757 if (SWIG_arg_fail(1)) SWIG_fail
;
17758 result
= (bool) ((arg1
)->m_rightDown
);
17761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17769 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "m_controlDown", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail
;
17783 arg2
= (bool)(SWIG_As_bool(obj1
));
17784 if (SWIG_arg_fail(2)) SWIG_fail
;
17786 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17788 Py_INCREF(Py_None
); resultobj
= Py_None
;
17795 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17806 if (SWIG_arg_fail(1)) SWIG_fail
;
17807 result
= (bool) ((arg1
)->m_controlDown
);
17810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17818 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "m_shiftDown", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17830 if (SWIG_arg_fail(1)) SWIG_fail
;
17832 arg2
= (bool)(SWIG_As_bool(obj1
));
17833 if (SWIG_arg_fail(2)) SWIG_fail
;
17835 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17837 Py_INCREF(Py_None
); resultobj
= Py_None
;
17844 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17848 PyObject
* obj0
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17855 if (SWIG_arg_fail(1)) SWIG_fail
;
17856 result
= (bool) ((arg1
)->m_shiftDown
);
17859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17867 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self",(char *) "m_altDown", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17879 if (SWIG_arg_fail(1)) SWIG_fail
;
17881 arg2
= (bool)(SWIG_As_bool(obj1
));
17882 if (SWIG_arg_fail(2)) SWIG_fail
;
17884 if (arg1
) (arg1
)->m_altDown
= arg2
;
17886 Py_INCREF(Py_None
); resultobj
= Py_None
;
17893 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17904 if (SWIG_arg_fail(1)) SWIG_fail
;
17905 result
= (bool) ((arg1
)->m_altDown
);
17908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17916 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self",(char *) "m_metaDown", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17928 if (SWIG_arg_fail(1)) SWIG_fail
;
17930 arg2
= (bool)(SWIG_As_bool(obj1
));
17931 if (SWIG_arg_fail(2)) SWIG_fail
;
17933 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17935 Py_INCREF(Py_None
); resultobj
= Py_None
;
17942 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17953 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 result
= (bool) ((arg1
)->m_metaDown
);
17957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17965 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "m_wheelRotation", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17977 if (SWIG_arg_fail(1)) SWIG_fail
;
17979 arg2
= (int)(SWIG_As_int(obj1
));
17980 if (SWIG_arg_fail(2)) SWIG_fail
;
17982 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17984 Py_INCREF(Py_None
); resultobj
= Py_None
;
17991 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18002 if (SWIG_arg_fail(1)) SWIG_fail
;
18003 result
= (int) ((arg1
)->m_wheelRotation
);
18006 resultobj
= SWIG_From_int((int)(result
));
18014 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "m_wheelDelta", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18026 if (SWIG_arg_fail(1)) SWIG_fail
;
18028 arg2
= (int)(SWIG_As_int(obj1
));
18029 if (SWIG_arg_fail(2)) SWIG_fail
;
18031 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18033 Py_INCREF(Py_None
); resultobj
= Py_None
;
18040 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18044 PyObject
* obj0
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail
;
18052 result
= (int) ((arg1
)->m_wheelDelta
);
18055 resultobj
= SWIG_From_int((int)(result
));
18063 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 char *kwnames
[] = {
18070 (char *) "self",(char *) "m_linesPerAction", NULL
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18075 if (SWIG_arg_fail(1)) SWIG_fail
;
18077 arg2
= (int)(SWIG_As_int(obj1
));
18078 if (SWIG_arg_fail(2)) SWIG_fail
;
18080 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18082 Py_INCREF(Py_None
); resultobj
= Py_None
;
18089 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18100 if (SWIG_arg_fail(1)) SWIG_fail
;
18101 result
= (int) ((arg1
)->m_linesPerAction
);
18104 resultobj
= SWIG_From_int((int)(result
));
18112 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18115 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18117 return Py_BuildValue((char *)"");
18119 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 int arg1
= (int) 0 ;
18122 int arg2
= (int) 0 ;
18123 wxSetCursorEvent
*result
;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "x",(char *) "y", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18133 arg1
= (int)(SWIG_As_int(obj0
));
18134 if (SWIG_arg_fail(1)) SWIG_fail
;
18139 arg2
= (int)(SWIG_As_int(obj1
));
18140 if (SWIG_arg_fail(2)) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18157 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18158 PyObject
*resultobj
;
18159 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18161 PyObject
* obj0
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18168 if (SWIG_arg_fail(1)) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_From_int((int)(result
));
18185 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18196 if (SWIG_arg_fail(1)) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= SWIG_From_int((int)(result
));
18213 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18216 wxCursor
*arg2
= 0 ;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self",(char *) "cursor", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18225 if (SWIG_arg_fail(1)) SWIG_fail
;
18227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18228 if (SWIG_arg_fail(2)) SWIG_fail
;
18229 if (arg2
== NULL
) {
18230 SWIG_null_ref("wxCursor");
18232 if (SWIG_arg_fail(2)) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 Py_INCREF(Py_None
); resultobj
= Py_None
;
18248 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
;
18250 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18252 PyObject
* obj0
= 0 ;
18253 char *kwnames
[] = {
18254 (char *) "self", NULL
18257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18259 if (SWIG_arg_fail(1)) SWIG_fail
;
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18264 result
= (wxCursor
*) &_result_ref
;
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 wxCursor
* resultptr
= new wxCursor(*result
);
18272 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18280 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18291 if (SWIG_arg_fail(1)) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18308 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18311 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18313 return Py_BuildValue((char *)"");
18315 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18318 wxKeyEvent
*result
;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "eventType", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18327 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18328 if (SWIG_arg_fail(1)) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18345 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
;
18347 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18349 PyObject
* obj0
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18356 if (SWIG_arg_fail(1)) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18373 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18384 if (SWIG_arg_fail(1)) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18401 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18412 if (SWIG_arg_fail(1)) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18429 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18457 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18485 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18496 if (SWIG_arg_fail(1)) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18513 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18517 PyObject
* obj0
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18524 if (SWIG_arg_fail(1)) SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_From_int((int)(result
));
18541 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
;
18543 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18545 PyObject
* obj0
= 0 ;
18546 char *kwnames
[] = {
18547 (char *) "self", NULL
18550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18552 if (SWIG_arg_fail(1)) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_From_int((int)(result
));
18569 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18572 unsigned int result
;
18573 PyObject
* obj0
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18597 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18600 unsigned int result
;
18601 PyObject
* obj0
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18608 if (SWIG_arg_fail(1)) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18625 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (arg1
)->GetPosition();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 wxPoint
* resultptr
;
18646 resultptr
= new wxPoint((wxPoint
&)(result
));
18647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18655 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18658 long *arg2
= (long *) 0 ;
18659 long *arg3
= (long *) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18670 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 (arg1
)->GetPosition(arg2
,arg3
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18682 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18683 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18684 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18685 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18692 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "self", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18703 if (SWIG_arg_fail(1)) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= SWIG_From_int((int)(result
));
18720 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18731 if (SWIG_arg_fail(1)) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_From_int((int)(result
));
18748 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "m_x", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18760 if (SWIG_arg_fail(1)) SWIG_fail
;
18762 arg2
= (int)(SWIG_As_int(obj1
));
18763 if (SWIG_arg_fail(2)) SWIG_fail
;
18765 if (arg1
) (arg1
)->m_x
= arg2
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail
;
18786 result
= (int) ((arg1
)->m_x
);
18789 resultobj
= SWIG_From_int((int)(result
));
18797 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "m_y", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18809 if (SWIG_arg_fail(1)) SWIG_fail
;
18811 arg2
= (int)(SWIG_As_int(obj1
));
18812 if (SWIG_arg_fail(2)) SWIG_fail
;
18814 if (arg1
) (arg1
)->m_y
= arg2
;
18816 Py_INCREF(Py_None
); resultobj
= Py_None
;
18823 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail
;
18835 result
= (int) ((arg1
)->m_y
);
18838 resultobj
= SWIG_From_int((int)(result
));
18846 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self",(char *) "m_keyCode", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail
;
18860 arg2
= (long)(SWIG_As_long(obj1
));
18861 if (SWIG_arg_fail(2)) SWIG_fail
;
18863 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18865 Py_INCREF(Py_None
); resultobj
= Py_None
;
18872 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail
;
18884 result
= (long) ((arg1
)->m_keyCode
);
18887 resultobj
= SWIG_From_long((long)(result
));
18895 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self",(char *) "m_controlDown", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail
;
18909 arg2
= (bool)(SWIG_As_bool(obj1
));
18910 if (SWIG_arg_fail(2)) SWIG_fail
;
18912 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18914 Py_INCREF(Py_None
); resultobj
= Py_None
;
18921 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail
;
18933 result
= (bool) ((arg1
)->m_controlDown
);
18936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18944 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj1
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self",(char *) "m_shiftDown", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18956 if (SWIG_arg_fail(1)) SWIG_fail
;
18958 arg2
= (bool)(SWIG_As_bool(obj1
));
18959 if (SWIG_arg_fail(2)) SWIG_fail
;
18961 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18963 Py_INCREF(Py_None
); resultobj
= Py_None
;
18970 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18981 if (SWIG_arg_fail(1)) SWIG_fail
;
18982 result
= (bool) ((arg1
)->m_shiftDown
);
18985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18993 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self",(char *) "m_altDown", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19005 if (SWIG_arg_fail(1)) SWIG_fail
;
19007 arg2
= (bool)(SWIG_As_bool(obj1
));
19008 if (SWIG_arg_fail(2)) SWIG_fail
;
19010 if (arg1
) (arg1
)->m_altDown
= arg2
;
19012 Py_INCREF(Py_None
); resultobj
= Py_None
;
19019 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19030 if (SWIG_arg_fail(1)) SWIG_fail
;
19031 result
= (bool) ((arg1
)->m_altDown
);
19034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19042 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self",(char *) "m_metaDown", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19054 if (SWIG_arg_fail(1)) SWIG_fail
;
19056 arg2
= (bool)(SWIG_As_bool(obj1
));
19057 if (SWIG_arg_fail(2)) SWIG_fail
;
19059 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19061 Py_INCREF(Py_None
); resultobj
= Py_None
;
19068 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail
;
19080 result
= (bool) ((arg1
)->m_metaDown
);
19083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19091 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self",(char *) "m_scanCode", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail
;
19105 arg2
= (bool)(SWIG_As_bool(obj1
));
19106 if (SWIG_arg_fail(2)) SWIG_fail
;
19108 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19110 Py_INCREF(Py_None
); resultobj
= Py_None
;
19117 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19128 if (SWIG_arg_fail(1)) SWIG_fail
;
19129 result
= (bool) ((arg1
)->m_scanCode
);
19132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19140 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19143 unsigned int arg2
;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "m_rawCode", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19152 if (SWIG_arg_fail(1)) SWIG_fail
;
19154 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19155 if (SWIG_arg_fail(2)) SWIG_fail
;
19157 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19169 unsigned int result
;
19170 PyObject
* obj0
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19177 if (SWIG_arg_fail(1)) SWIG_fail
;
19178 result
= (unsigned int) ((arg1
)->m_rawCode
);
19181 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19189 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19192 unsigned int arg2
;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self",(char *) "m_rawFlags", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail
;
19203 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19204 if (SWIG_arg_fail(2)) SWIG_fail
;
19206 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19208 Py_INCREF(Py_None
); resultobj
= Py_None
;
19215 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19218 unsigned int result
;
19219 PyObject
* obj0
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "self", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19226 if (SWIG_arg_fail(1)) SWIG_fail
;
19227 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19230 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19238 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19241 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19243 return Py_BuildValue((char *)"");
19245 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19248 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19249 int arg2
= (int) 0 ;
19250 wxSizeEvent
*result
;
19252 PyObject
* obj0
= 0 ;
19253 PyObject
* obj1
= 0 ;
19254 char *kwnames
[] = {
19255 (char *) "sz",(char *) "winid", NULL
19258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19262 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19267 arg2
= (int)(SWIG_As_int(obj1
));
19268 if (SWIG_arg_fail(2)) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19285 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19296 if (SWIG_arg_fail(1)) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19305 wxSize
* resultptr
;
19306 resultptr
= new wxSize((wxSize
&)(result
));
19307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19315 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19319 PyObject
* obj0
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19326 if (SWIG_arg_fail(1)) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19335 wxRect
* resultptr
;
19336 resultptr
= new wxRect((wxRect
&)(result
));
19337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19345 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self",(char *) "rect", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19357 if (SWIG_arg_fail(1)) SWIG_fail
;
19360 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19361 if (SWIG_arg_fail(2)) SWIG_fail
;
19362 if (argp
== NULL
) {
19363 SWIG_null_ref("wxRect");
19365 if (SWIG_arg_fail(2)) SWIG_fail
;
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 (arg1
)->SetRect(arg2
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 Py_INCREF(Py_None
); resultobj
= Py_None
;
19382 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self",(char *) "size", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19394 if (SWIG_arg_fail(1)) SWIG_fail
;
19397 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19398 if (SWIG_arg_fail(2)) SWIG_fail
;
19399 if (argp
== NULL
) {
19400 SWIG_null_ref("wxSize");
19402 if (SWIG_arg_fail(2)) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 wxSizeEvent_SetSize(arg1
,arg2
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19422 wxSize
*arg2
= (wxSize
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self",(char *) "m_size", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19431 if (SWIG_arg_fail(1)) SWIG_fail
;
19432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19433 if (SWIG_arg_fail(2)) SWIG_fail
;
19434 if (arg1
) (arg1
)->m_size
= *arg2
;
19436 Py_INCREF(Py_None
); resultobj
= Py_None
;
19443 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19454 if (SWIG_arg_fail(1)) SWIG_fail
;
19455 result
= (wxSize
*)& ((arg1
)->m_size
);
19457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19464 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19467 wxRect
*arg2
= (wxRect
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "m_rect", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19476 if (SWIG_arg_fail(1)) SWIG_fail
;
19477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19478 if (SWIG_arg_fail(2)) SWIG_fail
;
19479 if (arg1
) (arg1
)->m_rect
= *arg2
;
19481 Py_INCREF(Py_None
); resultobj
= Py_None
;
19488 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19499 if (SWIG_arg_fail(1)) SWIG_fail
;
19500 result
= (wxRect
*)& ((arg1
)->m_rect
);
19502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19509 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19512 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19514 return Py_BuildValue((char *)"");
19516 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19519 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19520 int arg2
= (int) 0 ;
19521 wxMoveEvent
*result
;
19523 PyObject
* obj0
= 0 ;
19524 PyObject
* obj1
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "pos",(char *) "winid", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19533 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19538 arg2
= (int)(SWIG_As_int(obj1
));
19539 if (SWIG_arg_fail(2)) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19556 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19560 PyObject
* obj0
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19567 if (SWIG_arg_fail(1)) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19576 wxPoint
* resultptr
;
19577 resultptr
= new wxPoint((wxPoint
&)(result
));
19578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19586 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19597 if (SWIG_arg_fail(1)) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19606 wxRect
* resultptr
;
19607 resultptr
= new wxRect((wxRect
&)(result
));
19608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19616 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self",(char *) "rect", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19629 if (SWIG_arg_fail(1)) SWIG_fail
;
19632 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 (arg1
)->SetRect((wxRect
const &)*arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 Py_INCREF(Py_None
); resultobj
= Py_None
;
19648 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19651 wxPoint
*arg2
= 0 ;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self",(char *) "pos", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19661 if (SWIG_arg_fail(1)) SWIG_fail
;
19664 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19673 Py_INCREF(Py_None
); resultobj
= Py_None
;
19680 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19683 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19685 return Py_BuildValue((char *)"");
19687 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 int arg1
= (int) 0 ;
19690 wxPaintEvent
*result
;
19691 PyObject
* obj0
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "Id", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19699 arg1
= (int)(SWIG_As_int(obj0
));
19700 if (SWIG_arg_fail(1)) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19717 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19720 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19722 return Py_BuildValue((char *)"");
19724 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 int arg1
= (int) 0 ;
19727 wxNcPaintEvent
*result
;
19728 PyObject
* obj0
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "winid", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19736 arg1
= (int)(SWIG_As_int(obj0
));
19737 if (SWIG_arg_fail(1)) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19754 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19757 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19759 return Py_BuildValue((char *)"");
19761 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 int arg1
= (int) 0 ;
19764 wxDC
*arg2
= (wxDC
*) NULL
;
19765 wxEraseEvent
*result
;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "Id",(char *) "dc", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19775 arg1
= (int)(SWIG_As_int(obj0
));
19776 if (SWIG_arg_fail(1)) SWIG_fail
;
19780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19781 if (SWIG_arg_fail(2)) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19797 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19801 PyObject
* obj0
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= wxPyMake_wxObject(result
, 0);
19825 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19828 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19830 return Py_BuildValue((char *)"");
19832 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19835 int arg2
= (int) 0 ;
19836 wxFocusEvent
*result
;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "type",(char *) "winid", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19846 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19847 if (SWIG_arg_fail(1)) SWIG_fail
;
19852 arg2
= (int)(SWIG_As_int(obj1
));
19853 if (SWIG_arg_fail(2)) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19870 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19881 if (SWIG_arg_fail(1)) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= wxPyMake_wxObject(result
, 0);
19898 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19901 wxWindow
*arg2
= (wxWindow
*) 0 ;
19902 PyObject
* obj0
= 0 ;
19903 PyObject
* obj1
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self",(char *) "win", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19910 if (SWIG_arg_fail(1)) SWIG_fail
;
19911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19912 if (SWIG_arg_fail(2)) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 (arg1
)->SetWindow(arg2
);
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 Py_INCREF(Py_None
); resultobj
= Py_None
;
19927 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19930 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19932 return Py_BuildValue((char *)"");
19934 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxWindow
*arg1
= (wxWindow
*) NULL
;
19937 wxChildFocusEvent
*result
;
19938 PyObject
* obj0
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "win", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19946 if (SWIG_arg_fail(1)) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19962 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19966 PyObject
* obj0
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19973 if (SWIG_arg_fail(1)) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= wxPyMake_wxObject(result
, 0);
19990 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19993 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19995 return Py_BuildValue((char *)"");
19997 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20000 bool arg2
= (bool) true ;
20001 int arg3
= (int) 0 ;
20002 wxActivateEvent
*result
;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 PyObject
* obj2
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "type",(char *) "active",(char *) "Id", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20013 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20014 if (SWIG_arg_fail(1)) SWIG_fail
;
20019 arg2
= (bool)(SWIG_As_bool(obj1
));
20020 if (SWIG_arg_fail(2)) SWIG_fail
;
20025 arg3
= (int)(SWIG_As_int(obj2
));
20026 if (SWIG_arg_fail(3)) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20043 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20045 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20071 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20074 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20076 return Py_BuildValue((char *)"");
20078 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 int arg1
= (int) 0 ;
20081 wxInitDialogEvent
*result
;
20082 PyObject
* obj0
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "Id", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20090 arg1
= (int)(SWIG_As_int(obj0
));
20091 if (SWIG_arg_fail(1)) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20108 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20111 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20113 return Py_BuildValue((char *)"");
20115 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20118 int arg2
= (int) 0 ;
20119 wxMenu
*arg3
= (wxMenu
*) NULL
;
20120 wxMenuEvent
*result
;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 PyObject
* obj2
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "type",(char *) "winid",(char *) "menu", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20131 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20132 if (SWIG_arg_fail(1)) SWIG_fail
;
20137 arg2
= (int)(SWIG_As_int(obj1
));
20138 if (SWIG_arg_fail(2)) SWIG_fail
;
20142 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20143 if (SWIG_arg_fail(3)) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20159 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20170 if (SWIG_arg_fail(1)) SWIG_fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= SWIG_From_int((int)(result
));
20187 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20198 if (SWIG_arg_fail(1)) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20215 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
;
20217 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20219 PyObject
* obj0
= 0 ;
20220 char *kwnames
[] = {
20221 (char *) "self", NULL
20224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20226 if (SWIG_arg_fail(1)) SWIG_fail
;
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= wxPyMake_wxObject(result
, 0);
20243 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20246 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20248 return Py_BuildValue((char *)"");
20250 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20252 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20253 int arg2
= (int) 0 ;
20254 wxCloseEvent
*result
;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "type",(char *) "winid", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20264 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20265 if (SWIG_arg_fail(1)) SWIG_fail
;
20270 arg2
= (int)(SWIG_As_int(obj1
));
20271 if (SWIG_arg_fail(2)) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20288 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self",(char *) "logOff", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail
;
20302 arg2
= (bool)(SWIG_As_bool(obj1
));
20303 if (SWIG_arg_fail(2)) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->SetLoggingOff(arg2
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 Py_INCREF(Py_None
); resultobj
= Py_None
;
20319 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20330 if (SWIG_arg_fail(1)) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20347 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20350 bool arg2
= (bool) true ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self",(char *) "veto", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20359 if (SWIG_arg_fail(1)) SWIG_fail
;
20362 arg2
= (bool)(SWIG_As_bool(obj1
));
20363 if (SWIG_arg_fail(2)) SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 (arg1
)->Veto(arg2
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 Py_INCREF(Py_None
); resultobj
= Py_None
;
20380 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20408 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self",(char *) "canVeto", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20420 if (SWIG_arg_fail(1)) SWIG_fail
;
20422 arg2
= (bool)(SWIG_As_bool(obj1
));
20423 if (SWIG_arg_fail(2)) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 (arg1
)->SetCanVeto(arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 Py_INCREF(Py_None
); resultobj
= Py_None
;
20439 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self", NULL
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20450 if (SWIG_arg_fail(1)) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20467 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20470 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20472 return Py_BuildValue((char *)"");
20474 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
;
20476 int arg1
= (int) 0 ;
20477 bool arg2
= (bool) false ;
20478 wxShowEvent
*result
;
20479 PyObject
* obj0
= 0 ;
20480 PyObject
* obj1
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "winid",(char *) "show", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20488 arg1
= (int)(SWIG_As_int(obj0
));
20489 if (SWIG_arg_fail(1)) SWIG_fail
;
20494 arg2
= (bool)(SWIG_As_bool(obj1
));
20495 if (SWIG_arg_fail(2)) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20512 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self",(char *) "show", NULL
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20524 if (SWIG_arg_fail(1)) SWIG_fail
;
20526 arg2
= (bool)(SWIG_As_bool(obj1
));
20527 if (SWIG_arg_fail(2)) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 (arg1
)->SetShow(arg2
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 Py_INCREF(Py_None
); resultobj
= Py_None
;
20543 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20545 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20547 PyObject
* obj0
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20554 if (SWIG_arg_fail(1)) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20571 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20574 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20576 return Py_BuildValue((char *)"");
20578 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
;
20580 int arg1
= (int) 0 ;
20581 bool arg2
= (bool) true ;
20582 wxIconizeEvent
*result
;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "id",(char *) "iconized", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20592 arg1
= (int)(SWIG_As_int(obj0
));
20593 if (SWIG_arg_fail(1)) SWIG_fail
;
20598 arg2
= (bool)(SWIG_As_bool(obj1
));
20599 if (SWIG_arg_fail(2)) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20616 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 char *kwnames
[] = {
20622 (char *) "self", NULL
20625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20627 if (SWIG_arg_fail(1)) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 result
= (bool)(arg1
)->Iconized();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20644 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20647 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20649 return Py_BuildValue((char *)"");
20651 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 int arg1
= (int) 0 ;
20654 wxMaximizeEvent
*result
;
20655 PyObject
* obj0
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "id", NULL
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20663 arg1
= (int)(SWIG_As_int(obj0
));
20664 if (SWIG_arg_fail(1)) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20681 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20684 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20686 return Py_BuildValue((char *)"");
20688 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
;
20690 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20699 if (SWIG_arg_fail(1)) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= (arg1
)->GetPosition();
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20708 wxPoint
* resultptr
;
20709 resultptr
= new wxPoint((wxPoint
&)(result
));
20710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20718 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20729 if (SWIG_arg_fail(1)) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 result
= (int)(arg1
)->GetNumberOfFiles();
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= SWIG_From_int((int)(result
));
20746 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
;
20748 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20750 PyObject
* obj0
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "self", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20757 if (SWIG_arg_fail(1)) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= result
;
20772 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20775 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20777 return Py_BuildValue((char *)"");
20779 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 int arg1
= (int) 0 ;
20782 wxUpdateUIEvent
*result
;
20783 PyObject
* obj0
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "commandId", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20791 arg1
= (int)(SWIG_As_int(obj0
));
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20809 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20820 if (SWIG_arg_fail(1)) SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20837 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20848 if (SWIG_arg_fail(1)) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20865 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
;
20867 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20869 PyObject
* obj0
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "self", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20876 if (SWIG_arg_fail(1)) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20897 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20901 PyObject
* obj0
= 0 ;
20902 char *kwnames
[] = {
20903 (char *) "self", NULL
20906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20908 if (SWIG_arg_fail(1)) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20925 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20936 if (SWIG_arg_fail(1)) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20953 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20964 if (SWIG_arg_fail(1)) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20981 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self",(char *) "check", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail
;
20995 arg2
= (bool)(SWIG_As_bool(obj1
));
20996 if (SWIG_arg_fail(2)) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 (arg1
)->Check(arg2
);
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 Py_INCREF(Py_None
); resultobj
= Py_None
;
21012 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 PyObject
* obj1
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self",(char *) "enable", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21024 if (SWIG_arg_fail(1)) SWIG_fail
;
21026 arg2
= (bool)(SWIG_As_bool(obj1
));
21027 if (SWIG_arg_fail(2)) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 (arg1
)->Enable(arg2
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 Py_INCREF(Py_None
); resultobj
= Py_None
;
21043 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21046 wxString
*arg2
= 0 ;
21047 bool temp2
= false ;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "self",(char *) "text", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail
;
21058 arg2
= wxString_in_helper(obj1
);
21059 if (arg2
== NULL
) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 (arg1
)->SetText((wxString
const &)*arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 Py_INCREF(Py_None
); resultobj
= Py_None
;
21084 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21087 PyObject
* obj0
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "updateInterval", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21094 arg1
= (long)(SWIG_As_long(obj0
));
21095 if (SWIG_arg_fail(1)) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 Py_INCREF(Py_None
); resultobj
= Py_None
;
21111 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21114 char *kwnames
[] = {
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_From_long((long)(result
));
21135 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxWindow
*arg1
= (wxWindow
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "win", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21146 if (SWIG_arg_fail(1)) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21163 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 char *kwnames
[] = {
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 wxUpdateUIEvent::ResetUpdateTime();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 Py_INCREF(Py_None
); resultobj
= Py_None
;
21184 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxUpdateUIMode arg1
;
21187 PyObject
* obj0
= 0 ;
21188 char *kwnames
[] = {
21189 (char *) "mode", NULL
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21194 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21195 if (SWIG_arg_fail(1)) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 Py_INCREF(Py_None
); resultobj
= Py_None
;
21211 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21213 wxUpdateUIMode result
;
21214 char *kwnames
[] = {
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= SWIG_From_int((result
));
21233 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21236 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21238 return Py_BuildValue((char *)"");
21240 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxSysColourChangedEvent
*result
;
21243 char *kwnames
[] = {
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21262 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21265 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21267 return Py_BuildValue((char *)"");
21269 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 int arg1
= (int) 0 ;
21272 wxWindow
*arg2
= (wxWindow
*) NULL
;
21273 wxMouseCaptureChangedEvent
*result
;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "winid",(char *) "gainedCapture", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21283 arg1
= (int)(SWIG_As_int(obj0
));
21284 if (SWIG_arg_fail(1)) SWIG_fail
;
21288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21289 if (SWIG_arg_fail(2)) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21305 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21307 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21309 PyObject
* obj0
= 0 ;
21310 char *kwnames
[] = {
21311 (char *) "self", NULL
21314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21316 if (SWIG_arg_fail(1)) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= wxPyMake_wxObject(result
, 0);
21333 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21336 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21338 return Py_BuildValue((char *)"");
21340 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxDisplayChangedEvent
*result
;
21343 char *kwnames
[] = {
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21362 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21365 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21367 return Py_BuildValue((char *)"");
21369 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 int arg1
= (int) 0 ;
21372 wxPaletteChangedEvent
*result
;
21373 PyObject
* obj0
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "id", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21381 arg1
= (int)(SWIG_As_int(obj0
));
21382 if (SWIG_arg_fail(1)) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21399 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21402 wxWindow
*arg2
= (wxWindow
*) 0 ;
21403 PyObject
* obj0
= 0 ;
21404 PyObject
* obj1
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "self",(char *) "win", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21411 if (SWIG_arg_fail(1)) SWIG_fail
;
21412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21413 if (SWIG_arg_fail(2)) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 (arg1
)->SetChangedWindow(arg2
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 Py_INCREF(Py_None
); resultobj
= Py_None
;
21428 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
;
21430 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21432 PyObject
* obj0
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21439 if (SWIG_arg_fail(1)) SWIG_fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= wxPyMake_wxObject(result
, 0);
21456 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21459 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21461 return Py_BuildValue((char *)"");
21463 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 int arg1
= (int) 0 ;
21466 wxQueryNewPaletteEvent
*result
;
21467 PyObject
* obj0
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "winid", NULL
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21475 arg1
= (int)(SWIG_As_int(obj0
));
21476 if (SWIG_arg_fail(1)) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21493 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self",(char *) "realized", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21505 if (SWIG_arg_fail(1)) SWIG_fail
;
21507 arg2
= (bool)(SWIG_As_bool(obj1
));
21508 if (SWIG_arg_fail(2)) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 (arg1
)->SetPaletteRealized(arg2
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 Py_INCREF(Py_None
); resultobj
= Py_None
;
21524 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
;
21526 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21528 PyObject
* obj0
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21535 if (SWIG_arg_fail(1)) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21552 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21555 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21557 return Py_BuildValue((char *)"");
21559 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxNavigationKeyEvent
*result
;
21562 char *kwnames
[] = {
21566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21581 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21592 if (SWIG_arg_fail(1)) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21609 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21610 PyObject
*resultobj
;
21611 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21613 PyObject
* obj0
= 0 ;
21614 PyObject
* obj1
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self",(char *) "forward", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail
;
21623 arg2
= (bool)(SWIG_As_bool(obj1
));
21624 if (SWIG_arg_fail(2)) SWIG_fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 (arg1
)->SetDirection(arg2
);
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 Py_INCREF(Py_None
); resultobj
= Py_None
;
21640 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21668 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
;
21670 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21672 PyObject
* obj0
= 0 ;
21673 PyObject
* obj1
= 0 ;
21674 char *kwnames
[] = {
21675 (char *) "self",(char *) "ischange", NULL
21678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21680 if (SWIG_arg_fail(1)) SWIG_fail
;
21682 arg2
= (bool)(SWIG_As_bool(obj1
));
21683 if (SWIG_arg_fail(2)) SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 (arg1
)->SetWindowChange(arg2
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 Py_INCREF(Py_None
); resultobj
= Py_None
;
21699 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21700 PyObject
*resultobj
;
21701 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21703 PyObject
* obj0
= 0 ;
21704 char *kwnames
[] = {
21705 (char *) "self", NULL
21708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21710 if (SWIG_arg_fail(1)) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21727 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
;
21729 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21731 PyObject
* obj0
= 0 ;
21732 PyObject
* obj1
= 0 ;
21733 char *kwnames
[] = {
21734 (char *) "self",(char *) "bIs", NULL
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21739 if (SWIG_arg_fail(1)) SWIG_fail
;
21741 arg2
= (bool)(SWIG_As_bool(obj1
));
21742 if (SWIG_arg_fail(2)) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 (arg1
)->SetFromTab(arg2
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 Py_INCREF(Py_None
); resultobj
= Py_None
;
21758 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
;
21760 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "flags", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21770 if (SWIG_arg_fail(1)) SWIG_fail
;
21772 arg2
= (long)(SWIG_As_long(obj1
));
21773 if (SWIG_arg_fail(2)) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 (arg1
)->SetFlags(arg2
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 Py_INCREF(Py_None
); resultobj
= Py_None
;
21789 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21793 PyObject
* obj0
= 0 ;
21794 char *kwnames
[] = {
21795 (char *) "self", NULL
21798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21800 if (SWIG_arg_fail(1)) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= wxPyMake_wxObject(result
, 0);
21817 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
;
21819 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21820 wxWindow
*arg2
= (wxWindow
*) 0 ;
21821 PyObject
* obj0
= 0 ;
21822 PyObject
* obj1
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self",(char *) "win", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21829 if (SWIG_arg_fail(1)) SWIG_fail
;
21830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21831 if (SWIG_arg_fail(2)) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->SetCurrentFocus(arg2
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 Py_INCREF(Py_None
); resultobj
= Py_None
;
21846 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21849 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21851 return Py_BuildValue((char *)"");
21853 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxWindow
*arg1
= (wxWindow
*) NULL
;
21856 wxWindowCreateEvent
*result
;
21857 PyObject
* obj0
= 0 ;
21858 char *kwnames
[] = {
21859 (char *) "win", NULL
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21865 if (SWIG_arg_fail(1)) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21881 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21892 if (SWIG_arg_fail(1)) SWIG_fail
;
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21897 wxPyEndAllowThreads(__tstate
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21901 resultobj
= wxPyMake_wxObject(result
, 0);
21909 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21912 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21914 return Py_BuildValue((char *)"");
21916 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxWindow
*arg1
= (wxWindow
*) NULL
;
21919 wxWindowDestroyEvent
*result
;
21920 PyObject
* obj0
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "win", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21928 if (SWIG_arg_fail(1)) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21944 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 char *kwnames
[] = {
21950 (char *) "self", NULL
21953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21955 if (SWIG_arg_fail(1)) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= wxPyMake_wxObject(result
, 0);
21972 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21975 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21977 return Py_BuildValue((char *)"");
21979 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21982 int arg2
= (int) 0 ;
21983 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21984 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21985 wxContextMenuEvent
*result
;
21987 PyObject
* obj0
= 0 ;
21988 PyObject
* obj1
= 0 ;
21989 PyObject
* obj2
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "type",(char *) "winid",(char *) "pt", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21997 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21998 if (SWIG_arg_fail(1)) SWIG_fail
;
22003 arg2
= (int)(SWIG_As_int(obj1
));
22004 if (SWIG_arg_fail(2)) SWIG_fail
;
22010 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22027 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22038 if (SWIG_arg_fail(1)) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22043 result
= (wxPoint
*) &_result_ref
;
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22056 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22058 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22059 wxPoint
*arg2
= 0 ;
22061 PyObject
* obj0
= 0 ;
22062 PyObject
* obj1
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self",(char *) "pos", NULL
22067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22069 if (SWIG_arg_fail(1)) SWIG_fail
;
22072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 Py_INCREF(Py_None
); resultobj
= Py_None
;
22088 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22091 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22093 return Py_BuildValue((char *)"");
22095 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22097 wxIdleEvent
*result
;
22098 char *kwnames
[] = {
22102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (wxIdleEvent
*)new wxIdleEvent();
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22117 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
;
22119 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22120 bool arg2
= (bool) true ;
22121 PyObject
* obj0
= 0 ;
22122 PyObject
* obj1
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self",(char *) "needMore", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22129 if (SWIG_arg_fail(1)) SWIG_fail
;
22132 arg2
= (bool)(SWIG_As_bool(obj1
));
22133 if (SWIG_arg_fail(2)) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 (arg1
)->RequestMore(arg2
);
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 Py_INCREF(Py_None
); resultobj
= Py_None
;
22150 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22161 if (SWIG_arg_fail(1)) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22178 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22181 PyObject
* obj0
= 0 ;
22182 char *kwnames
[] = {
22183 (char *) "mode", NULL
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22188 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22189 if (SWIG_arg_fail(1)) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 Py_INCREF(Py_None
); resultobj
= Py_None
;
22205 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22208 char *kwnames
[] = {
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_From_int((result
));
22227 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxWindow
*arg1
= (wxWindow
*) 0 ;
22231 PyObject
* obj0
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "win", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22238 if (SWIG_arg_fail(1)) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (bool)wxIdleEvent::CanSend(arg1
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22255 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22258 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22260 return Py_BuildValue((char *)"");
22262 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 int arg1
= (int) 0 ;
22265 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 char *kwnames
[] = {
22270 (char *) "winid",(char *) "eventType", NULL
22273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22276 arg1
= (int)(SWIG_As_int(obj0
));
22277 if (SWIG_arg_fail(1)) SWIG_fail
;
22282 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22283 if (SWIG_arg_fail(2)) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22300 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22310 if (SWIG_arg_fail(1)) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 Py_INCREF(Py_None
); resultobj
= Py_None
;
22325 static PyObject
*_wrap_PyEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22328 PyObject
*arg2
= (PyObject
*) 0 ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self",(char *) "self", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22337 if (SWIG_arg_fail(1)) SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 (arg1
)->SetSelf(arg2
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 Py_INCREF(Py_None
); resultobj
= Py_None
;
22353 static PyObject
*_wrap_PyEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22364 if (SWIG_arg_fail(1)) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= (PyObject
*)(arg1
)->GetSelf();
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= result
;
22379 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22382 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22384 return Py_BuildValue((char *)"");
22386 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22389 int arg2
= (int) 0 ;
22390 wxPyCommandEvent
*result
;
22391 PyObject
* obj0
= 0 ;
22392 PyObject
* obj1
= 0 ;
22393 char *kwnames
[] = {
22394 (char *) "eventType",(char *) "id", NULL
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22401 if (SWIG_arg_fail(1)) SWIG_fail
;
22406 arg2
= (int)(SWIG_As_int(obj1
));
22407 if (SWIG_arg_fail(2)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22424 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22434 if (SWIG_arg_fail(1)) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22449 static PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22452 PyObject
*arg2
= (PyObject
*) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 PyObject
* obj1
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self",(char *) "self", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22461 if (SWIG_arg_fail(1)) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 (arg1
)->SetSelf(arg2
);
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 Py_INCREF(Py_None
); resultobj
= Py_None
;
22477 static PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22479 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (PyObject
*)(arg1
)->GetSelf();
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= result
;
22503 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22506 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22508 return Py_BuildValue((char *)"");
22510 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxWindow
*arg1
= (wxWindow
*) 0 ;
22513 wxDateTime
*arg2
= 0 ;
22515 wxDateEvent
*result
;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 PyObject
* obj2
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "win",(char *) "dt",(char *) "type", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22525 if (SWIG_arg_fail(1)) SWIG_fail
;
22527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22528 if (SWIG_arg_fail(2)) SWIG_fail
;
22529 if (arg2
== NULL
) {
22530 SWIG_null_ref("wxDateTime");
22532 if (SWIG_arg_fail(2)) SWIG_fail
;
22535 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22536 if (SWIG_arg_fail(3)) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22552 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22555 wxDateTime
*result
;
22556 PyObject
* obj0
= 0 ;
22557 char *kwnames
[] = {
22558 (char *) "self", NULL
22561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail
;
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22568 result
= (wxDateTime
*) &_result_ref
;
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22581 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22584 wxDateTime
*arg2
= 0 ;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "date", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22593 if (SWIG_arg_fail(1)) SWIG_fail
;
22595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22596 if (SWIG_arg_fail(2)) SWIG_fail
;
22597 if (arg2
== NULL
) {
22598 SWIG_null_ref("wxDateTime");
22600 if (SWIG_arg_fail(2)) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 Py_INCREF(Py_None
); resultobj
= Py_None
;
22616 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22619 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22621 return Py_BuildValue((char *)"");
22623 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
;
22626 char *kwnames
[] = {
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 result
= (wxPyApp
*)new_wxPyApp();
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22645 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22648 PyObject
* obj0
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22655 if (SWIG_arg_fail(1)) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 Py_INCREF(Py_None
); resultobj
= Py_None
;
22670 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22673 PyObject
*arg2
= (PyObject
*) 0 ;
22674 PyObject
*arg3
= (PyObject
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 PyObject
* obj2
= 0 ;
22679 PyObject
* obj3
= 0 ;
22680 char *kwnames
[] = {
22681 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22686 if (SWIG_arg_fail(1)) SWIG_fail
;
22690 arg4
= (bool)(SWIG_As_bool(obj3
));
22691 if (SWIG_arg_fail(4)) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 Py_INCREF(Py_None
); resultobj
= Py_None
;
22707 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22718 if (SWIG_arg_fail(1)) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22739 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22742 wxString
*arg2
= 0 ;
22743 bool temp2
= false ;
22744 PyObject
* obj0
= 0 ;
22745 PyObject
* obj1
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "self",(char *) "name", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22752 if (SWIG_arg_fail(1)) SWIG_fail
;
22754 arg2
= wxString_in_helper(obj1
);
22755 if (arg2
== NULL
) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 (arg1
)->SetAppName((wxString
const &)*arg2
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 Py_INCREF(Py_None
); resultobj
= Py_None
;
22780 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "self", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22791 if (SWIG_arg_fail(1)) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22812 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22815 wxString
*arg2
= 0 ;
22816 bool temp2
= false ;
22817 PyObject
* obj0
= 0 ;
22818 PyObject
* obj1
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self",(char *) "name", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22825 if (SWIG_arg_fail(1)) SWIG_fail
;
22827 arg2
= wxString_in_helper(obj1
);
22828 if (arg2
== NULL
) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 (arg1
)->SetClassName((wxString
const &)*arg2
);
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 Py_INCREF(Py_None
); resultobj
= Py_None
;
22853 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22857 PyObject
* obj0
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22864 if (SWIG_arg_fail(1)) SWIG_fail
;
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22869 result
= (wxString
*) &_result_ref
;
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22879 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22888 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
;
22890 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22891 wxString
*arg2
= 0 ;
22892 bool temp2
= false ;
22893 PyObject
* obj0
= 0 ;
22894 PyObject
* obj1
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self",(char *) "name", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22901 if (SWIG_arg_fail(1)) SWIG_fail
;
22903 arg2
= wxString_in_helper(obj1
);
22904 if (arg2
== NULL
) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 Py_INCREF(Py_None
); resultobj
= Py_None
;
22929 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22932 wxAppTraits
*result
;
22933 PyObject
* obj0
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22955 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22958 PyObject
* obj0
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22965 if (SWIG_arg_fail(1)) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 (arg1
)->ProcessPendingEvents();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 Py_INCREF(Py_None
); resultobj
= Py_None
;
22980 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
;
22982 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22983 bool arg2
= (bool) false ;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self",(char *) "onlyIfNeeded", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22993 if (SWIG_arg_fail(1)) SWIG_fail
;
22996 arg2
= (bool)(SWIG_As_bool(obj1
));
22997 if (SWIG_arg_fail(2)) SWIG_fail
;
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 result
= (bool)(arg1
)->Yield(arg2
);
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23016 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23019 PyObject
* obj0
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23026 if (SWIG_arg_fail(1)) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 (arg1
)->WakeUpIdle();
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 Py_INCREF(Py_None
); resultobj
= Py_None
;
23041 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
;
23044 char *kwnames
[] = {
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 result
= (bool)wxPyApp::IsMainLoopRunning();
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23065 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23069 PyObject
* obj0
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23076 if (SWIG_arg_fail(1)) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= (int)(arg1
)->MainLoop();
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_From_int((int)(result
));
23093 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 Py_INCREF(Py_None
); resultobj
= Py_None
;
23118 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23121 PyObject
* obj0
= 0 ;
23122 char *kwnames
[] = {
23123 (char *) "self", NULL
23126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23128 if (SWIG_arg_fail(1)) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 (arg1
)->ExitMainLoop();
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23136 Py_INCREF(Py_None
); resultobj
= Py_None
;
23143 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23144 PyObject
*resultobj
;
23145 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23147 PyObject
* obj0
= 0 ;
23148 char *kwnames
[] = {
23149 (char *) "self", NULL
23152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23154 if (SWIG_arg_fail(1)) SWIG_fail
;
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 result
= (bool)(arg1
)->Pending();
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23171 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23182 if (SWIG_arg_fail(1)) SWIG_fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 result
= (bool)(arg1
)->Dispatch();
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23199 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 char *kwnames
[] = {
23205 (char *) "self", NULL
23208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23210 if (SWIG_arg_fail(1)) SWIG_fail
;
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 result
= (bool)(arg1
)->ProcessIdle();
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23227 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23230 wxWindow
*arg2
= (wxWindow
*) 0 ;
23231 wxIdleEvent
*arg3
= 0 ;
23233 PyObject
* obj0
= 0 ;
23234 PyObject
* obj1
= 0 ;
23235 PyObject
* obj2
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self",(char *) "win",(char *) "event", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23242 if (SWIG_arg_fail(1)) SWIG_fail
;
23243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23244 if (SWIG_arg_fail(2)) SWIG_fail
;
23246 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23247 if (SWIG_arg_fail(3)) SWIG_fail
;
23248 if (arg3
== NULL
) {
23249 SWIG_null_ref("wxIdleEvent");
23251 if (SWIG_arg_fail(3)) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23269 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23273 PyObject
* obj0
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23297 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23300 wxWindow
*arg2
= (wxWindow
*) 0 ;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "win", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23309 if (SWIG_arg_fail(1)) SWIG_fail
;
23310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(2)) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 (arg1
)->SetTopWindow(arg2
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 Py_INCREF(Py_None
); resultobj
= Py_None
;
23326 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= wxPyMake_wxObject(result
, 0);
23354 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 PyObject
* obj1
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self",(char *) "flag", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23366 if (SWIG_arg_fail(1)) SWIG_fail
;
23368 arg2
= (bool)(SWIG_As_bool(obj1
));
23369 if (SWIG_arg_fail(2)) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 (arg1
)->SetExitOnFrameDelete(arg2
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 Py_INCREF(Py_None
); resultobj
= Py_None
;
23385 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23396 if (SWIG_arg_fail(1)) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23413 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23415 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self",(char *) "flag", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23425 if (SWIG_arg_fail(1)) SWIG_fail
;
23427 arg2
= (bool)(SWIG_As_bool(obj1
));
23428 if (SWIG_arg_fail(2)) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 (arg1
)->SetUseBestVisual(arg2
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 Py_INCREF(Py_None
); resultobj
= Py_None
;
23444 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23446 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23448 PyObject
* obj0
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "self", NULL
23453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23455 if (SWIG_arg_fail(1)) SWIG_fail
;
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23472 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self",(char *) "mode", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23484 if (SWIG_arg_fail(1)) SWIG_fail
;
23486 arg2
= (int)(SWIG_As_int(obj1
));
23487 if (SWIG_arg_fail(2)) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 (arg1
)->SetPrintMode(arg2
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 Py_INCREF(Py_None
); resultobj
= Py_None
;
23503 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23514 if (SWIG_arg_fail(1)) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_From_int((int)(result
));
23531 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
;
23533 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23535 PyObject
* obj0
= 0 ;
23536 PyObject
* obj1
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "self",(char *) "mode", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23543 if (SWIG_arg_fail(1)) SWIG_fail
;
23545 arg2
= (int)(SWIG_As_int(obj1
));
23546 if (SWIG_arg_fail(2)) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 (arg1
)->SetAssertMode(arg2
);
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 Py_INCREF(Py_None
); resultobj
= Py_None
;
23562 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23566 PyObject
* obj0
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23573 if (SWIG_arg_fail(1)) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (int)(arg1
)->GetAssertMode();
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_From_int((int)(result
));
23590 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
;
23593 char *kwnames
[] = {
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23614 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23617 char *kwnames
[] = {
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= SWIG_From_long((long)(result
));
23638 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23641 char *kwnames
[] = {
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_From_long((long)(result
));
23662 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23665 char *kwnames
[] = {
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (long)wxPyApp::GetMacExitMenuItemId();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= SWIG_From_long((long)(result
));
23686 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23689 char *kwnames
[] = {
23693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 result
= wxPyApp::GetMacHelpMenuTitleName();
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23714 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "val", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23724 arg1
= (bool)(SWIG_As_bool(obj0
));
23725 if (SWIG_arg_fail(1)) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 Py_INCREF(Py_None
); resultobj
= Py_None
;
23741 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23744 PyObject
* obj0
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "val", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23751 arg1
= (long)(SWIG_As_long(obj0
));
23752 if (SWIG_arg_fail(1)) SWIG_fail
;
23755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23756 wxPyApp::SetMacAboutMenuItemId(arg1
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 Py_INCREF(Py_None
); resultobj
= Py_None
;
23768 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23771 PyObject
* obj0
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "val", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23778 arg1
= (long)(SWIG_As_long(obj0
));
23779 if (SWIG_arg_fail(1)) SWIG_fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 Py_INCREF(Py_None
); resultobj
= Py_None
;
23795 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23798 PyObject
* obj0
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "val", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23805 arg1
= (long)(SWIG_As_long(obj0
));
23806 if (SWIG_arg_fail(1)) SWIG_fail
;
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 wxPyApp::SetMacExitMenuItemId(arg1
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 Py_INCREF(Py_None
); resultobj
= Py_None
;
23822 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
;
23824 wxString
*arg1
= 0 ;
23825 bool temp1
= false ;
23826 PyObject
* obj0
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "val", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23833 arg1
= wxString_in_helper(obj0
);
23834 if (arg1
== NULL
) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 Py_INCREF(Py_None
); resultobj
= Py_None
;
23859 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 char *kwnames
[] = {
23864 (char *) "self", NULL
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23869 if (SWIG_arg_fail(1)) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 (arg1
)->_BootstrapApp();
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 Py_INCREF(Py_None
); resultobj
= Py_None
;
23884 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23887 char *kwnames
[] = {
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (int)wxPyApp::GetComCtl32Version();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= SWIG_From_int((int)(result
));
23908 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23911 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23913 return Py_BuildValue((char *)"");
23915 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
;
23917 char *kwnames
[] = {
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 Py_INCREF(Py_None
); resultobj
= Py_None
;
23936 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
;
23939 char *kwnames
[] = {
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (bool)wxYield();
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23960 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23963 char *kwnames
[] = {
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= (bool)wxYieldIfNeeded();
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23984 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxWindow
*arg1
= (wxWindow
*) NULL
;
23987 bool arg2
= (bool) false ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "win",(char *) "onlyIfNeeded", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23998 if (SWIG_arg_fail(1)) SWIG_fail
;
24002 arg2
= (bool)(SWIG_As_bool(obj1
));
24003 if (SWIG_arg_fail(2)) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 result
= (bool)wxSafeYield(arg1
,arg2
);
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24022 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 char *kwnames
[] = {
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 Py_INCREF(Py_None
); resultobj
= Py_None
;
24043 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24046 wxEvent
*arg2
= 0 ;
24047 PyObject
* obj0
= 0 ;
24048 PyObject
* obj1
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "dest",(char *) "event", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24055 if (SWIG_arg_fail(1)) SWIG_fail
;
24057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24058 if (SWIG_arg_fail(2)) SWIG_fail
;
24059 if (arg2
== NULL
) {
24060 SWIG_null_ref("wxEvent");
24062 if (SWIG_arg_fail(2)) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 wxPostEvent(arg1
,*arg2
);
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 Py_INCREF(Py_None
); resultobj
= Py_None
;
24078 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 char *kwnames
[] = {
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24092 Py_INCREF(Py_None
); resultobj
= Py_None
;
24099 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24102 char *kwnames
[] = {
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (wxPyApp
*)wxPyGetApp();
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= wxPyMake_wxObject(result
, 0);
24123 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 char *arg1
= (char *) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "encoding", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24132 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24133 SWIG_arg_fail(1);SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 wxSetDefaultPyEncoding((char const *)arg1
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 Py_INCREF(Py_None
); resultobj
= Py_None
;
24149 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24152 char *kwnames
[] = {
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 result
= (char *)wxGetDefaultPyEncoding();
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 resultobj
= SWIG_FromCharPtr(result
);
24171 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxEventLoop
*result
;
24174 char *kwnames
[] = {
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (wxEventLoop
*)new wxEventLoop();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24193 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24203 if (SWIG_arg_fail(1)) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 Py_INCREF(Py_None
); resultobj
= Py_None
;
24218 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
;
24220 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24222 PyObject
* obj0
= 0 ;
24223 char *kwnames
[] = {
24224 (char *) "self", NULL
24227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24229 if (SWIG_arg_fail(1)) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= (int)(arg1
)->Run();
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= SWIG_From_int((int)(result
));
24246 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24249 int arg2
= (int) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "self",(char *) "rc", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24258 if (SWIG_arg_fail(1)) SWIG_fail
;
24261 arg2
= (int)(SWIG_As_int(obj1
));
24262 if (SWIG_arg_fail(2)) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 (arg1
)->Exit(arg2
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 Py_INCREF(Py_None
); resultobj
= Py_None
;
24279 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "self", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24290 if (SWIG_arg_fail(1)) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24307 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
;
24309 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24311 PyObject
* obj0
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24318 if (SWIG_arg_fail(1)) SWIG_fail
;
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 result
= (bool)(arg1
)->Dispatch();
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24335 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24339 PyObject
* obj0
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24346 if (SWIG_arg_fail(1)) SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24363 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxEventLoop
*result
;
24366 char *kwnames
[] = {
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24385 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24388 PyObject
* obj0
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "loop", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24395 if (SWIG_arg_fail(1)) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 wxEventLoop::SetActive(arg1
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 Py_INCREF(Py_None
); resultobj
= Py_None
;
24410 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24413 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24415 return Py_BuildValue((char *)"");
24417 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 int arg1
= (int) 0 ;
24420 int arg2
= (int) 0 ;
24421 int arg3
= (int) 0 ;
24422 wxAcceleratorEntry
*result
;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj1
= 0 ;
24425 PyObject
* obj2
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24433 arg1
= (int)(SWIG_As_int(obj0
));
24434 if (SWIG_arg_fail(1)) SWIG_fail
;
24439 arg2
= (int)(SWIG_As_int(obj1
));
24440 if (SWIG_arg_fail(2)) SWIG_fail
;
24445 arg3
= (int)(SWIG_As_int(obj2
));
24446 if (SWIG_arg_fail(3)) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24463 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
;
24465 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24473 if (SWIG_arg_fail(1)) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 Py_INCREF(Py_None
); resultobj
= Py_None
;
24488 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24494 PyObject
* obj0
= 0 ;
24495 PyObject
* obj1
= 0 ;
24496 PyObject
* obj2
= 0 ;
24497 PyObject
* obj3
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail
;
24506 arg2
= (int)(SWIG_As_int(obj1
));
24507 if (SWIG_arg_fail(2)) SWIG_fail
;
24510 arg3
= (int)(SWIG_As_int(obj2
));
24511 if (SWIG_arg_fail(3)) SWIG_fail
;
24514 arg4
= (int)(SWIG_As_int(obj3
));
24515 if (SWIG_arg_fail(4)) SWIG_fail
;
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 (arg1
)->Set(arg2
,arg3
,arg4
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 Py_INCREF(Py_None
); resultobj
= Py_None
;
24531 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 char *kwnames
[] = {
24537 (char *) "self", NULL
24540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24542 if (SWIG_arg_fail(1)) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (int)(arg1
)->GetFlags();
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= SWIG_From_int((int)(result
));
24559 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24563 PyObject
* obj0
= 0 ;
24564 char *kwnames
[] = {
24565 (char *) "self", NULL
24568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24570 if (SWIG_arg_fail(1)) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (int)(arg1
)->GetKeyCode();
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= SWIG_From_int((int)(result
));
24587 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24591 PyObject
* obj0
= 0 ;
24592 char *kwnames
[] = {
24593 (char *) "self", NULL
24596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24598 if (SWIG_arg_fail(1)) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (int)(arg1
)->GetCommand();
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= SWIG_From_int((int)(result
));
24615 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24618 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24620 return Py_BuildValue((char *)"");
24622 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24625 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24626 wxAcceleratorTable
*result
;
24627 PyObject
* obj0
= 0 ;
24628 char *kwnames
[] = {
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24634 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24635 if (arg2
) arg1
= PyList_Size(obj0
);
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24658 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24668 if (SWIG_arg_fail(1)) SWIG_fail
;
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 Py_INCREF(Py_None
); resultobj
= Py_None
;
24683 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
;
24685 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24694 if (SWIG_arg_fail(1)) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24711 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24714 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24716 return Py_BuildValue((char *)"");
24718 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24719 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24724 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24727 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24732 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxString
*arg1
= 0 ;
24735 wxAcceleratorEntry
*result
;
24736 bool temp1
= false ;
24737 PyObject
* obj0
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "label", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24744 arg1
= wxString_in_helper(obj0
);
24745 if (arg1
== NULL
) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24770 static int _wrap_PanelNameStr_set(PyObject
*) {
24771 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24776 static PyObject
*_wrap_PanelNameStr_get(void) {
24781 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24783 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24790 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxVisualAttributes
*result
;
24793 char *kwnames
[] = {
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24812 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24815 PyObject
* obj0
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 delete_wxVisualAttributes(arg1
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 Py_INCREF(Py_None
); resultobj
= Py_None
;
24837 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
;
24839 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24840 wxFont
*arg2
= (wxFont
*) 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self",(char *) "font", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24849 if (SWIG_arg_fail(1)) SWIG_fail
;
24850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24851 if (SWIG_arg_fail(2)) SWIG_fail
;
24852 if (arg1
) (arg1
)->font
= *arg2
;
24854 Py_INCREF(Py_None
); resultobj
= Py_None
;
24861 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail
;
24873 result
= (wxFont
*)& ((arg1
)->font
);
24875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24882 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24885 wxColour
*arg2
= (wxColour
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "colFg", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24894 if (SWIG_arg_fail(1)) SWIG_fail
;
24895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24896 if (SWIG_arg_fail(2)) SWIG_fail
;
24897 if (arg1
) (arg1
)->colFg
= *arg2
;
24899 Py_INCREF(Py_None
); resultobj
= Py_None
;
24906 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
;
24908 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24910 PyObject
* obj0
= 0 ;
24911 char *kwnames
[] = {
24912 (char *) "self", NULL
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24917 if (SWIG_arg_fail(1)) SWIG_fail
;
24918 result
= (wxColour
*)& ((arg1
)->colFg
);
24920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24927 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24930 wxColour
*arg2
= (wxColour
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self",(char *) "colBg", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24939 if (SWIG_arg_fail(1)) SWIG_fail
;
24940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24941 if (SWIG_arg_fail(2)) SWIG_fail
;
24942 if (arg1
) (arg1
)->colBg
= *arg2
;
24944 Py_INCREF(Py_None
); resultobj
= Py_None
;
24951 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24962 if (SWIG_arg_fail(1)) SWIG_fail
;
24963 result
= (wxColour
*)& ((arg1
)->colBg
);
24965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24972 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24975 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24977 return Py_BuildValue((char *)"");
24979 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxWindow
*arg1
= (wxWindow
*) 0 ;
24982 int arg2
= (int) (int)-1 ;
24983 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24984 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24985 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24986 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24987 long arg5
= (long) 0 ;
24988 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24989 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24993 bool temp6
= false ;
24994 PyObject
* obj0
= 0 ;
24995 PyObject
* obj1
= 0 ;
24996 PyObject
* obj2
= 0 ;
24997 PyObject
* obj3
= 0 ;
24998 PyObject
* obj4
= 0 ;
24999 PyObject
* obj5
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25006 if (SWIG_arg_fail(1)) SWIG_fail
;
25009 arg2
= (int const)(SWIG_As_int(obj1
));
25010 if (SWIG_arg_fail(2)) SWIG_fail
;
25016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25022 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25027 arg5
= (long)(SWIG_As_long(obj4
));
25028 if (SWIG_arg_fail(5)) SWIG_fail
;
25033 arg6
= wxString_in_helper(obj5
);
25034 if (arg6
== NULL
) SWIG_fail
;
25039 if (!wxPyCheckForApp()) SWIG_fail
;
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25061 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25064 char *kwnames
[] = {
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25070 if (!wxPyCheckForApp()) SWIG_fail
;
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 result
= (wxWindow
*)new wxWindow();
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25084 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
;
25086 wxWindow
*arg1
= (wxWindow
*) 0 ;
25087 wxWindow
*arg2
= (wxWindow
*) 0 ;
25088 int arg3
= (int) (int)-1 ;
25089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25093 long arg6
= (long) 0 ;
25094 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25095 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25099 bool temp7
= false ;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 PyObject
* obj2
= 0 ;
25103 PyObject
* obj3
= 0 ;
25104 PyObject
* obj4
= 0 ;
25105 PyObject
* obj5
= 0 ;
25106 PyObject
* obj6
= 0 ;
25107 char *kwnames
[] = {
25108 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25113 if (SWIG_arg_fail(1)) SWIG_fail
;
25114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25115 if (SWIG_arg_fail(2)) SWIG_fail
;
25118 arg3
= (int const)(SWIG_As_int(obj2
));
25119 if (SWIG_arg_fail(3)) SWIG_fail
;
25125 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25131 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25136 arg6
= (long)(SWIG_As_long(obj5
));
25137 if (SWIG_arg_fail(6)) SWIG_fail
;
25142 arg7
= wxString_in_helper(obj6
);
25143 if (arg7
== NULL
) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25171 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxWindow
*arg1
= (wxWindow
*) 0 ;
25174 bool arg2
= (bool) false ;
25176 PyObject
* obj0
= 0 ;
25177 PyObject
* obj1
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "self",(char *) "force", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25184 if (SWIG_arg_fail(1)) SWIG_fail
;
25187 arg2
= (bool)(SWIG_As_bool(obj1
));
25188 if (SWIG_arg_fail(2)) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (bool)(arg1
)->Close(arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25207 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxWindow
*arg1
= (wxWindow
*) 0 ;
25211 PyObject
* obj0
= 0 ;
25212 char *kwnames
[] = {
25213 (char *) "self", NULL
25216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25218 if (SWIG_arg_fail(1)) SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (bool)(arg1
)->Destroy();
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25235 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxWindow
*arg1
= (wxWindow
*) 0 ;
25239 PyObject
* obj0
= 0 ;
25240 char *kwnames
[] = {
25241 (char *) "self", NULL
25244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25246 if (SWIG_arg_fail(1)) SWIG_fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= (bool)(arg1
)->DestroyChildren();
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25263 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
;
25265 wxWindow
*arg1
= (wxWindow
*) 0 ;
25267 PyObject
* obj0
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25274 if (SWIG_arg_fail(1)) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25291 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxWindow
*arg1
= (wxWindow
*) 0 ;
25294 wxString
*arg2
= 0 ;
25295 bool temp2
= false ;
25296 PyObject
* obj0
= 0 ;
25297 PyObject
* obj1
= 0 ;
25298 char *kwnames
[] = {
25299 (char *) "self",(char *) "title", NULL
25302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25304 if (SWIG_arg_fail(1)) SWIG_fail
;
25306 arg2
= wxString_in_helper(obj1
);
25307 if (arg2
== NULL
) SWIG_fail
;
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 (arg1
)->SetTitle((wxString
const &)*arg2
);
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 Py_INCREF(Py_None
); resultobj
= Py_None
;
25332 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
;
25334 wxWindow
*arg1
= (wxWindow
*) 0 ;
25336 PyObject
* obj0
= 0 ;
25337 char *kwnames
[] = {
25338 (char *) "self", NULL
25341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25343 if (SWIG_arg_fail(1)) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= ((wxWindow
const *)arg1
)->GetTitle();
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25364 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxWindow
*arg1
= (wxWindow
*) 0 ;
25367 wxString
*arg2
= 0 ;
25368 bool temp2
= false ;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self",(char *) "label", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25377 if (SWIG_arg_fail(1)) SWIG_fail
;
25379 arg2
= wxString_in_helper(obj1
);
25380 if (arg2
== NULL
) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 (arg1
)->SetLabel((wxString
const &)*arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 Py_INCREF(Py_None
); resultobj
= Py_None
;
25405 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
;
25407 wxWindow
*arg1
= (wxWindow
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= ((wxWindow
const *)arg1
)->GetLabel();
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25437 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxWindow
*arg1
= (wxWindow
*) 0 ;
25440 wxString
*arg2
= 0 ;
25441 bool temp2
= false ;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "name", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25450 if (SWIG_arg_fail(1)) SWIG_fail
;
25452 arg2
= wxString_in_helper(obj1
);
25453 if (arg2
== NULL
) SWIG_fail
;
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 (arg1
)->SetName((wxString
const &)*arg2
);
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25463 Py_INCREF(Py_None
); resultobj
= Py_None
;
25478 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxWindow
*arg1
= (wxWindow
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25489 if (SWIG_arg_fail(1)) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= ((wxWindow
const *)arg1
)->GetName();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25510 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
;
25512 wxWindow
*arg1
= (wxWindow
*) 0 ;
25513 wxWindowVariant arg2
;
25514 PyObject
* obj0
= 0 ;
25515 PyObject
* obj1
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self",(char *) "variant", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25522 if (SWIG_arg_fail(1)) SWIG_fail
;
25524 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25525 if (SWIG_arg_fail(2)) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 Py_INCREF(Py_None
); resultobj
= Py_None
;
25541 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
;
25543 wxWindow
*arg1
= (wxWindow
*) 0 ;
25544 wxWindowVariant result
;
25545 PyObject
* obj0
= 0 ;
25546 char *kwnames
[] = {
25547 (char *) "self", NULL
25550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25552 if (SWIG_arg_fail(1)) SWIG_fail
;
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_From_int((result
));
25567 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
;
25569 wxWindow
*arg1
= (wxWindow
*) 0 ;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 char *kwnames
[] = {
25574 (char *) "self",(char *) "winid", NULL
25577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25579 if (SWIG_arg_fail(1)) SWIG_fail
;
25581 arg2
= (int)(SWIG_As_int(obj1
));
25582 if (SWIG_arg_fail(2)) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 (arg1
)->SetId(arg2
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 Py_INCREF(Py_None
); resultobj
= Py_None
;
25598 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxWindow
*arg1
= (wxWindow
*) 0 ;
25602 PyObject
* obj0
= 0 ;
25603 char *kwnames
[] = {
25604 (char *) "self", NULL
25607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25609 if (SWIG_arg_fail(1)) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (int)((wxWindow
const *)arg1
)->GetId();
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25618 resultobj
= SWIG_From_int((int)(result
));
25626 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
;
25629 char *kwnames
[] = {
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= (int)wxWindow::NewControlId();
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= SWIG_From_int((int)(result
));
25650 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25654 PyObject
* obj0
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "winid", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25661 arg1
= (int)(SWIG_As_int(obj0
));
25662 if (SWIG_arg_fail(1)) SWIG_fail
;
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (int)wxWindow::NextControlId(arg1
);
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= SWIG_From_int((int)(result
));
25680 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
;
25684 PyObject
* obj0
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "winid", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25691 arg1
= (int)(SWIG_As_int(obj0
));
25692 if (SWIG_arg_fail(1)) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 result
= (int)wxWindow::PrevControlId(arg1
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_From_int((int)(result
));
25710 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
;
25712 wxWindow
*arg1
= (wxWindow
*) 0 ;
25715 PyObject
* obj0
= 0 ;
25716 PyObject
* obj1
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self",(char *) "size", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25723 if (SWIG_arg_fail(1)) SWIG_fail
;
25726 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 (arg1
)->SetSize((wxSize
const &)*arg2
);
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25735 Py_INCREF(Py_None
); resultobj
= Py_None
;
25742 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxWindow
*arg1
= (wxWindow
*) 0 ;
25749 int arg6
= (int) wxSIZE_AUTO
;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 PyObject
* obj2
= 0 ;
25753 PyObject
* obj3
= 0 ;
25754 PyObject
* obj4
= 0 ;
25755 PyObject
* obj5
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail
;
25764 arg2
= (int)(SWIG_As_int(obj1
));
25765 if (SWIG_arg_fail(2)) SWIG_fail
;
25768 arg3
= (int)(SWIG_As_int(obj2
));
25769 if (SWIG_arg_fail(3)) SWIG_fail
;
25772 arg4
= (int)(SWIG_As_int(obj3
));
25773 if (SWIG_arg_fail(4)) SWIG_fail
;
25776 arg5
= (int)(SWIG_As_int(obj4
));
25777 if (SWIG_arg_fail(5)) SWIG_fail
;
25781 arg6
= (int)(SWIG_As_int(obj5
));
25782 if (SWIG_arg_fail(6)) SWIG_fail
;
25786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 Py_INCREF(Py_None
); resultobj
= Py_None
;
25799 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25800 PyObject
*resultobj
;
25801 wxWindow
*arg1
= (wxWindow
*) 0 ;
25803 int arg3
= (int) wxSIZE_AUTO
;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 PyObject
* obj2
= 0 ;
25808 char *kwnames
[] = {
25809 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25814 if (SWIG_arg_fail(1)) SWIG_fail
;
25817 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25821 arg3
= (int)(SWIG_As_int(obj2
));
25822 if (SWIG_arg_fail(3)) SWIG_fail
;
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 Py_INCREF(Py_None
); resultobj
= Py_None
;
25839 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25840 PyObject
*resultobj
;
25841 wxWindow
*arg1
= (wxWindow
*) 0 ;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 PyObject
* obj2
= 0 ;
25847 char *kwnames
[] = {
25848 (char *) "self",(char *) "width",(char *) "height", NULL
25851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25853 if (SWIG_arg_fail(1)) SWIG_fail
;
25855 arg2
= (int)(SWIG_As_int(obj1
));
25856 if (SWIG_arg_fail(2)) SWIG_fail
;
25859 arg3
= (int)(SWIG_As_int(obj2
));
25860 if (SWIG_arg_fail(3)) SWIG_fail
;
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 (arg1
)->SetSize(arg2
,arg3
);
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 Py_INCREF(Py_None
); resultobj
= Py_None
;
25876 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
;
25878 wxWindow
*arg1
= (wxWindow
*) 0 ;
25879 wxPoint
*arg2
= 0 ;
25880 int arg3
= (int) wxSIZE_USE_EXISTING
;
25882 PyObject
* obj0
= 0 ;
25883 PyObject
* obj1
= 0 ;
25884 PyObject
* obj2
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self",(char *) "pt",(char *) "flags", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25891 if (SWIG_arg_fail(1)) SWIG_fail
;
25894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25898 arg3
= (int)(SWIG_As_int(obj2
));
25899 if (SWIG_arg_fail(3)) SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 Py_INCREF(Py_None
); resultobj
= Py_None
;
25916 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
;
25918 wxWindow
*arg1
= (wxWindow
*) 0 ;
25921 int arg4
= (int) wxSIZE_USE_EXISTING
;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 PyObject
* obj2
= 0 ;
25925 PyObject
* obj3
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail
;
25934 arg2
= (int)(SWIG_As_int(obj1
));
25935 if (SWIG_arg_fail(2)) SWIG_fail
;
25938 arg3
= (int)(SWIG_As_int(obj2
));
25939 if (SWIG_arg_fail(3)) SWIG_fail
;
25943 arg4
= (int)(SWIG_As_int(obj3
));
25944 if (SWIG_arg_fail(4)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->Move(arg2
,arg3
,arg4
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 Py_INCREF(Py_None
); resultobj
= Py_None
;
25961 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxWindow
*arg1
= (wxWindow
*) 0 ;
25964 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25965 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 char *kwnames
[] = {
25970 (char *) "self",(char *) "size", NULL
25973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25975 if (SWIG_arg_fail(1)) SWIG_fail
;
25979 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 Py_INCREF(Py_None
); resultobj
= Py_None
;
25996 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxWindow
*arg1
= (wxWindow
*) 0 ;
25999 PyObject
* obj0
= 0 ;
26000 char *kwnames
[] = {
26001 (char *) "self", NULL
26004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26006 if (SWIG_arg_fail(1)) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 Py_INCREF(Py_None
); resultobj
= Py_None
;
26021 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxWindow
*arg1
= (wxWindow
*) 0 ;
26024 PyObject
* obj0
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26031 if (SWIG_arg_fail(1)) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 Py_INCREF(Py_None
); resultobj
= Py_None
;
26046 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxWindow
*arg1
= (wxWindow
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self",(char *) "size", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26059 if (SWIG_arg_fail(1)) SWIG_fail
;
26062 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 Py_INCREF(Py_None
); resultobj
= Py_None
;
26078 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxWindow
*arg1
= (wxWindow
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 PyObject
* obj2
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self",(char *) "width",(char *) "height", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26092 if (SWIG_arg_fail(1)) SWIG_fail
;
26094 arg2
= (int)(SWIG_As_int(obj1
));
26095 if (SWIG_arg_fail(2)) SWIG_fail
;
26098 arg3
= (int)(SWIG_As_int(obj2
));
26099 if (SWIG_arg_fail(3)) SWIG_fail
;
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 (arg1
)->SetClientSize(arg2
,arg3
);
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 Py_INCREF(Py_None
); resultobj
= Py_None
;
26115 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
;
26117 wxWindow
*arg1
= (wxWindow
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "rect", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26128 if (SWIG_arg_fail(1)) SWIG_fail
;
26131 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 Py_INCREF(Py_None
); resultobj
= Py_None
;
26147 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxWindow
*arg1
= (wxWindow
*) 0 ;
26151 PyObject
* obj0
= 0 ;
26152 char *kwnames
[] = {
26153 (char *) "self", NULL
26156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26158 if (SWIG_arg_fail(1)) SWIG_fail
;
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 result
= (arg1
)->GetPosition();
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26167 wxPoint
* resultptr
;
26168 resultptr
= new wxPoint((wxPoint
&)(result
));
26169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26177 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
;
26179 wxWindow
*arg1
= (wxWindow
*) 0 ;
26180 int *arg2
= (int *) 0 ;
26181 int *arg3
= (int *) 0 ;
26186 PyObject
* obj0
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self", NULL
26191 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26192 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26195 if (SWIG_arg_fail(1)) SWIG_fail
;
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 (arg1
)->GetPosition(arg2
,arg3
);
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 Py_INCREF(Py_None
); resultobj
= Py_None
;
26204 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26205 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26206 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26207 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26214 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxWindow
*arg1
= (wxWindow
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26225 if (SWIG_arg_fail(1)) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= ((wxWindow
const *)arg1
)->GetSize();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 wxSize
* resultptr
;
26235 resultptr
= new wxSize((wxSize
&)(result
));
26236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26244 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxWindow
*arg1
= (wxWindow
*) 0 ;
26247 int *arg2
= (int *) 0 ;
26248 int *arg3
= (int *) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self", NULL
26258 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26259 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26262 if (SWIG_arg_fail(1)) SWIG_fail
;
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 Py_INCREF(Py_None
); resultobj
= Py_None
;
26271 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26272 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26273 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26274 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26281 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
;
26283 wxWindow
*arg1
= (wxWindow
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26292 if (SWIG_arg_fail(1)) SWIG_fail
;
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 result
= ((wxWindow
const *)arg1
)->GetRect();
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26301 wxRect
* resultptr
;
26302 resultptr
= new wxRect((wxRect
&)(result
));
26303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26311 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
;
26313 wxWindow
*arg1
= (wxWindow
*) 0 ;
26315 PyObject
* obj0
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26331 wxSize
* resultptr
;
26332 resultptr
= new wxSize((wxSize
&)(result
));
26333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26341 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxWindow
*arg1
= (wxWindow
*) 0 ;
26344 int *arg2
= (int *) 0 ;
26345 int *arg3
= (int *) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self", NULL
26355 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26356 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26359 if (SWIG_arg_fail(1)) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 Py_INCREF(Py_None
); resultobj
= Py_None
;
26368 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26369 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26370 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26371 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26378 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxWindow
*arg1
= (wxWindow
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26389 if (SWIG_arg_fail(1)) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26398 wxPoint
* resultptr
;
26399 resultptr
= new wxPoint((wxPoint
&)(result
));
26400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26408 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26410 wxWindow
*arg1
= (wxWindow
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26419 if (SWIG_arg_fail(1)) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26428 wxRect
* resultptr
;
26429 resultptr
= new wxRect((wxRect
&)(result
));
26430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26438 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26439 PyObject
*resultobj
;
26440 wxWindow
*arg1
= (wxWindow
*) 0 ;
26442 PyObject
* obj0
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26458 wxSize
* resultptr
;
26459 resultptr
= new wxSize((wxSize
&)(result
));
26460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26468 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxWindow
*arg1
= (wxWindow
*) 0 ;
26471 int *arg2
= (int *) 0 ;
26472 int *arg3
= (int *) 0 ;
26477 PyObject
* obj0
= 0 ;
26478 char *kwnames
[] = {
26479 (char *) "self", NULL
26482 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26483 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26486 if (SWIG_arg_fail(1)) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 Py_INCREF(Py_None
); resultobj
= Py_None
;
26495 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26496 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26497 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26498 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26505 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
;
26507 wxWindow
*arg1
= (wxWindow
*) 0 ;
26508 PyObject
* obj0
= 0 ;
26509 char *kwnames
[] = {
26510 (char *) "self", NULL
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26515 if (SWIG_arg_fail(1)) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 (arg1
)->InvalidateBestSize();
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 Py_INCREF(Py_None
); resultobj
= Py_None
;
26530 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxWindow
*arg1
= (wxWindow
*) 0 ;
26534 PyObject
* obj0
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26541 if (SWIG_arg_fail(1)) SWIG_fail
;
26543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26544 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26550 wxSize
* resultptr
;
26551 resultptr
= new wxSize((wxSize
&)(result
));
26552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26560 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
;
26562 wxWindow
*arg1
= (wxWindow
*) 0 ;
26564 PyObject
* obj0
= 0 ;
26565 char *kwnames
[] = {
26566 (char *) "self", NULL
26569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26571 if (SWIG_arg_fail(1)) SWIG_fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26580 wxSize
* resultptr
;
26581 resultptr
= new wxSize((wxSize
&)(result
));
26582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26590 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxWindow
*arg1
= (wxWindow
*) 0 ;
26593 int arg2
= (int) wxBOTH
;
26594 PyObject
* obj0
= 0 ;
26595 PyObject
* obj1
= 0 ;
26596 char *kwnames
[] = {
26597 (char *) "self",(char *) "direction", NULL
26600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26602 if (SWIG_arg_fail(1)) SWIG_fail
;
26605 arg2
= (int)(SWIG_As_int(obj1
));
26606 if (SWIG_arg_fail(2)) SWIG_fail
;
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 (arg1
)->Center(arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 Py_INCREF(Py_None
); resultobj
= Py_None
;
26623 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
;
26625 wxWindow
*arg1
= (wxWindow
*) 0 ;
26626 int arg2
= (int) wxBOTH
;
26627 PyObject
* obj0
= 0 ;
26628 PyObject
* obj1
= 0 ;
26629 char *kwnames
[] = {
26630 (char *) "self",(char *) "dir", NULL
26633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26635 if (SWIG_arg_fail(1)) SWIG_fail
;
26638 arg2
= (int)(SWIG_As_int(obj1
));
26639 if (SWIG_arg_fail(2)) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 (arg1
)->CenterOnScreen(arg2
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 Py_INCREF(Py_None
); resultobj
= Py_None
;
26656 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxWindow
*arg1
= (wxWindow
*) 0 ;
26659 int arg2
= (int) wxBOTH
;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self",(char *) "dir", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26668 if (SWIG_arg_fail(1)) SWIG_fail
;
26671 arg2
= (int)(SWIG_As_int(obj1
));
26672 if (SWIG_arg_fail(2)) SWIG_fail
;
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 (arg1
)->CenterOnParent(arg2
);
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26682 Py_INCREF(Py_None
); resultobj
= Py_None
;
26689 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxWindow
*arg1
= (wxWindow
*) 0 ;
26692 PyObject
* obj0
= 0 ;
26693 char *kwnames
[] = {
26694 (char *) "self", NULL
26697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26699 if (SWIG_arg_fail(1)) SWIG_fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 Py_INCREF(Py_None
); resultobj
= Py_None
;
26714 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26715 PyObject
*resultobj
;
26716 wxWindow
*arg1
= (wxWindow
*) 0 ;
26717 PyObject
* obj0
= 0 ;
26718 char *kwnames
[] = {
26719 (char *) "self", NULL
26722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26724 if (SWIG_arg_fail(1)) SWIG_fail
;
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 (arg1
)->FitInside();
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26732 Py_INCREF(Py_None
); resultobj
= Py_None
;
26739 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxWindow
*arg1
= (wxWindow
*) 0 ;
26744 int arg4
= (int) -1 ;
26745 int arg5
= (int) -1 ;
26746 int arg6
= (int) -1 ;
26747 int arg7
= (int) -1 ;
26748 PyObject
* obj0
= 0 ;
26749 PyObject
* obj1
= 0 ;
26750 PyObject
* obj2
= 0 ;
26751 PyObject
* obj3
= 0 ;
26752 PyObject
* obj4
= 0 ;
26753 PyObject
* obj5
= 0 ;
26754 PyObject
* obj6
= 0 ;
26755 char *kwnames
[] = {
26756 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26761 if (SWIG_arg_fail(1)) SWIG_fail
;
26763 arg2
= (int)(SWIG_As_int(obj1
));
26764 if (SWIG_arg_fail(2)) SWIG_fail
;
26767 arg3
= (int)(SWIG_As_int(obj2
));
26768 if (SWIG_arg_fail(3)) SWIG_fail
;
26772 arg4
= (int)(SWIG_As_int(obj3
));
26773 if (SWIG_arg_fail(4)) SWIG_fail
;
26778 arg5
= (int)(SWIG_As_int(obj4
));
26779 if (SWIG_arg_fail(5)) SWIG_fail
;
26784 arg6
= (int)(SWIG_As_int(obj5
));
26785 if (SWIG_arg_fail(6)) SWIG_fail
;
26790 arg7
= (int)(SWIG_As_int(obj6
));
26791 if (SWIG_arg_fail(7)) SWIG_fail
;
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26801 Py_INCREF(Py_None
); resultobj
= Py_None
;
26808 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
;
26810 wxWindow
*arg1
= (wxWindow
*) 0 ;
26812 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26813 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26814 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26815 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26821 PyObject
* obj2
= 0 ;
26822 PyObject
* obj3
= 0 ;
26823 char *kwnames
[] = {
26824 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26829 if (SWIG_arg_fail(1)) SWIG_fail
;
26832 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26837 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26843 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 Py_INCREF(Py_None
); resultobj
= Py_None
;
26860 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
;
26862 wxWindow
*arg1
= (wxWindow
*) 0 ;
26865 int arg4
= (int) -1 ;
26866 int arg5
= (int) -1 ;
26867 PyObject
* obj0
= 0 ;
26868 PyObject
* obj1
= 0 ;
26869 PyObject
* obj2
= 0 ;
26870 PyObject
* obj3
= 0 ;
26871 PyObject
* obj4
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail
;
26880 arg2
= (int)(SWIG_As_int(obj1
));
26881 if (SWIG_arg_fail(2)) SWIG_fail
;
26884 arg3
= (int)(SWIG_As_int(obj2
));
26885 if (SWIG_arg_fail(3)) SWIG_fail
;
26889 arg4
= (int)(SWIG_As_int(obj3
));
26890 if (SWIG_arg_fail(4)) SWIG_fail
;
26895 arg5
= (int)(SWIG_As_int(obj4
));
26896 if (SWIG_arg_fail(5)) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 Py_INCREF(Py_None
); resultobj
= Py_None
;
26913 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxWindow
*arg1
= (wxWindow
*) 0 ;
26917 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26918 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26921 PyObject
* obj0
= 0 ;
26922 PyObject
* obj1
= 0 ;
26923 PyObject
* obj2
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail
;
26933 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26938 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26948 Py_INCREF(Py_None
); resultobj
= Py_None
;
26955 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
;
26957 wxWindow
*arg1
= (wxWindow
*) 0 ;
26959 PyObject
* obj0
= 0 ;
26960 char *kwnames
[] = {
26961 (char *) "self", NULL
26964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26966 if (SWIG_arg_fail(1)) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 wxSize
* resultptr
;
26976 resultptr
= new wxSize((wxSize
&)(result
));
26977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26985 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
;
26987 wxWindow
*arg1
= (wxWindow
*) 0 ;
26989 PyObject
* obj0
= 0 ;
26990 char *kwnames
[] = {
26991 (char *) "self", NULL
26994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26996 if (SWIG_arg_fail(1)) SWIG_fail
;
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27005 wxSize
* resultptr
;
27006 resultptr
= new wxSize((wxSize
&)(result
));
27007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27015 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
;
27017 wxWindow
*arg1
= (wxWindow
*) 0 ;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 char *kwnames
[] = {
27023 (char *) "self",(char *) "minSize", NULL
27026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27028 if (SWIG_arg_fail(1)) SWIG_fail
;
27031 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27040 Py_INCREF(Py_None
); resultobj
= Py_None
;
27047 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27048 PyObject
*resultobj
;
27049 wxWindow
*arg1
= (wxWindow
*) 0 ;
27052 PyObject
* obj0
= 0 ;
27053 PyObject
* obj1
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self",(char *) "maxSize", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27060 if (SWIG_arg_fail(1)) SWIG_fail
;
27063 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27069 wxPyEndAllowThreads(__tstate
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27072 Py_INCREF(Py_None
); resultobj
= Py_None
;
27079 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27080 PyObject
*resultobj
;
27081 wxWindow
*arg1
= (wxWindow
*) 0 ;
27083 PyObject
* obj0
= 0 ;
27084 char *kwnames
[] = {
27085 (char *) "self", NULL
27088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27090 if (SWIG_arg_fail(1)) SWIG_fail
;
27092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27093 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27095 wxPyEndAllowThreads(__tstate
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27099 resultobj
= SWIG_From_int((int)(result
));
27107 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
;
27109 wxWindow
*arg1
= (wxWindow
*) 0 ;
27111 PyObject
* obj0
= 0 ;
27112 char *kwnames
[] = {
27113 (char *) "self", NULL
27116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail
;
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27127 resultobj
= SWIG_From_int((int)(result
));
27135 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27136 PyObject
*resultobj
;
27137 wxWindow
*arg1
= (wxWindow
*) 0 ;
27139 PyObject
* obj0
= 0 ;
27140 char *kwnames
[] = {
27141 (char *) "self", NULL
27144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27146 if (SWIG_arg_fail(1)) SWIG_fail
;
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27155 resultobj
= SWIG_From_int((int)(result
));
27163 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
;
27165 wxWindow
*arg1
= (wxWindow
*) 0 ;
27167 PyObject
* obj0
= 0 ;
27168 char *kwnames
[] = {
27169 (char *) "self", NULL
27172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27174 if (SWIG_arg_fail(1)) SWIG_fail
;
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27177 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27179 wxPyEndAllowThreads(__tstate
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27183 resultobj
= SWIG_From_int((int)(result
));
27191 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27192 PyObject
*resultobj
;
27193 wxWindow
*arg1
= (wxWindow
*) 0 ;
27196 PyObject
* obj0
= 0 ;
27197 PyObject
* obj1
= 0 ;
27198 char *kwnames
[] = {
27199 (char *) "self",(char *) "size", NULL
27202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27204 if (SWIG_arg_fail(1)) SWIG_fail
;
27207 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 Py_INCREF(Py_None
); resultobj
= Py_None
;
27223 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
;
27225 wxWindow
*arg1
= (wxWindow
*) 0 ;
27228 PyObject
* obj0
= 0 ;
27229 PyObject
* obj1
= 0 ;
27230 PyObject
* obj2
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self",(char *) "w",(char *) "h", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27237 if (SWIG_arg_fail(1)) SWIG_fail
;
27239 arg2
= (int)(SWIG_As_int(obj1
));
27240 if (SWIG_arg_fail(2)) SWIG_fail
;
27243 arg3
= (int)(SWIG_As_int(obj2
));
27244 if (SWIG_arg_fail(3)) SWIG_fail
;
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 (arg1
)->SetVirtualSize(arg2
,arg3
);
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27253 Py_INCREF(Py_None
); resultobj
= Py_None
;
27260 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
;
27262 wxWindow
*arg1
= (wxWindow
*) 0 ;
27264 PyObject
* obj0
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "self", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27280 wxSize
* resultptr
;
27281 resultptr
= new wxSize((wxSize
&)(result
));
27282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27290 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
;
27292 wxWindow
*arg1
= (wxWindow
*) 0 ;
27293 int *arg2
= (int *) 0 ;
27294 int *arg3
= (int *) 0 ;
27299 PyObject
* obj0
= 0 ;
27300 char *kwnames
[] = {
27301 (char *) "self", NULL
27304 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27305 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27308 if (SWIG_arg_fail(1)) SWIG_fail
;
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27316 Py_INCREF(Py_None
); resultobj
= Py_None
;
27317 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27318 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27319 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27320 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27327 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
;
27329 wxWindow
*arg1
= (wxWindow
*) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27338 if (SWIG_arg_fail(1)) SWIG_fail
;
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27347 wxSize
* resultptr
;
27348 resultptr
= new wxSize((wxSize
&)(result
));
27349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27357 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
;
27359 wxWindow
*arg1
= (wxWindow
*) 0 ;
27360 bool arg2
= (bool) true ;
27362 PyObject
* obj0
= 0 ;
27363 PyObject
* obj1
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self",(char *) "show", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27370 if (SWIG_arg_fail(1)) SWIG_fail
;
27373 arg2
= (bool)(SWIG_As_bool(obj1
));
27374 if (SWIG_arg_fail(2)) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 result
= (bool)(arg1
)->Show(arg2
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27393 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
;
27395 wxWindow
*arg1
= (wxWindow
*) 0 ;
27397 PyObject
* obj0
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27404 if (SWIG_arg_fail(1)) SWIG_fail
;
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27407 result
= (bool)(arg1
)->Hide();
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27421 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27422 PyObject
*resultobj
;
27423 wxWindow
*arg1
= (wxWindow
*) 0 ;
27424 bool arg2
= (bool) true ;
27426 PyObject
* obj0
= 0 ;
27427 PyObject
* obj1
= 0 ;
27428 char *kwnames
[] = {
27429 (char *) "self",(char *) "enable", NULL
27432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27434 if (SWIG_arg_fail(1)) SWIG_fail
;
27437 arg2
= (bool)(SWIG_As_bool(obj1
));
27438 if (SWIG_arg_fail(2)) SWIG_fail
;
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= (bool)(arg1
)->Enable(arg2
);
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27457 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
;
27459 wxWindow
*arg1
= (wxWindow
*) 0 ;
27461 PyObject
* obj0
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "self", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27468 if (SWIG_arg_fail(1)) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (bool)(arg1
)->Disable();
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27485 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxWindow
*arg1
= (wxWindow
*) 0 ;
27489 PyObject
* obj0
= 0 ;
27490 char *kwnames
[] = {
27491 (char *) "self", NULL
27494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27496 if (SWIG_arg_fail(1)) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27513 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxWindow
*arg1
= (wxWindow
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27524 if (SWIG_arg_fail(1)) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27541 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxWindow
*arg1
= (wxWindow
*) 0 ;
27545 PyObject
* obj0
= 0 ;
27546 PyObject
* obj1
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "self",(char *) "style", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27553 if (SWIG_arg_fail(1)) SWIG_fail
;
27555 arg2
= (long)(SWIG_As_long(obj1
));
27556 if (SWIG_arg_fail(2)) SWIG_fail
;
27559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27560 (arg1
)->SetWindowStyleFlag(arg2
);
27562 wxPyEndAllowThreads(__tstate
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27565 Py_INCREF(Py_None
); resultobj
= Py_None
;
27572 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
;
27574 wxWindow
*arg1
= (wxWindow
*) 0 ;
27576 PyObject
* obj0
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "self", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27583 if (SWIG_arg_fail(1)) SWIG_fail
;
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27592 resultobj
= SWIG_From_long((long)(result
));
27600 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27601 PyObject
*resultobj
;
27602 wxWindow
*arg1
= (wxWindow
*) 0 ;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self",(char *) "flag", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27613 if (SWIG_arg_fail(1)) SWIG_fail
;
27615 arg2
= (int)(SWIG_As_int(obj1
));
27616 if (SWIG_arg_fail(2)) SWIG_fail
;
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27622 wxPyEndAllowThreads(__tstate
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27634 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27635 PyObject
*resultobj
;
27636 wxWindow
*arg1
= (wxWindow
*) 0 ;
27638 PyObject
* obj0
= 0 ;
27639 char *kwnames
[] = {
27640 (char *) "self", NULL
27643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27645 if (SWIG_arg_fail(1)) SWIG_fail
;
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27662 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
;
27664 wxWindow
*arg1
= (wxWindow
*) 0 ;
27666 PyObject
* obj0
= 0 ;
27667 PyObject
* obj1
= 0 ;
27668 char *kwnames
[] = {
27669 (char *) "self",(char *) "exStyle", NULL
27672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27674 if (SWIG_arg_fail(1)) SWIG_fail
;
27676 arg2
= (long)(SWIG_As_long(obj1
));
27677 if (SWIG_arg_fail(2)) SWIG_fail
;
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 (arg1
)->SetExtraStyle(arg2
);
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 Py_INCREF(Py_None
); resultobj
= Py_None
;
27693 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27694 PyObject
*resultobj
;
27695 wxWindow
*arg1
= (wxWindow
*) 0 ;
27697 PyObject
* obj0
= 0 ;
27698 char *kwnames
[] = {
27699 (char *) "self", NULL
27702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27704 if (SWIG_arg_fail(1)) SWIG_fail
;
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27707 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27713 resultobj
= SWIG_From_long((long)(result
));
27721 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxWindow
*arg1
= (wxWindow
*) 0 ;
27724 bool arg2
= (bool) true ;
27725 PyObject
* obj0
= 0 ;
27726 PyObject
* obj1
= 0 ;
27727 char *kwnames
[] = {
27728 (char *) "self",(char *) "modal", NULL
27731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27733 if (SWIG_arg_fail(1)) SWIG_fail
;
27736 arg2
= (bool)(SWIG_As_bool(obj1
));
27737 if (SWIG_arg_fail(2)) SWIG_fail
;
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 (arg1
)->MakeModal(arg2
);
27744 wxPyEndAllowThreads(__tstate
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27747 Py_INCREF(Py_None
); resultobj
= Py_None
;
27754 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27755 PyObject
*resultobj
;
27756 wxWindow
*arg1
= (wxWindow
*) 0 ;
27758 PyObject
* obj0
= 0 ;
27759 PyObject
* obj1
= 0 ;
27760 char *kwnames
[] = {
27761 (char *) "self",(char *) "enableTheme", NULL
27764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27766 if (SWIG_arg_fail(1)) SWIG_fail
;
27768 arg2
= (bool)(SWIG_As_bool(obj1
));
27769 if (SWIG_arg_fail(2)) SWIG_fail
;
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 (arg1
)->SetThemeEnabled(arg2
);
27775 wxPyEndAllowThreads(__tstate
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27778 Py_INCREF(Py_None
); resultobj
= Py_None
;
27785 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27786 PyObject
*resultobj
;
27787 wxWindow
*arg1
= (wxWindow
*) 0 ;
27789 PyObject
* obj0
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27796 if (SWIG_arg_fail(1)) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27813 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxWindow
*arg1
= (wxWindow
*) 0 ;
27816 PyObject
* obj0
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "self", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27823 if (SWIG_arg_fail(1)) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 (arg1
)->SetFocus();
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 Py_INCREF(Py_None
); resultobj
= Py_None
;
27838 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27839 PyObject
*resultobj
;
27840 wxWindow
*arg1
= (wxWindow
*) 0 ;
27841 PyObject
* obj0
= 0 ;
27842 char *kwnames
[] = {
27843 (char *) "self", NULL
27846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27848 if (SWIG_arg_fail(1)) SWIG_fail
;
27850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 (arg1
)->SetFocusFromKbd();
27853 wxPyEndAllowThreads(__tstate
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27856 Py_INCREF(Py_None
); resultobj
= Py_None
;
27863 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27864 PyObject
*resultobj
;
27866 char *kwnames
[] = {
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27872 if (!wxPyCheckForApp()) SWIG_fail
;
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 result
= (wxWindow
*)wxWindow::FindFocus();
27876 wxPyEndAllowThreads(__tstate
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27880 resultobj
= wxPyMake_wxObject(result
, 0);
27888 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
;
27890 wxWindow
*arg1
= (wxWindow
*) 0 ;
27892 PyObject
* obj0
= 0 ;
27893 char *kwnames
[] = {
27894 (char *) "self", NULL
27897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27899 if (SWIG_arg_fail(1)) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27916 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
;
27918 wxWindow
*arg1
= (wxWindow
*) 0 ;
27920 PyObject
* obj0
= 0 ;
27921 char *kwnames
[] = {
27922 (char *) "self", NULL
27925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27927 if (SWIG_arg_fail(1)) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27944 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
;
27946 wxWindow
*arg1
= (wxWindow
*) 0 ;
27948 PyObject
* obj0
= 0 ;
27949 char *kwnames
[] = {
27950 (char *) "self", NULL
27953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27955 if (SWIG_arg_fail(1)) SWIG_fail
;
27957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27958 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27960 wxPyEndAllowThreads(__tstate
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= wxPyMake_wxObject(result
, 0);
27972 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27973 PyObject
*resultobj
;
27974 wxWindow
*arg1
= (wxWindow
*) 0 ;
27975 wxWindow
*arg2
= (wxWindow
*) 0 ;
27977 PyObject
* obj0
= 0 ;
27978 PyObject
* obj1
= 0 ;
27979 char *kwnames
[] = {
27980 (char *) "self",(char *) "child", NULL
27983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27985 if (SWIG_arg_fail(1)) SWIG_fail
;
27986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27987 if (SWIG_arg_fail(2)) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= wxPyMake_wxObject(result
, 0);
28004 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28005 PyObject
*resultobj
;
28006 wxWindow
*arg1
= (wxWindow
*) 0 ;
28007 wxWindow
*arg2
= (wxWindow
*) 0 ;
28008 PyObject
* obj0
= 0 ;
28009 PyObject
* obj1
= 0 ;
28010 char *kwnames
[] = {
28011 (char *) "self",(char *) "win", NULL
28014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28016 if (SWIG_arg_fail(1)) SWIG_fail
;
28017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28018 if (SWIG_arg_fail(2)) SWIG_fail
;
28020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28021 (arg1
)->SetTmpDefaultItem(arg2
);
28023 wxPyEndAllowThreads(__tstate
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28026 Py_INCREF(Py_None
); resultobj
= Py_None
;
28033 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
;
28035 wxWindow
*arg1
= (wxWindow
*) 0 ;
28036 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28038 PyObject
* obj0
= 0 ;
28039 PyObject
* obj1
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "self",(char *) "flags", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28046 if (SWIG_arg_fail(1)) SWIG_fail
;
28049 arg2
= (int)(SWIG_As_int(obj1
));
28050 if (SWIG_arg_fail(2)) SWIG_fail
;
28054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28055 result
= (bool)(arg1
)->Navigate(arg2
);
28057 wxPyEndAllowThreads(__tstate
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28069 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
;
28071 wxWindow
*arg1
= (wxWindow
*) 0 ;
28072 wxWindow
*arg2
= (wxWindow
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self",(char *) "win", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28081 if (SWIG_arg_fail(1)) SWIG_fail
;
28082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28083 if (SWIG_arg_fail(2)) SWIG_fail
;
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 (arg1
)->MoveAfterInTabOrder(arg2
);
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 Py_INCREF(Py_None
); resultobj
= Py_None
;
28098 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxWindow
*arg1
= (wxWindow
*) 0 ;
28101 wxWindow
*arg2
= (wxWindow
*) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 PyObject
* obj1
= 0 ;
28104 char *kwnames
[] = {
28105 (char *) "self",(char *) "win", NULL
28108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28110 if (SWIG_arg_fail(1)) SWIG_fail
;
28111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28112 if (SWIG_arg_fail(2)) SWIG_fail
;
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 (arg1
)->MoveBeforeInTabOrder(arg2
);
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28120 Py_INCREF(Py_None
); resultobj
= Py_None
;
28127 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28128 PyObject
*resultobj
;
28129 wxWindow
*arg1
= (wxWindow
*) 0 ;
28131 PyObject
* obj0
= 0 ;
28132 char *kwnames
[] = {
28133 (char *) "self", NULL
28136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28138 if (SWIG_arg_fail(1)) SWIG_fail
;
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28141 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= result
;
28153 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
;
28155 wxWindow
*arg1
= (wxWindow
*) 0 ;
28157 PyObject
* obj0
= 0 ;
28158 char *kwnames
[] = {
28159 (char *) "self", NULL
28162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28164 if (SWIG_arg_fail(1)) SWIG_fail
;
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= wxPyMake_wxObject(result
, 0);
28181 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxWindow
*arg1
= (wxWindow
*) 0 ;
28185 PyObject
* obj0
= 0 ;
28186 char *kwnames
[] = {
28187 (char *) "self", NULL
28190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28192 if (SWIG_arg_fail(1)) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= wxPyMake_wxObject(result
, 0);
28209 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxWindow
*arg1
= (wxWindow
*) 0 ;
28213 PyObject
* obj0
= 0 ;
28214 char *kwnames
[] = {
28215 (char *) "self", NULL
28218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28220 if (SWIG_arg_fail(1)) SWIG_fail
;
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28225 wxPyEndAllowThreads(__tstate
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28237 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
;
28239 wxWindow
*arg1
= (wxWindow
*) 0 ;
28240 wxWindow
*arg2
= (wxWindow
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 PyObject
* obj1
= 0 ;
28244 char *kwnames
[] = {
28245 (char *) "self",(char *) "newParent", NULL
28248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28250 if (SWIG_arg_fail(1)) SWIG_fail
;
28251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28252 if (SWIG_arg_fail(2)) SWIG_fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 result
= (bool)(arg1
)->Reparent(arg2
);
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28269 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28270 PyObject
*resultobj
;
28271 wxWindow
*arg1
= (wxWindow
*) 0 ;
28272 wxWindow
*arg2
= (wxWindow
*) 0 ;
28273 PyObject
* obj0
= 0 ;
28274 PyObject
* obj1
= 0 ;
28275 char *kwnames
[] = {
28276 (char *) "self",(char *) "child", NULL
28279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28281 if (SWIG_arg_fail(1)) SWIG_fail
;
28282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28283 if (SWIG_arg_fail(2)) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 (arg1
)->AddChild(arg2
);
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28291 Py_INCREF(Py_None
); resultobj
= Py_None
;
28298 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxWindow
*arg1
= (wxWindow
*) 0 ;
28301 wxWindow
*arg2
= (wxWindow
*) 0 ;
28302 PyObject
* obj0
= 0 ;
28303 PyObject
* obj1
= 0 ;
28304 char *kwnames
[] = {
28305 (char *) "self",(char *) "child", NULL
28308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28310 if (SWIG_arg_fail(1)) SWIG_fail
;
28311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28312 if (SWIG_arg_fail(2)) SWIG_fail
;
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 (arg1
)->RemoveChild(arg2
);
28317 wxPyEndAllowThreads(__tstate
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28320 Py_INCREF(Py_None
); resultobj
= Py_None
;
28327 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxWindow
*arg1
= (wxWindow
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 char *kwnames
[] = {
28335 (char *) "self",(char *) "winid", NULL
28338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28340 if (SWIG_arg_fail(1)) SWIG_fail
;
28342 arg2
= (long)(SWIG_As_long(obj1
));
28343 if (SWIG_arg_fail(2)) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= wxPyMake_wxObject(result
, 0);
28361 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxWindow
*arg1
= (wxWindow
*) 0 ;
28364 wxString
*arg2
= 0 ;
28366 bool temp2
= false ;
28367 PyObject
* obj0
= 0 ;
28368 PyObject
* obj1
= 0 ;
28369 char *kwnames
[] = {
28370 (char *) "self",(char *) "name", NULL
28373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28375 if (SWIG_arg_fail(1)) SWIG_fail
;
28377 arg2
= wxString_in_helper(obj1
);
28378 if (arg2
== NULL
) SWIG_fail
;
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28389 resultobj
= wxPyMake_wxObject(result
, 0);
28405 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxWindow
*arg1
= (wxWindow
*) 0 ;
28408 wxEvtHandler
*result
;
28409 PyObject
* obj0
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28416 if (SWIG_arg_fail(1)) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28425 resultobj
= wxPyMake_wxObject(result
, 0);
28433 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
;
28435 wxWindow
*arg1
= (wxWindow
*) 0 ;
28436 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 char *kwnames
[] = {
28440 (char *) "self",(char *) "handler", NULL
28443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28445 if (SWIG_arg_fail(1)) SWIG_fail
;
28446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28447 if (SWIG_arg_fail(2)) SWIG_fail
;
28449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28450 (arg1
)->SetEventHandler(arg2
);
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 Py_INCREF(Py_None
); resultobj
= Py_None
;
28462 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
;
28464 wxWindow
*arg1
= (wxWindow
*) 0 ;
28465 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28466 PyObject
* obj0
= 0 ;
28467 PyObject
* obj1
= 0 ;
28468 char *kwnames
[] = {
28469 (char *) "self",(char *) "handler", NULL
28472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28474 if (SWIG_arg_fail(1)) SWIG_fail
;
28475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28476 if (SWIG_arg_fail(2)) SWIG_fail
;
28478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28479 (arg1
)->PushEventHandler(arg2
);
28481 wxPyEndAllowThreads(__tstate
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28484 Py_INCREF(Py_None
); resultobj
= Py_None
;
28491 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28492 PyObject
*resultobj
;
28493 wxWindow
*arg1
= (wxWindow
*) 0 ;
28494 bool arg2
= (bool) false ;
28495 wxEvtHandler
*result
;
28496 PyObject
* obj0
= 0 ;
28497 PyObject
* obj1
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "self",(char *) "deleteHandler", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28504 if (SWIG_arg_fail(1)) SWIG_fail
;
28507 arg2
= (bool)(SWIG_As_bool(obj1
));
28508 if (SWIG_arg_fail(2)) SWIG_fail
;
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= wxPyMake_wxObject(result
, 0);
28527 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28528 PyObject
*resultobj
;
28529 wxWindow
*arg1
= (wxWindow
*) 0 ;
28530 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 PyObject
* obj1
= 0 ;
28534 char *kwnames
[] = {
28535 (char *) "self",(char *) "handler", NULL
28538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28540 if (SWIG_arg_fail(1)) SWIG_fail
;
28541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28542 if (SWIG_arg_fail(2)) SWIG_fail
;
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28559 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
;
28561 wxWindow
*arg1
= (wxWindow
*) 0 ;
28562 wxValidator
*arg2
= 0 ;
28563 PyObject
* obj0
= 0 ;
28564 PyObject
* obj1
= 0 ;
28565 char *kwnames
[] = {
28566 (char *) "self",(char *) "validator", NULL
28569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28571 if (SWIG_arg_fail(1)) SWIG_fail
;
28573 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28574 if (SWIG_arg_fail(2)) SWIG_fail
;
28575 if (arg2
== NULL
) {
28576 SWIG_null_ref("wxValidator");
28578 if (SWIG_arg_fail(2)) SWIG_fail
;
28581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28582 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 Py_INCREF(Py_None
); resultobj
= Py_None
;
28594 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
;
28596 wxWindow
*arg1
= (wxWindow
*) 0 ;
28597 wxValidator
*result
;
28598 PyObject
* obj0
= 0 ;
28599 char *kwnames
[] = {
28600 (char *) "self", NULL
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28605 if (SWIG_arg_fail(1)) SWIG_fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (wxValidator
*)(arg1
)->GetValidator();
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= wxPyMake_wxObject(result
, 0);
28622 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28623 PyObject
*resultobj
;
28624 wxWindow
*arg1
= (wxWindow
*) 0 ;
28626 PyObject
* obj0
= 0 ;
28627 char *kwnames
[] = {
28628 (char *) "self", NULL
28631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28633 if (SWIG_arg_fail(1)) SWIG_fail
;
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 result
= (bool)(arg1
)->Validate();
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28650 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
;
28652 wxWindow
*arg1
= (wxWindow
*) 0 ;
28654 PyObject
* obj0
= 0 ;
28655 char *kwnames
[] = {
28656 (char *) "self", NULL
28659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28661 if (SWIG_arg_fail(1)) SWIG_fail
;
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 result
= (bool)(arg1
)->TransferDataToWindow();
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28678 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
;
28680 wxWindow
*arg1
= (wxWindow
*) 0 ;
28682 PyObject
* obj0
= 0 ;
28683 char *kwnames
[] = {
28684 (char *) "self", NULL
28687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28689 if (SWIG_arg_fail(1)) SWIG_fail
;
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 result
= (bool)(arg1
)->TransferDataFromWindow();
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28706 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
;
28708 wxWindow
*arg1
= (wxWindow
*) 0 ;
28709 PyObject
* obj0
= 0 ;
28710 char *kwnames
[] = {
28711 (char *) "self", NULL
28714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28716 if (SWIG_arg_fail(1)) SWIG_fail
;
28718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28719 (arg1
)->InitDialog();
28721 wxPyEndAllowThreads(__tstate
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28724 Py_INCREF(Py_None
); resultobj
= Py_None
;
28731 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28732 PyObject
*resultobj
;
28733 wxWindow
*arg1
= (wxWindow
*) 0 ;
28734 wxAcceleratorTable
*arg2
= 0 ;
28735 PyObject
* obj0
= 0 ;
28736 PyObject
* obj1
= 0 ;
28737 char *kwnames
[] = {
28738 (char *) "self",(char *) "accel", NULL
28741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28743 if (SWIG_arg_fail(1)) SWIG_fail
;
28745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28746 if (SWIG_arg_fail(2)) SWIG_fail
;
28747 if (arg2
== NULL
) {
28748 SWIG_null_ref("wxAcceleratorTable");
28750 if (SWIG_arg_fail(2)) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 Py_INCREF(Py_None
); resultobj
= Py_None
;
28766 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxWindow
*arg1
= (wxWindow
*) 0 ;
28769 wxAcceleratorTable
*result
;
28770 PyObject
* obj0
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "self", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28792 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28793 PyObject
*resultobj
;
28794 wxWindow
*arg1
= (wxWindow
*) 0 ;
28799 PyObject
* obj0
= 0 ;
28800 PyObject
* obj1
= 0 ;
28801 PyObject
* obj2
= 0 ;
28802 PyObject
* obj3
= 0 ;
28803 char *kwnames
[] = {
28804 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28809 if (SWIG_arg_fail(1)) SWIG_fail
;
28811 arg2
= (int)(SWIG_As_int(obj1
));
28812 if (SWIG_arg_fail(2)) SWIG_fail
;
28815 arg3
= (int)(SWIG_As_int(obj2
));
28816 if (SWIG_arg_fail(3)) SWIG_fail
;
28819 arg4
= (int)(SWIG_As_int(obj3
));
28820 if (SWIG_arg_fail(4)) SWIG_fail
;
28823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28824 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28838 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
;
28840 wxWindow
*arg1
= (wxWindow
*) 0 ;
28843 PyObject
* obj0
= 0 ;
28844 PyObject
* obj1
= 0 ;
28845 char *kwnames
[] = {
28846 (char *) "self",(char *) "hotkeyId", NULL
28849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28851 if (SWIG_arg_fail(1)) SWIG_fail
;
28853 arg2
= (int)(SWIG_As_int(obj1
));
28854 if (SWIG_arg_fail(2)) SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28872 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxWindow
*arg1
= (wxWindow
*) 0 ;
28875 wxPoint
*arg2
= 0 ;
28878 PyObject
* obj0
= 0 ;
28879 PyObject
* obj1
= 0 ;
28880 char *kwnames
[] = {
28881 (char *) "self",(char *) "pt", NULL
28884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28886 if (SWIG_arg_fail(1)) SWIG_fail
;
28889 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28899 wxPoint
* resultptr
;
28900 resultptr
= new wxPoint((wxPoint
&)(result
));
28901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28909 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
;
28911 wxWindow
*arg1
= (wxWindow
*) 0 ;
28915 PyObject
* obj0
= 0 ;
28916 PyObject
* obj1
= 0 ;
28917 char *kwnames
[] = {
28918 (char *) "self",(char *) "sz", NULL
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28923 if (SWIG_arg_fail(1)) SWIG_fail
;
28926 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28930 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28936 wxSize
* resultptr
;
28937 resultptr
= new wxSize((wxSize
&)(result
));
28938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28946 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28947 PyObject
*resultobj
;
28948 wxWindow
*arg1
= (wxWindow
*) 0 ;
28949 wxPoint
*arg2
= 0 ;
28952 PyObject
* obj0
= 0 ;
28953 PyObject
* obj1
= 0 ;
28954 char *kwnames
[] = {
28955 (char *) "self",(char *) "pt", NULL
28958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28960 if (SWIG_arg_fail(1)) SWIG_fail
;
28963 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28973 wxPoint
* resultptr
;
28974 resultptr
= new wxPoint((wxPoint
&)(result
));
28975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28983 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
;
28985 wxWindow
*arg1
= (wxWindow
*) 0 ;
28989 PyObject
* obj0
= 0 ;
28990 PyObject
* obj1
= 0 ;
28991 char *kwnames
[] = {
28992 (char *) "self",(char *) "sz", NULL
28995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28997 if (SWIG_arg_fail(1)) SWIG_fail
;
29000 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29010 wxSize
* resultptr
;
29011 resultptr
= new wxSize((wxSize
&)(result
));
29012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29020 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29021 PyObject
*resultobj
;
29022 wxWindow
*arg1
= (wxWindow
*) 0 ;
29023 wxPoint
*arg2
= 0 ;
29026 PyObject
* obj0
= 0 ;
29027 PyObject
* obj1
= 0 ;
29028 char *kwnames
[] = {
29029 (char *) "self",(char *) "pt", NULL
29032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29034 if (SWIG_arg_fail(1)) SWIG_fail
;
29037 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29047 wxPoint
* resultptr
;
29048 resultptr
= new wxPoint((wxPoint
&)(result
));
29049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29057 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29058 PyObject
*resultobj
;
29059 wxWindow
*arg1
= (wxWindow
*) 0 ;
29063 PyObject
* obj0
= 0 ;
29064 PyObject
* obj1
= 0 ;
29065 char *kwnames
[] = {
29066 (char *) "self",(char *) "sz", NULL
29069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29071 if (SWIG_arg_fail(1)) SWIG_fail
;
29074 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29084 wxSize
* resultptr
;
29085 resultptr
= new wxSize((wxSize
&)(result
));
29086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29094 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29095 PyObject
*resultobj
;
29096 wxWindow
*arg1
= (wxWindow
*) 0 ;
29099 PyObject
* obj0
= 0 ;
29100 PyObject
* obj1
= 0 ;
29101 PyObject
* obj2
= 0 ;
29102 char *kwnames
[] = {
29103 (char *) "self",(char *) "x",(char *) "y", NULL
29106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29108 if (SWIG_arg_fail(1)) SWIG_fail
;
29110 arg2
= (int)(SWIG_As_int(obj1
));
29111 if (SWIG_arg_fail(2)) SWIG_fail
;
29114 arg3
= (int)(SWIG_As_int(obj2
));
29115 if (SWIG_arg_fail(3)) SWIG_fail
;
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 (arg1
)->WarpPointer(arg2
,arg3
);
29121 wxPyEndAllowThreads(__tstate
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29124 Py_INCREF(Py_None
); resultobj
= Py_None
;
29131 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29132 PyObject
*resultobj
;
29133 wxWindow
*arg1
= (wxWindow
*) 0 ;
29134 PyObject
* obj0
= 0 ;
29135 char *kwnames
[] = {
29136 (char *) "self", NULL
29139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29141 if (SWIG_arg_fail(1)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 (arg1
)->CaptureMouse();
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29149 Py_INCREF(Py_None
); resultobj
= Py_None
;
29156 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
;
29158 wxWindow
*arg1
= (wxWindow
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 char *kwnames
[] = {
29161 (char *) "self", NULL
29164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29166 if (SWIG_arg_fail(1)) SWIG_fail
;
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 (arg1
)->ReleaseMouse();
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 Py_INCREF(Py_None
); resultobj
= Py_None
;
29181 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
;
29184 char *kwnames
[] = {
29188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29190 if (!wxPyCheckForApp()) SWIG_fail
;
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 result
= (wxWindow
*)wxWindow::GetCapture();
29194 wxPyEndAllowThreads(__tstate
);
29195 if (PyErr_Occurred()) SWIG_fail
;
29198 resultobj
= wxPyMake_wxObject(result
, 0);
29206 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
;
29208 wxWindow
*arg1
= (wxWindow
*) 0 ;
29210 PyObject
* obj0
= 0 ;
29211 char *kwnames
[] = {
29212 (char *) "self", NULL
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29217 if (SWIG_arg_fail(1)) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29234 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29235 PyObject
*resultobj
;
29236 wxWindow
*arg1
= (wxWindow
*) 0 ;
29237 bool arg2
= (bool) true ;
29238 wxRect
*arg3
= (wxRect
*) NULL
;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 PyObject
* obj2
= 0 ;
29242 char *kwnames
[] = {
29243 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29248 if (SWIG_arg_fail(1)) SWIG_fail
;
29251 arg2
= (bool)(SWIG_As_bool(obj1
));
29252 if (SWIG_arg_fail(2)) SWIG_fail
;
29256 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29257 if (SWIG_arg_fail(3)) SWIG_fail
;
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29266 Py_INCREF(Py_None
); resultobj
= Py_None
;
29273 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
;
29275 wxWindow
*arg1
= (wxWindow
*) 0 ;
29277 bool arg3
= (bool) true ;
29279 PyObject
* obj0
= 0 ;
29280 PyObject
* obj1
= 0 ;
29281 PyObject
* obj2
= 0 ;
29282 char *kwnames
[] = {
29283 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29288 if (SWIG_arg_fail(1)) SWIG_fail
;
29291 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29295 arg3
= (bool)(SWIG_As_bool(obj2
));
29296 if (SWIG_arg_fail(3)) SWIG_fail
;
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29306 Py_INCREF(Py_None
); resultobj
= Py_None
;
29313 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
;
29315 wxWindow
*arg1
= (wxWindow
*) 0 ;
29316 PyObject
* obj0
= 0 ;
29317 char *kwnames
[] = {
29318 (char *) "self", NULL
29321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29323 if (SWIG_arg_fail(1)) SWIG_fail
;
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29331 Py_INCREF(Py_None
); resultobj
= Py_None
;
29338 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29339 PyObject
*resultobj
;
29340 wxWindow
*arg1
= (wxWindow
*) 0 ;
29341 PyObject
* obj0
= 0 ;
29342 char *kwnames
[] = {
29343 (char *) "self", NULL
29346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29348 if (SWIG_arg_fail(1)) SWIG_fail
;
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 (arg1
)->ClearBackground();
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 Py_INCREF(Py_None
); resultobj
= Py_None
;
29363 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
;
29365 wxWindow
*arg1
= (wxWindow
*) 0 ;
29366 PyObject
* obj0
= 0 ;
29367 char *kwnames
[] = {
29368 (char *) "self", NULL
29371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29373 if (SWIG_arg_fail(1)) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 Py_INCREF(Py_None
); resultobj
= Py_None
;
29388 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
;
29390 wxWindow
*arg1
= (wxWindow
*) 0 ;
29391 PyObject
* obj0
= 0 ;
29392 char *kwnames
[] = {
29393 (char *) "self", NULL
29396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29398 if (SWIG_arg_fail(1)) SWIG_fail
;
29400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 Py_INCREF(Py_None
); resultobj
= Py_None
;
29413 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
;
29415 wxWindow
*arg1
= (wxWindow
*) 0 ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 char *kwnames
[] = {
29420 (char *) "self",(char *) "dc", NULL
29423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29425 if (SWIG_arg_fail(1)) SWIG_fail
;
29427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29428 if (SWIG_arg_fail(2)) SWIG_fail
;
29429 if (arg2
== NULL
) {
29430 SWIG_null_ref("wxDC");
29432 if (SWIG_arg_fail(2)) SWIG_fail
;
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 (arg1
)->PrepareDC(*arg2
);
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 Py_INCREF(Py_None
); resultobj
= Py_None
;
29448 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
;
29450 wxWindow
*arg1
= (wxWindow
*) 0 ;
29452 PyObject
* obj0
= 0 ;
29453 char *kwnames
[] = {
29454 (char *) "self", NULL
29457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29459 if (SWIG_arg_fail(1)) SWIG_fail
;
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29464 result
= (wxRegion
*) &_result_ref
;
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29477 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
;
29479 wxWindow
*arg1
= (wxWindow
*) 0 ;
29481 PyObject
* obj0
= 0 ;
29482 char *kwnames
[] = {
29483 (char *) "self", NULL
29486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29488 if (SWIG_arg_fail(1)) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29497 wxRect
* resultptr
;
29498 resultptr
= new wxRect((wxRect
&)(result
));
29499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29507 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29508 PyObject
*resultobj
;
29509 wxWindow
*arg1
= (wxWindow
*) 0 ;
29512 int arg4
= (int) 1 ;
29513 int arg5
= (int) 1 ;
29515 PyObject
* obj0
= 0 ;
29516 PyObject
* obj1
= 0 ;
29517 PyObject
* obj2
= 0 ;
29518 PyObject
* obj3
= 0 ;
29519 PyObject
* obj4
= 0 ;
29520 char *kwnames
[] = {
29521 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29526 if (SWIG_arg_fail(1)) SWIG_fail
;
29528 arg2
= (int)(SWIG_As_int(obj1
));
29529 if (SWIG_arg_fail(2)) SWIG_fail
;
29532 arg3
= (int)(SWIG_As_int(obj2
));
29533 if (SWIG_arg_fail(3)) SWIG_fail
;
29537 arg4
= (int)(SWIG_As_int(obj3
));
29538 if (SWIG_arg_fail(4)) SWIG_fail
;
29543 arg5
= (int)(SWIG_As_int(obj4
));
29544 if (SWIG_arg_fail(5)) SWIG_fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29563 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29564 PyObject
*resultobj
;
29565 wxWindow
*arg1
= (wxWindow
*) 0 ;
29566 wxPoint
*arg2
= 0 ;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 char *kwnames
[] = {
29572 (char *) "self",(char *) "pt", NULL
29575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29577 if (SWIG_arg_fail(1)) SWIG_fail
;
29580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29598 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29599 PyObject
*resultobj
;
29600 wxWindow
*arg1
= (wxWindow
*) 0 ;
29604 PyObject
* obj0
= 0 ;
29605 PyObject
* obj1
= 0 ;
29606 char *kwnames
[] = {
29607 (char *) "self",(char *) "rect", NULL
29610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29612 if (SWIG_arg_fail(1)) SWIG_fail
;
29615 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29633 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29634 PyObject
*resultobj
;
29635 wxWindow
*arg1
= (wxWindow
*) 0 ;
29636 wxVisualAttributes result
;
29637 PyObject
* obj0
= 0 ;
29638 char *kwnames
[] = {
29639 (char *) "self", NULL
29642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29644 if (SWIG_arg_fail(1)) SWIG_fail
;
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29653 wxVisualAttributes
* resultptr
;
29654 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29663 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
;
29665 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29666 wxVisualAttributes result
;
29667 PyObject
* obj0
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "variant", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29675 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29676 if (SWIG_arg_fail(1)) SWIG_fail
;
29680 if (!wxPyCheckForApp()) SWIG_fail
;
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29684 wxPyEndAllowThreads(__tstate
);
29685 if (PyErr_Occurred()) SWIG_fail
;
29688 wxVisualAttributes
* resultptr
;
29689 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29698 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29699 PyObject
*resultobj
;
29700 wxWindow
*arg1
= (wxWindow
*) 0 ;
29701 wxColour
*arg2
= 0 ;
29704 PyObject
* obj0
= 0 ;
29705 PyObject
* obj1
= 0 ;
29706 char *kwnames
[] = {
29707 (char *) "self",(char *) "colour", NULL
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29712 if (SWIG_arg_fail(1)) SWIG_fail
;
29715 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29733 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29734 PyObject
*resultobj
;
29735 wxWindow
*arg1
= (wxWindow
*) 0 ;
29736 wxColour
*arg2
= 0 ;
29738 PyObject
* obj0
= 0 ;
29739 PyObject
* obj1
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self",(char *) "colour", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",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
;
29749 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29753 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29755 wxPyEndAllowThreads(__tstate
);
29756 if (PyErr_Occurred()) SWIG_fail
;
29758 Py_INCREF(Py_None
); resultobj
= Py_None
;
29765 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29766 PyObject
*resultobj
;
29767 wxWindow
*arg1
= (wxWindow
*) 0 ;
29768 wxColour
*arg2
= 0 ;
29771 PyObject
* obj0
= 0 ;
29772 PyObject
* obj1
= 0 ;
29773 char *kwnames
[] = {
29774 (char *) "self",(char *) "colour", NULL
29777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29779 if (SWIG_arg_fail(1)) SWIG_fail
;
29782 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29800 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
;
29802 wxWindow
*arg1
= (wxWindow
*) 0 ;
29803 wxColour
*arg2
= 0 ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char *kwnames
[] = {
29808 (char *) "self",(char *) "colour", NULL
29811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",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
;
29816 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29820 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29825 Py_INCREF(Py_None
); resultobj
= Py_None
;
29832 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29833 PyObject
*resultobj
;
29834 wxWindow
*arg1
= (wxWindow
*) 0 ;
29836 PyObject
* obj0
= 0 ;
29837 char *kwnames
[] = {
29838 (char *) "self", NULL
29841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29843 if (SWIG_arg_fail(1)) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29852 wxColour
* resultptr
;
29853 resultptr
= new wxColour((wxColour
&)(result
));
29854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29862 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29863 PyObject
*resultobj
;
29864 wxWindow
*arg1
= (wxWindow
*) 0 ;
29866 PyObject
* obj0
= 0 ;
29867 char *kwnames
[] = {
29868 (char *) "self", NULL
29871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29873 if (SWIG_arg_fail(1)) SWIG_fail
;
29875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29876 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29878 wxPyEndAllowThreads(__tstate
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29882 wxColour
* resultptr
;
29883 resultptr
= new wxColour((wxColour
&)(result
));
29884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29892 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29893 PyObject
*resultobj
;
29894 wxWindow
*arg1
= (wxWindow
*) 0 ;
29896 PyObject
* obj0
= 0 ;
29897 char *kwnames
[] = {
29898 (char *) "self", NULL
29901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29903 if (SWIG_arg_fail(1)) SWIG_fail
;
29905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29920 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
;
29922 wxWindow
*arg1
= (wxWindow
*) 0 ;
29924 PyObject
* obj0
= 0 ;
29925 char *kwnames
[] = {
29926 (char *) "self", NULL
29929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29931 if (SWIG_arg_fail(1)) SWIG_fail
;
29933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29934 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29936 wxPyEndAllowThreads(__tstate
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29948 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29949 PyObject
*resultobj
;
29950 wxWindow
*arg1
= (wxWindow
*) 0 ;
29951 wxBackgroundStyle arg2
;
29953 PyObject
* obj0
= 0 ;
29954 PyObject
* obj1
= 0 ;
29955 char *kwnames
[] = {
29956 (char *) "self",(char *) "style", NULL
29959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29961 if (SWIG_arg_fail(1)) SWIG_fail
;
29963 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29964 if (SWIG_arg_fail(2)) SWIG_fail
;
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29982 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
;
29984 wxWindow
*arg1
= (wxWindow
*) 0 ;
29985 wxBackgroundStyle result
;
29986 PyObject
* obj0
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "self", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29993 if (SWIG_arg_fail(1)) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= SWIG_From_int((result
));
30008 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30009 PyObject
*resultobj
;
30010 wxWindow
*arg1
= (wxWindow
*) 0 ;
30012 PyObject
* obj0
= 0 ;
30013 char *kwnames
[] = {
30014 (char *) "self", NULL
30017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30019 if (SWIG_arg_fail(1)) SWIG_fail
;
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 result
= (bool)(arg1
)->HasTransparentBackground();
30024 wxPyEndAllowThreads(__tstate
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30036 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30037 PyObject
*resultobj
;
30038 wxWindow
*arg1
= (wxWindow
*) 0 ;
30039 wxCursor
*arg2
= 0 ;
30041 PyObject
* obj0
= 0 ;
30042 PyObject
* obj1
= 0 ;
30043 char *kwnames
[] = {
30044 (char *) "self",(char *) "cursor", NULL
30047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30049 if (SWIG_arg_fail(1)) SWIG_fail
;
30051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30052 if (SWIG_arg_fail(2)) SWIG_fail
;
30053 if (arg2
== NULL
) {
30054 SWIG_null_ref("wxCursor");
30056 if (SWIG_arg_fail(2)) SWIG_fail
;
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30060 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30062 wxPyEndAllowThreads(__tstate
);
30063 if (PyErr_Occurred()) SWIG_fail
;
30066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30074 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30075 PyObject
*resultobj
;
30076 wxWindow
*arg1
= (wxWindow
*) 0 ;
30078 PyObject
* obj0
= 0 ;
30079 char *kwnames
[] = {
30080 (char *) "self", NULL
30083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30085 if (SWIG_arg_fail(1)) SWIG_fail
;
30087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30088 result
= (arg1
)->GetCursor();
30090 wxPyEndAllowThreads(__tstate
);
30091 if (PyErr_Occurred()) SWIG_fail
;
30094 wxCursor
* resultptr
;
30095 resultptr
= new wxCursor((wxCursor
&)(result
));
30096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30104 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30105 PyObject
*resultobj
;
30106 wxWindow
*arg1
= (wxWindow
*) 0 ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 char *kwnames
[] = {
30112 (char *) "self",(char *) "font", NULL
30115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30117 if (SWIG_arg_fail(1)) SWIG_fail
;
30119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30120 if (SWIG_arg_fail(2)) SWIG_fail
;
30121 if (arg2
== NULL
) {
30122 SWIG_null_ref("wxFont");
30124 if (SWIG_arg_fail(2)) SWIG_fail
;
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30142 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30143 PyObject
*resultobj
;
30144 wxWindow
*arg1
= (wxWindow
*) 0 ;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 char *kwnames
[] = {
30149 (char *) "self",(char *) "font", NULL
30152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30154 if (SWIG_arg_fail(1)) SWIG_fail
;
30156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30157 if (SWIG_arg_fail(2)) SWIG_fail
;
30158 if (arg2
== NULL
) {
30159 SWIG_null_ref("wxFont");
30161 if (SWIG_arg_fail(2)) SWIG_fail
;
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30167 wxPyEndAllowThreads(__tstate
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30170 Py_INCREF(Py_None
); resultobj
= Py_None
;
30177 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30178 PyObject
*resultobj
;
30179 wxWindow
*arg1
= (wxWindow
*) 0 ;
30181 PyObject
* obj0
= 0 ;
30182 char *kwnames
[] = {
30183 (char *) "self", NULL
30186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30188 if (SWIG_arg_fail(1)) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 result
= (arg1
)->GetFont();
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30197 wxFont
* resultptr
;
30198 resultptr
= new wxFont((wxFont
&)(result
));
30199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30207 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30208 PyObject
*resultobj
;
30209 wxWindow
*arg1
= (wxWindow
*) 0 ;
30210 wxCaret
*arg2
= (wxCaret
*) 0 ;
30211 PyObject
* obj0
= 0 ;
30212 PyObject
* obj1
= 0 ;
30213 char *kwnames
[] = {
30214 (char *) "self",(char *) "caret", NULL
30217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30219 if (SWIG_arg_fail(1)) SWIG_fail
;
30220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30221 if (SWIG_arg_fail(2)) SWIG_fail
;
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 (arg1
)->SetCaret(arg2
);
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30229 Py_INCREF(Py_None
); resultobj
= Py_None
;
30236 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
;
30238 wxWindow
*arg1
= (wxWindow
*) 0 ;
30240 PyObject
* obj0
= 0 ;
30241 char *kwnames
[] = {
30242 (char *) "self", NULL
30245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30247 if (SWIG_arg_fail(1)) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30262 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
;
30264 wxWindow
*arg1
= (wxWindow
*) 0 ;
30266 PyObject
* obj0
= 0 ;
30267 char *kwnames
[] = {
30268 (char *) "self", NULL
30271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30273 if (SWIG_arg_fail(1)) SWIG_fail
;
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30282 resultobj
= SWIG_From_int((int)(result
));
30290 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30291 PyObject
*resultobj
;
30292 wxWindow
*arg1
= (wxWindow
*) 0 ;
30294 PyObject
* obj0
= 0 ;
30295 char *kwnames
[] = {
30296 (char *) "self", NULL
30299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30301 if (SWIG_arg_fail(1)) SWIG_fail
;
30303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30310 resultobj
= SWIG_From_int((int)(result
));
30318 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30319 PyObject
*resultobj
;
30320 wxWindow
*arg1
= (wxWindow
*) 0 ;
30321 wxString
*arg2
= 0 ;
30322 int *arg3
= (int *) 0 ;
30323 int *arg4
= (int *) 0 ;
30324 bool temp2
= false ;
30329 PyObject
* obj0
= 0 ;
30330 PyObject
* obj1
= 0 ;
30331 char *kwnames
[] = {
30332 (char *) "self",(char *) "string", NULL
30335 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30336 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30339 if (SWIG_arg_fail(1)) SWIG_fail
;
30341 arg2
= wxString_in_helper(obj1
);
30342 if (arg2
== NULL
) SWIG_fail
;
30346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30347 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30349 wxPyEndAllowThreads(__tstate
);
30350 if (PyErr_Occurred()) SWIG_fail
;
30352 Py_INCREF(Py_None
); resultobj
= Py_None
;
30353 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30354 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30355 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30356 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30371 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxWindow
*arg1
= (wxWindow
*) 0 ;
30374 wxString
*arg2
= 0 ;
30375 int *arg3
= (int *) 0 ;
30376 int *arg4
= (int *) 0 ;
30377 int *arg5
= (int *) 0 ;
30378 int *arg6
= (int *) 0 ;
30379 wxFont
*arg7
= (wxFont
*) NULL
;
30380 bool temp2
= false ;
30389 PyObject
* obj0
= 0 ;
30390 PyObject
* obj1
= 0 ;
30391 PyObject
* obj2
= 0 ;
30392 char *kwnames
[] = {
30393 (char *) "self",(char *) "string",(char *) "font", NULL
30396 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30397 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30398 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30399 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30402 if (SWIG_arg_fail(1)) SWIG_fail
;
30404 arg2
= wxString_in_helper(obj1
);
30405 if (arg2
== NULL
) SWIG_fail
;
30409 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30410 if (SWIG_arg_fail(7)) SWIG_fail
;
30413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30414 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30416 wxPyEndAllowThreads(__tstate
);
30417 if (PyErr_Occurred()) SWIG_fail
;
30419 Py_INCREF(Py_None
); resultobj
= Py_None
;
30420 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30421 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30422 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30423 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30424 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30425 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30426 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30427 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30442 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
;
30444 wxWindow
*arg1
= (wxWindow
*) 0 ;
30445 int *arg2
= (int *) 0 ;
30446 int *arg3
= (int *) 0 ;
30451 PyObject
* obj0
= 0 ;
30452 PyObject
* obj1
= 0 ;
30453 PyObject
* obj2
= 0 ;
30454 char *kwnames
[] = {
30455 (char *) "self",(char *) "x",(char *) "y", NULL
30458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30460 if (SWIG_arg_fail(1)) SWIG_fail
;
30462 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30463 temp2
= SWIG_As_int(obj1
);
30464 if (SWIG_arg_fail(2)) SWIG_fail
;
30466 res2
= SWIG_NEWOBJ
;
30470 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30471 temp3
= SWIG_As_int(obj2
);
30472 if (SWIG_arg_fail(3)) SWIG_fail
;
30474 res3
= SWIG_NEWOBJ
;
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 Py_INCREF(Py_None
); resultobj
= Py_None
;
30485 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30486 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30487 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30488 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30495 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxWindow
*arg1
= (wxWindow
*) 0 ;
30498 int *arg2
= (int *) 0 ;
30499 int *arg3
= (int *) 0 ;
30504 PyObject
* obj0
= 0 ;
30505 PyObject
* obj1
= 0 ;
30506 PyObject
* obj2
= 0 ;
30507 char *kwnames
[] = {
30508 (char *) "self",(char *) "x",(char *) "y", NULL
30511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30513 if (SWIG_arg_fail(1)) SWIG_fail
;
30515 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30516 temp2
= SWIG_As_int(obj1
);
30517 if (SWIG_arg_fail(2)) SWIG_fail
;
30519 res2
= SWIG_NEWOBJ
;
30523 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30524 temp3
= SWIG_As_int(obj2
);
30525 if (SWIG_arg_fail(3)) SWIG_fail
;
30527 res3
= SWIG_NEWOBJ
;
30531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30532 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30537 Py_INCREF(Py_None
); resultobj
= Py_None
;
30538 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30539 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30540 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30541 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30548 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
;
30550 wxWindow
*arg1
= (wxWindow
*) 0 ;
30551 wxPoint
*arg2
= 0 ;
30554 PyObject
* obj0
= 0 ;
30555 PyObject
* obj1
= 0 ;
30556 char *kwnames
[] = {
30557 (char *) "self",(char *) "pt", NULL
30560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30562 if (SWIG_arg_fail(1)) SWIG_fail
;
30565 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30569 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30575 wxPoint
* resultptr
;
30576 resultptr
= new wxPoint((wxPoint
&)(result
));
30577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30585 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30586 PyObject
*resultobj
;
30587 wxWindow
*arg1
= (wxWindow
*) 0 ;
30588 wxPoint
*arg2
= 0 ;
30591 PyObject
* obj0
= 0 ;
30592 PyObject
* obj1
= 0 ;
30593 char *kwnames
[] = {
30594 (char *) "self",(char *) "pt", NULL
30597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30599 if (SWIG_arg_fail(1)) SWIG_fail
;
30602 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30606 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30608 wxPyEndAllowThreads(__tstate
);
30609 if (PyErr_Occurred()) SWIG_fail
;
30612 wxPoint
* resultptr
;
30613 resultptr
= new wxPoint((wxPoint
&)(result
));
30614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30622 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30623 PyObject
*resultobj
;
30624 wxWindow
*arg1
= (wxWindow
*) 0 ;
30628 PyObject
* obj0
= 0 ;
30629 PyObject
* obj1
= 0 ;
30630 PyObject
* obj2
= 0 ;
30631 char *kwnames
[] = {
30632 (char *) "self",(char *) "x",(char *) "y", NULL
30635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30637 if (SWIG_arg_fail(1)) SWIG_fail
;
30639 arg2
= (int)(SWIG_As_int(obj1
));
30640 if (SWIG_arg_fail(2)) SWIG_fail
;
30643 arg3
= (int)(SWIG_As_int(obj2
));
30644 if (SWIG_arg_fail(3)) SWIG_fail
;
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= SWIG_From_int((result
));
30660 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxWindow
*arg1
= (wxWindow
*) 0 ;
30663 wxPoint
*arg2
= 0 ;
30666 PyObject
* obj0
= 0 ;
30667 PyObject
* obj1
= 0 ;
30668 char *kwnames
[] = {
30669 (char *) "self",(char *) "pt", NULL
30672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30674 if (SWIG_arg_fail(1)) SWIG_fail
;
30677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= SWIG_From_int((result
));
30693 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30694 PyObject
*resultobj
;
30695 wxWindow
*arg1
= (wxWindow
*) 0 ;
30698 PyObject
* obj0
= 0 ;
30699 PyObject
* obj1
= 0 ;
30701 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30703 if (SWIG_arg_fail(1)) SWIG_fail
;
30705 arg2
= (long)(SWIG_As_long(obj1
));
30706 if (SWIG_arg_fail(2)) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 resultobj
= SWIG_From_int((result
));
30722 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30723 PyObject
*resultobj
;
30724 wxWindow
*arg1
= (wxWindow
*) 0 ;
30726 PyObject
* obj0
= 0 ;
30728 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30730 if (SWIG_arg_fail(1)) SWIG_fail
;
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30738 resultobj
= SWIG_From_int((result
));
30745 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30750 argc
= PyObject_Length(args
);
30751 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30752 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30758 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30766 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30773 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30781 _v
= SWIG_Check_long(argv
[1]);
30783 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30788 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30793 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
;
30795 wxWindow
*arg1
= (wxWindow
*) 0 ;
30796 long arg2
= (long) wxUPDATE_UI_NONE
;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 char *kwnames
[] = {
30800 (char *) "self",(char *) "flags", NULL
30803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30805 if (SWIG_arg_fail(1)) SWIG_fail
;
30808 arg2
= (long)(SWIG_As_long(obj1
));
30809 if (SWIG_arg_fail(2)) SWIG_fail
;
30813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30814 (arg1
)->UpdateWindowUI(arg2
);
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30819 Py_INCREF(Py_None
); resultobj
= Py_None
;
30826 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
;
30828 wxWindow
*arg1
= (wxWindow
*) 0 ;
30829 wxMenu
*arg2
= (wxMenu
*) 0 ;
30830 int arg3
= (int) -1 ;
30831 int arg4
= (int) -1 ;
30833 PyObject
* obj0
= 0 ;
30834 PyObject
* obj1
= 0 ;
30835 PyObject
* obj2
= 0 ;
30836 PyObject
* obj3
= 0 ;
30837 char *kwnames
[] = {
30838 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30843 if (SWIG_arg_fail(1)) SWIG_fail
;
30844 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30845 if (SWIG_arg_fail(2)) SWIG_fail
;
30848 arg3
= (int)(SWIG_As_int(obj2
));
30849 if (SWIG_arg_fail(3)) SWIG_fail
;
30854 arg4
= (int)(SWIG_As_int(obj3
));
30855 if (SWIG_arg_fail(4)) SWIG_fail
;
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30874 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxWindow
*arg1
= (wxWindow
*) 0 ;
30877 wxMenu
*arg2
= (wxMenu
*) 0 ;
30878 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30879 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30882 PyObject
* obj0
= 0 ;
30883 PyObject
* obj1
= 0 ;
30884 PyObject
* obj2
= 0 ;
30885 char *kwnames
[] = {
30886 (char *) "self",(char *) "menu",(char *) "pos", NULL
30889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30891 if (SWIG_arg_fail(1)) SWIG_fail
;
30892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30893 if (SWIG_arg_fail(2)) SWIG_fail
;
30897 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30904 wxPyEndAllowThreads(__tstate
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30916 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30917 PyObject
*resultobj
;
30918 wxWindow
*arg1
= (wxWindow
*) 0 ;
30920 PyObject
* obj0
= 0 ;
30921 char *kwnames
[] = {
30922 (char *) "self", NULL
30925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30927 if (SWIG_arg_fail(1)) SWIG_fail
;
30929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30930 result
= (long)wxWindow_GetHandle(arg1
);
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30936 resultobj
= SWIG_From_long((long)(result
));
30944 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30945 PyObject
*resultobj
;
30946 wxWindow
*arg1
= (wxWindow
*) 0 ;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 char *kwnames
[] = {
30951 (char *) "self",(char *) "handle", NULL
30954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30956 if (SWIG_arg_fail(1)) SWIG_fail
;
30958 arg2
= (long)(SWIG_As_long(obj1
));
30959 if (SWIG_arg_fail(2)) SWIG_fail
;
30962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30963 wxWindow_AssociateHandle(arg1
,arg2
);
30965 wxPyEndAllowThreads(__tstate
);
30966 if (PyErr_Occurred()) SWIG_fail
;
30968 Py_INCREF(Py_None
); resultobj
= Py_None
;
30975 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30976 PyObject
*resultobj
;
30977 wxWindow
*arg1
= (wxWindow
*) 0 ;
30978 PyObject
* obj0
= 0 ;
30979 char *kwnames
[] = {
30980 (char *) "self", NULL
30983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30985 if (SWIG_arg_fail(1)) SWIG_fail
;
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30988 (arg1
)->DissociateHandle();
30990 wxPyEndAllowThreads(__tstate
);
30991 if (PyErr_Occurred()) SWIG_fail
;
30993 Py_INCREF(Py_None
); resultobj
= Py_None
;
31000 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31001 PyObject
*resultobj
;
31002 wxWindow
*arg1
= (wxWindow
*) 0 ;
31003 wxPaintEvent
*arg2
= 0 ;
31004 PyObject
* obj0
= 0 ;
31005 PyObject
* obj1
= 0 ;
31006 char *kwnames
[] = {
31007 (char *) "self",(char *) "event", NULL
31010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
31011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31012 if (SWIG_arg_fail(1)) SWIG_fail
;
31014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
31015 if (SWIG_arg_fail(2)) SWIG_fail
;
31016 if (arg2
== NULL
) {
31017 SWIG_null_ref("wxPaintEvent");
31019 if (SWIG_arg_fail(2)) SWIG_fail
;
31022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 (arg1
)->OnPaint(*arg2
);
31025 wxPyEndAllowThreads(__tstate
);
31026 if (PyErr_Occurred()) SWIG_fail
;
31028 Py_INCREF(Py_None
); resultobj
= Py_None
;
31035 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31036 PyObject
*resultobj
;
31037 wxWindow
*arg1
= (wxWindow
*) 0 ;
31040 PyObject
* obj0
= 0 ;
31041 PyObject
* obj1
= 0 ;
31042 char *kwnames
[] = {
31043 (char *) "self",(char *) "orient", NULL
31046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31048 if (SWIG_arg_fail(1)) SWIG_fail
;
31050 arg2
= (int)(SWIG_As_int(obj1
));
31051 if (SWIG_arg_fail(2)) SWIG_fail
;
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31069 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31070 PyObject
*resultobj
;
31071 wxWindow
*arg1
= (wxWindow
*) 0 ;
31076 bool arg6
= (bool) true ;
31077 PyObject
* obj0
= 0 ;
31078 PyObject
* obj1
= 0 ;
31079 PyObject
* obj2
= 0 ;
31080 PyObject
* obj3
= 0 ;
31081 PyObject
* obj4
= 0 ;
31082 PyObject
* obj5
= 0 ;
31083 char *kwnames
[] = {
31084 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31089 if (SWIG_arg_fail(1)) SWIG_fail
;
31091 arg2
= (int)(SWIG_As_int(obj1
));
31092 if (SWIG_arg_fail(2)) SWIG_fail
;
31095 arg3
= (int)(SWIG_As_int(obj2
));
31096 if (SWIG_arg_fail(3)) SWIG_fail
;
31099 arg4
= (int)(SWIG_As_int(obj3
));
31100 if (SWIG_arg_fail(4)) SWIG_fail
;
31103 arg5
= (int)(SWIG_As_int(obj4
));
31104 if (SWIG_arg_fail(5)) SWIG_fail
;
31108 arg6
= (bool)(SWIG_As_bool(obj5
));
31109 if (SWIG_arg_fail(6)) SWIG_fail
;
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 Py_INCREF(Py_None
); resultobj
= Py_None
;
31126 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
;
31128 wxWindow
*arg1
= (wxWindow
*) 0 ;
31131 bool arg4
= (bool) true ;
31132 PyObject
* obj0
= 0 ;
31133 PyObject
* obj1
= 0 ;
31134 PyObject
* obj2
= 0 ;
31135 PyObject
* obj3
= 0 ;
31136 char *kwnames
[] = {
31137 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31142 if (SWIG_arg_fail(1)) SWIG_fail
;
31144 arg2
= (int)(SWIG_As_int(obj1
));
31145 if (SWIG_arg_fail(2)) SWIG_fail
;
31148 arg3
= (int)(SWIG_As_int(obj2
));
31149 if (SWIG_arg_fail(3)) SWIG_fail
;
31153 arg4
= (bool)(SWIG_As_bool(obj3
));
31154 if (SWIG_arg_fail(4)) SWIG_fail
;
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 Py_INCREF(Py_None
); resultobj
= Py_None
;
31171 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
;
31173 wxWindow
*arg1
= (wxWindow
*) 0 ;
31176 PyObject
* obj0
= 0 ;
31177 PyObject
* obj1
= 0 ;
31178 char *kwnames
[] = {
31179 (char *) "self",(char *) "orientation", NULL
31182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31184 if (SWIG_arg_fail(1)) SWIG_fail
;
31186 arg2
= (int)(SWIG_As_int(obj1
));
31187 if (SWIG_arg_fail(2)) SWIG_fail
;
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31191 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31197 resultobj
= SWIG_From_int((int)(result
));
31205 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31206 PyObject
*resultobj
;
31207 wxWindow
*arg1
= (wxWindow
*) 0 ;
31210 PyObject
* obj0
= 0 ;
31211 PyObject
* obj1
= 0 ;
31212 char *kwnames
[] = {
31213 (char *) "self",(char *) "orientation", NULL
31216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",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
;
31220 arg2
= (int)(SWIG_As_int(obj1
));
31221 if (SWIG_arg_fail(2)) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_From_int((int)(result
));
31239 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31240 PyObject
*resultobj
;
31241 wxWindow
*arg1
= (wxWindow
*) 0 ;
31244 PyObject
* obj0
= 0 ;
31245 PyObject
* obj1
= 0 ;
31246 char *kwnames
[] = {
31247 (char *) "self",(char *) "orientation", NULL
31250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",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
;
31254 arg2
= (int)(SWIG_As_int(obj1
));
31255 if (SWIG_arg_fail(2)) SWIG_fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31265 resultobj
= SWIG_From_int((int)(result
));
31273 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31274 PyObject
*resultobj
;
31275 wxWindow
*arg1
= (wxWindow
*) 0 ;
31278 wxRect
*arg4
= (wxRect
*) NULL
;
31279 PyObject
* obj0
= 0 ;
31280 PyObject
* obj1
= 0 ;
31281 PyObject
* obj2
= 0 ;
31282 PyObject
* obj3
= 0 ;
31283 char *kwnames
[] = {
31284 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31289 if (SWIG_arg_fail(1)) SWIG_fail
;
31291 arg2
= (int)(SWIG_As_int(obj1
));
31292 if (SWIG_arg_fail(2)) SWIG_fail
;
31295 arg3
= (int)(SWIG_As_int(obj2
));
31296 if (SWIG_arg_fail(3)) SWIG_fail
;
31299 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31300 if (SWIG_arg_fail(4)) SWIG_fail
;
31303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31304 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31309 Py_INCREF(Py_None
); resultobj
= Py_None
;
31316 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31317 PyObject
*resultobj
;
31318 wxWindow
*arg1
= (wxWindow
*) 0 ;
31321 PyObject
* obj0
= 0 ;
31322 PyObject
* obj1
= 0 ;
31323 char *kwnames
[] = {
31324 (char *) "self",(char *) "lines", NULL
31327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31329 if (SWIG_arg_fail(1)) SWIG_fail
;
31331 arg2
= (int)(SWIG_As_int(obj1
));
31332 if (SWIG_arg_fail(2)) SWIG_fail
;
31335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31336 result
= (bool)(arg1
)->ScrollLines(arg2
);
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31350 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
;
31352 wxWindow
*arg1
= (wxWindow
*) 0 ;
31355 PyObject
* obj0
= 0 ;
31356 PyObject
* obj1
= 0 ;
31357 char *kwnames
[] = {
31358 (char *) "self",(char *) "pages", NULL
31361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",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
;
31365 arg2
= (int)(SWIG_As_int(obj1
));
31366 if (SWIG_arg_fail(2)) SWIG_fail
;
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 result
= (bool)(arg1
)->ScrollPages(arg2
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31384 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
;
31386 wxWindow
*arg1
= (wxWindow
*) 0 ;
31388 PyObject
* obj0
= 0 ;
31389 char *kwnames
[] = {
31390 (char *) "self", NULL
31393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31395 if (SWIG_arg_fail(1)) SWIG_fail
;
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 result
= (bool)(arg1
)->LineUp();
31400 wxPyEndAllowThreads(__tstate
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31412 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31413 PyObject
*resultobj
;
31414 wxWindow
*arg1
= (wxWindow
*) 0 ;
31416 PyObject
* obj0
= 0 ;
31417 char *kwnames
[] = {
31418 (char *) "self", NULL
31421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31423 if (SWIG_arg_fail(1)) SWIG_fail
;
31425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31426 result
= (bool)(arg1
)->LineDown();
31428 wxPyEndAllowThreads(__tstate
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31440 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31441 PyObject
*resultobj
;
31442 wxWindow
*arg1
= (wxWindow
*) 0 ;
31444 PyObject
* obj0
= 0 ;
31445 char *kwnames
[] = {
31446 (char *) "self", NULL
31449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31451 if (SWIG_arg_fail(1)) SWIG_fail
;
31453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31454 result
= (bool)(arg1
)->PageUp();
31456 wxPyEndAllowThreads(__tstate
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31468 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31469 PyObject
*resultobj
;
31470 wxWindow
*arg1
= (wxWindow
*) 0 ;
31472 PyObject
* obj0
= 0 ;
31473 char *kwnames
[] = {
31474 (char *) "self", NULL
31477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31479 if (SWIG_arg_fail(1)) SWIG_fail
;
31481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31482 result
= (bool)(arg1
)->PageDown();
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31496 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31497 PyObject
*resultobj
;
31498 wxWindow
*arg1
= (wxWindow
*) 0 ;
31499 wxString
*arg2
= 0 ;
31500 bool temp2
= false ;
31501 PyObject
* obj0
= 0 ;
31502 PyObject
* obj1
= 0 ;
31503 char *kwnames
[] = {
31504 (char *) "self",(char *) "text", NULL
31507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31509 if (SWIG_arg_fail(1)) SWIG_fail
;
31511 arg2
= wxString_in_helper(obj1
);
31512 if (arg2
== NULL
) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31522 Py_INCREF(Py_None
); resultobj
= Py_None
;
31537 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31538 PyObject
*resultobj
;
31539 wxWindow
*arg1
= (wxWindow
*) 0 ;
31540 wxString
*arg2
= 0 ;
31541 bool temp2
= false ;
31542 PyObject
* obj0
= 0 ;
31543 PyObject
* obj1
= 0 ;
31544 char *kwnames
[] = {
31545 (char *) "self",(char *) "text", NULL
31548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31550 if (SWIG_arg_fail(1)) SWIG_fail
;
31552 arg2
= wxString_in_helper(obj1
);
31553 if (arg2
== NULL
) SWIG_fail
;
31557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31558 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31560 wxPyEndAllowThreads(__tstate
);
31561 if (PyErr_Occurred()) SWIG_fail
;
31563 Py_INCREF(Py_None
); resultobj
= Py_None
;
31578 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31579 PyObject
*resultobj
;
31580 wxWindow
*arg1
= (wxWindow
*) 0 ;
31582 PyObject
* obj0
= 0 ;
31583 char *kwnames
[] = {
31584 (char *) "self", NULL
31587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31589 if (SWIG_arg_fail(1)) SWIG_fail
;
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31592 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31610 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31611 PyObject
*resultobj
;
31612 wxWindow
*arg1
= (wxWindow
*) 0 ;
31613 wxString
*arg2
= 0 ;
31614 bool temp2
= false ;
31615 PyObject
* obj0
= 0 ;
31616 PyObject
* obj1
= 0 ;
31617 char *kwnames
[] = {
31618 (char *) "self",(char *) "tip", NULL
31621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31623 if (SWIG_arg_fail(1)) SWIG_fail
;
31625 arg2
= wxString_in_helper(obj1
);
31626 if (arg2
== NULL
) SWIG_fail
;
31630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31631 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 Py_INCREF(Py_None
); resultobj
= Py_None
;
31651 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31652 PyObject
*resultobj
;
31653 wxWindow
*arg1
= (wxWindow
*) 0 ;
31654 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31655 PyObject
* obj0
= 0 ;
31656 PyObject
* obj1
= 0 ;
31657 char *kwnames
[] = {
31658 (char *) "self",(char *) "tip", NULL
31661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31663 if (SWIG_arg_fail(1)) SWIG_fail
;
31664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31665 if (SWIG_arg_fail(2)) SWIG_fail
;
31667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31668 (arg1
)->SetToolTip(arg2
);
31670 wxPyEndAllowThreads(__tstate
);
31671 if (PyErr_Occurred()) SWIG_fail
;
31673 Py_INCREF(Py_None
); resultobj
= Py_None
;
31680 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31681 PyObject
*resultobj
;
31682 wxWindow
*arg1
= (wxWindow
*) 0 ;
31684 PyObject
* obj0
= 0 ;
31685 char *kwnames
[] = {
31686 (char *) "self", NULL
31689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31691 if (SWIG_arg_fail(1)) SWIG_fail
;
31693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31694 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31700 resultobj
= wxPyMake_wxObject(result
, 0);
31708 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
;
31710 wxWindow
*arg1
= (wxWindow
*) 0 ;
31711 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31712 PyObject
* obj0
= 0 ;
31713 PyObject
* obj1
= 0 ;
31714 char *kwnames
[] = {
31715 (char *) "self",(char *) "dropTarget", NULL
31718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31720 if (SWIG_arg_fail(1)) SWIG_fail
;
31721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31722 if (SWIG_arg_fail(2)) SWIG_fail
;
31724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31725 (arg1
)->SetDropTarget(arg2
);
31727 wxPyEndAllowThreads(__tstate
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31730 Py_INCREF(Py_None
); resultobj
= Py_None
;
31737 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31738 PyObject
*resultobj
;
31739 wxWindow
*arg1
= (wxWindow
*) 0 ;
31740 wxPyDropTarget
*result
;
31741 PyObject
* obj0
= 0 ;
31742 char *kwnames
[] = {
31743 (char *) "self", NULL
31746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31748 if (SWIG_arg_fail(1)) SWIG_fail
;
31750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31751 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31753 wxPyEndAllowThreads(__tstate
);
31754 if (PyErr_Occurred()) SWIG_fail
;
31756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31763 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31764 PyObject
*resultobj
;
31765 wxWindow
*arg1
= (wxWindow
*) 0 ;
31767 PyObject
* obj0
= 0 ;
31768 PyObject
* obj1
= 0 ;
31769 char *kwnames
[] = {
31770 (char *) "self",(char *) "accept", NULL
31773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31775 if (SWIG_arg_fail(1)) SWIG_fail
;
31777 arg2
= (bool)(SWIG_As_bool(obj1
));
31778 if (SWIG_arg_fail(2)) SWIG_fail
;
31781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31782 (arg1
)->DragAcceptFiles(arg2
);
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 Py_INCREF(Py_None
); resultobj
= Py_None
;
31794 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
;
31796 wxWindow
*arg1
= (wxWindow
*) 0 ;
31797 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31798 PyObject
* obj0
= 0 ;
31799 PyObject
* obj1
= 0 ;
31800 char *kwnames
[] = {
31801 (char *) "self",(char *) "constraints", NULL
31804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31806 if (SWIG_arg_fail(1)) SWIG_fail
;
31807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31808 if (SWIG_arg_fail(2)) SWIG_fail
;
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 (arg1
)->SetConstraints(arg2
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 Py_INCREF(Py_None
); resultobj
= Py_None
;
31823 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
;
31825 wxWindow
*arg1
= (wxWindow
*) 0 ;
31826 wxLayoutConstraints
*result
;
31827 PyObject
* obj0
= 0 ;
31828 char *kwnames
[] = {
31829 (char *) "self", NULL
31832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31834 if (SWIG_arg_fail(1)) SWIG_fail
;
31836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31837 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31839 wxPyEndAllowThreads(__tstate
);
31840 if (PyErr_Occurred()) SWIG_fail
;
31842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31849 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31850 PyObject
*resultobj
;
31851 wxWindow
*arg1
= (wxWindow
*) 0 ;
31853 PyObject
* obj0
= 0 ;
31854 PyObject
* obj1
= 0 ;
31855 char *kwnames
[] = {
31856 (char *) "self",(char *) "autoLayout", NULL
31859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31861 if (SWIG_arg_fail(1)) SWIG_fail
;
31863 arg2
= (bool)(SWIG_As_bool(obj1
));
31864 if (SWIG_arg_fail(2)) SWIG_fail
;
31867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31868 (arg1
)->SetAutoLayout(arg2
);
31870 wxPyEndAllowThreads(__tstate
);
31871 if (PyErr_Occurred()) SWIG_fail
;
31873 Py_INCREF(Py_None
); resultobj
= Py_None
;
31880 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31881 PyObject
*resultobj
;
31882 wxWindow
*arg1
= (wxWindow
*) 0 ;
31884 PyObject
* obj0
= 0 ;
31885 char *kwnames
[] = {
31886 (char *) "self", NULL
31889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31891 if (SWIG_arg_fail(1)) SWIG_fail
;
31893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31894 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31896 wxPyEndAllowThreads(__tstate
);
31897 if (PyErr_Occurred()) SWIG_fail
;
31900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31908 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31909 PyObject
*resultobj
;
31910 wxWindow
*arg1
= (wxWindow
*) 0 ;
31912 PyObject
* obj0
= 0 ;
31913 char *kwnames
[] = {
31914 (char *) "self", NULL
31917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31919 if (SWIG_arg_fail(1)) SWIG_fail
;
31921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31922 result
= (bool)(arg1
)->Layout();
31924 wxPyEndAllowThreads(__tstate
);
31925 if (PyErr_Occurred()) SWIG_fail
;
31928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31936 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31937 PyObject
*resultobj
;
31938 wxWindow
*arg1
= (wxWindow
*) 0 ;
31939 wxSizer
*arg2
= (wxSizer
*) 0 ;
31940 bool arg3
= (bool) true ;
31941 PyObject
* obj0
= 0 ;
31942 PyObject
* obj1
= 0 ;
31943 PyObject
* obj2
= 0 ;
31944 char *kwnames
[] = {
31945 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31950 if (SWIG_arg_fail(1)) SWIG_fail
;
31951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31952 if (SWIG_arg_fail(2)) SWIG_fail
;
31955 arg3
= (bool)(SWIG_As_bool(obj2
));
31956 if (SWIG_arg_fail(3)) SWIG_fail
;
31960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31961 (arg1
)->SetSizer(arg2
,arg3
);
31963 wxPyEndAllowThreads(__tstate
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 Py_INCREF(Py_None
); resultobj
= Py_None
;
31973 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31974 PyObject
*resultobj
;
31975 wxWindow
*arg1
= (wxWindow
*) 0 ;
31976 wxSizer
*arg2
= (wxSizer
*) 0 ;
31977 bool arg3
= (bool) true ;
31978 PyObject
* obj0
= 0 ;
31979 PyObject
* obj1
= 0 ;
31980 PyObject
* obj2
= 0 ;
31981 char *kwnames
[] = {
31982 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31987 if (SWIG_arg_fail(1)) SWIG_fail
;
31988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31989 if (SWIG_arg_fail(2)) SWIG_fail
;
31992 arg3
= (bool)(SWIG_As_bool(obj2
));
31993 if (SWIG_arg_fail(3)) SWIG_fail
;
31997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31998 (arg1
)->SetSizerAndFit(arg2
,arg3
);
32000 wxPyEndAllowThreads(__tstate
);
32001 if (PyErr_Occurred()) SWIG_fail
;
32003 Py_INCREF(Py_None
); resultobj
= Py_None
;
32010 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32011 PyObject
*resultobj
;
32012 wxWindow
*arg1
= (wxWindow
*) 0 ;
32014 PyObject
* obj0
= 0 ;
32015 char *kwnames
[] = {
32016 (char *) "self", NULL
32019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32021 if (SWIG_arg_fail(1)) SWIG_fail
;
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32026 wxPyEndAllowThreads(__tstate
);
32027 if (PyErr_Occurred()) SWIG_fail
;
32030 resultobj
= wxPyMake_wxObject(result
, 0);
32038 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32039 PyObject
*resultobj
;
32040 wxWindow
*arg1
= (wxWindow
*) 0 ;
32041 wxSizer
*arg2
= (wxSizer
*) 0 ;
32042 PyObject
* obj0
= 0 ;
32043 PyObject
* obj1
= 0 ;
32044 char *kwnames
[] = {
32045 (char *) "self",(char *) "sizer", NULL
32048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32050 if (SWIG_arg_fail(1)) SWIG_fail
;
32051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32052 if (SWIG_arg_fail(2)) SWIG_fail
;
32054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32055 (arg1
)->SetContainingSizer(arg2
);
32057 wxPyEndAllowThreads(__tstate
);
32058 if (PyErr_Occurred()) SWIG_fail
;
32060 Py_INCREF(Py_None
); resultobj
= Py_None
;
32067 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32068 PyObject
*resultobj
;
32069 wxWindow
*arg1
= (wxWindow
*) 0 ;
32071 PyObject
* obj0
= 0 ;
32072 char *kwnames
[] = {
32073 (char *) "self", NULL
32076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32078 if (SWIG_arg_fail(1)) SWIG_fail
;
32080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32081 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32083 wxPyEndAllowThreads(__tstate
);
32084 if (PyErr_Occurred()) SWIG_fail
;
32087 resultobj
= wxPyMake_wxObject(result
, 0);
32095 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32096 PyObject
*resultobj
;
32097 wxWindow
*arg1
= (wxWindow
*) 0 ;
32098 PyObject
* obj0
= 0 ;
32099 char *kwnames
[] = {
32100 (char *) "self", NULL
32103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32105 if (SWIG_arg_fail(1)) SWIG_fail
;
32107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32108 (arg1
)->InheritAttributes();
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 Py_INCREF(Py_None
); resultobj
= Py_None
;
32120 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32121 PyObject
*resultobj
;
32122 wxWindow
*arg1
= (wxWindow
*) 0 ;
32124 PyObject
* obj0
= 0 ;
32125 char *kwnames
[] = {
32126 (char *) "self", NULL
32129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32131 if (SWIG_arg_fail(1)) SWIG_fail
;
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32148 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32151 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32153 return Py_BuildValue((char *)"");
32155 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32156 PyObject
*resultobj
;
32158 wxWindow
*arg2
= (wxWindow
*) NULL
;
32160 PyObject
* obj0
= 0 ;
32161 PyObject
* obj1
= 0 ;
32162 char *kwnames
[] = {
32163 (char *) "id",(char *) "parent", NULL
32166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32168 arg1
= (long)(SWIG_As_long(obj0
));
32169 if (SWIG_arg_fail(1)) SWIG_fail
;
32172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32173 if (SWIG_arg_fail(2)) SWIG_fail
;
32176 if (!wxPyCheckForApp()) SWIG_fail
;
32177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32178 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32184 resultobj
= wxPyMake_wxObject(result
, 0);
32192 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32193 PyObject
*resultobj
;
32194 wxString
*arg1
= 0 ;
32195 wxWindow
*arg2
= (wxWindow
*) NULL
;
32197 bool temp1
= false ;
32198 PyObject
* obj0
= 0 ;
32199 PyObject
* obj1
= 0 ;
32200 char *kwnames
[] = {
32201 (char *) "name",(char *) "parent", NULL
32204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32206 arg1
= wxString_in_helper(obj0
);
32207 if (arg1
== NULL
) SWIG_fail
;
32211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32212 if (SWIG_arg_fail(2)) SWIG_fail
;
32215 if (!wxPyCheckForApp()) SWIG_fail
;
32216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32217 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32219 wxPyEndAllowThreads(__tstate
);
32220 if (PyErr_Occurred()) SWIG_fail
;
32223 resultobj
= wxPyMake_wxObject(result
, 0);
32239 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32240 PyObject
*resultobj
;
32241 wxString
*arg1
= 0 ;
32242 wxWindow
*arg2
= (wxWindow
*) NULL
;
32244 bool temp1
= false ;
32245 PyObject
* obj0
= 0 ;
32246 PyObject
* obj1
= 0 ;
32247 char *kwnames
[] = {
32248 (char *) "label",(char *) "parent", NULL
32251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32253 arg1
= wxString_in_helper(obj0
);
32254 if (arg1
== NULL
) SWIG_fail
;
32258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32259 if (SWIG_arg_fail(2)) SWIG_fail
;
32262 if (!wxPyCheckForApp()) SWIG_fail
;
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32266 wxPyEndAllowThreads(__tstate
);
32267 if (PyErr_Occurred()) SWIG_fail
;
32270 resultobj
= wxPyMake_wxObject(result
, 0);
32286 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32287 PyObject
*resultobj
;
32288 wxWindow
*arg1
= (wxWindow
*) 0 ;
32289 unsigned long arg2
;
32291 PyObject
* obj0
= 0 ;
32292 PyObject
* obj1
= 0 ;
32293 char *kwnames
[] = {
32294 (char *) "parent",(char *) "_hWnd", NULL
32297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32299 if (SWIG_arg_fail(1)) SWIG_fail
;
32301 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32302 if (SWIG_arg_fail(2)) SWIG_fail
;
32305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32306 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32308 wxPyEndAllowThreads(__tstate
);
32309 if (PyErr_Occurred()) SWIG_fail
;
32312 resultobj
= wxPyMake_wxObject(result
, 0);
32320 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32321 PyObject
*resultobj
;
32323 char *kwnames
[] = {
32327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32330 result
= (PyObject
*)GetTopLevelWindows();
32332 wxPyEndAllowThreads(__tstate
);
32333 if (PyErr_Occurred()) SWIG_fail
;
32335 resultobj
= result
;
32342 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32343 PyObject
*resultobj
;
32344 wxValidator
*result
;
32345 char *kwnames
[] = {
32349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32352 result
= (wxValidator
*)new wxValidator();
32354 wxPyEndAllowThreads(__tstate
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32364 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32365 PyObject
*resultobj
;
32366 wxValidator
*arg1
= (wxValidator
*) 0 ;
32367 wxValidator
*result
;
32368 PyObject
* obj0
= 0 ;
32369 char *kwnames
[] = {
32370 (char *) "self", NULL
32373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32375 if (SWIG_arg_fail(1)) SWIG_fail
;
32377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32378 result
= (wxValidator
*)(arg1
)->Clone();
32380 wxPyEndAllowThreads(__tstate
);
32381 if (PyErr_Occurred()) SWIG_fail
;
32384 resultobj
= wxPyMake_wxObject(result
, 0);
32392 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32393 PyObject
*resultobj
;
32394 wxValidator
*arg1
= (wxValidator
*) 0 ;
32395 wxWindow
*arg2
= (wxWindow
*) 0 ;
32397 PyObject
* obj0
= 0 ;
32398 PyObject
* obj1
= 0 ;
32399 char *kwnames
[] = {
32400 (char *) "self",(char *) "parent", NULL
32403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32405 if (SWIG_arg_fail(1)) SWIG_fail
;
32406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32407 if (SWIG_arg_fail(2)) SWIG_fail
;
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32410 result
= (bool)(arg1
)->Validate(arg2
);
32412 wxPyEndAllowThreads(__tstate
);
32413 if (PyErr_Occurred()) SWIG_fail
;
32416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32424 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
;
32426 wxValidator
*arg1
= (wxValidator
*) 0 ;
32428 PyObject
* obj0
= 0 ;
32429 char *kwnames
[] = {
32430 (char *) "self", NULL
32433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32435 if (SWIG_arg_fail(1)) SWIG_fail
;
32437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32438 result
= (bool)(arg1
)->TransferToWindow();
32440 wxPyEndAllowThreads(__tstate
);
32441 if (PyErr_Occurred()) SWIG_fail
;
32444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32452 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32453 PyObject
*resultobj
;
32454 wxValidator
*arg1
= (wxValidator
*) 0 ;
32456 PyObject
* obj0
= 0 ;
32457 char *kwnames
[] = {
32458 (char *) "self", NULL
32461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32463 if (SWIG_arg_fail(1)) SWIG_fail
;
32465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32466 result
= (bool)(arg1
)->TransferFromWindow();
32468 wxPyEndAllowThreads(__tstate
);
32469 if (PyErr_Occurred()) SWIG_fail
;
32472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32480 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32481 PyObject
*resultobj
;
32482 wxValidator
*arg1
= (wxValidator
*) 0 ;
32484 PyObject
* obj0
= 0 ;
32485 char *kwnames
[] = {
32486 (char *) "self", NULL
32489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32491 if (SWIG_arg_fail(1)) SWIG_fail
;
32493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32494 result
= (wxWindow
*)(arg1
)->GetWindow();
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32500 resultobj
= wxPyMake_wxObject(result
, 0);
32508 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32509 PyObject
*resultobj
;
32510 wxValidator
*arg1
= (wxValidator
*) 0 ;
32511 wxWindow
*arg2
= (wxWindow
*) 0 ;
32512 PyObject
* obj0
= 0 ;
32513 PyObject
* obj1
= 0 ;
32514 char *kwnames
[] = {
32515 (char *) "self",(char *) "window", NULL
32518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32520 if (SWIG_arg_fail(1)) SWIG_fail
;
32521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32522 if (SWIG_arg_fail(2)) SWIG_fail
;
32524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32525 (arg1
)->SetWindow(arg2
);
32527 wxPyEndAllowThreads(__tstate
);
32528 if (PyErr_Occurred()) SWIG_fail
;
32530 Py_INCREF(Py_None
); resultobj
= Py_None
;
32537 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32538 PyObject
*resultobj
;
32540 char *kwnames
[] = {
32544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32547 result
= (bool)wxValidator::IsSilent();
32549 wxPyEndAllowThreads(__tstate
);
32550 if (PyErr_Occurred()) SWIG_fail
;
32553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32561 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
;
32563 int arg1
= (int) true ;
32564 PyObject
* obj0
= 0 ;
32565 char *kwnames
[] = {
32566 (char *) "doIt", NULL
32569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32572 arg1
= (int)(SWIG_As_int(obj0
));
32573 if (SWIG_arg_fail(1)) SWIG_fail
;
32577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32578 wxValidator::SetBellOnError(arg1
);
32580 wxPyEndAllowThreads(__tstate
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32583 Py_INCREF(Py_None
); resultobj
= Py_None
;
32590 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32593 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32595 return Py_BuildValue((char *)"");
32597 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32598 PyObject
*resultobj
;
32599 wxPyValidator
*result
;
32600 char *kwnames
[] = {
32604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32607 result
= (wxPyValidator
*)new wxPyValidator();
32609 wxPyEndAllowThreads(__tstate
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32619 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32620 PyObject
*resultobj
;
32621 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32622 PyObject
*arg2
= (PyObject
*) 0 ;
32623 PyObject
*arg3
= (PyObject
*) 0 ;
32624 int arg4
= (int) true ;
32625 PyObject
* obj0
= 0 ;
32626 PyObject
* obj1
= 0 ;
32627 PyObject
* obj2
= 0 ;
32628 PyObject
* obj3
= 0 ;
32629 char *kwnames
[] = {
32630 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32635 if (SWIG_arg_fail(1)) SWIG_fail
;
32640 arg4
= (int)(SWIG_As_int(obj3
));
32641 if (SWIG_arg_fail(4)) SWIG_fail
;
32645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32646 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32648 wxPyEndAllowThreads(__tstate
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32651 Py_INCREF(Py_None
); resultobj
= Py_None
;
32658 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32661 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32663 return Py_BuildValue((char *)"");
32665 static int _wrap_DefaultValidator_set(PyObject
*) {
32666 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32671 static PyObject
*_wrap_DefaultValidator_get(void) {
32674 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32679 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32680 PyObject
*resultobj
;
32681 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32682 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32683 long arg2
= (long) 0 ;
32685 bool temp1
= false ;
32686 PyObject
* obj0
= 0 ;
32687 PyObject
* obj1
= 0 ;
32688 char *kwnames
[] = {
32689 (char *) "title",(char *) "style", NULL
32692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32695 arg1
= wxString_in_helper(obj0
);
32696 if (arg1
== NULL
) SWIG_fail
;
32702 arg2
= (long)(SWIG_As_long(obj1
));
32703 if (SWIG_arg_fail(2)) SWIG_fail
;
32707 if (!wxPyCheckForApp()) SWIG_fail
;
32708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32709 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32711 wxPyEndAllowThreads(__tstate
);
32712 if (PyErr_Occurred()) SWIG_fail
;
32714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32729 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32730 PyObject
*resultobj
;
32731 wxMenu
*arg1
= (wxMenu
*) 0 ;
32733 wxString
*arg3
= 0 ;
32734 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32735 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32736 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32737 wxMenuItem
*result
;
32738 bool temp3
= false ;
32739 bool temp4
= false ;
32740 PyObject
* obj0
= 0 ;
32741 PyObject
* obj1
= 0 ;
32742 PyObject
* obj2
= 0 ;
32743 PyObject
* obj3
= 0 ;
32744 PyObject
* obj4
= 0 ;
32745 char *kwnames
[] = {
32746 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail
;
32753 arg2
= (int)(SWIG_As_int(obj1
));
32754 if (SWIG_arg_fail(2)) SWIG_fail
;
32757 arg3
= wxString_in_helper(obj2
);
32758 if (arg3
== NULL
) SWIG_fail
;
32763 arg4
= wxString_in_helper(obj3
);
32764 if (arg4
== NULL
) SWIG_fail
;
32770 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32771 if (SWIG_arg_fail(5)) SWIG_fail
;
32775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32776 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32782 resultobj
= wxPyMake_wxObject(result
, 0);
32806 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32807 PyObject
*resultobj
;
32808 wxMenu
*arg1
= (wxMenu
*) 0 ;
32809 wxMenuItem
*result
;
32810 PyObject
* obj0
= 0 ;
32811 char *kwnames
[] = {
32812 (char *) "self", NULL
32815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32817 if (SWIG_arg_fail(1)) SWIG_fail
;
32819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32822 wxPyEndAllowThreads(__tstate
);
32823 if (PyErr_Occurred()) SWIG_fail
;
32826 resultobj
= wxPyMake_wxObject(result
, 0);
32834 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32835 PyObject
*resultobj
;
32836 wxMenu
*arg1
= (wxMenu
*) 0 ;
32838 wxString
*arg3
= 0 ;
32839 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32840 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32841 wxMenuItem
*result
;
32842 bool temp3
= false ;
32843 bool temp4
= false ;
32844 PyObject
* obj0
= 0 ;
32845 PyObject
* obj1
= 0 ;
32846 PyObject
* obj2
= 0 ;
32847 PyObject
* obj3
= 0 ;
32848 char *kwnames
[] = {
32849 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32854 if (SWIG_arg_fail(1)) SWIG_fail
;
32856 arg2
= (int)(SWIG_As_int(obj1
));
32857 if (SWIG_arg_fail(2)) SWIG_fail
;
32860 arg3
= wxString_in_helper(obj2
);
32861 if (arg3
== NULL
) SWIG_fail
;
32866 arg4
= wxString_in_helper(obj3
);
32867 if (arg4
== NULL
) SWIG_fail
;
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32873 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32879 resultobj
= wxPyMake_wxObject(result
, 0);
32903 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32904 PyObject
*resultobj
;
32905 wxMenu
*arg1
= (wxMenu
*) 0 ;
32907 wxString
*arg3
= 0 ;
32908 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32909 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32910 wxMenuItem
*result
;
32911 bool temp3
= false ;
32912 bool temp4
= false ;
32913 PyObject
* obj0
= 0 ;
32914 PyObject
* obj1
= 0 ;
32915 PyObject
* obj2
= 0 ;
32916 PyObject
* obj3
= 0 ;
32917 char *kwnames
[] = {
32918 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32923 if (SWIG_arg_fail(1)) SWIG_fail
;
32925 arg2
= (int)(SWIG_As_int(obj1
));
32926 if (SWIG_arg_fail(2)) SWIG_fail
;
32929 arg3
= wxString_in_helper(obj2
);
32930 if (arg3
== NULL
) SWIG_fail
;
32935 arg4
= wxString_in_helper(obj3
);
32936 if (arg4
== NULL
) SWIG_fail
;
32941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32942 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32948 resultobj
= wxPyMake_wxObject(result
, 0);
32972 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32973 PyObject
*resultobj
;
32974 wxMenu
*arg1
= (wxMenu
*) 0 ;
32976 wxString
*arg3
= 0 ;
32977 wxMenu
*arg4
= (wxMenu
*) 0 ;
32978 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32979 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32980 wxMenuItem
*result
;
32981 bool temp3
= false ;
32982 bool temp5
= false ;
32983 PyObject
* obj0
= 0 ;
32984 PyObject
* obj1
= 0 ;
32985 PyObject
* obj2
= 0 ;
32986 PyObject
* obj3
= 0 ;
32987 PyObject
* obj4
= 0 ;
32988 char *kwnames
[] = {
32989 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32994 if (SWIG_arg_fail(1)) SWIG_fail
;
32996 arg2
= (int)(SWIG_As_int(obj1
));
32997 if (SWIG_arg_fail(2)) SWIG_fail
;
33000 arg3
= wxString_in_helper(obj2
);
33001 if (arg3
== NULL
) SWIG_fail
;
33004 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33005 if (SWIG_arg_fail(4)) SWIG_fail
;
33008 arg5
= wxString_in_helper(obj4
);
33009 if (arg5
== NULL
) SWIG_fail
;
33014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33015 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33021 resultobj
= wxPyMake_wxObject(result
, 0);
33045 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33046 PyObject
*resultobj
;
33047 wxMenu
*arg1
= (wxMenu
*) 0 ;
33048 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33049 wxMenuItem
*result
;
33050 PyObject
* obj0
= 0 ;
33051 PyObject
* obj1
= 0 ;
33052 char *kwnames
[] = {
33053 (char *) "self",(char *) "item", NULL
33056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33058 if (SWIG_arg_fail(1)) SWIG_fail
;
33059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33060 if (SWIG_arg_fail(2)) SWIG_fail
;
33062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33063 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33065 wxPyEndAllowThreads(__tstate
);
33066 if (PyErr_Occurred()) SWIG_fail
;
33069 resultobj
= wxPyMake_wxObject(result
, 0);
33077 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33078 PyObject
*resultobj
;
33079 wxMenu
*arg1
= (wxMenu
*) 0 ;
33080 PyObject
* obj0
= 0 ;
33081 char *kwnames
[] = {
33082 (char *) "self", NULL
33085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33087 if (SWIG_arg_fail(1)) SWIG_fail
;
33089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33092 wxPyEndAllowThreads(__tstate
);
33093 if (PyErr_Occurred()) SWIG_fail
;
33095 Py_INCREF(Py_None
); resultobj
= Py_None
;
33102 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33103 PyObject
*resultobj
;
33104 wxMenu
*arg1
= (wxMenu
*) 0 ;
33106 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33107 wxMenuItem
*result
;
33108 PyObject
* obj0
= 0 ;
33109 PyObject
* obj1
= 0 ;
33110 PyObject
* obj2
= 0 ;
33111 char *kwnames
[] = {
33112 (char *) "self",(char *) "pos",(char *) "item", NULL
33115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33117 if (SWIG_arg_fail(1)) SWIG_fail
;
33119 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33120 if (SWIG_arg_fail(2)) SWIG_fail
;
33122 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33123 if (SWIG_arg_fail(3)) SWIG_fail
;
33125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= wxPyMake_wxObject(result
, 0);
33140 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
;
33142 wxMenu
*arg1
= (wxMenu
*) 0 ;
33145 wxString
*arg4
= 0 ;
33146 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33147 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33148 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33149 wxMenuItem
*result
;
33150 bool temp4
= false ;
33151 bool temp5
= false ;
33152 PyObject
* obj0
= 0 ;
33153 PyObject
* obj1
= 0 ;
33154 PyObject
* obj2
= 0 ;
33155 PyObject
* obj3
= 0 ;
33156 PyObject
* obj4
= 0 ;
33157 PyObject
* obj5
= 0 ;
33158 char *kwnames
[] = {
33159 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33164 if (SWIG_arg_fail(1)) SWIG_fail
;
33166 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33167 if (SWIG_arg_fail(2)) SWIG_fail
;
33170 arg3
= (int)(SWIG_As_int(obj2
));
33171 if (SWIG_arg_fail(3)) SWIG_fail
;
33174 arg4
= wxString_in_helper(obj3
);
33175 if (arg4
== NULL
) SWIG_fail
;
33180 arg5
= wxString_in_helper(obj4
);
33181 if (arg5
== NULL
) SWIG_fail
;
33187 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33188 if (SWIG_arg_fail(6)) SWIG_fail
;
33192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33193 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33195 wxPyEndAllowThreads(__tstate
);
33196 if (PyErr_Occurred()) SWIG_fail
;
33199 resultobj
= wxPyMake_wxObject(result
, 0);
33223 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33224 PyObject
*resultobj
;
33225 wxMenu
*arg1
= (wxMenu
*) 0 ;
33227 wxMenuItem
*result
;
33228 PyObject
* obj0
= 0 ;
33229 PyObject
* obj1
= 0 ;
33230 char *kwnames
[] = {
33231 (char *) "self",(char *) "pos", NULL
33234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33236 if (SWIG_arg_fail(1)) SWIG_fail
;
33238 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33239 if (SWIG_arg_fail(2)) SWIG_fail
;
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33245 wxPyEndAllowThreads(__tstate
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33249 resultobj
= wxPyMake_wxObject(result
, 0);
33257 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33258 PyObject
*resultobj
;
33259 wxMenu
*arg1
= (wxMenu
*) 0 ;
33262 wxString
*arg4
= 0 ;
33263 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33264 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33265 wxMenuItem
*result
;
33266 bool temp4
= false ;
33267 bool temp5
= false ;
33268 PyObject
* obj0
= 0 ;
33269 PyObject
* obj1
= 0 ;
33270 PyObject
* obj2
= 0 ;
33271 PyObject
* obj3
= 0 ;
33272 PyObject
* obj4
= 0 ;
33273 char *kwnames
[] = {
33274 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33279 if (SWIG_arg_fail(1)) SWIG_fail
;
33281 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33282 if (SWIG_arg_fail(2)) SWIG_fail
;
33285 arg3
= (int)(SWIG_As_int(obj2
));
33286 if (SWIG_arg_fail(3)) SWIG_fail
;
33289 arg4
= wxString_in_helper(obj3
);
33290 if (arg4
== NULL
) SWIG_fail
;
33295 arg5
= wxString_in_helper(obj4
);
33296 if (arg5
== NULL
) SWIG_fail
;
33301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33302 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33304 wxPyEndAllowThreads(__tstate
);
33305 if (PyErr_Occurred()) SWIG_fail
;
33308 resultobj
= wxPyMake_wxObject(result
, 0);
33332 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33333 PyObject
*resultobj
;
33334 wxMenu
*arg1
= (wxMenu
*) 0 ;
33337 wxString
*arg4
= 0 ;
33338 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33339 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33340 wxMenuItem
*result
;
33341 bool temp4
= false ;
33342 bool temp5
= false ;
33343 PyObject
* obj0
= 0 ;
33344 PyObject
* obj1
= 0 ;
33345 PyObject
* obj2
= 0 ;
33346 PyObject
* obj3
= 0 ;
33347 PyObject
* obj4
= 0 ;
33348 char *kwnames
[] = {
33349 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33354 if (SWIG_arg_fail(1)) SWIG_fail
;
33356 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33357 if (SWIG_arg_fail(2)) SWIG_fail
;
33360 arg3
= (int)(SWIG_As_int(obj2
));
33361 if (SWIG_arg_fail(3)) SWIG_fail
;
33364 arg4
= wxString_in_helper(obj3
);
33365 if (arg4
== NULL
) SWIG_fail
;
33370 arg5
= wxString_in_helper(obj4
);
33371 if (arg5
== NULL
) SWIG_fail
;
33376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33377 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33379 wxPyEndAllowThreads(__tstate
);
33380 if (PyErr_Occurred()) SWIG_fail
;
33383 resultobj
= wxPyMake_wxObject(result
, 0);
33407 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33408 PyObject
*resultobj
;
33409 wxMenu
*arg1
= (wxMenu
*) 0 ;
33412 wxString
*arg4
= 0 ;
33413 wxMenu
*arg5
= (wxMenu
*) 0 ;
33414 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33415 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33416 wxMenuItem
*result
;
33417 bool temp4
= false ;
33418 bool temp6
= false ;
33419 PyObject
* obj0
= 0 ;
33420 PyObject
* obj1
= 0 ;
33421 PyObject
* obj2
= 0 ;
33422 PyObject
* obj3
= 0 ;
33423 PyObject
* obj4
= 0 ;
33424 PyObject
* obj5
= 0 ;
33425 char *kwnames
[] = {
33426 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33431 if (SWIG_arg_fail(1)) SWIG_fail
;
33433 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33434 if (SWIG_arg_fail(2)) SWIG_fail
;
33437 arg3
= (int)(SWIG_As_int(obj2
));
33438 if (SWIG_arg_fail(3)) SWIG_fail
;
33441 arg4
= wxString_in_helper(obj3
);
33442 if (arg4
== NULL
) SWIG_fail
;
33445 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33446 if (SWIG_arg_fail(5)) SWIG_fail
;
33449 arg6
= wxString_in_helper(obj5
);
33450 if (arg6
== NULL
) SWIG_fail
;
33455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33456 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33458 wxPyEndAllowThreads(__tstate
);
33459 if (PyErr_Occurred()) SWIG_fail
;
33462 resultobj
= wxPyMake_wxObject(result
, 0);
33486 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33487 PyObject
*resultobj
;
33488 wxMenu
*arg1
= (wxMenu
*) 0 ;
33489 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33490 wxMenuItem
*result
;
33491 PyObject
* obj0
= 0 ;
33492 PyObject
* obj1
= 0 ;
33493 char *kwnames
[] = {
33494 (char *) "self",(char *) "item", NULL
33497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33499 if (SWIG_arg_fail(1)) SWIG_fail
;
33500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33501 if (SWIG_arg_fail(2)) SWIG_fail
;
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33506 wxPyEndAllowThreads(__tstate
);
33507 if (PyErr_Occurred()) SWIG_fail
;
33510 resultobj
= wxPyMake_wxObject(result
, 0);
33518 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33519 PyObject
*resultobj
;
33520 wxMenu
*arg1
= (wxMenu
*) 0 ;
33522 wxString
*arg3
= 0 ;
33523 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33524 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33525 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33526 wxMenuItem
*result
;
33527 bool temp3
= false ;
33528 bool temp4
= false ;
33529 PyObject
* obj0
= 0 ;
33530 PyObject
* obj1
= 0 ;
33531 PyObject
* obj2
= 0 ;
33532 PyObject
* obj3
= 0 ;
33533 PyObject
* obj4
= 0 ;
33534 char *kwnames
[] = {
33535 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33540 if (SWIG_arg_fail(1)) SWIG_fail
;
33542 arg2
= (int)(SWIG_As_int(obj1
));
33543 if (SWIG_arg_fail(2)) SWIG_fail
;
33546 arg3
= wxString_in_helper(obj2
);
33547 if (arg3
== NULL
) SWIG_fail
;
33552 arg4
= wxString_in_helper(obj3
);
33553 if (arg4
== NULL
) SWIG_fail
;
33559 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33560 if (SWIG_arg_fail(5)) SWIG_fail
;
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33565 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33567 wxPyEndAllowThreads(__tstate
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33571 resultobj
= wxPyMake_wxObject(result
, 0);
33595 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33596 PyObject
*resultobj
;
33597 wxMenu
*arg1
= (wxMenu
*) 0 ;
33598 wxMenuItem
*result
;
33599 PyObject
* obj0
= 0 ;
33600 char *kwnames
[] = {
33601 (char *) "self", NULL
33604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33606 if (SWIG_arg_fail(1)) SWIG_fail
;
33608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33609 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33611 wxPyEndAllowThreads(__tstate
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33615 resultobj
= wxPyMake_wxObject(result
, 0);
33623 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33624 PyObject
*resultobj
;
33625 wxMenu
*arg1
= (wxMenu
*) 0 ;
33627 wxString
*arg3
= 0 ;
33628 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33629 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33630 wxMenuItem
*result
;
33631 bool temp3
= false ;
33632 bool temp4
= false ;
33633 PyObject
* obj0
= 0 ;
33634 PyObject
* obj1
= 0 ;
33635 PyObject
* obj2
= 0 ;
33636 PyObject
* obj3
= 0 ;
33637 char *kwnames
[] = {
33638 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33643 if (SWIG_arg_fail(1)) SWIG_fail
;
33645 arg2
= (int)(SWIG_As_int(obj1
));
33646 if (SWIG_arg_fail(2)) SWIG_fail
;
33649 arg3
= wxString_in_helper(obj2
);
33650 if (arg3
== NULL
) SWIG_fail
;
33655 arg4
= wxString_in_helper(obj3
);
33656 if (arg4
== NULL
) SWIG_fail
;
33661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33662 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33664 wxPyEndAllowThreads(__tstate
);
33665 if (PyErr_Occurred()) SWIG_fail
;
33668 resultobj
= wxPyMake_wxObject(result
, 0);
33692 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33693 PyObject
*resultobj
;
33694 wxMenu
*arg1
= (wxMenu
*) 0 ;
33696 wxString
*arg3
= 0 ;
33697 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33698 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33699 wxMenuItem
*result
;
33700 bool temp3
= false ;
33701 bool temp4
= false ;
33702 PyObject
* obj0
= 0 ;
33703 PyObject
* obj1
= 0 ;
33704 PyObject
* obj2
= 0 ;
33705 PyObject
* obj3
= 0 ;
33706 char *kwnames
[] = {
33707 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33712 if (SWIG_arg_fail(1)) SWIG_fail
;
33714 arg2
= (int)(SWIG_As_int(obj1
));
33715 if (SWIG_arg_fail(2)) SWIG_fail
;
33718 arg3
= wxString_in_helper(obj2
);
33719 if (arg3
== NULL
) SWIG_fail
;
33724 arg4
= wxString_in_helper(obj3
);
33725 if (arg4
== NULL
) SWIG_fail
;
33730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33731 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33733 wxPyEndAllowThreads(__tstate
);
33734 if (PyErr_Occurred()) SWIG_fail
;
33737 resultobj
= wxPyMake_wxObject(result
, 0);
33761 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33762 PyObject
*resultobj
;
33763 wxMenu
*arg1
= (wxMenu
*) 0 ;
33765 wxString
*arg3
= 0 ;
33766 wxMenu
*arg4
= (wxMenu
*) 0 ;
33767 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33768 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33769 wxMenuItem
*result
;
33770 bool temp3
= false ;
33771 bool temp5
= false ;
33772 PyObject
* obj0
= 0 ;
33773 PyObject
* obj1
= 0 ;
33774 PyObject
* obj2
= 0 ;
33775 PyObject
* obj3
= 0 ;
33776 PyObject
* obj4
= 0 ;
33777 char *kwnames
[] = {
33778 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33783 if (SWIG_arg_fail(1)) SWIG_fail
;
33785 arg2
= (int)(SWIG_As_int(obj1
));
33786 if (SWIG_arg_fail(2)) SWIG_fail
;
33789 arg3
= wxString_in_helper(obj2
);
33790 if (arg3
== NULL
) SWIG_fail
;
33793 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33794 if (SWIG_arg_fail(4)) SWIG_fail
;
33797 arg5
= wxString_in_helper(obj4
);
33798 if (arg5
== NULL
) SWIG_fail
;
33803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33804 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33806 wxPyEndAllowThreads(__tstate
);
33807 if (PyErr_Occurred()) SWIG_fail
;
33810 resultobj
= wxPyMake_wxObject(result
, 0);
33834 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33835 PyObject
*resultobj
;
33836 wxMenu
*arg1
= (wxMenu
*) 0 ;
33838 wxMenuItem
*result
;
33839 PyObject
* obj0
= 0 ;
33840 PyObject
* obj1
= 0 ;
33841 char *kwnames
[] = {
33842 (char *) "self",(char *) "id", NULL
33845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33847 if (SWIG_arg_fail(1)) SWIG_fail
;
33849 arg2
= (int)(SWIG_As_int(obj1
));
33850 if (SWIG_arg_fail(2)) SWIG_fail
;
33853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33854 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33860 resultobj
= wxPyMake_wxObject(result
, 0);
33868 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
;
33870 wxMenu
*arg1
= (wxMenu
*) 0 ;
33871 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33872 wxMenuItem
*result
;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 char *kwnames
[] = {
33876 (char *) "self",(char *) "item", NULL
33879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33883 if (SWIG_arg_fail(2)) SWIG_fail
;
33885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33886 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33888 wxPyEndAllowThreads(__tstate
);
33889 if (PyErr_Occurred()) SWIG_fail
;
33892 resultobj
= wxPyMake_wxObject(result
, 0);
33900 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33901 PyObject
*resultobj
;
33902 wxMenu
*arg1
= (wxMenu
*) 0 ;
33905 PyObject
* obj0
= 0 ;
33906 PyObject
* obj1
= 0 ;
33907 char *kwnames
[] = {
33908 (char *) "self",(char *) "id", NULL
33911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33913 if (SWIG_arg_fail(1)) SWIG_fail
;
33915 arg2
= (int)(SWIG_As_int(obj1
));
33916 if (SWIG_arg_fail(2)) SWIG_fail
;
33919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33920 result
= (bool)(arg1
)->Delete(arg2
);
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33934 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33935 PyObject
*resultobj
;
33936 wxMenu
*arg1
= (wxMenu
*) 0 ;
33937 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33939 PyObject
* obj0
= 0 ;
33940 PyObject
* obj1
= 0 ;
33941 char *kwnames
[] = {
33942 (char *) "self",(char *) "item", NULL
33945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33949 if (SWIG_arg_fail(2)) SWIG_fail
;
33951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33952 result
= (bool)(arg1
)->Delete(arg2
);
33954 wxPyEndAllowThreads(__tstate
);
33955 if (PyErr_Occurred()) SWIG_fail
;
33958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33966 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33967 PyObject
*resultobj
;
33968 wxMenu
*arg1
= (wxMenu
*) 0 ;
33969 PyObject
* obj0
= 0 ;
33970 char *kwnames
[] = {
33971 (char *) "self", NULL
33974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33976 if (SWIG_arg_fail(1)) SWIG_fail
;
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33979 wxMenu_Destroy(arg1
);
33981 wxPyEndAllowThreads(__tstate
);
33982 if (PyErr_Occurred()) SWIG_fail
;
33984 Py_INCREF(Py_None
); resultobj
= Py_None
;
33991 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33992 PyObject
*resultobj
;
33993 wxMenu
*arg1
= (wxMenu
*) 0 ;
33996 PyObject
* obj0
= 0 ;
33997 PyObject
* obj1
= 0 ;
33998 char *kwnames
[] = {
33999 (char *) "self",(char *) "id", NULL
34002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
34003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34004 if (SWIG_arg_fail(1)) SWIG_fail
;
34006 arg2
= (int)(SWIG_As_int(obj1
));
34007 if (SWIG_arg_fail(2)) SWIG_fail
;
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 result
= (bool)(arg1
)->Destroy(arg2
);
34013 wxPyEndAllowThreads(__tstate
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34025 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34026 PyObject
*resultobj
;
34027 wxMenu
*arg1
= (wxMenu
*) 0 ;
34028 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34030 PyObject
* obj0
= 0 ;
34031 PyObject
* obj1
= 0 ;
34032 char *kwnames
[] = {
34033 (char *) "self",(char *) "item", NULL
34036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34040 if (SWIG_arg_fail(2)) SWIG_fail
;
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 result
= (bool)(arg1
)->Destroy(arg2
);
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34057 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
;
34059 wxMenu
*arg1
= (wxMenu
*) 0 ;
34061 PyObject
* obj0
= 0 ;
34062 char *kwnames
[] = {
34063 (char *) "self", NULL
34066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34068 if (SWIG_arg_fail(1)) SWIG_fail
;
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34077 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34085 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34086 PyObject
*resultobj
;
34087 wxMenu
*arg1
= (wxMenu
*) 0 ;
34089 PyObject
* obj0
= 0 ;
34090 char *kwnames
[] = {
34091 (char *) "self", NULL
34094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34096 if (SWIG_arg_fail(1)) SWIG_fail
;
34098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34099 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34101 wxPyEndAllowThreads(__tstate
);
34102 if (PyErr_Occurred()) SWIG_fail
;
34104 resultobj
= result
;
34111 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34112 PyObject
*resultobj
;
34113 wxMenu
*arg1
= (wxMenu
*) 0 ;
34114 wxString
*arg2
= 0 ;
34116 bool temp2
= false ;
34117 PyObject
* obj0
= 0 ;
34118 PyObject
* obj1
= 0 ;
34119 char *kwnames
[] = {
34120 (char *) "self",(char *) "item", NULL
34123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34125 if (SWIG_arg_fail(1)) SWIG_fail
;
34127 arg2
= wxString_in_helper(obj1
);
34128 if (arg2
== NULL
) SWIG_fail
;
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34135 wxPyEndAllowThreads(__tstate
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34139 resultobj
= SWIG_From_int((int)(result
));
34155 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34156 PyObject
*resultobj
;
34157 wxMenu
*arg1
= (wxMenu
*) 0 ;
34159 wxMenuItem
*result
;
34160 PyObject
* obj0
= 0 ;
34161 PyObject
* obj1
= 0 ;
34162 char *kwnames
[] = {
34163 (char *) "self",(char *) "id", NULL
34166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34168 if (SWIG_arg_fail(1)) SWIG_fail
;
34170 arg2
= (int)(SWIG_As_int(obj1
));
34171 if (SWIG_arg_fail(2)) SWIG_fail
;
34174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34175 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34181 resultobj
= wxPyMake_wxObject(result
, 0);
34189 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34190 PyObject
*resultobj
;
34191 wxMenu
*arg1
= (wxMenu
*) 0 ;
34193 wxMenuItem
*result
;
34194 PyObject
* obj0
= 0 ;
34195 PyObject
* obj1
= 0 ;
34196 char *kwnames
[] = {
34197 (char *) "self",(char *) "position", NULL
34200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",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
;
34204 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34205 if (SWIG_arg_fail(2)) SWIG_fail
;
34208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34209 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34211 wxPyEndAllowThreads(__tstate
);
34212 if (PyErr_Occurred()) SWIG_fail
;
34215 resultobj
= wxPyMake_wxObject(result
, 0);
34223 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34224 PyObject
*resultobj
;
34225 wxMenu
*arg1
= (wxMenu
*) 0 ;
34228 PyObject
* obj0
= 0 ;
34229 PyObject
* obj1
= 0 ;
34230 PyObject
* obj2
= 0 ;
34231 char *kwnames
[] = {
34232 (char *) "self",(char *) "id",(char *) "enable", NULL
34235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34237 if (SWIG_arg_fail(1)) SWIG_fail
;
34239 arg2
= (int)(SWIG_As_int(obj1
));
34240 if (SWIG_arg_fail(2)) SWIG_fail
;
34243 arg3
= (bool)(SWIG_As_bool(obj2
));
34244 if (SWIG_arg_fail(3)) SWIG_fail
;
34247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34248 (arg1
)->Enable(arg2
,arg3
);
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 Py_INCREF(Py_None
); resultobj
= Py_None
;
34260 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34261 PyObject
*resultobj
;
34262 wxMenu
*arg1
= (wxMenu
*) 0 ;
34265 PyObject
* obj0
= 0 ;
34266 PyObject
* obj1
= 0 ;
34267 char *kwnames
[] = {
34268 (char *) "self",(char *) "id", NULL
34271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34273 if (SWIG_arg_fail(1)) SWIG_fail
;
34275 arg2
= (int)(SWIG_As_int(obj1
));
34276 if (SWIG_arg_fail(2)) SWIG_fail
;
34279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34280 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34282 wxPyEndAllowThreads(__tstate
);
34283 if (PyErr_Occurred()) SWIG_fail
;
34286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34294 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
;
34296 wxMenu
*arg1
= (wxMenu
*) 0 ;
34299 PyObject
* obj0
= 0 ;
34300 PyObject
* obj1
= 0 ;
34301 PyObject
* obj2
= 0 ;
34302 char *kwnames
[] = {
34303 (char *) "self",(char *) "id",(char *) "check", NULL
34306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34308 if (SWIG_arg_fail(1)) SWIG_fail
;
34310 arg2
= (int)(SWIG_As_int(obj1
));
34311 if (SWIG_arg_fail(2)) SWIG_fail
;
34314 arg3
= (bool)(SWIG_As_bool(obj2
));
34315 if (SWIG_arg_fail(3)) SWIG_fail
;
34318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34319 (arg1
)->Check(arg2
,arg3
);
34321 wxPyEndAllowThreads(__tstate
);
34322 if (PyErr_Occurred()) SWIG_fail
;
34324 Py_INCREF(Py_None
); resultobj
= Py_None
;
34331 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34332 PyObject
*resultobj
;
34333 wxMenu
*arg1
= (wxMenu
*) 0 ;
34336 PyObject
* obj0
= 0 ;
34337 PyObject
* obj1
= 0 ;
34338 char *kwnames
[] = {
34339 (char *) "self",(char *) "id", NULL
34342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34344 if (SWIG_arg_fail(1)) SWIG_fail
;
34346 arg2
= (int)(SWIG_As_int(obj1
));
34347 if (SWIG_arg_fail(2)) SWIG_fail
;
34350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34351 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34353 wxPyEndAllowThreads(__tstate
);
34354 if (PyErr_Occurred()) SWIG_fail
;
34357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34365 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34366 PyObject
*resultobj
;
34367 wxMenu
*arg1
= (wxMenu
*) 0 ;
34369 wxString
*arg3
= 0 ;
34370 bool temp3
= false ;
34371 PyObject
* obj0
= 0 ;
34372 PyObject
* obj1
= 0 ;
34373 PyObject
* obj2
= 0 ;
34374 char *kwnames
[] = {
34375 (char *) "self",(char *) "id",(char *) "label", NULL
34378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34380 if (SWIG_arg_fail(1)) SWIG_fail
;
34382 arg2
= (int)(SWIG_As_int(obj1
));
34383 if (SWIG_arg_fail(2)) SWIG_fail
;
34386 arg3
= wxString_in_helper(obj2
);
34387 if (arg3
== NULL
) SWIG_fail
;
34391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34392 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34394 wxPyEndAllowThreads(__tstate
);
34395 if (PyErr_Occurred()) SWIG_fail
;
34397 Py_INCREF(Py_None
); resultobj
= Py_None
;
34412 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34413 PyObject
*resultobj
;
34414 wxMenu
*arg1
= (wxMenu
*) 0 ;
34417 PyObject
* obj0
= 0 ;
34418 PyObject
* obj1
= 0 ;
34419 char *kwnames
[] = {
34420 (char *) "self",(char *) "id", NULL
34423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34425 if (SWIG_arg_fail(1)) SWIG_fail
;
34427 arg2
= (int)(SWIG_As_int(obj1
));
34428 if (SWIG_arg_fail(2)) SWIG_fail
;
34431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34432 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34434 wxPyEndAllowThreads(__tstate
);
34435 if (PyErr_Occurred()) SWIG_fail
;
34439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34450 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
;
34452 wxMenu
*arg1
= (wxMenu
*) 0 ;
34454 wxString
*arg3
= 0 ;
34455 bool temp3
= false ;
34456 PyObject
* obj0
= 0 ;
34457 PyObject
* obj1
= 0 ;
34458 PyObject
* obj2
= 0 ;
34459 char *kwnames
[] = {
34460 (char *) "self",(char *) "id",(char *) "helpString", NULL
34463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34465 if (SWIG_arg_fail(1)) SWIG_fail
;
34467 arg2
= (int)(SWIG_As_int(obj1
));
34468 if (SWIG_arg_fail(2)) SWIG_fail
;
34471 arg3
= wxString_in_helper(obj2
);
34472 if (arg3
== NULL
) SWIG_fail
;
34476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34477 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34479 wxPyEndAllowThreads(__tstate
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34482 Py_INCREF(Py_None
); resultobj
= Py_None
;
34497 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34498 PyObject
*resultobj
;
34499 wxMenu
*arg1
= (wxMenu
*) 0 ;
34502 PyObject
* obj0
= 0 ;
34503 PyObject
* obj1
= 0 ;
34504 char *kwnames
[] = {
34505 (char *) "self",(char *) "id", NULL
34508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34510 if (SWIG_arg_fail(1)) SWIG_fail
;
34512 arg2
= (int)(SWIG_As_int(obj1
));
34513 if (SWIG_arg_fail(2)) SWIG_fail
;
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34535 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34536 PyObject
*resultobj
;
34537 wxMenu
*arg1
= (wxMenu
*) 0 ;
34538 wxString
*arg2
= 0 ;
34539 bool temp2
= false ;
34540 PyObject
* obj0
= 0 ;
34541 PyObject
* obj1
= 0 ;
34542 char *kwnames
[] = {
34543 (char *) "self",(char *) "title", NULL
34546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34548 if (SWIG_arg_fail(1)) SWIG_fail
;
34550 arg2
= wxString_in_helper(obj1
);
34551 if (arg2
== NULL
) SWIG_fail
;
34555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34556 (arg1
)->SetTitle((wxString
const &)*arg2
);
34558 wxPyEndAllowThreads(__tstate
);
34559 if (PyErr_Occurred()) SWIG_fail
;
34561 Py_INCREF(Py_None
); resultobj
= Py_None
;
34576 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34577 PyObject
*resultobj
;
34578 wxMenu
*arg1
= (wxMenu
*) 0 ;
34580 PyObject
* obj0
= 0 ;
34581 char *kwnames
[] = {
34582 (char *) "self", NULL
34585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34587 if (SWIG_arg_fail(1)) SWIG_fail
;
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34590 result
= ((wxMenu
const *)arg1
)->GetTitle();
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34608 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34609 PyObject
*resultobj
;
34610 wxMenu
*arg1
= (wxMenu
*) 0 ;
34611 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34612 PyObject
* obj0
= 0 ;
34613 PyObject
* obj1
= 0 ;
34614 char *kwnames
[] = {
34615 (char *) "self",(char *) "handler", NULL
34618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34620 if (SWIG_arg_fail(1)) SWIG_fail
;
34621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34622 if (SWIG_arg_fail(2)) SWIG_fail
;
34624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34625 (arg1
)->SetEventHandler(arg2
);
34627 wxPyEndAllowThreads(__tstate
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34630 Py_INCREF(Py_None
); resultobj
= Py_None
;
34637 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34638 PyObject
*resultobj
;
34639 wxMenu
*arg1
= (wxMenu
*) 0 ;
34640 wxEvtHandler
*result
;
34641 PyObject
* obj0
= 0 ;
34642 char *kwnames
[] = {
34643 (char *) "self", NULL
34646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34648 if (SWIG_arg_fail(1)) SWIG_fail
;
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34653 wxPyEndAllowThreads(__tstate
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34657 resultobj
= wxPyMake_wxObject(result
, 0);
34665 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34666 PyObject
*resultobj
;
34667 wxMenu
*arg1
= (wxMenu
*) 0 ;
34668 wxWindow
*arg2
= (wxWindow
*) 0 ;
34669 PyObject
* obj0
= 0 ;
34670 PyObject
* obj1
= 0 ;
34671 char *kwnames
[] = {
34672 (char *) "self",(char *) "win", NULL
34675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34677 if (SWIG_arg_fail(1)) SWIG_fail
;
34678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34679 if (SWIG_arg_fail(2)) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 (arg1
)->SetInvokingWindow(arg2
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 Py_INCREF(Py_None
); resultobj
= Py_None
;
34694 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
;
34696 wxMenu
*arg1
= (wxMenu
*) 0 ;
34698 PyObject
* obj0
= 0 ;
34699 char *kwnames
[] = {
34700 (char *) "self", NULL
34703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34705 if (SWIG_arg_fail(1)) SWIG_fail
;
34707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34708 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34710 wxPyEndAllowThreads(__tstate
);
34711 if (PyErr_Occurred()) SWIG_fail
;
34714 resultobj
= wxPyMake_wxObject(result
, 0);
34722 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34723 PyObject
*resultobj
;
34724 wxMenu
*arg1
= (wxMenu
*) 0 ;
34726 PyObject
* obj0
= 0 ;
34727 char *kwnames
[] = {
34728 (char *) "self", NULL
34731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34733 if (SWIG_arg_fail(1)) SWIG_fail
;
34735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34736 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34738 wxPyEndAllowThreads(__tstate
);
34739 if (PyErr_Occurred()) SWIG_fail
;
34742 resultobj
= SWIG_From_long((long)(result
));
34750 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34751 PyObject
*resultobj
;
34752 wxMenu
*arg1
= (wxMenu
*) 0 ;
34753 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34754 PyObject
* obj0
= 0 ;
34755 PyObject
* obj1
= 0 ;
34756 char *kwnames
[] = {
34757 (char *) "self",(char *) "source", NULL
34760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34762 if (SWIG_arg_fail(1)) SWIG_fail
;
34764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34765 if (SWIG_arg_fail(2)) SWIG_fail
;
34768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34769 (arg1
)->UpdateUI(arg2
);
34771 wxPyEndAllowThreads(__tstate
);
34772 if (PyErr_Occurred()) SWIG_fail
;
34774 Py_INCREF(Py_None
); resultobj
= Py_None
;
34781 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34782 PyObject
*resultobj
;
34783 wxMenu
*arg1
= (wxMenu
*) 0 ;
34785 PyObject
* obj0
= 0 ;
34786 char *kwnames
[] = {
34787 (char *) "self", NULL
34790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34792 if (SWIG_arg_fail(1)) SWIG_fail
;
34794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34795 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34797 wxPyEndAllowThreads(__tstate
);
34798 if (PyErr_Occurred()) SWIG_fail
;
34801 resultobj
= wxPyMake_wxObject(result
, 0);
34809 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34810 PyObject
*resultobj
;
34811 wxMenu
*arg1
= (wxMenu
*) 0 ;
34812 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34813 PyObject
* obj0
= 0 ;
34814 PyObject
* obj1
= 0 ;
34815 char *kwnames
[] = {
34816 (char *) "self",(char *) "menubar", NULL
34819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34821 if (SWIG_arg_fail(1)) SWIG_fail
;
34822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34823 if (SWIG_arg_fail(2)) SWIG_fail
;
34825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34826 (arg1
)->Attach(arg2
);
34828 wxPyEndAllowThreads(__tstate
);
34829 if (PyErr_Occurred()) SWIG_fail
;
34831 Py_INCREF(Py_None
); resultobj
= Py_None
;
34838 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34839 PyObject
*resultobj
;
34840 wxMenu
*arg1
= (wxMenu
*) 0 ;
34841 PyObject
* obj0
= 0 ;
34842 char *kwnames
[] = {
34843 (char *) "self", NULL
34846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34848 if (SWIG_arg_fail(1)) SWIG_fail
;
34850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34853 wxPyEndAllowThreads(__tstate
);
34854 if (PyErr_Occurred()) SWIG_fail
;
34856 Py_INCREF(Py_None
); resultobj
= Py_None
;
34863 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34864 PyObject
*resultobj
;
34865 wxMenu
*arg1
= (wxMenu
*) 0 ;
34867 PyObject
* obj0
= 0 ;
34868 char *kwnames
[] = {
34869 (char *) "self", NULL
34872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34874 if (SWIG_arg_fail(1)) SWIG_fail
;
34876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34877 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34879 wxPyEndAllowThreads(__tstate
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34891 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
;
34893 wxMenu
*arg1
= (wxMenu
*) 0 ;
34894 wxMenu
*arg2
= (wxMenu
*) 0 ;
34895 PyObject
* obj0
= 0 ;
34896 PyObject
* obj1
= 0 ;
34897 char *kwnames
[] = {
34898 (char *) "self",(char *) "parent", NULL
34901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34903 if (SWIG_arg_fail(1)) SWIG_fail
;
34904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34905 if (SWIG_arg_fail(2)) SWIG_fail
;
34907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34908 (arg1
)->SetParent(arg2
);
34910 wxPyEndAllowThreads(__tstate
);
34911 if (PyErr_Occurred()) SWIG_fail
;
34913 Py_INCREF(Py_None
); resultobj
= Py_None
;
34920 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34921 PyObject
*resultobj
;
34922 wxMenu
*arg1
= (wxMenu
*) 0 ;
34924 PyObject
* obj0
= 0 ;
34925 char *kwnames
[] = {
34926 (char *) "self", NULL
34929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34931 if (SWIG_arg_fail(1)) SWIG_fail
;
34933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34934 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34936 wxPyEndAllowThreads(__tstate
);
34937 if (PyErr_Occurred()) SWIG_fail
;
34940 resultobj
= wxPyMake_wxObject(result
, 0);
34948 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34951 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34953 return Py_BuildValue((char *)"");
34955 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34956 PyObject
*resultobj
;
34957 long arg1
= (long) 0 ;
34959 PyObject
* obj0
= 0 ;
34960 char *kwnames
[] = {
34961 (char *) "style", NULL
34964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34967 arg1
= (long)(SWIG_As_long(obj0
));
34968 if (SWIG_arg_fail(1)) SWIG_fail
;
34972 if (!wxPyCheckForApp()) SWIG_fail
;
34973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34974 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34976 wxPyEndAllowThreads(__tstate
);
34977 if (PyErr_Occurred()) SWIG_fail
;
34979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34986 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34987 PyObject
*resultobj
;
34988 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34989 wxMenu
*arg2
= (wxMenu
*) 0 ;
34990 wxString
*arg3
= 0 ;
34992 bool temp3
= false ;
34993 PyObject
* obj0
= 0 ;
34994 PyObject
* obj1
= 0 ;
34995 PyObject
* obj2
= 0 ;
34996 char *kwnames
[] = {
34997 (char *) "self",(char *) "menu",(char *) "title", NULL
35000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35002 if (SWIG_arg_fail(1)) SWIG_fail
;
35003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35004 if (SWIG_arg_fail(2)) SWIG_fail
;
35006 arg3
= wxString_in_helper(obj2
);
35007 if (arg3
== NULL
) SWIG_fail
;
35011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35012 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35014 wxPyEndAllowThreads(__tstate
);
35015 if (PyErr_Occurred()) SWIG_fail
;
35018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35034 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35035 PyObject
*resultobj
;
35036 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35038 wxMenu
*arg3
= (wxMenu
*) 0 ;
35039 wxString
*arg4
= 0 ;
35041 bool temp4
= false ;
35042 PyObject
* obj0
= 0 ;
35043 PyObject
* obj1
= 0 ;
35044 PyObject
* obj2
= 0 ;
35045 PyObject
* obj3
= 0 ;
35046 char *kwnames
[] = {
35047 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35052 if (SWIG_arg_fail(1)) SWIG_fail
;
35054 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35055 if (SWIG_arg_fail(2)) SWIG_fail
;
35057 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35058 if (SWIG_arg_fail(3)) SWIG_fail
;
35060 arg4
= wxString_in_helper(obj3
);
35061 if (arg4
== NULL
) SWIG_fail
;
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35066 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35088 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35089 PyObject
*resultobj
;
35090 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35092 PyObject
* obj0
= 0 ;
35093 char *kwnames
[] = {
35094 (char *) "self", NULL
35097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35099 if (SWIG_arg_fail(1)) SWIG_fail
;
35101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35102 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35104 wxPyEndAllowThreads(__tstate
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35108 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35116 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35117 PyObject
*resultobj
;
35118 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35121 PyObject
* obj0
= 0 ;
35122 PyObject
* obj1
= 0 ;
35123 char *kwnames
[] = {
35124 (char *) "self",(char *) "pos", NULL
35127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35129 if (SWIG_arg_fail(1)) SWIG_fail
;
35131 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35132 if (SWIG_arg_fail(2)) SWIG_fail
;
35135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35136 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35138 wxPyEndAllowThreads(__tstate
);
35139 if (PyErr_Occurred()) SWIG_fail
;
35142 resultobj
= wxPyMake_wxObject(result
, 0);
35150 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35151 PyObject
*resultobj
;
35152 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35154 wxMenu
*arg3
= (wxMenu
*) 0 ;
35155 wxString
*arg4
= 0 ;
35157 bool temp4
= false ;
35158 PyObject
* obj0
= 0 ;
35159 PyObject
* obj1
= 0 ;
35160 PyObject
* obj2
= 0 ;
35161 PyObject
* obj3
= 0 ;
35162 char *kwnames
[] = {
35163 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35168 if (SWIG_arg_fail(1)) SWIG_fail
;
35170 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35171 if (SWIG_arg_fail(2)) SWIG_fail
;
35173 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35174 if (SWIG_arg_fail(3)) SWIG_fail
;
35176 arg4
= wxString_in_helper(obj3
);
35177 if (arg4
== NULL
) SWIG_fail
;
35181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35182 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= wxPyMake_wxObject(result
, 0);
35204 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35205 PyObject
*resultobj
;
35206 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35209 PyObject
* obj0
= 0 ;
35210 PyObject
* obj1
= 0 ;
35211 char *kwnames
[] = {
35212 (char *) "self",(char *) "pos", NULL
35215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35217 if (SWIG_arg_fail(1)) SWIG_fail
;
35219 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35220 if (SWIG_arg_fail(2)) SWIG_fail
;
35223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35224 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35226 wxPyEndAllowThreads(__tstate
);
35227 if (PyErr_Occurred()) SWIG_fail
;
35230 resultobj
= wxPyMake_wxObject(result
, 0);
35238 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35239 PyObject
*resultobj
;
35240 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 PyObject
* obj2
= 0 ;
35246 char *kwnames
[] = {
35247 (char *) "self",(char *) "pos",(char *) "enable", NULL
35250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35252 if (SWIG_arg_fail(1)) SWIG_fail
;
35254 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35255 if (SWIG_arg_fail(2)) SWIG_fail
;
35258 arg3
= (bool)(SWIG_As_bool(obj2
));
35259 if (SWIG_arg_fail(3)) SWIG_fail
;
35262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35263 (arg1
)->EnableTop(arg2
,arg3
);
35265 wxPyEndAllowThreads(__tstate
);
35266 if (PyErr_Occurred()) SWIG_fail
;
35268 Py_INCREF(Py_None
); resultobj
= Py_None
;
35275 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35276 PyObject
*resultobj
;
35277 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35280 PyObject
* obj0
= 0 ;
35281 PyObject
* obj1
= 0 ;
35282 char *kwnames
[] = {
35283 (char *) "self",(char *) "pos", NULL
35286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35288 if (SWIG_arg_fail(1)) SWIG_fail
;
35290 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35291 if (SWIG_arg_fail(2)) SWIG_fail
;
35294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35295 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35297 wxPyEndAllowThreads(__tstate
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35309 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35310 PyObject
*resultobj
;
35311 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35313 wxString
*arg3
= 0 ;
35314 bool temp3
= false ;
35315 PyObject
* obj0
= 0 ;
35316 PyObject
* obj1
= 0 ;
35317 PyObject
* obj2
= 0 ;
35318 char *kwnames
[] = {
35319 (char *) "self",(char *) "pos",(char *) "label", NULL
35322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35324 if (SWIG_arg_fail(1)) SWIG_fail
;
35326 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35327 if (SWIG_arg_fail(2)) SWIG_fail
;
35330 arg3
= wxString_in_helper(obj2
);
35331 if (arg3
== NULL
) SWIG_fail
;
35335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35336 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35338 wxPyEndAllowThreads(__tstate
);
35339 if (PyErr_Occurred()) SWIG_fail
;
35341 Py_INCREF(Py_None
); resultobj
= Py_None
;
35356 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35357 PyObject
*resultobj
;
35358 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35361 PyObject
* obj0
= 0 ;
35362 PyObject
* obj1
= 0 ;
35363 char *kwnames
[] = {
35364 (char *) "self",(char *) "pos", NULL
35367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35369 if (SWIG_arg_fail(1)) SWIG_fail
;
35371 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35372 if (SWIG_arg_fail(2)) SWIG_fail
;
35375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35376 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35394 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35395 PyObject
*resultobj
;
35396 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35397 wxString
*arg2
= 0 ;
35398 wxString
*arg3
= 0 ;
35400 bool temp2
= false ;
35401 bool temp3
= false ;
35402 PyObject
* obj0
= 0 ;
35403 PyObject
* obj1
= 0 ;
35404 PyObject
* obj2
= 0 ;
35405 char *kwnames
[] = {
35406 (char *) "self",(char *) "menu",(char *) "item", NULL
35409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35411 if (SWIG_arg_fail(1)) SWIG_fail
;
35413 arg2
= wxString_in_helper(obj1
);
35414 if (arg2
== NULL
) SWIG_fail
;
35418 arg3
= wxString_in_helper(obj2
);
35419 if (arg3
== NULL
) SWIG_fail
;
35423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35424 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35426 wxPyEndAllowThreads(__tstate
);
35427 if (PyErr_Occurred()) SWIG_fail
;
35430 resultobj
= SWIG_From_int((int)(result
));
35454 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35455 PyObject
*resultobj
;
35456 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35458 wxMenuItem
*result
;
35459 PyObject
* obj0
= 0 ;
35460 PyObject
* obj1
= 0 ;
35461 char *kwnames
[] = {
35462 (char *) "self",(char *) "id", NULL
35465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35467 if (SWIG_arg_fail(1)) SWIG_fail
;
35469 arg2
= (int)(SWIG_As_int(obj1
));
35470 if (SWIG_arg_fail(2)) SWIG_fail
;
35473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35474 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35476 wxPyEndAllowThreads(__tstate
);
35477 if (PyErr_Occurred()) SWIG_fail
;
35480 resultobj
= wxPyMake_wxObject(result
, 0);
35488 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35489 PyObject
*resultobj
;
35490 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35491 wxString
*arg2
= 0 ;
35493 bool temp2
= false ;
35494 PyObject
* obj0
= 0 ;
35495 PyObject
* obj1
= 0 ;
35496 char *kwnames
[] = {
35497 (char *) "self",(char *) "title", NULL
35500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35502 if (SWIG_arg_fail(1)) SWIG_fail
;
35504 arg2
= wxString_in_helper(obj1
);
35505 if (arg2
== NULL
) SWIG_fail
;
35509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35510 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
35512 wxPyEndAllowThreads(__tstate
);
35513 if (PyErr_Occurred()) SWIG_fail
;
35516 resultobj
= SWIG_From_int((int)(result
));
35532 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35533 PyObject
*resultobj
;
35534 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35537 PyObject
* obj0
= 0 ;
35538 PyObject
* obj1
= 0 ;
35539 PyObject
* obj2
= 0 ;
35540 char *kwnames
[] = {
35541 (char *) "self",(char *) "id",(char *) "enable", NULL
35544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35546 if (SWIG_arg_fail(1)) SWIG_fail
;
35548 arg2
= (int)(SWIG_As_int(obj1
));
35549 if (SWIG_arg_fail(2)) SWIG_fail
;
35552 arg3
= (bool)(SWIG_As_bool(obj2
));
35553 if (SWIG_arg_fail(3)) SWIG_fail
;
35556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35557 (arg1
)->Enable(arg2
,arg3
);
35559 wxPyEndAllowThreads(__tstate
);
35560 if (PyErr_Occurred()) SWIG_fail
;
35562 Py_INCREF(Py_None
); resultobj
= Py_None
;
35569 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35570 PyObject
*resultobj
;
35571 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35574 PyObject
* obj0
= 0 ;
35575 PyObject
* obj1
= 0 ;
35576 PyObject
* obj2
= 0 ;
35577 char *kwnames
[] = {
35578 (char *) "self",(char *) "id",(char *) "check", NULL
35581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35583 if (SWIG_arg_fail(1)) SWIG_fail
;
35585 arg2
= (int)(SWIG_As_int(obj1
));
35586 if (SWIG_arg_fail(2)) SWIG_fail
;
35589 arg3
= (bool)(SWIG_As_bool(obj2
));
35590 if (SWIG_arg_fail(3)) SWIG_fail
;
35593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35594 (arg1
)->Check(arg2
,arg3
);
35596 wxPyEndAllowThreads(__tstate
);
35597 if (PyErr_Occurred()) SWIG_fail
;
35599 Py_INCREF(Py_None
); resultobj
= Py_None
;
35606 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35607 PyObject
*resultobj
;
35608 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35611 PyObject
* obj0
= 0 ;
35612 PyObject
* obj1
= 0 ;
35613 char *kwnames
[] = {
35614 (char *) "self",(char *) "id", NULL
35617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35619 if (SWIG_arg_fail(1)) SWIG_fail
;
35621 arg2
= (int)(SWIG_As_int(obj1
));
35622 if (SWIG_arg_fail(2)) SWIG_fail
;
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35640 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35641 PyObject
*resultobj
;
35642 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35645 PyObject
* obj0
= 0 ;
35646 PyObject
* obj1
= 0 ;
35647 char *kwnames
[] = {
35648 (char *) "self",(char *) "id", NULL
35651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",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
;
35655 arg2
= (int)(SWIG_As_int(obj1
));
35656 if (SWIG_arg_fail(2)) SWIG_fail
;
35659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35660 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35674 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35675 PyObject
*resultobj
;
35676 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35678 wxString
*arg3
= 0 ;
35679 bool temp3
= false ;
35680 PyObject
* obj0
= 0 ;
35681 PyObject
* obj1
= 0 ;
35682 PyObject
* obj2
= 0 ;
35683 char *kwnames
[] = {
35684 (char *) "self",(char *) "id",(char *) "label", NULL
35687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35689 if (SWIG_arg_fail(1)) SWIG_fail
;
35691 arg2
= (int)(SWIG_As_int(obj1
));
35692 if (SWIG_arg_fail(2)) SWIG_fail
;
35695 arg3
= wxString_in_helper(obj2
);
35696 if (arg3
== NULL
) SWIG_fail
;
35700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35703 wxPyEndAllowThreads(__tstate
);
35704 if (PyErr_Occurred()) SWIG_fail
;
35706 Py_INCREF(Py_None
); resultobj
= Py_None
;
35721 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35722 PyObject
*resultobj
;
35723 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35726 PyObject
* obj0
= 0 ;
35727 PyObject
* obj1
= 0 ;
35728 char *kwnames
[] = {
35729 (char *) "self",(char *) "id", NULL
35732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35734 if (SWIG_arg_fail(1)) SWIG_fail
;
35736 arg2
= (int)(SWIG_As_int(obj1
));
35737 if (SWIG_arg_fail(2)) SWIG_fail
;
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35759 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35760 PyObject
*resultobj
;
35761 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35763 wxString
*arg3
= 0 ;
35764 bool temp3
= false ;
35765 PyObject
* obj0
= 0 ;
35766 PyObject
* obj1
= 0 ;
35767 PyObject
* obj2
= 0 ;
35768 char *kwnames
[] = {
35769 (char *) "self",(char *) "id",(char *) "helpString", NULL
35772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35774 if (SWIG_arg_fail(1)) SWIG_fail
;
35776 arg2
= (int)(SWIG_As_int(obj1
));
35777 if (SWIG_arg_fail(2)) SWIG_fail
;
35780 arg3
= wxString_in_helper(obj2
);
35781 if (arg3
== NULL
) SWIG_fail
;
35785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35786 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35788 wxPyEndAllowThreads(__tstate
);
35789 if (PyErr_Occurred()) SWIG_fail
;
35791 Py_INCREF(Py_None
); resultobj
= Py_None
;
35806 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35807 PyObject
*resultobj
;
35808 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35811 PyObject
* obj0
= 0 ;
35812 PyObject
* obj1
= 0 ;
35813 char *kwnames
[] = {
35814 (char *) "self",(char *) "id", NULL
35817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35819 if (SWIG_arg_fail(1)) SWIG_fail
;
35821 arg2
= (int)(SWIG_As_int(obj1
));
35822 if (SWIG_arg_fail(2)) SWIG_fail
;
35825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35826 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35828 wxPyEndAllowThreads(__tstate
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35844 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35845 PyObject
*resultobj
;
35846 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35848 PyObject
* obj0
= 0 ;
35849 char *kwnames
[] = {
35850 (char *) "self", NULL
35853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35855 if (SWIG_arg_fail(1)) SWIG_fail
;
35857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35858 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35860 wxPyEndAllowThreads(__tstate
);
35861 if (PyErr_Occurred()) SWIG_fail
;
35864 resultobj
= wxPyMake_wxObject(result
, 0);
35872 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35873 PyObject
*resultobj
;
35874 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35876 PyObject
* obj0
= 0 ;
35877 char *kwnames
[] = {
35878 (char *) "self", NULL
35881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35883 if (SWIG_arg_fail(1)) SWIG_fail
;
35885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35886 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35888 wxPyEndAllowThreads(__tstate
);
35889 if (PyErr_Occurred()) SWIG_fail
;
35892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35900 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35901 PyObject
*resultobj
;
35902 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35903 wxFrame
*arg2
= (wxFrame
*) 0 ;
35904 PyObject
* obj0
= 0 ;
35905 PyObject
* obj1
= 0 ;
35906 char *kwnames
[] = {
35907 (char *) "self",(char *) "frame", NULL
35910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35912 if (SWIG_arg_fail(1)) SWIG_fail
;
35913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35914 if (SWIG_arg_fail(2)) SWIG_fail
;
35916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35917 (arg1
)->Attach(arg2
);
35919 wxPyEndAllowThreads(__tstate
);
35920 if (PyErr_Occurred()) SWIG_fail
;
35922 Py_INCREF(Py_None
); resultobj
= Py_None
;
35929 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35930 PyObject
*resultobj
;
35931 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35932 PyObject
* obj0
= 0 ;
35933 char *kwnames
[] = {
35934 (char *) "self", NULL
35937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35939 if (SWIG_arg_fail(1)) SWIG_fail
;
35941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35944 wxPyEndAllowThreads(__tstate
);
35945 if (PyErr_Occurred()) SWIG_fail
;
35947 Py_INCREF(Py_None
); resultobj
= Py_None
;
35954 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35957 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35959 return Py_BuildValue((char *)"");
35961 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35962 PyObject
*resultobj
;
35963 wxMenu
*arg1
= (wxMenu
*) NULL
;
35964 int arg2
= (int) wxID_ANY
;
35965 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35966 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35967 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35968 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35969 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35970 wxMenu
*arg6
= (wxMenu
*) NULL
;
35971 wxMenuItem
*result
;
35972 bool temp3
= false ;
35973 bool temp4
= false ;
35974 PyObject
* obj0
= 0 ;
35975 PyObject
* obj1
= 0 ;
35976 PyObject
* obj2
= 0 ;
35977 PyObject
* obj3
= 0 ;
35978 PyObject
* obj4
= 0 ;
35979 PyObject
* obj5
= 0 ;
35980 char *kwnames
[] = {
35981 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35987 if (SWIG_arg_fail(1)) SWIG_fail
;
35991 arg2
= (int)(SWIG_As_int(obj1
));
35992 if (SWIG_arg_fail(2)) SWIG_fail
;
35997 arg3
= wxString_in_helper(obj2
);
35998 if (arg3
== NULL
) SWIG_fail
;
36004 arg4
= wxString_in_helper(obj3
);
36005 if (arg4
== NULL
) SWIG_fail
;
36011 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36012 if (SWIG_arg_fail(5)) SWIG_fail
;
36016 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36017 if (SWIG_arg_fail(6)) SWIG_fail
;
36020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36021 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36027 resultobj
= wxPyMake_wxObject(result
, 1);
36051 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36052 PyObject
*resultobj
;
36053 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36055 PyObject
* obj0
= 0 ;
36056 char *kwnames
[] = {
36057 (char *) "self", NULL
36060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36062 if (SWIG_arg_fail(1)) SWIG_fail
;
36064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36065 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36067 wxPyEndAllowThreads(__tstate
);
36068 if (PyErr_Occurred()) SWIG_fail
;
36071 resultobj
= wxPyMake_wxObject(result
, 0);
36079 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36080 PyObject
*resultobj
;
36081 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36082 wxMenu
*arg2
= (wxMenu
*) 0 ;
36083 PyObject
* obj0
= 0 ;
36084 PyObject
* obj1
= 0 ;
36085 char *kwnames
[] = {
36086 (char *) "self",(char *) "menu", NULL
36089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36091 if (SWIG_arg_fail(1)) SWIG_fail
;
36092 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36093 if (SWIG_arg_fail(2)) SWIG_fail
;
36095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36096 (arg1
)->SetMenu(arg2
);
36098 wxPyEndAllowThreads(__tstate
);
36099 if (PyErr_Occurred()) SWIG_fail
;
36101 Py_INCREF(Py_None
); resultobj
= Py_None
;
36108 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36109 PyObject
*resultobj
;
36110 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36112 PyObject
* obj0
= 0 ;
36113 PyObject
* obj1
= 0 ;
36114 char *kwnames
[] = {
36115 (char *) "self",(char *) "id", NULL
36118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36120 if (SWIG_arg_fail(1)) SWIG_fail
;
36122 arg2
= (int)(SWIG_As_int(obj1
));
36123 if (SWIG_arg_fail(2)) SWIG_fail
;
36126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36127 (arg1
)->SetId(arg2
);
36129 wxPyEndAllowThreads(__tstate
);
36130 if (PyErr_Occurred()) SWIG_fail
;
36132 Py_INCREF(Py_None
); resultobj
= Py_None
;
36139 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36140 PyObject
*resultobj
;
36141 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36143 PyObject
* obj0
= 0 ;
36144 char *kwnames
[] = {
36145 (char *) "self", NULL
36148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36150 if (SWIG_arg_fail(1)) SWIG_fail
;
36152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36153 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36155 wxPyEndAllowThreads(__tstate
);
36156 if (PyErr_Occurred()) SWIG_fail
;
36159 resultobj
= SWIG_From_int((int)(result
));
36167 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36168 PyObject
*resultobj
;
36169 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36171 PyObject
* obj0
= 0 ;
36172 char *kwnames
[] = {
36173 (char *) "self", NULL
36176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36178 if (SWIG_arg_fail(1)) SWIG_fail
;
36180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36181 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36183 wxPyEndAllowThreads(__tstate
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36195 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36196 PyObject
*resultobj
;
36197 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36198 wxString
*arg2
= 0 ;
36199 bool temp2
= false ;
36200 PyObject
* obj0
= 0 ;
36201 PyObject
* obj1
= 0 ;
36202 char *kwnames
[] = {
36203 (char *) "self",(char *) "str", NULL
36206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36208 if (SWIG_arg_fail(1)) SWIG_fail
;
36210 arg2
= wxString_in_helper(obj1
);
36211 if (arg2
== NULL
) SWIG_fail
;
36215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36216 (arg1
)->SetText((wxString
const &)*arg2
);
36218 wxPyEndAllowThreads(__tstate
);
36219 if (PyErr_Occurred()) SWIG_fail
;
36221 Py_INCREF(Py_None
); resultobj
= Py_None
;
36236 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36237 PyObject
*resultobj
;
36238 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36240 PyObject
* obj0
= 0 ;
36241 char *kwnames
[] = {
36242 (char *) "self", NULL
36245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36247 if (SWIG_arg_fail(1)) SWIG_fail
;
36249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36250 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36252 wxPyEndAllowThreads(__tstate
);
36253 if (PyErr_Occurred()) SWIG_fail
;
36257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36268 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36269 PyObject
*resultobj
;
36270 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36272 PyObject
* obj0
= 0 ;
36273 char *kwnames
[] = {
36274 (char *) "self", NULL
36277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36279 if (SWIG_arg_fail(1)) SWIG_fail
;
36281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36283 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36284 result
= (wxString
*) &_result_ref
;
36287 wxPyEndAllowThreads(__tstate
);
36288 if (PyErr_Occurred()) SWIG_fail
;
36292 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36294 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36303 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36304 PyObject
*resultobj
;
36305 wxString
*arg1
= 0 ;
36307 bool temp1
= false ;
36308 PyObject
* obj0
= 0 ;
36309 char *kwnames
[] = {
36310 (char *) "text", NULL
36313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36315 arg1
= wxString_in_helper(obj0
);
36316 if (arg1
== NULL
) SWIG_fail
;
36320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36321 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36323 wxPyEndAllowThreads(__tstate
);
36324 if (PyErr_Occurred()) SWIG_fail
;
36328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36347 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36348 PyObject
*resultobj
;
36349 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36351 PyObject
* obj0
= 0 ;
36352 char *kwnames
[] = {
36353 (char *) "self", NULL
36356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36358 if (SWIG_arg_fail(1)) SWIG_fail
;
36360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36361 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36366 resultobj
= SWIG_From_int((result
));
36373 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36374 PyObject
*resultobj
;
36375 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36377 PyObject
* obj0
= 0 ;
36378 PyObject
* obj1
= 0 ;
36379 char *kwnames
[] = {
36380 (char *) "self",(char *) "kind", NULL
36383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36385 if (SWIG_arg_fail(1)) SWIG_fail
;
36387 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36388 if (SWIG_arg_fail(2)) SWIG_fail
;
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 (arg1
)->SetKind((wxItemKind
)arg2
);
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36397 Py_INCREF(Py_None
); resultobj
= Py_None
;
36404 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36405 PyObject
*resultobj
;
36406 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36408 PyObject
* obj0
= 0 ;
36409 PyObject
* obj1
= 0 ;
36410 char *kwnames
[] = {
36411 (char *) "self",(char *) "checkable", NULL
36414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36416 if (SWIG_arg_fail(1)) SWIG_fail
;
36418 arg2
= (bool)(SWIG_As_bool(obj1
));
36419 if (SWIG_arg_fail(2)) SWIG_fail
;
36422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36423 (arg1
)->SetCheckable(arg2
);
36425 wxPyEndAllowThreads(__tstate
);
36426 if (PyErr_Occurred()) SWIG_fail
;
36428 Py_INCREF(Py_None
); resultobj
= Py_None
;
36435 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36436 PyObject
*resultobj
;
36437 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36439 PyObject
* obj0
= 0 ;
36440 char *kwnames
[] = {
36441 (char *) "self", NULL
36444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36446 if (SWIG_arg_fail(1)) SWIG_fail
;
36448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36449 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36451 wxPyEndAllowThreads(__tstate
);
36452 if (PyErr_Occurred()) SWIG_fail
;
36455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36463 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36464 PyObject
*resultobj
;
36465 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36467 PyObject
* obj0
= 0 ;
36468 char *kwnames
[] = {
36469 (char *) "self", NULL
36472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36474 if (SWIG_arg_fail(1)) SWIG_fail
;
36476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36477 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36479 wxPyEndAllowThreads(__tstate
);
36480 if (PyErr_Occurred()) SWIG_fail
;
36483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36491 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36492 PyObject
*resultobj
;
36493 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36494 wxMenu
*arg2
= (wxMenu
*) 0 ;
36495 PyObject
* obj0
= 0 ;
36496 PyObject
* obj1
= 0 ;
36497 char *kwnames
[] = {
36498 (char *) "self",(char *) "menu", NULL
36501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36503 if (SWIG_arg_fail(1)) SWIG_fail
;
36504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36505 if (SWIG_arg_fail(2)) SWIG_fail
;
36507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36508 (arg1
)->SetSubMenu(arg2
);
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 Py_INCREF(Py_None
); resultobj
= Py_None
;
36520 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36521 PyObject
*resultobj
;
36522 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36524 PyObject
* obj0
= 0 ;
36525 char *kwnames
[] = {
36526 (char *) "self", NULL
36529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",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
;
36533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36534 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36536 wxPyEndAllowThreads(__tstate
);
36537 if (PyErr_Occurred()) SWIG_fail
;
36540 resultobj
= wxPyMake_wxObject(result
, 0);
36548 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36549 PyObject
*resultobj
;
36550 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36551 bool arg2
= (bool) true ;
36552 PyObject
* obj0
= 0 ;
36553 PyObject
* obj1
= 0 ;
36554 char *kwnames
[] = {
36555 (char *) "self",(char *) "enable", NULL
36558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36560 if (SWIG_arg_fail(1)) SWIG_fail
;
36563 arg2
= (bool)(SWIG_As_bool(obj1
));
36564 if (SWIG_arg_fail(2)) SWIG_fail
;
36568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36569 (arg1
)->Enable(arg2
);
36571 wxPyEndAllowThreads(__tstate
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36574 Py_INCREF(Py_None
); resultobj
= Py_None
;
36581 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36582 PyObject
*resultobj
;
36583 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36585 PyObject
* obj0
= 0 ;
36586 char *kwnames
[] = {
36587 (char *) "self", NULL
36590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36592 if (SWIG_arg_fail(1)) SWIG_fail
;
36594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36595 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36597 wxPyEndAllowThreads(__tstate
);
36598 if (PyErr_Occurred()) SWIG_fail
;
36601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36609 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36610 PyObject
*resultobj
;
36611 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36612 bool arg2
= (bool) true ;
36613 PyObject
* obj0
= 0 ;
36614 PyObject
* obj1
= 0 ;
36615 char *kwnames
[] = {
36616 (char *) "self",(char *) "check", NULL
36619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36621 if (SWIG_arg_fail(1)) SWIG_fail
;
36624 arg2
= (bool)(SWIG_As_bool(obj1
));
36625 if (SWIG_arg_fail(2)) SWIG_fail
;
36629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36630 (arg1
)->Check(arg2
);
36632 wxPyEndAllowThreads(__tstate
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36635 Py_INCREF(Py_None
); resultobj
= Py_None
;
36642 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36643 PyObject
*resultobj
;
36644 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36646 PyObject
* obj0
= 0 ;
36647 char *kwnames
[] = {
36648 (char *) "self", NULL
36651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36653 if (SWIG_arg_fail(1)) SWIG_fail
;
36655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36656 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36658 wxPyEndAllowThreads(__tstate
);
36659 if (PyErr_Occurred()) SWIG_fail
;
36662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36670 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36671 PyObject
*resultobj
;
36672 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36673 PyObject
* obj0
= 0 ;
36674 char *kwnames
[] = {
36675 (char *) "self", NULL
36678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36680 if (SWIG_arg_fail(1)) SWIG_fail
;
36682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36685 wxPyEndAllowThreads(__tstate
);
36686 if (PyErr_Occurred()) SWIG_fail
;
36688 Py_INCREF(Py_None
); resultobj
= Py_None
;
36695 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36696 PyObject
*resultobj
;
36697 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36698 wxString
*arg2
= 0 ;
36699 bool temp2
= false ;
36700 PyObject
* obj0
= 0 ;
36701 PyObject
* obj1
= 0 ;
36702 char *kwnames
[] = {
36703 (char *) "self",(char *) "str", NULL
36706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36708 if (SWIG_arg_fail(1)) SWIG_fail
;
36710 arg2
= wxString_in_helper(obj1
);
36711 if (arg2
== NULL
) SWIG_fail
;
36715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36716 (arg1
)->SetHelp((wxString
const &)*arg2
);
36718 wxPyEndAllowThreads(__tstate
);
36719 if (PyErr_Occurred()) SWIG_fail
;
36721 Py_INCREF(Py_None
); resultobj
= Py_None
;
36736 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36737 PyObject
*resultobj
;
36738 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36740 PyObject
* obj0
= 0 ;
36741 char *kwnames
[] = {
36742 (char *) "self", NULL
36745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36747 if (SWIG_arg_fail(1)) SWIG_fail
;
36749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36751 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36752 result
= (wxString
*) &_result_ref
;
36755 wxPyEndAllowThreads(__tstate
);
36756 if (PyErr_Occurred()) SWIG_fail
;
36760 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36762 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36771 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36772 PyObject
*resultobj
;
36773 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36774 wxAcceleratorEntry
*result
;
36775 PyObject
* obj0
= 0 ;
36776 char *kwnames
[] = {
36777 (char *) "self", NULL
36780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36782 if (SWIG_arg_fail(1)) SWIG_fail
;
36784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36785 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36787 wxPyEndAllowThreads(__tstate
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36797 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36798 PyObject
*resultobj
;
36799 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36800 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36801 PyObject
* obj0
= 0 ;
36802 PyObject
* obj1
= 0 ;
36803 char *kwnames
[] = {
36804 (char *) "self",(char *) "accel", NULL
36807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36809 if (SWIG_arg_fail(1)) SWIG_fail
;
36810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36811 if (SWIG_arg_fail(2)) SWIG_fail
;
36813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36814 (arg1
)->SetAccel(arg2
);
36816 wxPyEndAllowThreads(__tstate
);
36817 if (PyErr_Occurred()) SWIG_fail
;
36819 Py_INCREF(Py_None
); resultobj
= Py_None
;
36826 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36827 PyObject
*resultobj
;
36828 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36830 PyObject
* obj0
= 0 ;
36831 PyObject
* obj1
= 0 ;
36832 char *kwnames
[] = {
36833 (char *) "self",(char *) "font", NULL
36836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36838 if (SWIG_arg_fail(1)) SWIG_fail
;
36840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36841 if (SWIG_arg_fail(2)) SWIG_fail
;
36842 if (arg2
== NULL
) {
36843 SWIG_null_ref("wxFont");
36845 if (SWIG_arg_fail(2)) SWIG_fail
;
36848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36849 (arg1
)->SetFont((wxFont
const &)*arg2
);
36851 wxPyEndAllowThreads(__tstate
);
36852 if (PyErr_Occurred()) SWIG_fail
;
36854 Py_INCREF(Py_None
); resultobj
= Py_None
;
36861 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36862 PyObject
*resultobj
;
36863 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36865 PyObject
* obj0
= 0 ;
36866 char *kwnames
[] = {
36867 (char *) "self", NULL
36870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36872 if (SWIG_arg_fail(1)) SWIG_fail
;
36874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36875 result
= (arg1
)->GetFont();
36877 wxPyEndAllowThreads(__tstate
);
36878 if (PyErr_Occurred()) SWIG_fail
;
36881 wxFont
* resultptr
;
36882 resultptr
= new wxFont((wxFont
&)(result
));
36883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36891 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36892 PyObject
*resultobj
;
36893 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36894 wxColour
*arg2
= 0 ;
36896 PyObject
* obj0
= 0 ;
36897 PyObject
* obj1
= 0 ;
36898 char *kwnames
[] = {
36899 (char *) "self",(char *) "colText", NULL
36902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36904 if (SWIG_arg_fail(1)) SWIG_fail
;
36907 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36911 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36913 wxPyEndAllowThreads(__tstate
);
36914 if (PyErr_Occurred()) SWIG_fail
;
36916 Py_INCREF(Py_None
); resultobj
= Py_None
;
36923 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36924 PyObject
*resultobj
;
36925 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36927 PyObject
* obj0
= 0 ;
36928 char *kwnames
[] = {
36929 (char *) "self", NULL
36932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36934 if (SWIG_arg_fail(1)) SWIG_fail
;
36936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36937 result
= (arg1
)->GetTextColour();
36939 wxPyEndAllowThreads(__tstate
);
36940 if (PyErr_Occurred()) SWIG_fail
;
36943 wxColour
* resultptr
;
36944 resultptr
= new wxColour((wxColour
&)(result
));
36945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36953 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36954 PyObject
*resultobj
;
36955 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36956 wxColour
*arg2
= 0 ;
36958 PyObject
* obj0
= 0 ;
36959 PyObject
* obj1
= 0 ;
36960 char *kwnames
[] = {
36961 (char *) "self",(char *) "colBack", NULL
36964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36966 if (SWIG_arg_fail(1)) SWIG_fail
;
36969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36973 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36975 wxPyEndAllowThreads(__tstate
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36978 Py_INCREF(Py_None
); resultobj
= Py_None
;
36985 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36986 PyObject
*resultobj
;
36987 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36989 PyObject
* obj0
= 0 ;
36990 char *kwnames
[] = {
36991 (char *) "self", NULL
36994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36996 if (SWIG_arg_fail(1)) SWIG_fail
;
36998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36999 result
= (arg1
)->GetBackgroundColour();
37001 wxPyEndAllowThreads(__tstate
);
37002 if (PyErr_Occurred()) SWIG_fail
;
37005 wxColour
* resultptr
;
37006 resultptr
= new wxColour((wxColour
&)(result
));
37007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37015 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37016 PyObject
*resultobj
;
37017 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37018 wxBitmap
*arg2
= 0 ;
37019 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37020 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37021 PyObject
* obj0
= 0 ;
37022 PyObject
* obj1
= 0 ;
37023 PyObject
* obj2
= 0 ;
37024 char *kwnames
[] = {
37025 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37030 if (SWIG_arg_fail(1)) SWIG_fail
;
37032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37033 if (SWIG_arg_fail(2)) SWIG_fail
;
37034 if (arg2
== NULL
) {
37035 SWIG_null_ref("wxBitmap");
37037 if (SWIG_arg_fail(2)) SWIG_fail
;
37041 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37042 if (SWIG_arg_fail(3)) SWIG_fail
;
37043 if (arg3
== NULL
) {
37044 SWIG_null_ref("wxBitmap");
37046 if (SWIG_arg_fail(3)) SWIG_fail
;
37050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37051 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37053 wxPyEndAllowThreads(__tstate
);
37054 if (PyErr_Occurred()) SWIG_fail
;
37056 Py_INCREF(Py_None
); resultobj
= Py_None
;
37063 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37064 PyObject
*resultobj
;
37065 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37066 wxBitmap
*arg2
= 0 ;
37067 PyObject
* obj0
= 0 ;
37068 PyObject
* obj1
= 0 ;
37069 char *kwnames
[] = {
37070 (char *) "self",(char *) "bmpDisabled", NULL
37073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37075 if (SWIG_arg_fail(1)) SWIG_fail
;
37077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37078 if (SWIG_arg_fail(2)) SWIG_fail
;
37079 if (arg2
== NULL
) {
37080 SWIG_null_ref("wxBitmap");
37082 if (SWIG_arg_fail(2)) SWIG_fail
;
37085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37086 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
37088 wxPyEndAllowThreads(__tstate
);
37089 if (PyErr_Occurred()) SWIG_fail
;
37091 Py_INCREF(Py_None
); resultobj
= Py_None
;
37098 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37099 PyObject
*resultobj
;
37100 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37102 PyObject
* obj0
= 0 ;
37103 char *kwnames
[] = {
37104 (char *) "self", NULL
37107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37109 if (SWIG_arg_fail(1)) SWIG_fail
;
37111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37113 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
37114 result
= (wxBitmap
*) &_result_ref
;
37117 wxPyEndAllowThreads(__tstate
);
37118 if (PyErr_Occurred()) SWIG_fail
;
37121 wxBitmap
* resultptr
= new wxBitmap(*result
);
37122 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37130 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37131 PyObject
*resultobj
;
37132 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37134 PyObject
* obj0
= 0 ;
37135 PyObject
* obj1
= 0 ;
37136 char *kwnames
[] = {
37137 (char *) "self",(char *) "nWidth", NULL
37140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37142 if (SWIG_arg_fail(1)) SWIG_fail
;
37144 arg2
= (int)(SWIG_As_int(obj1
));
37145 if (SWIG_arg_fail(2)) SWIG_fail
;
37148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37149 (arg1
)->SetMarginWidth(arg2
);
37151 wxPyEndAllowThreads(__tstate
);
37152 if (PyErr_Occurred()) SWIG_fail
;
37154 Py_INCREF(Py_None
); resultobj
= Py_None
;
37161 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37162 PyObject
*resultobj
;
37163 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37165 PyObject
* obj0
= 0 ;
37166 char *kwnames
[] = {
37167 (char *) "self", NULL
37170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37172 if (SWIG_arg_fail(1)) SWIG_fail
;
37174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37175 result
= (int)(arg1
)->GetMarginWidth();
37177 wxPyEndAllowThreads(__tstate
);
37178 if (PyErr_Occurred()) SWIG_fail
;
37181 resultobj
= SWIG_From_int((int)(result
));
37189 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37190 PyObject
*resultobj
;
37192 char *kwnames
[] = {
37196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37199 result
= (int)wxMenuItem::GetDefaultMarginWidth();
37201 wxPyEndAllowThreads(__tstate
);
37202 if (PyErr_Occurred()) SWIG_fail
;
37205 resultobj
= SWIG_From_int((int)(result
));
37213 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37214 PyObject
*resultobj
;
37215 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37217 PyObject
* obj0
= 0 ;
37218 char *kwnames
[] = {
37219 (char *) "self", NULL
37222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37224 if (SWIG_arg_fail(1)) SWIG_fail
;
37226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37227 result
= (bool)(arg1
)->IsOwnerDrawn();
37229 wxPyEndAllowThreads(__tstate
);
37230 if (PyErr_Occurred()) SWIG_fail
;
37233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37241 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37242 PyObject
*resultobj
;
37243 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37244 bool arg2
= (bool) true ;
37245 PyObject
* obj0
= 0 ;
37246 PyObject
* obj1
= 0 ;
37247 char *kwnames
[] = {
37248 (char *) "self",(char *) "ownerDrawn", NULL
37251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37253 if (SWIG_arg_fail(1)) SWIG_fail
;
37256 arg2
= (bool)(SWIG_As_bool(obj1
));
37257 if (SWIG_arg_fail(2)) SWIG_fail
;
37261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37262 (arg1
)->SetOwnerDrawn(arg2
);
37264 wxPyEndAllowThreads(__tstate
);
37265 if (PyErr_Occurred()) SWIG_fail
;
37267 Py_INCREF(Py_None
); resultobj
= Py_None
;
37274 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37275 PyObject
*resultobj
;
37276 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37277 PyObject
* obj0
= 0 ;
37278 char *kwnames
[] = {
37279 (char *) "self", NULL
37282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37284 if (SWIG_arg_fail(1)) SWIG_fail
;
37286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37287 (arg1
)->ResetOwnerDrawn();
37289 wxPyEndAllowThreads(__tstate
);
37290 if (PyErr_Occurred()) SWIG_fail
;
37292 Py_INCREF(Py_None
); resultobj
= Py_None
;
37299 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37300 PyObject
*resultobj
;
37301 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37302 wxBitmap
*arg2
= 0 ;
37303 PyObject
* obj0
= 0 ;
37304 PyObject
* obj1
= 0 ;
37305 char *kwnames
[] = {
37306 (char *) "self",(char *) "bitmap", NULL
37309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37311 if (SWIG_arg_fail(1)) SWIG_fail
;
37313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37314 if (SWIG_arg_fail(2)) SWIG_fail
;
37315 if (arg2
== NULL
) {
37316 SWIG_null_ref("wxBitmap");
37318 if (SWIG_arg_fail(2)) SWIG_fail
;
37321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37322 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37324 wxPyEndAllowThreads(__tstate
);
37325 if (PyErr_Occurred()) SWIG_fail
;
37327 Py_INCREF(Py_None
); resultobj
= Py_None
;
37334 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37335 PyObject
*resultobj
;
37336 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37338 PyObject
* obj0
= 0 ;
37339 char *kwnames
[] = {
37340 (char *) "self", NULL
37343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37345 if (SWIG_arg_fail(1)) SWIG_fail
;
37347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37349 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37350 result
= (wxBitmap
*) &_result_ref
;
37353 wxPyEndAllowThreads(__tstate
);
37354 if (PyErr_Occurred()) SWIG_fail
;
37357 wxBitmap
* resultptr
= new wxBitmap(*result
);
37358 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37366 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37369 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37371 return Py_BuildValue((char *)"");
37373 static int _wrap_ControlNameStr_set(PyObject
*) {
37374 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37379 static PyObject
*_wrap_ControlNameStr_get(void) {
37384 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37386 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37393 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37394 PyObject
*resultobj
;
37395 wxWindow
*arg1
= (wxWindow
*) 0 ;
37396 int arg2
= (int) -1 ;
37397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37401 long arg5
= (long) 0 ;
37402 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37403 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37404 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37409 bool temp7
= false ;
37410 PyObject
* obj0
= 0 ;
37411 PyObject
* obj1
= 0 ;
37412 PyObject
* obj2
= 0 ;
37413 PyObject
* obj3
= 0 ;
37414 PyObject
* obj4
= 0 ;
37415 PyObject
* obj5
= 0 ;
37416 PyObject
* obj6
= 0 ;
37417 char *kwnames
[] = {
37418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37423 if (SWIG_arg_fail(1)) SWIG_fail
;
37426 arg2
= (int)(SWIG_As_int(obj1
));
37427 if (SWIG_arg_fail(2)) SWIG_fail
;
37433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37439 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37444 arg5
= (long)(SWIG_As_long(obj4
));
37445 if (SWIG_arg_fail(5)) SWIG_fail
;
37450 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37451 if (SWIG_arg_fail(6)) SWIG_fail
;
37452 if (arg6
== NULL
) {
37453 SWIG_null_ref("wxValidator");
37455 if (SWIG_arg_fail(6)) SWIG_fail
;
37460 arg7
= wxString_in_helper(obj6
);
37461 if (arg7
== NULL
) SWIG_fail
;
37466 if (!wxPyCheckForApp()) SWIG_fail
;
37467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37468 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37470 wxPyEndAllowThreads(__tstate
);
37471 if (PyErr_Occurred()) SWIG_fail
;
37473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37488 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37489 PyObject
*resultobj
;
37491 char *kwnames
[] = {
37495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37497 if (!wxPyCheckForApp()) SWIG_fail
;
37498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37499 result
= (wxControl
*)new wxControl();
37501 wxPyEndAllowThreads(__tstate
);
37502 if (PyErr_Occurred()) SWIG_fail
;
37504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37511 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37512 PyObject
*resultobj
;
37513 wxControl
*arg1
= (wxControl
*) 0 ;
37514 wxWindow
*arg2
= (wxWindow
*) 0 ;
37515 int arg3
= (int) -1 ;
37516 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37517 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37518 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37519 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37520 long arg6
= (long) 0 ;
37521 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37522 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37523 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37524 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37528 bool temp8
= false ;
37529 PyObject
* obj0
= 0 ;
37530 PyObject
* obj1
= 0 ;
37531 PyObject
* obj2
= 0 ;
37532 PyObject
* obj3
= 0 ;
37533 PyObject
* obj4
= 0 ;
37534 PyObject
* obj5
= 0 ;
37535 PyObject
* obj6
= 0 ;
37536 PyObject
* obj7
= 0 ;
37537 char *kwnames
[] = {
37538 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37543 if (SWIG_arg_fail(1)) SWIG_fail
;
37544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37545 if (SWIG_arg_fail(2)) SWIG_fail
;
37548 arg3
= (int)(SWIG_As_int(obj2
));
37549 if (SWIG_arg_fail(3)) SWIG_fail
;
37555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37566 arg6
= (long)(SWIG_As_long(obj5
));
37567 if (SWIG_arg_fail(6)) SWIG_fail
;
37572 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37573 if (SWIG_arg_fail(7)) SWIG_fail
;
37574 if (arg7
== NULL
) {
37575 SWIG_null_ref("wxValidator");
37577 if (SWIG_arg_fail(7)) SWIG_fail
;
37582 arg8
= wxString_in_helper(obj7
);
37583 if (arg8
== NULL
) SWIG_fail
;
37588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37589 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37591 wxPyEndAllowThreads(__tstate
);
37592 if (PyErr_Occurred()) SWIG_fail
;
37595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37611 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37612 PyObject
*resultobj
;
37613 wxControl
*arg1
= (wxControl
*) 0 ;
37614 wxCommandEvent
*arg2
= 0 ;
37615 PyObject
* obj0
= 0 ;
37616 PyObject
* obj1
= 0 ;
37617 char *kwnames
[] = {
37618 (char *) "self",(char *) "event", NULL
37621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37623 if (SWIG_arg_fail(1)) SWIG_fail
;
37625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37626 if (SWIG_arg_fail(2)) SWIG_fail
;
37627 if (arg2
== NULL
) {
37628 SWIG_null_ref("wxCommandEvent");
37630 if (SWIG_arg_fail(2)) SWIG_fail
;
37633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37634 (arg1
)->Command(*arg2
);
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37639 Py_INCREF(Py_None
); resultobj
= Py_None
;
37646 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37647 PyObject
*resultobj
;
37648 wxControl
*arg1
= (wxControl
*) 0 ;
37650 PyObject
* obj0
= 0 ;
37651 char *kwnames
[] = {
37652 (char *) "self", NULL
37655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37657 if (SWIG_arg_fail(1)) SWIG_fail
;
37659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37660 result
= (arg1
)->GetLabel();
37662 wxPyEndAllowThreads(__tstate
);
37663 if (PyErr_Occurred()) SWIG_fail
;
37667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37678 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37679 PyObject
*resultobj
;
37680 wxControl
*arg1
= (wxControl
*) 0 ;
37681 wxString
*arg2
= 0 ;
37682 bool temp2
= false ;
37683 PyObject
* obj0
= 0 ;
37684 PyObject
* obj1
= 0 ;
37685 char *kwnames
[] = {
37686 (char *) "self",(char *) "label", NULL
37689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37691 if (SWIG_arg_fail(1)) SWIG_fail
;
37693 arg2
= wxString_in_helper(obj1
);
37694 if (arg2
== NULL
) SWIG_fail
;
37698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37699 (arg1
)->SetLabel((wxString
const &)*arg2
);
37701 wxPyEndAllowThreads(__tstate
);
37702 if (PyErr_Occurred()) SWIG_fail
;
37704 Py_INCREF(Py_None
); resultobj
= Py_None
;
37719 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37720 PyObject
*resultobj
;
37721 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37722 wxVisualAttributes result
;
37723 PyObject
* obj0
= 0 ;
37724 char *kwnames
[] = {
37725 (char *) "variant", NULL
37728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37731 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37732 if (SWIG_arg_fail(1)) SWIG_fail
;
37736 if (!wxPyCheckForApp()) SWIG_fail
;
37737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37738 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37740 wxPyEndAllowThreads(__tstate
);
37741 if (PyErr_Occurred()) SWIG_fail
;
37744 wxVisualAttributes
* resultptr
;
37745 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37754 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37757 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37759 return Py_BuildValue((char *)"");
37761 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37762 PyObject
*resultobj
;
37763 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37764 wxString
*arg2
= 0 ;
37765 PyObject
*arg3
= (PyObject
*) NULL
;
37767 bool temp2
= false ;
37768 PyObject
* obj0
= 0 ;
37769 PyObject
* obj1
= 0 ;
37770 PyObject
* obj2
= 0 ;
37771 char *kwnames
[] = {
37772 (char *) "self",(char *) "item",(char *) "clientData", NULL
37775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37777 if (SWIG_arg_fail(1)) SWIG_fail
;
37779 arg2
= wxString_in_helper(obj1
);
37780 if (arg2
== NULL
) SWIG_fail
;
37787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37788 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37790 wxPyEndAllowThreads(__tstate
);
37791 if (PyErr_Occurred()) SWIG_fail
;
37794 resultobj
= SWIG_From_int((int)(result
));
37810 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37811 PyObject
*resultobj
;
37812 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37813 wxArrayString
*arg2
= 0 ;
37814 bool temp2
= false ;
37815 PyObject
* obj0
= 0 ;
37816 PyObject
* obj1
= 0 ;
37817 char *kwnames
[] = {
37818 (char *) "self",(char *) "strings", NULL
37821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37823 if (SWIG_arg_fail(1)) SWIG_fail
;
37825 if (! PySequence_Check(obj1
)) {
37826 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37829 arg2
= new wxArrayString
;
37831 int i
, len
=PySequence_Length(obj1
);
37832 for (i
=0; i
<len
; i
++) {
37833 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37834 wxString
* s
= wxString_in_helper(item
);
37835 if (PyErr_Occurred()) SWIG_fail
;
37842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37843 (arg1
)->Append((wxArrayString
const &)*arg2
);
37845 wxPyEndAllowThreads(__tstate
);
37846 if (PyErr_Occurred()) SWIG_fail
;
37848 Py_INCREF(Py_None
); resultobj
= Py_None
;
37850 if (temp2
) delete arg2
;
37855 if (temp2
) delete arg2
;
37861 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37862 PyObject
*resultobj
;
37863 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37864 wxString
*arg2
= 0 ;
37866 PyObject
*arg4
= (PyObject
*) NULL
;
37868 bool temp2
= false ;
37869 PyObject
* obj0
= 0 ;
37870 PyObject
* obj1
= 0 ;
37871 PyObject
* obj2
= 0 ;
37872 PyObject
* obj3
= 0 ;
37873 char *kwnames
[] = {
37874 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37879 if (SWIG_arg_fail(1)) SWIG_fail
;
37881 arg2
= wxString_in_helper(obj1
);
37882 if (arg2
== NULL
) SWIG_fail
;
37886 arg3
= (int)(SWIG_As_int(obj2
));
37887 if (SWIG_arg_fail(3)) SWIG_fail
;
37893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37894 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37896 wxPyEndAllowThreads(__tstate
);
37897 if (PyErr_Occurred()) SWIG_fail
;
37900 resultobj
= SWIG_From_int((int)(result
));
37916 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37917 PyObject
*resultobj
;
37918 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37919 PyObject
* obj0
= 0 ;
37920 char *kwnames
[] = {
37921 (char *) "self", NULL
37924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37926 if (SWIG_arg_fail(1)) SWIG_fail
;
37928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37931 wxPyEndAllowThreads(__tstate
);
37932 if (PyErr_Occurred()) SWIG_fail
;
37934 Py_INCREF(Py_None
); resultobj
= Py_None
;
37941 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37942 PyObject
*resultobj
;
37943 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37945 PyObject
* obj0
= 0 ;
37946 PyObject
* obj1
= 0 ;
37947 char *kwnames
[] = {
37948 (char *) "self",(char *) "n", NULL
37951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37953 if (SWIG_arg_fail(1)) SWIG_fail
;
37955 arg2
= (int)(SWIG_As_int(obj1
));
37956 if (SWIG_arg_fail(2)) SWIG_fail
;
37959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37960 (arg1
)->Delete(arg2
);
37962 wxPyEndAllowThreads(__tstate
);
37963 if (PyErr_Occurred()) SWIG_fail
;
37965 Py_INCREF(Py_None
); resultobj
= Py_None
;
37972 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37973 PyObject
*resultobj
;
37974 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37977 PyObject
* obj0
= 0 ;
37978 PyObject
* obj1
= 0 ;
37979 char *kwnames
[] = {
37980 (char *) "self",(char *) "n", NULL
37983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37985 if (SWIG_arg_fail(1)) SWIG_fail
;
37987 arg2
= (int)(SWIG_As_int(obj1
));
37988 if (SWIG_arg_fail(2)) SWIG_fail
;
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37994 wxPyEndAllowThreads(__tstate
);
37995 if (PyErr_Occurred()) SWIG_fail
;
37997 resultobj
= result
;
38004 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38005 PyObject
*resultobj
;
38006 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38008 PyObject
*arg3
= (PyObject
*) 0 ;
38009 PyObject
* obj0
= 0 ;
38010 PyObject
* obj1
= 0 ;
38011 PyObject
* obj2
= 0 ;
38012 char *kwnames
[] = {
38013 (char *) "self",(char *) "n",(char *) "clientData", NULL
38016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38018 if (SWIG_arg_fail(1)) SWIG_fail
;
38020 arg2
= (int)(SWIG_As_int(obj1
));
38021 if (SWIG_arg_fail(2)) SWIG_fail
;
38025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38026 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38028 wxPyEndAllowThreads(__tstate
);
38029 if (PyErr_Occurred()) SWIG_fail
;
38031 Py_INCREF(Py_None
); resultobj
= Py_None
;
38038 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38039 PyObject
*resultobj
;
38040 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38042 PyObject
* obj0
= 0 ;
38043 char *kwnames
[] = {
38044 (char *) "self", NULL
38047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38049 if (SWIG_arg_fail(1)) SWIG_fail
;
38051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38052 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38054 wxPyEndAllowThreads(__tstate
);
38055 if (PyErr_Occurred()) SWIG_fail
;
38058 resultobj
= SWIG_From_int((int)(result
));
38066 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38067 PyObject
*resultobj
;
38068 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38070 PyObject
* obj0
= 0 ;
38071 char *kwnames
[] = {
38072 (char *) "self", NULL
38075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38077 if (SWIG_arg_fail(1)) SWIG_fail
;
38079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38080 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38082 wxPyEndAllowThreads(__tstate
);
38083 if (PyErr_Occurred()) SWIG_fail
;
38086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38094 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38095 PyObject
*resultobj
;
38096 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38099 PyObject
* obj0
= 0 ;
38100 PyObject
* obj1
= 0 ;
38101 char *kwnames
[] = {
38102 (char *) "self",(char *) "n", NULL
38105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38107 if (SWIG_arg_fail(1)) SWIG_fail
;
38109 arg2
= (int)(SWIG_As_int(obj1
));
38110 if (SWIG_arg_fail(2)) SWIG_fail
;
38113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38114 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38116 wxPyEndAllowThreads(__tstate
);
38117 if (PyErr_Occurred()) SWIG_fail
;
38121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38132 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38133 PyObject
*resultobj
;
38134 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38135 wxArrayString result
;
38136 PyObject
* obj0
= 0 ;
38137 char *kwnames
[] = {
38138 (char *) "self", NULL
38141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38143 if (SWIG_arg_fail(1)) SWIG_fail
;
38145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38146 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38148 wxPyEndAllowThreads(__tstate
);
38149 if (PyErr_Occurred()) SWIG_fail
;
38152 resultobj
= wxArrayString2PyList_helper(result
);
38160 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38161 PyObject
*resultobj
;
38162 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38164 wxString
*arg3
= 0 ;
38165 bool temp3
= false ;
38166 PyObject
* obj0
= 0 ;
38167 PyObject
* obj1
= 0 ;
38168 PyObject
* obj2
= 0 ;
38169 char *kwnames
[] = {
38170 (char *) "self",(char *) "n",(char *) "s", NULL
38173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38175 if (SWIG_arg_fail(1)) SWIG_fail
;
38177 arg2
= (int)(SWIG_As_int(obj1
));
38178 if (SWIG_arg_fail(2)) SWIG_fail
;
38181 arg3
= wxString_in_helper(obj2
);
38182 if (arg3
== NULL
) SWIG_fail
;
38186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38187 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38192 Py_INCREF(Py_None
); resultobj
= Py_None
;
38207 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38208 PyObject
*resultobj
;
38209 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38210 wxString
*arg2
= 0 ;
38212 bool temp2
= false ;
38213 PyObject
* obj0
= 0 ;
38214 PyObject
* obj1
= 0 ;
38215 char *kwnames
[] = {
38216 (char *) "self",(char *) "s", NULL
38219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38221 if (SWIG_arg_fail(1)) SWIG_fail
;
38223 arg2
= wxString_in_helper(obj1
);
38224 if (arg2
== NULL
) SWIG_fail
;
38228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38229 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38231 wxPyEndAllowThreads(__tstate
);
38232 if (PyErr_Occurred()) SWIG_fail
;
38235 resultobj
= SWIG_From_int((int)(result
));
38251 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38252 PyObject
*resultobj
;
38253 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38255 PyObject
* obj0
= 0 ;
38256 PyObject
* obj1
= 0 ;
38257 char *kwnames
[] = {
38258 (char *) "self",(char *) "n", NULL
38261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38263 if (SWIG_arg_fail(1)) SWIG_fail
;
38265 arg2
= (int)(SWIG_As_int(obj1
));
38266 if (SWIG_arg_fail(2)) SWIG_fail
;
38269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38270 (arg1
)->SetSelection(arg2
);
38272 wxPyEndAllowThreads(__tstate
);
38273 if (PyErr_Occurred()) SWIG_fail
;
38275 Py_INCREF(Py_None
); resultobj
= Py_None
;
38282 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38283 PyObject
*resultobj
;
38284 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38286 PyObject
* obj0
= 0 ;
38287 char *kwnames
[] = {
38288 (char *) "self", NULL
38291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38293 if (SWIG_arg_fail(1)) SWIG_fail
;
38295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38296 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38298 wxPyEndAllowThreads(__tstate
);
38299 if (PyErr_Occurred()) SWIG_fail
;
38302 resultobj
= SWIG_From_int((int)(result
));
38310 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38311 PyObject
*resultobj
;
38312 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38313 wxString
*arg2
= 0 ;
38315 bool temp2
= false ;
38316 PyObject
* obj0
= 0 ;
38317 PyObject
* obj1
= 0 ;
38318 char *kwnames
[] = {
38319 (char *) "self",(char *) "s", NULL
38322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38324 if (SWIG_arg_fail(1)) SWIG_fail
;
38326 arg2
= wxString_in_helper(obj1
);
38327 if (arg2
== NULL
) SWIG_fail
;
38331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38332 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38334 wxPyEndAllowThreads(__tstate
);
38335 if (PyErr_Occurred()) SWIG_fail
;
38338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38354 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38355 PyObject
*resultobj
;
38356 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38358 PyObject
* obj0
= 0 ;
38359 char *kwnames
[] = {
38360 (char *) "self", NULL
38363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38365 if (SWIG_arg_fail(1)) SWIG_fail
;
38367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38368 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38370 wxPyEndAllowThreads(__tstate
);
38371 if (PyErr_Occurred()) SWIG_fail
;
38375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38386 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38387 PyObject
*resultobj
;
38388 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38390 PyObject
* obj0
= 0 ;
38391 PyObject
* obj1
= 0 ;
38392 char *kwnames
[] = {
38393 (char *) "self",(char *) "n", NULL
38396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38398 if (SWIG_arg_fail(1)) SWIG_fail
;
38400 arg2
= (int)(SWIG_As_int(obj1
));
38401 if (SWIG_arg_fail(2)) SWIG_fail
;
38404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38405 (arg1
)->Select(arg2
);
38407 wxPyEndAllowThreads(__tstate
);
38408 if (PyErr_Occurred()) SWIG_fail
;
38410 Py_INCREF(Py_None
); resultobj
= Py_None
;
38417 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38420 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38422 return Py_BuildValue((char *)"");
38424 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38427 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38429 return Py_BuildValue((char *)"");
38431 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38432 PyObject
*resultobj
;
38433 wxSizerItem
*result
;
38434 char *kwnames
[] = {
38438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38441 result
= (wxSizerItem
*)new wxSizerItem();
38443 wxPyEndAllowThreads(__tstate
);
38444 if (PyErr_Occurred()) SWIG_fail
;
38446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38453 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38454 PyObject
*resultobj
;
38455 wxWindow
*arg1
= (wxWindow
*) 0 ;
38459 PyObject
*arg5
= (PyObject
*) NULL
;
38460 wxSizerItem
*result
;
38461 PyObject
* obj0
= 0 ;
38462 PyObject
* obj1
= 0 ;
38463 PyObject
* obj2
= 0 ;
38464 PyObject
* obj3
= 0 ;
38465 PyObject
* obj4
= 0 ;
38466 char *kwnames
[] = {
38467 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38472 if (SWIG_arg_fail(1)) SWIG_fail
;
38474 arg2
= (int)(SWIG_As_int(obj1
));
38475 if (SWIG_arg_fail(2)) SWIG_fail
;
38478 arg3
= (int)(SWIG_As_int(obj2
));
38479 if (SWIG_arg_fail(3)) SWIG_fail
;
38482 arg4
= (int)(SWIG_As_int(obj3
));
38483 if (SWIG_arg_fail(4)) SWIG_fail
;
38489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38490 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38492 wxPyEndAllowThreads(__tstate
);
38493 if (PyErr_Occurred()) SWIG_fail
;
38495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38502 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38503 PyObject
*resultobj
;
38509 PyObject
*arg6
= (PyObject
*) NULL
;
38510 wxSizerItem
*result
;
38511 PyObject
* obj0
= 0 ;
38512 PyObject
* obj1
= 0 ;
38513 PyObject
* obj2
= 0 ;
38514 PyObject
* obj3
= 0 ;
38515 PyObject
* obj4
= 0 ;
38516 PyObject
* obj5
= 0 ;
38517 char *kwnames
[] = {
38518 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38523 arg1
= (int)(SWIG_As_int(obj0
));
38524 if (SWIG_arg_fail(1)) SWIG_fail
;
38527 arg2
= (int)(SWIG_As_int(obj1
));
38528 if (SWIG_arg_fail(2)) SWIG_fail
;
38531 arg3
= (int)(SWIG_As_int(obj2
));
38532 if (SWIG_arg_fail(3)) SWIG_fail
;
38535 arg4
= (int)(SWIG_As_int(obj3
));
38536 if (SWIG_arg_fail(4)) SWIG_fail
;
38539 arg5
= (int)(SWIG_As_int(obj4
));
38540 if (SWIG_arg_fail(5)) SWIG_fail
;
38546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38547 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38549 wxPyEndAllowThreads(__tstate
);
38550 if (PyErr_Occurred()) SWIG_fail
;
38552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38559 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38560 PyObject
*resultobj
;
38561 wxSizer
*arg1
= (wxSizer
*) 0 ;
38565 PyObject
*arg5
= (PyObject
*) NULL
;
38566 wxSizerItem
*result
;
38567 PyObject
* obj0
= 0 ;
38568 PyObject
* obj1
= 0 ;
38569 PyObject
* obj2
= 0 ;
38570 PyObject
* obj3
= 0 ;
38571 PyObject
* obj4
= 0 ;
38572 char *kwnames
[] = {
38573 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38578 if (SWIG_arg_fail(1)) SWIG_fail
;
38580 arg2
= (int)(SWIG_As_int(obj1
));
38581 if (SWIG_arg_fail(2)) SWIG_fail
;
38584 arg3
= (int)(SWIG_As_int(obj2
));
38585 if (SWIG_arg_fail(3)) SWIG_fail
;
38588 arg4
= (int)(SWIG_As_int(obj3
));
38589 if (SWIG_arg_fail(4)) SWIG_fail
;
38595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38596 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38598 wxPyEndAllowThreads(__tstate
);
38599 if (PyErr_Occurred()) SWIG_fail
;
38601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38608 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38609 PyObject
*resultobj
;
38610 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38611 PyObject
* obj0
= 0 ;
38612 char *kwnames
[] = {
38613 (char *) "self", NULL
38616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38618 if (SWIG_arg_fail(1)) SWIG_fail
;
38620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38621 (arg1
)->DeleteWindows();
38623 wxPyEndAllowThreads(__tstate
);
38624 if (PyErr_Occurred()) SWIG_fail
;
38626 Py_INCREF(Py_None
); resultobj
= Py_None
;
38633 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38634 PyObject
*resultobj
;
38635 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38636 PyObject
* obj0
= 0 ;
38637 char *kwnames
[] = {
38638 (char *) "self", NULL
38641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38643 if (SWIG_arg_fail(1)) SWIG_fail
;
38645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38646 (arg1
)->DetachSizer();
38648 wxPyEndAllowThreads(__tstate
);
38649 if (PyErr_Occurred()) SWIG_fail
;
38651 Py_INCREF(Py_None
); resultobj
= Py_None
;
38658 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38659 PyObject
*resultobj
;
38660 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38662 PyObject
* obj0
= 0 ;
38663 char *kwnames
[] = {
38664 (char *) "self", NULL
38667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38669 if (SWIG_arg_fail(1)) SWIG_fail
;
38671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38672 result
= (arg1
)->GetSize();
38674 wxPyEndAllowThreads(__tstate
);
38675 if (PyErr_Occurred()) SWIG_fail
;
38678 wxSize
* resultptr
;
38679 resultptr
= new wxSize((wxSize
&)(result
));
38680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38688 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38689 PyObject
*resultobj
;
38690 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38692 PyObject
* obj0
= 0 ;
38693 char *kwnames
[] = {
38694 (char *) "self", NULL
38697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38699 if (SWIG_arg_fail(1)) SWIG_fail
;
38701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38702 result
= (arg1
)->CalcMin();
38704 wxPyEndAllowThreads(__tstate
);
38705 if (PyErr_Occurred()) SWIG_fail
;
38708 wxSize
* resultptr
;
38709 resultptr
= new wxSize((wxSize
&)(result
));
38710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38718 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38719 PyObject
*resultobj
;
38720 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38723 PyObject
* obj0
= 0 ;
38724 PyObject
* obj1
= 0 ;
38725 PyObject
* obj2
= 0 ;
38726 char *kwnames
[] = {
38727 (char *) "self",(char *) "pos",(char *) "size", NULL
38730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38732 if (SWIG_arg_fail(1)) SWIG_fail
;
38735 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38736 if (SWIG_arg_fail(2)) SWIG_fail
;
38737 if (argp
== NULL
) {
38738 SWIG_null_ref("wxPoint");
38740 if (SWIG_arg_fail(2)) SWIG_fail
;
38745 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38746 if (SWIG_arg_fail(3)) SWIG_fail
;
38747 if (argp
== NULL
) {
38748 SWIG_null_ref("wxSize");
38750 if (SWIG_arg_fail(3)) SWIG_fail
;
38754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38755 (arg1
)->SetDimension(arg2
,arg3
);
38757 wxPyEndAllowThreads(__tstate
);
38758 if (PyErr_Occurred()) SWIG_fail
;
38760 Py_INCREF(Py_None
); resultobj
= Py_None
;
38767 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38768 PyObject
*resultobj
;
38769 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38771 PyObject
* obj0
= 0 ;
38772 char *kwnames
[] = {
38773 (char *) "self", NULL
38776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38778 if (SWIG_arg_fail(1)) SWIG_fail
;
38780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38781 result
= (arg1
)->GetMinSize();
38783 wxPyEndAllowThreads(__tstate
);
38784 if (PyErr_Occurred()) SWIG_fail
;
38787 wxSize
* resultptr
;
38788 resultptr
= new wxSize((wxSize
&)(result
));
38789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38797 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38798 PyObject
*resultobj
;
38799 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38801 PyObject
* obj0
= 0 ;
38802 char *kwnames
[] = {
38803 (char *) "self", NULL
38806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38808 if (SWIG_arg_fail(1)) SWIG_fail
;
38810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38811 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38813 wxPyEndAllowThreads(__tstate
);
38814 if (PyErr_Occurred()) SWIG_fail
;
38817 wxSize
* resultptr
;
38818 resultptr
= new wxSize((wxSize
&)(result
));
38819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38827 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38828 PyObject
*resultobj
;
38829 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38832 PyObject
* obj0
= 0 ;
38833 PyObject
* obj1
= 0 ;
38834 PyObject
* obj2
= 0 ;
38835 char *kwnames
[] = {
38836 (char *) "self",(char *) "x",(char *) "y", NULL
38839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38841 if (SWIG_arg_fail(1)) SWIG_fail
;
38843 arg2
= (int)(SWIG_As_int(obj1
));
38844 if (SWIG_arg_fail(2)) SWIG_fail
;
38847 arg3
= (int)(SWIG_As_int(obj2
));
38848 if (SWIG_arg_fail(3)) SWIG_fail
;
38851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38852 (arg1
)->SetInitSize(arg2
,arg3
);
38854 wxPyEndAllowThreads(__tstate
);
38855 if (PyErr_Occurred()) SWIG_fail
;
38857 Py_INCREF(Py_None
); resultobj
= Py_None
;
38864 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38865 PyObject
*resultobj
;
38866 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38869 PyObject
* obj0
= 0 ;
38870 PyObject
* obj1
= 0 ;
38871 PyObject
* obj2
= 0 ;
38872 char *kwnames
[] = {
38873 (char *) "self",(char *) "width",(char *) "height", NULL
38876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38878 if (SWIG_arg_fail(1)) SWIG_fail
;
38880 arg2
= (int)(SWIG_As_int(obj1
));
38881 if (SWIG_arg_fail(2)) SWIG_fail
;
38884 arg3
= (int)(SWIG_As_int(obj2
));
38885 if (SWIG_arg_fail(3)) SWIG_fail
;
38888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38889 (arg1
)->SetRatio(arg2
,arg3
);
38891 wxPyEndAllowThreads(__tstate
);
38892 if (PyErr_Occurred()) SWIG_fail
;
38894 Py_INCREF(Py_None
); resultobj
= Py_None
;
38901 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38902 PyObject
*resultobj
;
38903 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38906 PyObject
* obj0
= 0 ;
38907 PyObject
* obj1
= 0 ;
38908 char *kwnames
[] = {
38909 (char *) "self",(char *) "size", NULL
38912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38914 if (SWIG_arg_fail(1)) SWIG_fail
;
38917 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38921 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38923 wxPyEndAllowThreads(__tstate
);
38924 if (PyErr_Occurred()) SWIG_fail
;
38926 Py_INCREF(Py_None
); resultobj
= Py_None
;
38933 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38934 PyObject
*resultobj
;
38935 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38937 PyObject
* obj0
= 0 ;
38938 PyObject
* obj1
= 0 ;
38939 char *kwnames
[] = {
38940 (char *) "self",(char *) "ratio", NULL
38943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38945 if (SWIG_arg_fail(1)) SWIG_fail
;
38947 arg2
= (float)(SWIG_As_float(obj1
));
38948 if (SWIG_arg_fail(2)) SWIG_fail
;
38951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38952 (arg1
)->SetRatio(arg2
);
38954 wxPyEndAllowThreads(__tstate
);
38955 if (PyErr_Occurred()) SWIG_fail
;
38957 Py_INCREF(Py_None
); resultobj
= Py_None
;
38964 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38965 PyObject
*resultobj
;
38966 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38968 PyObject
* obj0
= 0 ;
38969 char *kwnames
[] = {
38970 (char *) "self", NULL
38973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38975 if (SWIG_arg_fail(1)) SWIG_fail
;
38977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38978 result
= (float)(arg1
)->GetRatio();
38980 wxPyEndAllowThreads(__tstate
);
38981 if (PyErr_Occurred()) SWIG_fail
;
38984 resultobj
= SWIG_From_float((float)(result
));
38992 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38993 PyObject
*resultobj
;
38994 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38996 PyObject
* obj0
= 0 ;
38997 char *kwnames
[] = {
38998 (char *) "self", NULL
39001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
39002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39003 if (SWIG_arg_fail(1)) SWIG_fail
;
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 result
= (arg1
)->GetRect();
39008 wxPyEndAllowThreads(__tstate
);
39009 if (PyErr_Occurred()) SWIG_fail
;
39012 wxRect
* resultptr
;
39013 resultptr
= new wxRect((wxRect
&)(result
));
39014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39022 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39023 PyObject
*resultobj
;
39024 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39026 PyObject
* obj0
= 0 ;
39027 char *kwnames
[] = {
39028 (char *) "self", NULL
39031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39033 if (SWIG_arg_fail(1)) SWIG_fail
;
39035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39036 result
= (bool)(arg1
)->IsWindow();
39038 wxPyEndAllowThreads(__tstate
);
39039 if (PyErr_Occurred()) SWIG_fail
;
39042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39050 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39051 PyObject
*resultobj
;
39052 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39054 PyObject
* obj0
= 0 ;
39055 char *kwnames
[] = {
39056 (char *) "self", NULL
39059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39061 if (SWIG_arg_fail(1)) SWIG_fail
;
39063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39064 result
= (bool)(arg1
)->IsSizer();
39066 wxPyEndAllowThreads(__tstate
);
39067 if (PyErr_Occurred()) SWIG_fail
;
39070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39078 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39079 PyObject
*resultobj
;
39080 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39082 PyObject
* obj0
= 0 ;
39083 char *kwnames
[] = {
39084 (char *) "self", NULL
39087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39089 if (SWIG_arg_fail(1)) SWIG_fail
;
39091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39092 result
= (bool)(arg1
)->IsSpacer();
39094 wxPyEndAllowThreads(__tstate
);
39095 if (PyErr_Occurred()) SWIG_fail
;
39098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39106 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39107 PyObject
*resultobj
;
39108 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39110 PyObject
* obj0
= 0 ;
39111 PyObject
* obj1
= 0 ;
39112 char *kwnames
[] = {
39113 (char *) "self",(char *) "proportion", NULL
39116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39118 if (SWIG_arg_fail(1)) SWIG_fail
;
39120 arg2
= (int)(SWIG_As_int(obj1
));
39121 if (SWIG_arg_fail(2)) SWIG_fail
;
39124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39125 (arg1
)->SetProportion(arg2
);
39127 wxPyEndAllowThreads(__tstate
);
39128 if (PyErr_Occurred()) SWIG_fail
;
39130 Py_INCREF(Py_None
); resultobj
= Py_None
;
39137 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39138 PyObject
*resultobj
;
39139 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39141 PyObject
* obj0
= 0 ;
39142 char *kwnames
[] = {
39143 (char *) "self", NULL
39146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39148 if (SWIG_arg_fail(1)) SWIG_fail
;
39150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39151 result
= (int)(arg1
)->GetProportion();
39153 wxPyEndAllowThreads(__tstate
);
39154 if (PyErr_Occurred()) SWIG_fail
;
39157 resultobj
= SWIG_From_int((int)(result
));
39165 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39166 PyObject
*resultobj
;
39167 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39169 PyObject
* obj0
= 0 ;
39170 PyObject
* obj1
= 0 ;
39171 char *kwnames
[] = {
39172 (char *) "self",(char *) "flag", NULL
39175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39177 if (SWIG_arg_fail(1)) SWIG_fail
;
39179 arg2
= (int)(SWIG_As_int(obj1
));
39180 if (SWIG_arg_fail(2)) SWIG_fail
;
39183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39184 (arg1
)->SetFlag(arg2
);
39186 wxPyEndAllowThreads(__tstate
);
39187 if (PyErr_Occurred()) SWIG_fail
;
39189 Py_INCREF(Py_None
); resultobj
= Py_None
;
39196 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39197 PyObject
*resultobj
;
39198 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39200 PyObject
* obj0
= 0 ;
39201 char *kwnames
[] = {
39202 (char *) "self", NULL
39205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39207 if (SWIG_arg_fail(1)) SWIG_fail
;
39209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39210 result
= (int)(arg1
)->GetFlag();
39212 wxPyEndAllowThreads(__tstate
);
39213 if (PyErr_Occurred()) SWIG_fail
;
39216 resultobj
= SWIG_From_int((int)(result
));
39224 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39225 PyObject
*resultobj
;
39226 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39228 PyObject
* obj0
= 0 ;
39229 PyObject
* obj1
= 0 ;
39230 char *kwnames
[] = {
39231 (char *) "self",(char *) "border", NULL
39234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39236 if (SWIG_arg_fail(1)) SWIG_fail
;
39238 arg2
= (int)(SWIG_As_int(obj1
));
39239 if (SWIG_arg_fail(2)) SWIG_fail
;
39242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39243 (arg1
)->SetBorder(arg2
);
39245 wxPyEndAllowThreads(__tstate
);
39246 if (PyErr_Occurred()) SWIG_fail
;
39248 Py_INCREF(Py_None
); resultobj
= Py_None
;
39255 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39256 PyObject
*resultobj
;
39257 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39259 PyObject
* obj0
= 0 ;
39260 char *kwnames
[] = {
39261 (char *) "self", NULL
39264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39266 if (SWIG_arg_fail(1)) SWIG_fail
;
39268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39269 result
= (int)(arg1
)->GetBorder();
39271 wxPyEndAllowThreads(__tstate
);
39272 if (PyErr_Occurred()) SWIG_fail
;
39275 resultobj
= SWIG_From_int((int)(result
));
39283 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39284 PyObject
*resultobj
;
39285 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39287 PyObject
* obj0
= 0 ;
39288 char *kwnames
[] = {
39289 (char *) "self", NULL
39292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39294 if (SWIG_arg_fail(1)) SWIG_fail
;
39296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39297 result
= (wxWindow
*)(arg1
)->GetWindow();
39299 wxPyEndAllowThreads(__tstate
);
39300 if (PyErr_Occurred()) SWIG_fail
;
39303 resultobj
= wxPyMake_wxObject(result
, 0);
39311 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39312 PyObject
*resultobj
;
39313 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39314 wxWindow
*arg2
= (wxWindow
*) 0 ;
39315 PyObject
* obj0
= 0 ;
39316 PyObject
* obj1
= 0 ;
39317 char *kwnames
[] = {
39318 (char *) "self",(char *) "window", NULL
39321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39323 if (SWIG_arg_fail(1)) SWIG_fail
;
39324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39325 if (SWIG_arg_fail(2)) SWIG_fail
;
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 (arg1
)->SetWindow(arg2
);
39330 wxPyEndAllowThreads(__tstate
);
39331 if (PyErr_Occurred()) SWIG_fail
;
39333 Py_INCREF(Py_None
); resultobj
= Py_None
;
39340 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39341 PyObject
*resultobj
;
39342 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39344 PyObject
* obj0
= 0 ;
39345 char *kwnames
[] = {
39346 (char *) "self", NULL
39349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",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
;
39353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39354 result
= (wxSizer
*)(arg1
)->GetSizer();
39356 wxPyEndAllowThreads(__tstate
);
39357 if (PyErr_Occurred()) SWIG_fail
;
39360 resultobj
= wxPyMake_wxObject(result
, 0);
39368 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39369 PyObject
*resultobj
;
39370 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39371 wxSizer
*arg2
= (wxSizer
*) 0 ;
39372 PyObject
* obj0
= 0 ;
39373 PyObject
* obj1
= 0 ;
39374 char *kwnames
[] = {
39375 (char *) "self",(char *) "sizer", NULL
39378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39380 if (SWIG_arg_fail(1)) SWIG_fail
;
39381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39382 if (SWIG_arg_fail(2)) SWIG_fail
;
39384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39385 (arg1
)->SetSizer(arg2
);
39387 wxPyEndAllowThreads(__tstate
);
39388 if (PyErr_Occurred()) SWIG_fail
;
39390 Py_INCREF(Py_None
); resultobj
= Py_None
;
39397 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39398 PyObject
*resultobj
;
39399 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39401 PyObject
* obj0
= 0 ;
39402 char *kwnames
[] = {
39403 (char *) "self", NULL
39406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39408 if (SWIG_arg_fail(1)) SWIG_fail
;
39410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39412 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39413 result
= (wxSize
*) &_result_ref
;
39416 wxPyEndAllowThreads(__tstate
);
39417 if (PyErr_Occurred()) SWIG_fail
;
39419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39426 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39427 PyObject
*resultobj
;
39428 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39431 PyObject
* obj0
= 0 ;
39432 PyObject
* obj1
= 0 ;
39433 char *kwnames
[] = {
39434 (char *) "self",(char *) "size", NULL
39437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39439 if (SWIG_arg_fail(1)) SWIG_fail
;
39442 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39446 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39448 wxPyEndAllowThreads(__tstate
);
39449 if (PyErr_Occurred()) SWIG_fail
;
39451 Py_INCREF(Py_None
); resultobj
= Py_None
;
39458 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39459 PyObject
*resultobj
;
39460 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39462 PyObject
* obj0
= 0 ;
39463 PyObject
* obj1
= 0 ;
39464 char *kwnames
[] = {
39465 (char *) "self",(char *) "show", NULL
39468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39470 if (SWIG_arg_fail(1)) SWIG_fail
;
39472 arg2
= (bool)(SWIG_As_bool(obj1
));
39473 if (SWIG_arg_fail(2)) SWIG_fail
;
39476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39477 (arg1
)->Show(arg2
);
39479 wxPyEndAllowThreads(__tstate
);
39480 if (PyErr_Occurred()) SWIG_fail
;
39482 Py_INCREF(Py_None
); resultobj
= Py_None
;
39489 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39490 PyObject
*resultobj
;
39491 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39493 PyObject
* obj0
= 0 ;
39494 char *kwnames
[] = {
39495 (char *) "self", NULL
39498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39500 if (SWIG_arg_fail(1)) SWIG_fail
;
39502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39503 result
= (bool)(arg1
)->IsShown();
39505 wxPyEndAllowThreads(__tstate
);
39506 if (PyErr_Occurred()) SWIG_fail
;
39509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39517 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39518 PyObject
*resultobj
;
39519 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39521 PyObject
* obj0
= 0 ;
39522 char *kwnames
[] = {
39523 (char *) "self", NULL
39526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39528 if (SWIG_arg_fail(1)) SWIG_fail
;
39530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39531 result
= (arg1
)->GetPosition();
39533 wxPyEndAllowThreads(__tstate
);
39534 if (PyErr_Occurred()) SWIG_fail
;
39537 wxPoint
* resultptr
;
39538 resultptr
= new wxPoint((wxPoint
&)(result
));
39539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39547 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39548 PyObject
*resultobj
;
39549 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39551 PyObject
* obj0
= 0 ;
39552 char *kwnames
[] = {
39553 (char *) "self", NULL
39556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39558 if (SWIG_arg_fail(1)) SWIG_fail
;
39560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39561 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39563 wxPyEndAllowThreads(__tstate
);
39564 if (PyErr_Occurred()) SWIG_fail
;
39566 resultobj
= result
;
39573 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39576 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39578 return Py_BuildValue((char *)"");
39580 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39581 PyObject
*resultobj
;
39582 wxSizer
*arg1
= (wxSizer
*) 0 ;
39583 PyObject
*arg2
= (PyObject
*) 0 ;
39584 PyObject
* obj0
= 0 ;
39585 PyObject
* obj1
= 0 ;
39586 char *kwnames
[] = {
39587 (char *) "self",(char *) "_self", NULL
39590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39592 if (SWIG_arg_fail(1)) SWIG_fail
;
39595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39596 wxSizer__setOORInfo(arg1
,arg2
);
39598 wxPyEndAllowThreads(__tstate
);
39599 if (PyErr_Occurred()) SWIG_fail
;
39601 Py_INCREF(Py_None
); resultobj
= Py_None
;
39608 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39609 PyObject
*resultobj
;
39610 wxSizer
*arg1
= (wxSizer
*) 0 ;
39611 PyObject
*arg2
= (PyObject
*) 0 ;
39612 int arg3
= (int) 0 ;
39613 int arg4
= (int) 0 ;
39614 int arg5
= (int) 0 ;
39615 PyObject
*arg6
= (PyObject
*) NULL
;
39616 wxSizerItem
*result
;
39617 PyObject
* obj0
= 0 ;
39618 PyObject
* obj1
= 0 ;
39619 PyObject
* obj2
= 0 ;
39620 PyObject
* obj3
= 0 ;
39621 PyObject
* obj4
= 0 ;
39622 PyObject
* obj5
= 0 ;
39623 char *kwnames
[] = {
39624 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39629 if (SWIG_arg_fail(1)) SWIG_fail
;
39633 arg3
= (int)(SWIG_As_int(obj2
));
39634 if (SWIG_arg_fail(3)) SWIG_fail
;
39639 arg4
= (int)(SWIG_As_int(obj3
));
39640 if (SWIG_arg_fail(4)) SWIG_fail
;
39645 arg5
= (int)(SWIG_As_int(obj4
));
39646 if (SWIG_arg_fail(5)) SWIG_fail
;
39653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39654 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39656 wxPyEndAllowThreads(__tstate
);
39657 if (PyErr_Occurred()) SWIG_fail
;
39659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39666 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39667 PyObject
*resultobj
;
39668 wxSizer
*arg1
= (wxSizer
*) 0 ;
39670 PyObject
*arg3
= (PyObject
*) 0 ;
39671 int arg4
= (int) 0 ;
39672 int arg5
= (int) 0 ;
39673 int arg6
= (int) 0 ;
39674 PyObject
*arg7
= (PyObject
*) NULL
;
39675 wxSizerItem
*result
;
39676 PyObject
* obj0
= 0 ;
39677 PyObject
* obj1
= 0 ;
39678 PyObject
* obj2
= 0 ;
39679 PyObject
* obj3
= 0 ;
39680 PyObject
* obj4
= 0 ;
39681 PyObject
* obj5
= 0 ;
39682 PyObject
* obj6
= 0 ;
39683 char *kwnames
[] = {
39684 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39689 if (SWIG_arg_fail(1)) SWIG_fail
;
39691 arg2
= (int)(SWIG_As_int(obj1
));
39692 if (SWIG_arg_fail(2)) SWIG_fail
;
39697 arg4
= (int)(SWIG_As_int(obj3
));
39698 if (SWIG_arg_fail(4)) SWIG_fail
;
39703 arg5
= (int)(SWIG_As_int(obj4
));
39704 if (SWIG_arg_fail(5)) SWIG_fail
;
39709 arg6
= (int)(SWIG_As_int(obj5
));
39710 if (SWIG_arg_fail(6)) SWIG_fail
;
39717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39718 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39720 wxPyEndAllowThreads(__tstate
);
39721 if (PyErr_Occurred()) SWIG_fail
;
39723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39730 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39731 PyObject
*resultobj
;
39732 wxSizer
*arg1
= (wxSizer
*) 0 ;
39733 PyObject
*arg2
= (PyObject
*) 0 ;
39734 int arg3
= (int) 0 ;
39735 int arg4
= (int) 0 ;
39736 int arg5
= (int) 0 ;
39737 PyObject
*arg6
= (PyObject
*) NULL
;
39738 wxSizerItem
*result
;
39739 PyObject
* obj0
= 0 ;
39740 PyObject
* obj1
= 0 ;
39741 PyObject
* obj2
= 0 ;
39742 PyObject
* obj3
= 0 ;
39743 PyObject
* obj4
= 0 ;
39744 PyObject
* obj5
= 0 ;
39745 char *kwnames
[] = {
39746 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39751 if (SWIG_arg_fail(1)) SWIG_fail
;
39755 arg3
= (int)(SWIG_As_int(obj2
));
39756 if (SWIG_arg_fail(3)) SWIG_fail
;
39761 arg4
= (int)(SWIG_As_int(obj3
));
39762 if (SWIG_arg_fail(4)) SWIG_fail
;
39767 arg5
= (int)(SWIG_As_int(obj4
));
39768 if (SWIG_arg_fail(5)) SWIG_fail
;
39775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39776 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39778 wxPyEndAllowThreads(__tstate
);
39779 if (PyErr_Occurred()) SWIG_fail
;
39781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39788 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39789 PyObject
*resultobj
;
39790 wxSizer
*arg1
= (wxSizer
*) 0 ;
39791 PyObject
*arg2
= (PyObject
*) 0 ;
39793 PyObject
* obj0
= 0 ;
39794 PyObject
* obj1
= 0 ;
39795 char *kwnames
[] = {
39796 (char *) "self",(char *) "item", NULL
39799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39801 if (SWIG_arg_fail(1)) SWIG_fail
;
39804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39805 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39807 wxPyEndAllowThreads(__tstate
);
39808 if (PyErr_Occurred()) SWIG_fail
;
39811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39819 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39820 PyObject
*resultobj
;
39821 wxSizer
*arg1
= (wxSizer
*) 0 ;
39822 PyObject
*arg2
= (PyObject
*) 0 ;
39824 PyObject
* obj0
= 0 ;
39825 PyObject
* obj1
= 0 ;
39826 char *kwnames
[] = {
39827 (char *) "self",(char *) "item", NULL
39830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39832 if (SWIG_arg_fail(1)) SWIG_fail
;
39835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39836 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39838 wxPyEndAllowThreads(__tstate
);
39839 if (PyErr_Occurred()) SWIG_fail
;
39842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39850 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39851 PyObject
*resultobj
;
39852 wxSizer
*arg1
= (wxSizer
*) 0 ;
39853 PyObject
*arg2
= (PyObject
*) 0 ;
39854 wxSizerItem
*result
;
39855 PyObject
* obj0
= 0 ;
39856 PyObject
* obj1
= 0 ;
39857 char *kwnames
[] = {
39858 (char *) "self",(char *) "item", NULL
39861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39863 if (SWIG_arg_fail(1)) SWIG_fail
;
39866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39867 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39869 wxPyEndAllowThreads(__tstate
);
39870 if (PyErr_Occurred()) SWIG_fail
;
39872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39879 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39880 PyObject
*resultobj
;
39881 wxSizer
*arg1
= (wxSizer
*) 0 ;
39882 PyObject
*arg2
= (PyObject
*) 0 ;
39885 PyObject
* obj0
= 0 ;
39886 PyObject
* obj1
= 0 ;
39887 PyObject
* obj2
= 0 ;
39888 char *kwnames
[] = {
39889 (char *) "self",(char *) "item",(char *) "size", NULL
39892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39894 if (SWIG_arg_fail(1)) SWIG_fail
;
39898 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39902 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39904 wxPyEndAllowThreads(__tstate
);
39905 if (PyErr_Occurred()) SWIG_fail
;
39907 Py_INCREF(Py_None
); resultobj
= Py_None
;
39914 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39915 PyObject
*resultobj
;
39916 wxSizer
*arg1
= (wxSizer
*) 0 ;
39917 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39918 wxSizerItem
*result
;
39919 PyObject
* obj0
= 0 ;
39920 PyObject
* obj1
= 0 ;
39921 char *kwnames
[] = {
39922 (char *) "self",(char *) "item", NULL
39925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39927 if (SWIG_arg_fail(1)) SWIG_fail
;
39928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39929 if (SWIG_arg_fail(2)) SWIG_fail
;
39931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39932 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39934 wxPyEndAllowThreads(__tstate
);
39935 if (PyErr_Occurred()) SWIG_fail
;
39937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39944 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39945 PyObject
*resultobj
;
39946 wxSizer
*arg1
= (wxSizer
*) 0 ;
39948 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39949 wxSizerItem
*result
;
39950 PyObject
* obj0
= 0 ;
39951 PyObject
* obj1
= 0 ;
39952 PyObject
* obj2
= 0 ;
39953 char *kwnames
[] = {
39954 (char *) "self",(char *) "index",(char *) "item", NULL
39957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39959 if (SWIG_arg_fail(1)) SWIG_fail
;
39961 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39962 if (SWIG_arg_fail(2)) SWIG_fail
;
39964 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39965 if (SWIG_arg_fail(3)) SWIG_fail
;
39967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39968 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39970 wxPyEndAllowThreads(__tstate
);
39971 if (PyErr_Occurred()) SWIG_fail
;
39973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39980 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39981 PyObject
*resultobj
;
39982 wxSizer
*arg1
= (wxSizer
*) 0 ;
39983 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39984 wxSizerItem
*result
;
39985 PyObject
* obj0
= 0 ;
39986 PyObject
* obj1
= 0 ;
39987 char *kwnames
[] = {
39988 (char *) "self",(char *) "item", NULL
39991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39993 if (SWIG_arg_fail(1)) SWIG_fail
;
39994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39995 if (SWIG_arg_fail(2)) SWIG_fail
;
39997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39998 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
40000 wxPyEndAllowThreads(__tstate
);
40001 if (PyErr_Occurred()) SWIG_fail
;
40003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40010 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40011 PyObject
*resultobj
;
40012 wxSizer
*arg1
= (wxSizer
*) 0 ;
40017 PyObject
* obj0
= 0 ;
40018 PyObject
* obj1
= 0 ;
40019 PyObject
* obj2
= 0 ;
40020 PyObject
* obj3
= 0 ;
40021 PyObject
* obj4
= 0 ;
40022 char *kwnames
[] = {
40023 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40028 if (SWIG_arg_fail(1)) SWIG_fail
;
40030 arg2
= (int)(SWIG_As_int(obj1
));
40031 if (SWIG_arg_fail(2)) SWIG_fail
;
40034 arg3
= (int)(SWIG_As_int(obj2
));
40035 if (SWIG_arg_fail(3)) SWIG_fail
;
40038 arg4
= (int)(SWIG_As_int(obj3
));
40039 if (SWIG_arg_fail(4)) SWIG_fail
;
40042 arg5
= (int)(SWIG_As_int(obj4
));
40043 if (SWIG_arg_fail(5)) SWIG_fail
;
40046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40047 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40049 wxPyEndAllowThreads(__tstate
);
40050 if (PyErr_Occurred()) SWIG_fail
;
40052 Py_INCREF(Py_None
); resultobj
= Py_None
;
40059 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40060 PyObject
*resultobj
;
40061 wxSizer
*arg1
= (wxSizer
*) 0 ;
40064 PyObject
* obj0
= 0 ;
40065 PyObject
* obj1
= 0 ;
40066 char *kwnames
[] = {
40067 (char *) "self",(char *) "size", NULL
40070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40072 if (SWIG_arg_fail(1)) SWIG_fail
;
40075 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40079 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40081 wxPyEndAllowThreads(__tstate
);
40082 if (PyErr_Occurred()) SWIG_fail
;
40084 Py_INCREF(Py_None
); resultobj
= Py_None
;
40091 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40092 PyObject
*resultobj
;
40093 wxSizer
*arg1
= (wxSizer
*) 0 ;
40095 PyObject
* obj0
= 0 ;
40096 char *kwnames
[] = {
40097 (char *) "self", NULL
40100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40102 if (SWIG_arg_fail(1)) SWIG_fail
;
40104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40105 result
= (arg1
)->GetSize();
40107 wxPyEndAllowThreads(__tstate
);
40108 if (PyErr_Occurred()) SWIG_fail
;
40111 wxSize
* resultptr
;
40112 resultptr
= new wxSize((wxSize
&)(result
));
40113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40121 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40122 PyObject
*resultobj
;
40123 wxSizer
*arg1
= (wxSizer
*) 0 ;
40125 PyObject
* obj0
= 0 ;
40126 char *kwnames
[] = {
40127 (char *) "self", NULL
40130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40132 if (SWIG_arg_fail(1)) SWIG_fail
;
40134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40135 result
= (arg1
)->GetPosition();
40137 wxPyEndAllowThreads(__tstate
);
40138 if (PyErr_Occurred()) SWIG_fail
;
40141 wxPoint
* resultptr
;
40142 resultptr
= new wxPoint((wxPoint
&)(result
));
40143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40151 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40152 PyObject
*resultobj
;
40153 wxSizer
*arg1
= (wxSizer
*) 0 ;
40155 PyObject
* obj0
= 0 ;
40156 char *kwnames
[] = {
40157 (char *) "self", NULL
40160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40162 if (SWIG_arg_fail(1)) SWIG_fail
;
40164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40165 result
= (arg1
)->GetMinSize();
40167 wxPyEndAllowThreads(__tstate
);
40168 if (PyErr_Occurred()) SWIG_fail
;
40171 wxSize
* resultptr
;
40172 resultptr
= new wxSize((wxSize
&)(result
));
40173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40181 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40182 PyObject
*resultobj
;
40183 wxSizer
*arg1
= (wxSizer
*) 0 ;
40184 PyObject
* obj0
= 0 ;
40185 char *kwnames
[] = {
40186 (char *) "self", NULL
40189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40191 if (SWIG_arg_fail(1)) SWIG_fail
;
40193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40194 (arg1
)->RecalcSizes();
40196 wxPyEndAllowThreads(__tstate
);
40197 if (PyErr_Occurred()) SWIG_fail
;
40199 Py_INCREF(Py_None
); resultobj
= Py_None
;
40206 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40207 PyObject
*resultobj
;
40208 wxSizer
*arg1
= (wxSizer
*) 0 ;
40210 PyObject
* obj0
= 0 ;
40211 char *kwnames
[] = {
40212 (char *) "self", NULL
40215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",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
;
40219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40220 result
= (arg1
)->CalcMin();
40222 wxPyEndAllowThreads(__tstate
);
40223 if (PyErr_Occurred()) SWIG_fail
;
40226 wxSize
* resultptr
;
40227 resultptr
= new wxSize((wxSize
&)(result
));
40228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40236 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40237 PyObject
*resultobj
;
40238 wxSizer
*arg1
= (wxSizer
*) 0 ;
40239 PyObject
* obj0
= 0 ;
40240 char *kwnames
[] = {
40241 (char *) "self", NULL
40244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40246 if (SWIG_arg_fail(1)) SWIG_fail
;
40248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40251 wxPyEndAllowThreads(__tstate
);
40252 if (PyErr_Occurred()) SWIG_fail
;
40254 Py_INCREF(Py_None
); resultobj
= Py_None
;
40261 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40262 PyObject
*resultobj
;
40263 wxSizer
*arg1
= (wxSizer
*) 0 ;
40264 wxWindow
*arg2
= (wxWindow
*) 0 ;
40266 PyObject
* obj0
= 0 ;
40267 PyObject
* obj1
= 0 ;
40268 char *kwnames
[] = {
40269 (char *) "self",(char *) "window", NULL
40272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40274 if (SWIG_arg_fail(1)) SWIG_fail
;
40275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40276 if (SWIG_arg_fail(2)) SWIG_fail
;
40278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40279 result
= (arg1
)->Fit(arg2
);
40281 wxPyEndAllowThreads(__tstate
);
40282 if (PyErr_Occurred()) SWIG_fail
;
40285 wxSize
* resultptr
;
40286 resultptr
= new wxSize((wxSize
&)(result
));
40287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40295 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40296 PyObject
*resultobj
;
40297 wxSizer
*arg1
= (wxSizer
*) 0 ;
40298 wxWindow
*arg2
= (wxWindow
*) 0 ;
40299 PyObject
* obj0
= 0 ;
40300 PyObject
* obj1
= 0 ;
40301 char *kwnames
[] = {
40302 (char *) "self",(char *) "window", NULL
40305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40307 if (SWIG_arg_fail(1)) SWIG_fail
;
40308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40309 if (SWIG_arg_fail(2)) SWIG_fail
;
40311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40312 (arg1
)->FitInside(arg2
);
40314 wxPyEndAllowThreads(__tstate
);
40315 if (PyErr_Occurred()) SWIG_fail
;
40317 Py_INCREF(Py_None
); resultobj
= Py_None
;
40324 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40325 PyObject
*resultobj
;
40326 wxSizer
*arg1
= (wxSizer
*) 0 ;
40327 wxWindow
*arg2
= (wxWindow
*) 0 ;
40328 PyObject
* obj0
= 0 ;
40329 PyObject
* obj1
= 0 ;
40330 char *kwnames
[] = {
40331 (char *) "self",(char *) "window", NULL
40334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40336 if (SWIG_arg_fail(1)) SWIG_fail
;
40337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40338 if (SWIG_arg_fail(2)) SWIG_fail
;
40340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40341 (arg1
)->SetSizeHints(arg2
);
40343 wxPyEndAllowThreads(__tstate
);
40344 if (PyErr_Occurred()) SWIG_fail
;
40346 Py_INCREF(Py_None
); resultobj
= Py_None
;
40353 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40354 PyObject
*resultobj
;
40355 wxSizer
*arg1
= (wxSizer
*) 0 ;
40356 wxWindow
*arg2
= (wxWindow
*) 0 ;
40357 PyObject
* obj0
= 0 ;
40358 PyObject
* obj1
= 0 ;
40359 char *kwnames
[] = {
40360 (char *) "self",(char *) "window", NULL
40363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40365 if (SWIG_arg_fail(1)) SWIG_fail
;
40366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40367 if (SWIG_arg_fail(2)) SWIG_fail
;
40369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40370 (arg1
)->SetVirtualSizeHints(arg2
);
40372 wxPyEndAllowThreads(__tstate
);
40373 if (PyErr_Occurred()) SWIG_fail
;
40375 Py_INCREF(Py_None
); resultobj
= Py_None
;
40382 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40383 PyObject
*resultobj
;
40384 wxSizer
*arg1
= (wxSizer
*) 0 ;
40385 bool arg2
= (bool) false ;
40386 PyObject
* obj0
= 0 ;
40387 PyObject
* obj1
= 0 ;
40388 char *kwnames
[] = {
40389 (char *) "self",(char *) "deleteWindows", NULL
40392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40394 if (SWIG_arg_fail(1)) SWIG_fail
;
40397 arg2
= (bool)(SWIG_As_bool(obj1
));
40398 if (SWIG_arg_fail(2)) SWIG_fail
;
40402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40403 (arg1
)->Clear(arg2
);
40405 wxPyEndAllowThreads(__tstate
);
40406 if (PyErr_Occurred()) SWIG_fail
;
40408 Py_INCREF(Py_None
); resultobj
= Py_None
;
40415 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40416 PyObject
*resultobj
;
40417 wxSizer
*arg1
= (wxSizer
*) 0 ;
40418 PyObject
* obj0
= 0 ;
40419 char *kwnames
[] = {
40420 (char *) "self", NULL
40423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40425 if (SWIG_arg_fail(1)) SWIG_fail
;
40427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40428 (arg1
)->DeleteWindows();
40430 wxPyEndAllowThreads(__tstate
);
40431 if (PyErr_Occurred()) SWIG_fail
;
40433 Py_INCREF(Py_None
); resultobj
= Py_None
;
40440 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40441 PyObject
*resultobj
;
40442 wxSizer
*arg1
= (wxSizer
*) 0 ;
40444 PyObject
* obj0
= 0 ;
40445 char *kwnames
[] = {
40446 (char *) "self", NULL
40449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40451 if (SWIG_arg_fail(1)) SWIG_fail
;
40453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40454 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40456 wxPyEndAllowThreads(__tstate
);
40457 if (PyErr_Occurred()) SWIG_fail
;
40459 resultobj
= result
;
40466 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40467 PyObject
*resultobj
;
40468 wxSizer
*arg1
= (wxSizer
*) 0 ;
40469 PyObject
*arg2
= (PyObject
*) 0 ;
40470 bool arg3
= (bool) true ;
40471 bool arg4
= (bool) false ;
40473 PyObject
* obj0
= 0 ;
40474 PyObject
* obj1
= 0 ;
40475 PyObject
* obj2
= 0 ;
40476 PyObject
* obj3
= 0 ;
40477 char *kwnames
[] = {
40478 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40483 if (SWIG_arg_fail(1)) SWIG_fail
;
40487 arg3
= (bool)(SWIG_As_bool(obj2
));
40488 if (SWIG_arg_fail(3)) SWIG_fail
;
40493 arg4
= (bool)(SWIG_As_bool(obj3
));
40494 if (SWIG_arg_fail(4)) SWIG_fail
;
40498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40499 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40501 wxPyEndAllowThreads(__tstate
);
40502 if (PyErr_Occurred()) SWIG_fail
;
40505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40513 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40514 PyObject
*resultobj
;
40515 wxSizer
*arg1
= (wxSizer
*) 0 ;
40516 PyObject
*arg2
= (PyObject
*) 0 ;
40518 PyObject
* obj0
= 0 ;
40519 PyObject
* obj1
= 0 ;
40520 char *kwnames
[] = {
40521 (char *) "self",(char *) "item", NULL
40524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40526 if (SWIG_arg_fail(1)) SWIG_fail
;
40529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40530 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40532 wxPyEndAllowThreads(__tstate
);
40533 if (PyErr_Occurred()) SWIG_fail
;
40536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40544 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40545 PyObject
*resultobj
;
40546 wxSizer
*arg1
= (wxSizer
*) 0 ;
40548 PyObject
* obj0
= 0 ;
40549 PyObject
* obj1
= 0 ;
40550 char *kwnames
[] = {
40551 (char *) "self",(char *) "show", NULL
40554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40556 if (SWIG_arg_fail(1)) SWIG_fail
;
40558 arg2
= (bool)(SWIG_As_bool(obj1
));
40559 if (SWIG_arg_fail(2)) SWIG_fail
;
40562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40563 (arg1
)->ShowItems(arg2
);
40565 wxPyEndAllowThreads(__tstate
);
40566 if (PyErr_Occurred()) SWIG_fail
;
40568 Py_INCREF(Py_None
); resultobj
= Py_None
;
40575 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40578 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40580 return Py_BuildValue((char *)"");
40582 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40583 PyObject
*resultobj
;
40585 char *kwnames
[] = {
40589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40592 result
= (wxPySizer
*)new wxPySizer();
40594 wxPyEndAllowThreads(__tstate
);
40595 if (PyErr_Occurred()) SWIG_fail
;
40597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40604 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40605 PyObject
*resultobj
;
40606 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40607 PyObject
*arg2
= (PyObject
*) 0 ;
40608 PyObject
*arg3
= (PyObject
*) 0 ;
40609 PyObject
* obj0
= 0 ;
40610 PyObject
* obj1
= 0 ;
40611 PyObject
* obj2
= 0 ;
40612 char *kwnames
[] = {
40613 (char *) "self",(char *) "self",(char *) "_class", NULL
40616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40618 if (SWIG_arg_fail(1)) SWIG_fail
;
40622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40623 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40625 wxPyEndAllowThreads(__tstate
);
40626 if (PyErr_Occurred()) SWIG_fail
;
40628 Py_INCREF(Py_None
); resultobj
= Py_None
;
40635 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40638 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40640 return Py_BuildValue((char *)"");
40642 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40643 PyObject
*resultobj
;
40644 int arg1
= (int) wxHORIZONTAL
;
40645 wxBoxSizer
*result
;
40646 PyObject
* obj0
= 0 ;
40647 char *kwnames
[] = {
40648 (char *) "orient", NULL
40651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40654 arg1
= (int)(SWIG_As_int(obj0
));
40655 if (SWIG_arg_fail(1)) SWIG_fail
;
40659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40660 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40662 wxPyEndAllowThreads(__tstate
);
40663 if (PyErr_Occurred()) SWIG_fail
;
40665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40672 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40673 PyObject
*resultobj
;
40674 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40676 PyObject
* obj0
= 0 ;
40677 char *kwnames
[] = {
40678 (char *) "self", NULL
40681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40683 if (SWIG_arg_fail(1)) SWIG_fail
;
40685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40686 result
= (int)(arg1
)->GetOrientation();
40688 wxPyEndAllowThreads(__tstate
);
40689 if (PyErr_Occurred()) SWIG_fail
;
40692 resultobj
= SWIG_From_int((int)(result
));
40700 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40701 PyObject
*resultobj
;
40702 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40704 PyObject
* obj0
= 0 ;
40705 PyObject
* obj1
= 0 ;
40706 char *kwnames
[] = {
40707 (char *) "self",(char *) "orient", NULL
40710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40712 if (SWIG_arg_fail(1)) SWIG_fail
;
40714 arg2
= (int)(SWIG_As_int(obj1
));
40715 if (SWIG_arg_fail(2)) SWIG_fail
;
40718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40719 (arg1
)->SetOrientation(arg2
);
40721 wxPyEndAllowThreads(__tstate
);
40722 if (PyErr_Occurred()) SWIG_fail
;
40724 Py_INCREF(Py_None
); resultobj
= Py_None
;
40731 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40734 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40736 return Py_BuildValue((char *)"");
40738 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40739 PyObject
*resultobj
;
40740 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40741 int arg2
= (int) wxHORIZONTAL
;
40742 wxStaticBoxSizer
*result
;
40743 PyObject
* obj0
= 0 ;
40744 PyObject
* obj1
= 0 ;
40745 char *kwnames
[] = {
40746 (char *) "box",(char *) "orient", NULL
40749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40751 if (SWIG_arg_fail(1)) SWIG_fail
;
40754 arg2
= (int)(SWIG_As_int(obj1
));
40755 if (SWIG_arg_fail(2)) SWIG_fail
;
40759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40760 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40762 wxPyEndAllowThreads(__tstate
);
40763 if (PyErr_Occurred()) SWIG_fail
;
40765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40772 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40773 PyObject
*resultobj
;
40774 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40775 wxStaticBox
*result
;
40776 PyObject
* obj0
= 0 ;
40777 char *kwnames
[] = {
40778 (char *) "self", NULL
40781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40783 if (SWIG_arg_fail(1)) SWIG_fail
;
40785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40786 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40788 wxPyEndAllowThreads(__tstate
);
40789 if (PyErr_Occurred()) SWIG_fail
;
40792 resultobj
= wxPyMake_wxObject(result
, 0);
40800 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40803 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40805 return Py_BuildValue((char *)"");
40807 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40808 PyObject
*resultobj
;
40809 int arg1
= (int) 1 ;
40810 int arg2
= (int) 0 ;
40811 int arg3
= (int) 0 ;
40812 int arg4
= (int) 0 ;
40813 wxGridSizer
*result
;
40814 PyObject
* obj0
= 0 ;
40815 PyObject
* obj1
= 0 ;
40816 PyObject
* obj2
= 0 ;
40817 PyObject
* obj3
= 0 ;
40818 char *kwnames
[] = {
40819 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40825 arg1
= (int)(SWIG_As_int(obj0
));
40826 if (SWIG_arg_fail(1)) SWIG_fail
;
40831 arg2
= (int)(SWIG_As_int(obj1
));
40832 if (SWIG_arg_fail(2)) SWIG_fail
;
40837 arg3
= (int)(SWIG_As_int(obj2
));
40838 if (SWIG_arg_fail(3)) SWIG_fail
;
40843 arg4
= (int)(SWIG_As_int(obj3
));
40844 if (SWIG_arg_fail(4)) SWIG_fail
;
40848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40849 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40851 wxPyEndAllowThreads(__tstate
);
40852 if (PyErr_Occurred()) SWIG_fail
;
40854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40861 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40862 PyObject
*resultobj
;
40863 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40865 PyObject
* obj0
= 0 ;
40866 PyObject
* obj1
= 0 ;
40867 char *kwnames
[] = {
40868 (char *) "self",(char *) "cols", NULL
40871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40873 if (SWIG_arg_fail(1)) SWIG_fail
;
40875 arg2
= (int)(SWIG_As_int(obj1
));
40876 if (SWIG_arg_fail(2)) SWIG_fail
;
40879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40880 (arg1
)->SetCols(arg2
);
40882 wxPyEndAllowThreads(__tstate
);
40883 if (PyErr_Occurred()) SWIG_fail
;
40885 Py_INCREF(Py_None
); resultobj
= Py_None
;
40892 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40893 PyObject
*resultobj
;
40894 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40896 PyObject
* obj0
= 0 ;
40897 PyObject
* obj1
= 0 ;
40898 char *kwnames
[] = {
40899 (char *) "self",(char *) "rows", NULL
40902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40904 if (SWIG_arg_fail(1)) SWIG_fail
;
40906 arg2
= (int)(SWIG_As_int(obj1
));
40907 if (SWIG_arg_fail(2)) SWIG_fail
;
40910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40911 (arg1
)->SetRows(arg2
);
40913 wxPyEndAllowThreads(__tstate
);
40914 if (PyErr_Occurred()) SWIG_fail
;
40916 Py_INCREF(Py_None
); resultobj
= Py_None
;
40923 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40924 PyObject
*resultobj
;
40925 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40927 PyObject
* obj0
= 0 ;
40928 PyObject
* obj1
= 0 ;
40929 char *kwnames
[] = {
40930 (char *) "self",(char *) "gap", NULL
40933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40935 if (SWIG_arg_fail(1)) SWIG_fail
;
40937 arg2
= (int)(SWIG_As_int(obj1
));
40938 if (SWIG_arg_fail(2)) SWIG_fail
;
40941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40942 (arg1
)->SetVGap(arg2
);
40944 wxPyEndAllowThreads(__tstate
);
40945 if (PyErr_Occurred()) SWIG_fail
;
40947 Py_INCREF(Py_None
); resultobj
= Py_None
;
40954 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40955 PyObject
*resultobj
;
40956 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40958 PyObject
* obj0
= 0 ;
40959 PyObject
* obj1
= 0 ;
40960 char *kwnames
[] = {
40961 (char *) "self",(char *) "gap", NULL
40964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40966 if (SWIG_arg_fail(1)) SWIG_fail
;
40968 arg2
= (int)(SWIG_As_int(obj1
));
40969 if (SWIG_arg_fail(2)) SWIG_fail
;
40972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40973 (arg1
)->SetHGap(arg2
);
40975 wxPyEndAllowThreads(__tstate
);
40976 if (PyErr_Occurred()) SWIG_fail
;
40978 Py_INCREF(Py_None
); resultobj
= Py_None
;
40985 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40986 PyObject
*resultobj
;
40987 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40989 PyObject
* obj0
= 0 ;
40990 char *kwnames
[] = {
40991 (char *) "self", NULL
40994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40996 if (SWIG_arg_fail(1)) SWIG_fail
;
40998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40999 result
= (int)(arg1
)->GetCols();
41001 wxPyEndAllowThreads(__tstate
);
41002 if (PyErr_Occurred()) SWIG_fail
;
41005 resultobj
= SWIG_From_int((int)(result
));
41013 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41014 PyObject
*resultobj
;
41015 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41017 PyObject
* obj0
= 0 ;
41018 char *kwnames
[] = {
41019 (char *) "self", NULL
41022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41024 if (SWIG_arg_fail(1)) SWIG_fail
;
41026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41027 result
= (int)(arg1
)->GetRows();
41029 wxPyEndAllowThreads(__tstate
);
41030 if (PyErr_Occurred()) SWIG_fail
;
41033 resultobj
= SWIG_From_int((int)(result
));
41041 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41042 PyObject
*resultobj
;
41043 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41045 PyObject
* obj0
= 0 ;
41046 char *kwnames
[] = {
41047 (char *) "self", NULL
41050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41052 if (SWIG_arg_fail(1)) SWIG_fail
;
41054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41055 result
= (int)(arg1
)->GetVGap();
41057 wxPyEndAllowThreads(__tstate
);
41058 if (PyErr_Occurred()) SWIG_fail
;
41061 resultobj
= SWIG_From_int((int)(result
));
41069 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41070 PyObject
*resultobj
;
41071 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41073 PyObject
* obj0
= 0 ;
41074 char *kwnames
[] = {
41075 (char *) "self", NULL
41078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41080 if (SWIG_arg_fail(1)) SWIG_fail
;
41082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41083 result
= (int)(arg1
)->GetHGap();
41085 wxPyEndAllowThreads(__tstate
);
41086 if (PyErr_Occurred()) SWIG_fail
;
41089 resultobj
= SWIG_From_int((int)(result
));
41097 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41100 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41102 return Py_BuildValue((char *)"");
41104 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41105 PyObject
*resultobj
;
41106 int arg1
= (int) 1 ;
41107 int arg2
= (int) 0 ;
41108 int arg3
= (int) 0 ;
41109 int arg4
= (int) 0 ;
41110 wxFlexGridSizer
*result
;
41111 PyObject
* obj0
= 0 ;
41112 PyObject
* obj1
= 0 ;
41113 PyObject
* obj2
= 0 ;
41114 PyObject
* obj3
= 0 ;
41115 char *kwnames
[] = {
41116 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41122 arg1
= (int)(SWIG_As_int(obj0
));
41123 if (SWIG_arg_fail(1)) SWIG_fail
;
41128 arg2
= (int)(SWIG_As_int(obj1
));
41129 if (SWIG_arg_fail(2)) SWIG_fail
;
41134 arg3
= (int)(SWIG_As_int(obj2
));
41135 if (SWIG_arg_fail(3)) SWIG_fail
;
41140 arg4
= (int)(SWIG_As_int(obj3
));
41141 if (SWIG_arg_fail(4)) SWIG_fail
;
41145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41146 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41148 wxPyEndAllowThreads(__tstate
);
41149 if (PyErr_Occurred()) SWIG_fail
;
41151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41158 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41159 PyObject
*resultobj
;
41160 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41162 int arg3
= (int) 0 ;
41163 PyObject
* obj0
= 0 ;
41164 PyObject
* obj1
= 0 ;
41165 PyObject
* obj2
= 0 ;
41166 char *kwnames
[] = {
41167 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41172 if (SWIG_arg_fail(1)) SWIG_fail
;
41174 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41175 if (SWIG_arg_fail(2)) SWIG_fail
;
41179 arg3
= (int)(SWIG_As_int(obj2
));
41180 if (SWIG_arg_fail(3)) SWIG_fail
;
41184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41185 (arg1
)->AddGrowableRow(arg2
,arg3
);
41187 wxPyEndAllowThreads(__tstate
);
41188 if (PyErr_Occurred()) SWIG_fail
;
41190 Py_INCREF(Py_None
); resultobj
= Py_None
;
41197 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41198 PyObject
*resultobj
;
41199 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41201 PyObject
* obj0
= 0 ;
41202 PyObject
* obj1
= 0 ;
41203 char *kwnames
[] = {
41204 (char *) "self",(char *) "idx", NULL
41207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41209 if (SWIG_arg_fail(1)) SWIG_fail
;
41211 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41212 if (SWIG_arg_fail(2)) SWIG_fail
;
41215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41216 (arg1
)->RemoveGrowableRow(arg2
);
41218 wxPyEndAllowThreads(__tstate
);
41219 if (PyErr_Occurred()) SWIG_fail
;
41221 Py_INCREF(Py_None
); resultobj
= Py_None
;
41228 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41229 PyObject
*resultobj
;
41230 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41232 int arg3
= (int) 0 ;
41233 PyObject
* obj0
= 0 ;
41234 PyObject
* obj1
= 0 ;
41235 PyObject
* obj2
= 0 ;
41236 char *kwnames
[] = {
41237 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41242 if (SWIG_arg_fail(1)) SWIG_fail
;
41244 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41245 if (SWIG_arg_fail(2)) SWIG_fail
;
41249 arg3
= (int)(SWIG_As_int(obj2
));
41250 if (SWIG_arg_fail(3)) SWIG_fail
;
41254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41255 (arg1
)->AddGrowableCol(arg2
,arg3
);
41257 wxPyEndAllowThreads(__tstate
);
41258 if (PyErr_Occurred()) SWIG_fail
;
41260 Py_INCREF(Py_None
); resultobj
= Py_None
;
41267 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41268 PyObject
*resultobj
;
41269 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41271 PyObject
* obj0
= 0 ;
41272 PyObject
* obj1
= 0 ;
41273 char *kwnames
[] = {
41274 (char *) "self",(char *) "idx", NULL
41277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41279 if (SWIG_arg_fail(1)) SWIG_fail
;
41281 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41282 if (SWIG_arg_fail(2)) SWIG_fail
;
41285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41286 (arg1
)->RemoveGrowableCol(arg2
);
41288 wxPyEndAllowThreads(__tstate
);
41289 if (PyErr_Occurred()) SWIG_fail
;
41291 Py_INCREF(Py_None
); resultobj
= Py_None
;
41298 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41299 PyObject
*resultobj
;
41300 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41302 PyObject
* obj0
= 0 ;
41303 PyObject
* obj1
= 0 ;
41304 char *kwnames
[] = {
41305 (char *) "self",(char *) "direction", NULL
41308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41310 if (SWIG_arg_fail(1)) SWIG_fail
;
41312 arg2
= (int)(SWIG_As_int(obj1
));
41313 if (SWIG_arg_fail(2)) SWIG_fail
;
41316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41317 (arg1
)->SetFlexibleDirection(arg2
);
41319 wxPyEndAllowThreads(__tstate
);
41320 if (PyErr_Occurred()) SWIG_fail
;
41322 Py_INCREF(Py_None
); resultobj
= Py_None
;
41329 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41330 PyObject
*resultobj
;
41331 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41333 PyObject
* obj0
= 0 ;
41334 char *kwnames
[] = {
41335 (char *) "self", NULL
41338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41340 if (SWIG_arg_fail(1)) SWIG_fail
;
41342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41343 result
= (int)(arg1
)->GetFlexibleDirection();
41345 wxPyEndAllowThreads(__tstate
);
41346 if (PyErr_Occurred()) SWIG_fail
;
41349 resultobj
= SWIG_From_int((int)(result
));
41357 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41358 PyObject
*resultobj
;
41359 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41360 wxFlexSizerGrowMode arg2
;
41361 PyObject
* obj0
= 0 ;
41362 PyObject
* obj1
= 0 ;
41363 char *kwnames
[] = {
41364 (char *) "self",(char *) "mode", NULL
41367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41369 if (SWIG_arg_fail(1)) SWIG_fail
;
41371 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41372 if (SWIG_arg_fail(2)) SWIG_fail
;
41375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41376 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41378 wxPyEndAllowThreads(__tstate
);
41379 if (PyErr_Occurred()) SWIG_fail
;
41381 Py_INCREF(Py_None
); resultobj
= Py_None
;
41388 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41389 PyObject
*resultobj
;
41390 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41391 wxFlexSizerGrowMode result
;
41392 PyObject
* obj0
= 0 ;
41393 char *kwnames
[] = {
41394 (char *) "self", NULL
41397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41399 if (SWIG_arg_fail(1)) SWIG_fail
;
41401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41402 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41404 wxPyEndAllowThreads(__tstate
);
41405 if (PyErr_Occurred()) SWIG_fail
;
41407 resultobj
= SWIG_From_int((result
));
41414 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41415 PyObject
*resultobj
;
41416 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41417 wxArrayInt
*result
;
41418 PyObject
* obj0
= 0 ;
41419 char *kwnames
[] = {
41420 (char *) "self", NULL
41423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",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
;
41427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41429 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41430 result
= (wxArrayInt
*) &_result_ref
;
41433 wxPyEndAllowThreads(__tstate
);
41434 if (PyErr_Occurred()) SWIG_fail
;
41437 resultobj
= PyList_New(0);
41439 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41440 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41441 PyList_Append(resultobj
, val
);
41451 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41452 PyObject
*resultobj
;
41453 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41454 wxArrayInt
*result
;
41455 PyObject
* obj0
= 0 ;
41456 char *kwnames
[] = {
41457 (char *) "self", NULL
41460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41462 if (SWIG_arg_fail(1)) SWIG_fail
;
41464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41466 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41467 result
= (wxArrayInt
*) &_result_ref
;
41470 wxPyEndAllowThreads(__tstate
);
41471 if (PyErr_Occurred()) SWIG_fail
;
41474 resultobj
= PyList_New(0);
41476 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41477 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41478 PyList_Append(resultobj
, val
);
41488 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41491 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41493 return Py_BuildValue((char *)"");
41495 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41496 PyObject
*resultobj
;
41497 wxStdDialogButtonSizer
*result
;
41498 char *kwnames
[] = {
41502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41505 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41507 wxPyEndAllowThreads(__tstate
);
41508 if (PyErr_Occurred()) SWIG_fail
;
41510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41517 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41518 PyObject
*resultobj
;
41519 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41520 wxButton
*arg2
= (wxButton
*) 0 ;
41521 PyObject
* obj0
= 0 ;
41522 PyObject
* obj1
= 0 ;
41523 char *kwnames
[] = {
41524 (char *) "self",(char *) "button", NULL
41527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41529 if (SWIG_arg_fail(1)) SWIG_fail
;
41530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41531 if (SWIG_arg_fail(2)) SWIG_fail
;
41533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41534 (arg1
)->AddButton(arg2
);
41536 wxPyEndAllowThreads(__tstate
);
41537 if (PyErr_Occurred()) SWIG_fail
;
41539 Py_INCREF(Py_None
); resultobj
= Py_None
;
41546 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41547 PyObject
*resultobj
;
41548 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41549 PyObject
* obj0
= 0 ;
41550 char *kwnames
[] = {
41551 (char *) "self", NULL
41554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41556 if (SWIG_arg_fail(1)) SWIG_fail
;
41558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41561 wxPyEndAllowThreads(__tstate
);
41562 if (PyErr_Occurred()) SWIG_fail
;
41564 Py_INCREF(Py_None
); resultobj
= Py_None
;
41571 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41572 PyObject
*resultobj
;
41573 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41574 wxButton
*arg2
= (wxButton
*) 0 ;
41575 PyObject
* obj0
= 0 ;
41576 PyObject
* obj1
= 0 ;
41577 char *kwnames
[] = {
41578 (char *) "self",(char *) "button", NULL
41581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41583 if (SWIG_arg_fail(1)) SWIG_fail
;
41584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41585 if (SWIG_arg_fail(2)) SWIG_fail
;
41587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41588 (arg1
)->SetAffirmativeButton(arg2
);
41590 wxPyEndAllowThreads(__tstate
);
41591 if (PyErr_Occurred()) SWIG_fail
;
41593 Py_INCREF(Py_None
); resultobj
= Py_None
;
41600 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41601 PyObject
*resultobj
;
41602 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41603 wxButton
*arg2
= (wxButton
*) 0 ;
41604 PyObject
* obj0
= 0 ;
41605 PyObject
* obj1
= 0 ;
41606 char *kwnames
[] = {
41607 (char *) "self",(char *) "button", NULL
41610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41612 if (SWIG_arg_fail(1)) SWIG_fail
;
41613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41614 if (SWIG_arg_fail(2)) SWIG_fail
;
41616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41617 (arg1
)->SetNegativeButton(arg2
);
41619 wxPyEndAllowThreads(__tstate
);
41620 if (PyErr_Occurred()) SWIG_fail
;
41622 Py_INCREF(Py_None
); resultobj
= Py_None
;
41629 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41630 PyObject
*resultobj
;
41631 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41632 wxButton
*arg2
= (wxButton
*) 0 ;
41633 PyObject
* obj0
= 0 ;
41634 PyObject
* obj1
= 0 ;
41635 char *kwnames
[] = {
41636 (char *) "self",(char *) "button", NULL
41639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41643 if (SWIG_arg_fail(2)) SWIG_fail
;
41645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41646 (arg1
)->SetCancelButton(arg2
);
41648 wxPyEndAllowThreads(__tstate
);
41649 if (PyErr_Occurred()) SWIG_fail
;
41651 Py_INCREF(Py_None
); resultobj
= Py_None
;
41658 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41659 PyObject
*resultobj
;
41660 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41662 PyObject
* obj0
= 0 ;
41663 char *kwnames
[] = {
41664 (char *) "self", NULL
41667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41669 if (SWIG_arg_fail(1)) SWIG_fail
;
41671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41672 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41674 wxPyEndAllowThreads(__tstate
);
41675 if (PyErr_Occurred()) SWIG_fail
;
41678 resultobj
= wxPyMake_wxObject(result
, 0);
41686 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41687 PyObject
*resultobj
;
41688 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41690 PyObject
* obj0
= 0 ;
41691 char *kwnames
[] = {
41692 (char *) "self", NULL
41695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41697 if (SWIG_arg_fail(1)) SWIG_fail
;
41699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41700 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41702 wxPyEndAllowThreads(__tstate
);
41703 if (PyErr_Occurred()) SWIG_fail
;
41706 resultobj
= wxPyMake_wxObject(result
, 0);
41714 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41715 PyObject
*resultobj
;
41716 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41718 PyObject
* obj0
= 0 ;
41719 char *kwnames
[] = {
41720 (char *) "self", NULL
41723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41725 if (SWIG_arg_fail(1)) SWIG_fail
;
41727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41728 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41730 wxPyEndAllowThreads(__tstate
);
41731 if (PyErr_Occurred()) SWIG_fail
;
41734 resultobj
= wxPyMake_wxObject(result
, 0);
41742 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41743 PyObject
*resultobj
;
41744 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41746 PyObject
* obj0
= 0 ;
41747 char *kwnames
[] = {
41748 (char *) "self", NULL
41751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41753 if (SWIG_arg_fail(1)) SWIG_fail
;
41755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41756 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41758 wxPyEndAllowThreads(__tstate
);
41759 if (PyErr_Occurred()) SWIG_fail
;
41762 resultobj
= wxPyMake_wxObject(result
, 0);
41770 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41771 PyObject
*resultobj
;
41772 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41774 PyObject
* obj0
= 0 ;
41775 char *kwnames
[] = {
41776 (char *) "self", NULL
41779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41781 if (SWIG_arg_fail(1)) SWIG_fail
;
41783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41784 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41786 wxPyEndAllowThreads(__tstate
);
41787 if (PyErr_Occurred()) SWIG_fail
;
41790 resultobj
= wxPyMake_wxObject(result
, 0);
41798 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41801 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41803 return Py_BuildValue((char *)"");
41805 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41806 PyObject
*resultobj
;
41807 int arg1
= (int) 0 ;
41808 int arg2
= (int) 0 ;
41809 wxGBPosition
*result
;
41810 PyObject
* obj0
= 0 ;
41811 PyObject
* obj1
= 0 ;
41812 char *kwnames
[] = {
41813 (char *) "row",(char *) "col", NULL
41816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41819 arg1
= (int)(SWIG_As_int(obj0
));
41820 if (SWIG_arg_fail(1)) SWIG_fail
;
41825 arg2
= (int)(SWIG_As_int(obj1
));
41826 if (SWIG_arg_fail(2)) SWIG_fail
;
41830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41831 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41833 wxPyEndAllowThreads(__tstate
);
41834 if (PyErr_Occurred()) SWIG_fail
;
41836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41843 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41844 PyObject
*resultobj
;
41845 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41847 PyObject
* obj0
= 0 ;
41848 char *kwnames
[] = {
41849 (char *) "self", NULL
41852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41854 if (SWIG_arg_fail(1)) SWIG_fail
;
41856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41857 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41859 wxPyEndAllowThreads(__tstate
);
41860 if (PyErr_Occurred()) SWIG_fail
;
41863 resultobj
= SWIG_From_int((int)(result
));
41871 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41872 PyObject
*resultobj
;
41873 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41875 PyObject
* obj0
= 0 ;
41876 char *kwnames
[] = {
41877 (char *) "self", NULL
41880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41882 if (SWIG_arg_fail(1)) SWIG_fail
;
41884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41885 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41887 wxPyEndAllowThreads(__tstate
);
41888 if (PyErr_Occurred()) SWIG_fail
;
41891 resultobj
= SWIG_From_int((int)(result
));
41899 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41900 PyObject
*resultobj
;
41901 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41903 PyObject
* obj0
= 0 ;
41904 PyObject
* obj1
= 0 ;
41905 char *kwnames
[] = {
41906 (char *) "self",(char *) "row", NULL
41909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41911 if (SWIG_arg_fail(1)) SWIG_fail
;
41913 arg2
= (int)(SWIG_As_int(obj1
));
41914 if (SWIG_arg_fail(2)) SWIG_fail
;
41917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41918 (arg1
)->SetRow(arg2
);
41920 wxPyEndAllowThreads(__tstate
);
41921 if (PyErr_Occurred()) SWIG_fail
;
41923 Py_INCREF(Py_None
); resultobj
= Py_None
;
41930 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41931 PyObject
*resultobj
;
41932 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41934 PyObject
* obj0
= 0 ;
41935 PyObject
* obj1
= 0 ;
41936 char *kwnames
[] = {
41937 (char *) "self",(char *) "col", NULL
41940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41942 if (SWIG_arg_fail(1)) SWIG_fail
;
41944 arg2
= (int)(SWIG_As_int(obj1
));
41945 if (SWIG_arg_fail(2)) SWIG_fail
;
41948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41949 (arg1
)->SetCol(arg2
);
41951 wxPyEndAllowThreads(__tstate
);
41952 if (PyErr_Occurred()) SWIG_fail
;
41954 Py_INCREF(Py_None
); resultobj
= Py_None
;
41961 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41962 PyObject
*resultobj
;
41963 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41964 wxGBPosition
*arg2
= 0 ;
41966 wxGBPosition temp2
;
41967 PyObject
* obj0
= 0 ;
41968 PyObject
* obj1
= 0 ;
41969 char *kwnames
[] = {
41970 (char *) "self",(char *) "other", NULL
41973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41975 if (SWIG_arg_fail(1)) SWIG_fail
;
41978 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41982 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41984 wxPyEndAllowThreads(__tstate
);
41985 if (PyErr_Occurred()) SWIG_fail
;
41988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41996 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41997 PyObject
*resultobj
;
41998 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41999 wxGBPosition
*arg2
= 0 ;
42001 wxGBPosition temp2
;
42002 PyObject
* obj0
= 0 ;
42003 PyObject
* obj1
= 0 ;
42004 char *kwnames
[] = {
42005 (char *) "self",(char *) "other", NULL
42008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42010 if (SWIG_arg_fail(1)) SWIG_fail
;
42013 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42017 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42019 wxPyEndAllowThreads(__tstate
);
42020 if (PyErr_Occurred()) SWIG_fail
;
42023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42031 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42032 PyObject
*resultobj
;
42033 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42034 int arg2
= (int) 0 ;
42035 int arg3
= (int) 0 ;
42036 PyObject
* obj0
= 0 ;
42037 PyObject
* obj1
= 0 ;
42038 PyObject
* obj2
= 0 ;
42039 char *kwnames
[] = {
42040 (char *) "self",(char *) "row",(char *) "col", NULL
42043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42045 if (SWIG_arg_fail(1)) SWIG_fail
;
42048 arg2
= (int)(SWIG_As_int(obj1
));
42049 if (SWIG_arg_fail(2)) SWIG_fail
;
42054 arg3
= (int)(SWIG_As_int(obj2
));
42055 if (SWIG_arg_fail(3)) SWIG_fail
;
42059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42060 wxGBPosition_Set(arg1
,arg2
,arg3
);
42062 wxPyEndAllowThreads(__tstate
);
42063 if (PyErr_Occurred()) SWIG_fail
;
42065 Py_INCREF(Py_None
); resultobj
= Py_None
;
42072 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42073 PyObject
*resultobj
;
42074 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42076 PyObject
* obj0
= 0 ;
42077 char *kwnames
[] = {
42078 (char *) "self", NULL
42081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42083 if (SWIG_arg_fail(1)) SWIG_fail
;
42085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42086 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42088 wxPyEndAllowThreads(__tstate
);
42089 if (PyErr_Occurred()) SWIG_fail
;
42091 resultobj
= result
;
42098 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42101 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42103 return Py_BuildValue((char *)"");
42105 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42106 PyObject
*resultobj
;
42107 int arg1
= (int) 1 ;
42108 int arg2
= (int) 1 ;
42110 PyObject
* obj0
= 0 ;
42111 PyObject
* obj1
= 0 ;
42112 char *kwnames
[] = {
42113 (char *) "rowspan",(char *) "colspan", NULL
42116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42119 arg1
= (int)(SWIG_As_int(obj0
));
42120 if (SWIG_arg_fail(1)) SWIG_fail
;
42125 arg2
= (int)(SWIG_As_int(obj1
));
42126 if (SWIG_arg_fail(2)) SWIG_fail
;
42130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42131 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42133 wxPyEndAllowThreads(__tstate
);
42134 if (PyErr_Occurred()) SWIG_fail
;
42136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42143 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42144 PyObject
*resultobj
;
42145 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42147 PyObject
* obj0
= 0 ;
42148 char *kwnames
[] = {
42149 (char *) "self", NULL
42152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42154 if (SWIG_arg_fail(1)) SWIG_fail
;
42156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42157 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42159 wxPyEndAllowThreads(__tstate
);
42160 if (PyErr_Occurred()) SWIG_fail
;
42163 resultobj
= SWIG_From_int((int)(result
));
42171 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42172 PyObject
*resultobj
;
42173 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42175 PyObject
* obj0
= 0 ;
42176 char *kwnames
[] = {
42177 (char *) "self", NULL
42180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42182 if (SWIG_arg_fail(1)) SWIG_fail
;
42184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42185 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42187 wxPyEndAllowThreads(__tstate
);
42188 if (PyErr_Occurred()) SWIG_fail
;
42191 resultobj
= SWIG_From_int((int)(result
));
42199 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42200 PyObject
*resultobj
;
42201 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42203 PyObject
* obj0
= 0 ;
42204 PyObject
* obj1
= 0 ;
42205 char *kwnames
[] = {
42206 (char *) "self",(char *) "rowspan", NULL
42209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42211 if (SWIG_arg_fail(1)) SWIG_fail
;
42213 arg2
= (int)(SWIG_As_int(obj1
));
42214 if (SWIG_arg_fail(2)) SWIG_fail
;
42217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42218 (arg1
)->SetRowspan(arg2
);
42220 wxPyEndAllowThreads(__tstate
);
42221 if (PyErr_Occurred()) SWIG_fail
;
42223 Py_INCREF(Py_None
); resultobj
= Py_None
;
42230 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42231 PyObject
*resultobj
;
42232 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42234 PyObject
* obj0
= 0 ;
42235 PyObject
* obj1
= 0 ;
42236 char *kwnames
[] = {
42237 (char *) "self",(char *) "colspan", NULL
42240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42242 if (SWIG_arg_fail(1)) SWIG_fail
;
42244 arg2
= (int)(SWIG_As_int(obj1
));
42245 if (SWIG_arg_fail(2)) SWIG_fail
;
42248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42249 (arg1
)->SetColspan(arg2
);
42251 wxPyEndAllowThreads(__tstate
);
42252 if (PyErr_Occurred()) SWIG_fail
;
42254 Py_INCREF(Py_None
); resultobj
= Py_None
;
42261 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42262 PyObject
*resultobj
;
42263 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42264 wxGBSpan
*arg2
= 0 ;
42267 PyObject
* obj0
= 0 ;
42268 PyObject
* obj1
= 0 ;
42269 char *kwnames
[] = {
42270 (char *) "self",(char *) "other", NULL
42273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42275 if (SWIG_arg_fail(1)) SWIG_fail
;
42278 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42282 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42284 wxPyEndAllowThreads(__tstate
);
42285 if (PyErr_Occurred()) SWIG_fail
;
42288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42296 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42297 PyObject
*resultobj
;
42298 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42299 wxGBSpan
*arg2
= 0 ;
42302 PyObject
* obj0
= 0 ;
42303 PyObject
* obj1
= 0 ;
42304 char *kwnames
[] = {
42305 (char *) "self",(char *) "other", NULL
42308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42310 if (SWIG_arg_fail(1)) SWIG_fail
;
42313 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42317 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42319 wxPyEndAllowThreads(__tstate
);
42320 if (PyErr_Occurred()) SWIG_fail
;
42323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42331 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42332 PyObject
*resultobj
;
42333 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42334 int arg2
= (int) 1 ;
42335 int arg3
= (int) 1 ;
42336 PyObject
* obj0
= 0 ;
42337 PyObject
* obj1
= 0 ;
42338 PyObject
* obj2
= 0 ;
42339 char *kwnames
[] = {
42340 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42345 if (SWIG_arg_fail(1)) SWIG_fail
;
42348 arg2
= (int)(SWIG_As_int(obj1
));
42349 if (SWIG_arg_fail(2)) SWIG_fail
;
42354 arg3
= (int)(SWIG_As_int(obj2
));
42355 if (SWIG_arg_fail(3)) SWIG_fail
;
42359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42360 wxGBSpan_Set(arg1
,arg2
,arg3
);
42362 wxPyEndAllowThreads(__tstate
);
42363 if (PyErr_Occurred()) SWIG_fail
;
42365 Py_INCREF(Py_None
); resultobj
= Py_None
;
42372 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42373 PyObject
*resultobj
;
42374 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42376 PyObject
* obj0
= 0 ;
42377 char *kwnames
[] = {
42378 (char *) "self", NULL
42381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42383 if (SWIG_arg_fail(1)) SWIG_fail
;
42385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42386 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42388 wxPyEndAllowThreads(__tstate
);
42389 if (PyErr_Occurred()) SWIG_fail
;
42391 resultobj
= result
;
42398 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42401 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42403 return Py_BuildValue((char *)"");
42405 static int _wrap_DefaultSpan_set(PyObject
*) {
42406 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42411 static PyObject
*_wrap_DefaultSpan_get(void) {
42414 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42419 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42420 PyObject
*resultobj
;
42421 wxGBSizerItem
*result
;
42422 char *kwnames
[] = {
42426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42429 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42431 wxPyEndAllowThreads(__tstate
);
42432 if (PyErr_Occurred()) SWIG_fail
;
42434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42441 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42442 PyObject
*resultobj
;
42443 wxWindow
*arg1
= (wxWindow
*) 0 ;
42444 wxGBPosition
*arg2
= 0 ;
42445 wxGBSpan
*arg3
= 0 ;
42448 PyObject
*arg6
= (PyObject
*) NULL
;
42449 wxGBSizerItem
*result
;
42450 wxGBPosition temp2
;
42452 PyObject
* obj0
= 0 ;
42453 PyObject
* obj1
= 0 ;
42454 PyObject
* obj2
= 0 ;
42455 PyObject
* obj3
= 0 ;
42456 PyObject
* obj4
= 0 ;
42457 PyObject
* obj5
= 0 ;
42458 char *kwnames
[] = {
42459 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42464 if (SWIG_arg_fail(1)) SWIG_fail
;
42467 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42471 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42474 arg4
= (int)(SWIG_As_int(obj3
));
42475 if (SWIG_arg_fail(4)) SWIG_fail
;
42478 arg5
= (int)(SWIG_As_int(obj4
));
42479 if (SWIG_arg_fail(5)) SWIG_fail
;
42485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42486 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42488 wxPyEndAllowThreads(__tstate
);
42489 if (PyErr_Occurred()) SWIG_fail
;
42491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42498 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42499 PyObject
*resultobj
;
42500 wxSizer
*arg1
= (wxSizer
*) 0 ;
42501 wxGBPosition
*arg2
= 0 ;
42502 wxGBSpan
*arg3
= 0 ;
42505 PyObject
*arg6
= (PyObject
*) NULL
;
42506 wxGBSizerItem
*result
;
42507 wxGBPosition temp2
;
42509 PyObject
* obj0
= 0 ;
42510 PyObject
* obj1
= 0 ;
42511 PyObject
* obj2
= 0 ;
42512 PyObject
* obj3
= 0 ;
42513 PyObject
* obj4
= 0 ;
42514 PyObject
* obj5
= 0 ;
42515 char *kwnames
[] = {
42516 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42521 if (SWIG_arg_fail(1)) SWIG_fail
;
42524 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42528 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42531 arg4
= (int)(SWIG_As_int(obj3
));
42532 if (SWIG_arg_fail(4)) SWIG_fail
;
42535 arg5
= (int)(SWIG_As_int(obj4
));
42536 if (SWIG_arg_fail(5)) SWIG_fail
;
42542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42543 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42545 wxPyEndAllowThreads(__tstate
);
42546 if (PyErr_Occurred()) SWIG_fail
;
42548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42555 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42556 PyObject
*resultobj
;
42559 wxGBPosition
*arg3
= 0 ;
42560 wxGBSpan
*arg4
= 0 ;
42563 PyObject
*arg7
= (PyObject
*) NULL
;
42564 wxGBSizerItem
*result
;
42565 wxGBPosition temp3
;
42567 PyObject
* obj0
= 0 ;
42568 PyObject
* obj1
= 0 ;
42569 PyObject
* obj2
= 0 ;
42570 PyObject
* obj3
= 0 ;
42571 PyObject
* obj4
= 0 ;
42572 PyObject
* obj5
= 0 ;
42573 PyObject
* obj6
= 0 ;
42574 char *kwnames
[] = {
42575 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42580 arg1
= (int)(SWIG_As_int(obj0
));
42581 if (SWIG_arg_fail(1)) SWIG_fail
;
42584 arg2
= (int)(SWIG_As_int(obj1
));
42585 if (SWIG_arg_fail(2)) SWIG_fail
;
42589 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42593 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42596 arg5
= (int)(SWIG_As_int(obj4
));
42597 if (SWIG_arg_fail(5)) SWIG_fail
;
42600 arg6
= (int)(SWIG_As_int(obj5
));
42601 if (SWIG_arg_fail(6)) SWIG_fail
;
42607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42608 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42610 wxPyEndAllowThreads(__tstate
);
42611 if (PyErr_Occurred()) SWIG_fail
;
42613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42620 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42621 PyObject
*resultobj
;
42622 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42623 wxGBPosition result
;
42624 PyObject
* obj0
= 0 ;
42625 char *kwnames
[] = {
42626 (char *) "self", NULL
42629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42631 if (SWIG_arg_fail(1)) SWIG_fail
;
42633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42634 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42636 wxPyEndAllowThreads(__tstate
);
42637 if (PyErr_Occurred()) SWIG_fail
;
42640 wxGBPosition
* resultptr
;
42641 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42650 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42651 PyObject
*resultobj
;
42652 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42654 PyObject
* obj0
= 0 ;
42655 char *kwnames
[] = {
42656 (char *) "self", NULL
42659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42661 if (SWIG_arg_fail(1)) SWIG_fail
;
42663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42664 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42666 wxPyEndAllowThreads(__tstate
);
42667 if (PyErr_Occurred()) SWIG_fail
;
42670 wxGBSpan
* resultptr
;
42671 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42680 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42681 PyObject
*resultobj
;
42682 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42683 wxGBPosition
*arg2
= 0 ;
42685 wxGBPosition temp2
;
42686 PyObject
* obj0
= 0 ;
42687 PyObject
* obj1
= 0 ;
42688 char *kwnames
[] = {
42689 (char *) "self",(char *) "pos", NULL
42692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42694 if (SWIG_arg_fail(1)) SWIG_fail
;
42697 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42701 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42703 wxPyEndAllowThreads(__tstate
);
42704 if (PyErr_Occurred()) SWIG_fail
;
42707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42715 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42716 PyObject
*resultobj
;
42717 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42718 wxGBSpan
*arg2
= 0 ;
42721 PyObject
* obj0
= 0 ;
42722 PyObject
* obj1
= 0 ;
42723 char *kwnames
[] = {
42724 (char *) "self",(char *) "span", NULL
42727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42729 if (SWIG_arg_fail(1)) SWIG_fail
;
42732 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42736 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42738 wxPyEndAllowThreads(__tstate
);
42739 if (PyErr_Occurred()) SWIG_fail
;
42742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42750 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42751 PyObject
*resultobj
;
42752 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42753 wxGBSizerItem
*arg2
= 0 ;
42755 PyObject
* obj0
= 0 ;
42756 PyObject
* obj1
= 0 ;
42757 char *kwnames
[] = {
42758 (char *) "self",(char *) "other", NULL
42761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42763 if (SWIG_arg_fail(1)) SWIG_fail
;
42765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42766 if (SWIG_arg_fail(2)) SWIG_fail
;
42767 if (arg2
== NULL
) {
42768 SWIG_null_ref("wxGBSizerItem");
42770 if (SWIG_arg_fail(2)) SWIG_fail
;
42773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42774 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42776 wxPyEndAllowThreads(__tstate
);
42777 if (PyErr_Occurred()) SWIG_fail
;
42780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42788 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42789 PyObject
*resultobj
;
42790 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42791 wxGBPosition
*arg2
= 0 ;
42792 wxGBSpan
*arg3
= 0 ;
42794 wxGBPosition temp2
;
42796 PyObject
* obj0
= 0 ;
42797 PyObject
* obj1
= 0 ;
42798 PyObject
* obj2
= 0 ;
42799 char *kwnames
[] = {
42800 (char *) "self",(char *) "pos",(char *) "span", NULL
42803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42805 if (SWIG_arg_fail(1)) SWIG_fail
;
42808 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42812 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42816 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42818 wxPyEndAllowThreads(__tstate
);
42819 if (PyErr_Occurred()) SWIG_fail
;
42822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42830 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42831 PyObject
*resultobj
;
42832 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42833 wxGBPosition result
;
42834 PyObject
* obj0
= 0 ;
42835 char *kwnames
[] = {
42836 (char *) "self", NULL
42839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42841 if (SWIG_arg_fail(1)) SWIG_fail
;
42843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42844 result
= wxGBSizerItem_GetEndPos(arg1
);
42846 wxPyEndAllowThreads(__tstate
);
42847 if (PyErr_Occurred()) SWIG_fail
;
42850 wxGBPosition
* resultptr
;
42851 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42860 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42861 PyObject
*resultobj
;
42862 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42863 wxGridBagSizer
*result
;
42864 PyObject
* obj0
= 0 ;
42865 char *kwnames
[] = {
42866 (char *) "self", NULL
42869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42871 if (SWIG_arg_fail(1)) SWIG_fail
;
42873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42874 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42876 wxPyEndAllowThreads(__tstate
);
42877 if (PyErr_Occurred()) SWIG_fail
;
42879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42886 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42887 PyObject
*resultobj
;
42888 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42889 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42890 PyObject
* obj0
= 0 ;
42891 PyObject
* obj1
= 0 ;
42892 char *kwnames
[] = {
42893 (char *) "self",(char *) "sizer", NULL
42896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42898 if (SWIG_arg_fail(1)) SWIG_fail
;
42899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42900 if (SWIG_arg_fail(2)) SWIG_fail
;
42902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42903 (arg1
)->SetGBSizer(arg2
);
42905 wxPyEndAllowThreads(__tstate
);
42906 if (PyErr_Occurred()) SWIG_fail
;
42908 Py_INCREF(Py_None
); resultobj
= Py_None
;
42915 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42918 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42920 return Py_BuildValue((char *)"");
42922 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42923 PyObject
*resultobj
;
42924 int arg1
= (int) 0 ;
42925 int arg2
= (int) 0 ;
42926 wxGridBagSizer
*result
;
42927 PyObject
* obj0
= 0 ;
42928 PyObject
* obj1
= 0 ;
42929 char *kwnames
[] = {
42930 (char *) "vgap",(char *) "hgap", NULL
42933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42936 arg1
= (int)(SWIG_As_int(obj0
));
42937 if (SWIG_arg_fail(1)) SWIG_fail
;
42942 arg2
= (int)(SWIG_As_int(obj1
));
42943 if (SWIG_arg_fail(2)) SWIG_fail
;
42947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42948 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42950 wxPyEndAllowThreads(__tstate
);
42951 if (PyErr_Occurred()) SWIG_fail
;
42953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42960 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42961 PyObject
*resultobj
;
42962 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42963 PyObject
*arg2
= (PyObject
*) 0 ;
42964 wxGBPosition
*arg3
= 0 ;
42965 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42966 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42967 int arg5
= (int) 0 ;
42968 int arg6
= (int) 0 ;
42969 PyObject
*arg7
= (PyObject
*) NULL
;
42970 wxGBSizerItem
*result
;
42971 wxGBPosition temp3
;
42973 PyObject
* obj0
= 0 ;
42974 PyObject
* obj1
= 0 ;
42975 PyObject
* obj2
= 0 ;
42976 PyObject
* obj3
= 0 ;
42977 PyObject
* obj4
= 0 ;
42978 PyObject
* obj5
= 0 ;
42979 PyObject
* obj6
= 0 ;
42980 char *kwnames
[] = {
42981 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42986 if (SWIG_arg_fail(1)) SWIG_fail
;
42990 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42995 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43000 arg5
= (int)(SWIG_As_int(obj4
));
43001 if (SWIG_arg_fail(5)) SWIG_fail
;
43006 arg6
= (int)(SWIG_As_int(obj5
));
43007 if (SWIG_arg_fail(6)) SWIG_fail
;
43014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43015 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43017 wxPyEndAllowThreads(__tstate
);
43018 if (PyErr_Occurred()) SWIG_fail
;
43020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43027 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43028 PyObject
*resultobj
;
43029 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43030 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43031 wxGBSizerItem
*result
;
43032 PyObject
* obj0
= 0 ;
43033 PyObject
* obj1
= 0 ;
43034 char *kwnames
[] = {
43035 (char *) "self",(char *) "item", NULL
43038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43040 if (SWIG_arg_fail(1)) SWIG_fail
;
43041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43042 if (SWIG_arg_fail(2)) SWIG_fail
;
43044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43045 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43047 wxPyEndAllowThreads(__tstate
);
43048 if (PyErr_Occurred()) SWIG_fail
;
43050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43057 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43058 PyObject
*resultobj
;
43059 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43063 PyObject
* obj0
= 0 ;
43064 PyObject
* obj1
= 0 ;
43065 PyObject
* obj2
= 0 ;
43066 char *kwnames
[] = {
43067 (char *) "self",(char *) "row",(char *) "col", NULL
43070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43072 if (SWIG_arg_fail(1)) SWIG_fail
;
43074 arg2
= (int)(SWIG_As_int(obj1
));
43075 if (SWIG_arg_fail(2)) SWIG_fail
;
43078 arg3
= (int)(SWIG_As_int(obj2
));
43079 if (SWIG_arg_fail(3)) SWIG_fail
;
43082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43083 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43085 wxPyEndAllowThreads(__tstate
);
43086 if (PyErr_Occurred()) SWIG_fail
;
43089 wxSize
* resultptr
;
43090 resultptr
= new wxSize((wxSize
&)(result
));
43091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43099 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43100 PyObject
*resultobj
;
43101 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43103 PyObject
* obj0
= 0 ;
43104 char *kwnames
[] = {
43105 (char *) "self", NULL
43108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43110 if (SWIG_arg_fail(1)) SWIG_fail
;
43112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43113 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43115 wxPyEndAllowThreads(__tstate
);
43116 if (PyErr_Occurred()) SWIG_fail
;
43119 wxSize
* resultptr
;
43120 resultptr
= new wxSize((wxSize
&)(result
));
43121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43129 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43130 PyObject
*resultobj
;
43131 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43134 PyObject
* obj0
= 0 ;
43135 PyObject
* obj1
= 0 ;
43136 char *kwnames
[] = {
43137 (char *) "self",(char *) "sz", NULL
43140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43142 if (SWIG_arg_fail(1)) SWIG_fail
;
43145 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43149 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43151 wxPyEndAllowThreads(__tstate
);
43152 if (PyErr_Occurred()) SWIG_fail
;
43154 Py_INCREF(Py_None
); resultobj
= Py_None
;
43161 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43162 PyObject
*resultobj
;
43163 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43164 wxWindow
*arg2
= (wxWindow
*) 0 ;
43165 wxGBPosition result
;
43166 PyObject
* obj0
= 0 ;
43167 PyObject
* obj1
= 0 ;
43169 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43171 if (SWIG_arg_fail(1)) SWIG_fail
;
43172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43173 if (SWIG_arg_fail(2)) SWIG_fail
;
43175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43176 result
= (arg1
)->GetItemPosition(arg2
);
43178 wxPyEndAllowThreads(__tstate
);
43179 if (PyErr_Occurred()) SWIG_fail
;
43182 wxGBPosition
* resultptr
;
43183 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43192 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43193 PyObject
*resultobj
;
43194 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43195 wxSizer
*arg2
= (wxSizer
*) 0 ;
43196 wxGBPosition result
;
43197 PyObject
* obj0
= 0 ;
43198 PyObject
* obj1
= 0 ;
43200 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43202 if (SWIG_arg_fail(1)) SWIG_fail
;
43203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43204 if (SWIG_arg_fail(2)) SWIG_fail
;
43206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43207 result
= (arg1
)->GetItemPosition(arg2
);
43209 wxPyEndAllowThreads(__tstate
);
43210 if (PyErr_Occurred()) SWIG_fail
;
43213 wxGBPosition
* resultptr
;
43214 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43223 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43224 PyObject
*resultobj
;
43225 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43227 wxGBPosition result
;
43228 PyObject
* obj0
= 0 ;
43229 PyObject
* obj1
= 0 ;
43231 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43233 if (SWIG_arg_fail(1)) SWIG_fail
;
43235 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43236 if (SWIG_arg_fail(2)) SWIG_fail
;
43239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43240 result
= (arg1
)->GetItemPosition(arg2
);
43242 wxPyEndAllowThreads(__tstate
);
43243 if (PyErr_Occurred()) SWIG_fail
;
43246 wxGBPosition
* resultptr
;
43247 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43256 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43261 argc
= PyObject_Length(args
);
43262 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43263 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43269 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43279 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43287 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43295 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43305 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43313 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43321 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43329 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43331 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43336 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43341 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43342 PyObject
*resultobj
;
43343 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43344 wxWindow
*arg2
= (wxWindow
*) 0 ;
43345 wxGBPosition
*arg3
= 0 ;
43347 wxGBPosition temp3
;
43348 PyObject
* obj0
= 0 ;
43349 PyObject
* obj1
= 0 ;
43350 PyObject
* obj2
= 0 ;
43352 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43354 if (SWIG_arg_fail(1)) SWIG_fail
;
43355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43356 if (SWIG_arg_fail(2)) SWIG_fail
;
43359 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43363 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43365 wxPyEndAllowThreads(__tstate
);
43366 if (PyErr_Occurred()) SWIG_fail
;
43369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43377 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43378 PyObject
*resultobj
;
43379 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43380 wxSizer
*arg2
= (wxSizer
*) 0 ;
43381 wxGBPosition
*arg3
= 0 ;
43383 wxGBPosition temp3
;
43384 PyObject
* obj0
= 0 ;
43385 PyObject
* obj1
= 0 ;
43386 PyObject
* obj2
= 0 ;
43388 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43390 if (SWIG_arg_fail(1)) SWIG_fail
;
43391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43392 if (SWIG_arg_fail(2)) SWIG_fail
;
43395 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43399 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43401 wxPyEndAllowThreads(__tstate
);
43402 if (PyErr_Occurred()) SWIG_fail
;
43405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43413 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43414 PyObject
*resultobj
;
43415 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43417 wxGBPosition
*arg3
= 0 ;
43419 wxGBPosition temp3
;
43420 PyObject
* obj0
= 0 ;
43421 PyObject
* obj1
= 0 ;
43422 PyObject
* obj2
= 0 ;
43424 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43426 if (SWIG_arg_fail(1)) SWIG_fail
;
43428 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43429 if (SWIG_arg_fail(2)) SWIG_fail
;
43433 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43437 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43439 wxPyEndAllowThreads(__tstate
);
43440 if (PyErr_Occurred()) SWIG_fail
;
43443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43451 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43456 argc
= PyObject_Length(args
);
43457 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43458 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43464 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43474 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43483 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43486 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43495 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43505 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43514 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43517 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43526 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43534 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43537 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43540 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43546 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43551 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43552 PyObject
*resultobj
;
43553 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43554 wxWindow
*arg2
= (wxWindow
*) 0 ;
43556 PyObject
* obj0
= 0 ;
43557 PyObject
* obj1
= 0 ;
43559 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43561 if (SWIG_arg_fail(1)) SWIG_fail
;
43562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43563 if (SWIG_arg_fail(2)) SWIG_fail
;
43565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43566 result
= (arg1
)->GetItemSpan(arg2
);
43568 wxPyEndAllowThreads(__tstate
);
43569 if (PyErr_Occurred()) SWIG_fail
;
43572 wxGBSpan
* resultptr
;
43573 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43582 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43583 PyObject
*resultobj
;
43584 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43585 wxSizer
*arg2
= (wxSizer
*) 0 ;
43587 PyObject
* obj0
= 0 ;
43588 PyObject
* obj1
= 0 ;
43590 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43592 if (SWIG_arg_fail(1)) SWIG_fail
;
43593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43594 if (SWIG_arg_fail(2)) SWIG_fail
;
43596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43597 result
= (arg1
)->GetItemSpan(arg2
);
43599 wxPyEndAllowThreads(__tstate
);
43600 if (PyErr_Occurred()) SWIG_fail
;
43603 wxGBSpan
* resultptr
;
43604 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43613 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43614 PyObject
*resultobj
;
43615 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43618 PyObject
* obj0
= 0 ;
43619 PyObject
* obj1
= 0 ;
43621 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43623 if (SWIG_arg_fail(1)) SWIG_fail
;
43625 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43626 if (SWIG_arg_fail(2)) SWIG_fail
;
43629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43630 result
= (arg1
)->GetItemSpan(arg2
);
43632 wxPyEndAllowThreads(__tstate
);
43633 if (PyErr_Occurred()) SWIG_fail
;
43636 wxGBSpan
* resultptr
;
43637 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43646 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43651 argc
= PyObject_Length(args
);
43652 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43653 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43659 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43669 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43677 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43685 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43695 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43703 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43711 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43719 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43721 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43726 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43731 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43732 PyObject
*resultobj
;
43733 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43734 wxWindow
*arg2
= (wxWindow
*) 0 ;
43735 wxGBSpan
*arg3
= 0 ;
43738 PyObject
* obj0
= 0 ;
43739 PyObject
* obj1
= 0 ;
43740 PyObject
* obj2
= 0 ;
43742 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43744 if (SWIG_arg_fail(1)) SWIG_fail
;
43745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43746 if (SWIG_arg_fail(2)) SWIG_fail
;
43749 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43753 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43755 wxPyEndAllowThreads(__tstate
);
43756 if (PyErr_Occurred()) SWIG_fail
;
43759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43767 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43768 PyObject
*resultobj
;
43769 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43770 wxSizer
*arg2
= (wxSizer
*) 0 ;
43771 wxGBSpan
*arg3
= 0 ;
43774 PyObject
* obj0
= 0 ;
43775 PyObject
* obj1
= 0 ;
43776 PyObject
* obj2
= 0 ;
43778 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43780 if (SWIG_arg_fail(1)) SWIG_fail
;
43781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43782 if (SWIG_arg_fail(2)) SWIG_fail
;
43785 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43789 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43791 wxPyEndAllowThreads(__tstate
);
43792 if (PyErr_Occurred()) SWIG_fail
;
43795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43803 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43804 PyObject
*resultobj
;
43805 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43807 wxGBSpan
*arg3
= 0 ;
43810 PyObject
* obj0
= 0 ;
43811 PyObject
* obj1
= 0 ;
43812 PyObject
* obj2
= 0 ;
43814 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43816 if (SWIG_arg_fail(1)) SWIG_fail
;
43818 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43819 if (SWIG_arg_fail(2)) SWIG_fail
;
43823 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43827 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43829 wxPyEndAllowThreads(__tstate
);
43830 if (PyErr_Occurred()) SWIG_fail
;
43833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43841 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43846 argc
= PyObject_Length(args
);
43847 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43848 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43854 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43864 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43873 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43876 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43885 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43895 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43904 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43907 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43916 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43924 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43927 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43930 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43936 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43941 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43942 PyObject
*resultobj
;
43943 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43944 wxWindow
*arg2
= (wxWindow
*) 0 ;
43945 wxGBSizerItem
*result
;
43946 PyObject
* obj0
= 0 ;
43947 PyObject
* obj1
= 0 ;
43949 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43951 if (SWIG_arg_fail(1)) SWIG_fail
;
43952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43953 if (SWIG_arg_fail(2)) SWIG_fail
;
43955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43956 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43958 wxPyEndAllowThreads(__tstate
);
43959 if (PyErr_Occurred()) SWIG_fail
;
43961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43968 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43969 PyObject
*resultobj
;
43970 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43971 wxSizer
*arg2
= (wxSizer
*) 0 ;
43972 wxGBSizerItem
*result
;
43973 PyObject
* obj0
= 0 ;
43974 PyObject
* obj1
= 0 ;
43976 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43978 if (SWIG_arg_fail(1)) SWIG_fail
;
43979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43980 if (SWIG_arg_fail(2)) SWIG_fail
;
43982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43983 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43985 wxPyEndAllowThreads(__tstate
);
43986 if (PyErr_Occurred()) SWIG_fail
;
43988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43995 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
44000 argc
= PyObject_Length(args
);
44001 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44002 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44008 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44018 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44026 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44034 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44044 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44052 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44057 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44062 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44063 PyObject
*resultobj
;
44064 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44065 wxGBPosition
*arg2
= 0 ;
44066 wxGBSizerItem
*result
;
44067 wxGBPosition temp2
;
44068 PyObject
* obj0
= 0 ;
44069 PyObject
* obj1
= 0 ;
44070 char *kwnames
[] = {
44071 (char *) "self",(char *) "pos", NULL
44074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44076 if (SWIG_arg_fail(1)) SWIG_fail
;
44079 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44083 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44085 wxPyEndAllowThreads(__tstate
);
44086 if (PyErr_Occurred()) SWIG_fail
;
44088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44095 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44096 PyObject
*resultobj
;
44097 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44098 wxPoint
*arg2
= 0 ;
44099 wxGBSizerItem
*result
;
44101 PyObject
* obj0
= 0 ;
44102 PyObject
* obj1
= 0 ;
44103 char *kwnames
[] = {
44104 (char *) "self",(char *) "pt", NULL
44107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44109 if (SWIG_arg_fail(1)) SWIG_fail
;
44112 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44116 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44118 wxPyEndAllowThreads(__tstate
);
44119 if (PyErr_Occurred()) SWIG_fail
;
44121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44128 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44129 PyObject
*resultobj
;
44130 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44131 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44132 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44134 PyObject
* obj0
= 0 ;
44135 PyObject
* obj1
= 0 ;
44136 PyObject
* obj2
= 0 ;
44137 char *kwnames
[] = {
44138 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44143 if (SWIG_arg_fail(1)) SWIG_fail
;
44144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44145 if (SWIG_arg_fail(2)) SWIG_fail
;
44147 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44148 if (SWIG_arg_fail(3)) SWIG_fail
;
44151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44152 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44154 wxPyEndAllowThreads(__tstate
);
44155 if (PyErr_Occurred()) SWIG_fail
;
44158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44166 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44167 PyObject
*resultobj
;
44168 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44169 wxGBPosition
*arg2
= 0 ;
44170 wxGBSpan
*arg3
= 0 ;
44171 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44173 wxGBPosition temp2
;
44175 PyObject
* obj0
= 0 ;
44176 PyObject
* obj1
= 0 ;
44177 PyObject
* obj2
= 0 ;
44178 PyObject
* obj3
= 0 ;
44179 char *kwnames
[] = {
44180 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44185 if (SWIG_arg_fail(1)) SWIG_fail
;
44188 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44192 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44195 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44196 if (SWIG_arg_fail(4)) SWIG_fail
;
44199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44200 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44202 wxPyEndAllowThreads(__tstate
);
44203 if (PyErr_Occurred()) SWIG_fail
;
44206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44214 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44217 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44219 return Py_BuildValue((char *)"");
44221 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44222 PyObject
*resultobj
;
44223 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44224 wxRelationship arg2
;
44225 wxWindow
*arg3
= (wxWindow
*) 0 ;
44227 int arg5
= (int) 0 ;
44228 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44229 PyObject
* obj0
= 0 ;
44230 PyObject
* obj1
= 0 ;
44231 PyObject
* obj2
= 0 ;
44232 PyObject
* obj3
= 0 ;
44233 PyObject
* obj4
= 0 ;
44234 PyObject
* obj5
= 0 ;
44235 char *kwnames
[] = {
44236 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44241 if (SWIG_arg_fail(1)) SWIG_fail
;
44243 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44244 if (SWIG_arg_fail(2)) SWIG_fail
;
44246 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44247 if (SWIG_arg_fail(3)) SWIG_fail
;
44249 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44250 if (SWIG_arg_fail(4)) SWIG_fail
;
44254 arg5
= (int)(SWIG_As_int(obj4
));
44255 if (SWIG_arg_fail(5)) SWIG_fail
;
44260 arg6
= (int)(SWIG_As_int(obj5
));
44261 if (SWIG_arg_fail(6)) SWIG_fail
;
44265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44266 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44268 wxPyEndAllowThreads(__tstate
);
44269 if (PyErr_Occurred()) SWIG_fail
;
44271 Py_INCREF(Py_None
); resultobj
= Py_None
;
44278 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44279 PyObject
*resultobj
;
44280 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44281 wxWindow
*arg2
= (wxWindow
*) 0 ;
44282 int arg3
= (int) 0 ;
44283 PyObject
* obj0
= 0 ;
44284 PyObject
* obj1
= 0 ;
44285 PyObject
* obj2
= 0 ;
44286 char *kwnames
[] = {
44287 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44292 if (SWIG_arg_fail(1)) SWIG_fail
;
44293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44294 if (SWIG_arg_fail(2)) SWIG_fail
;
44297 arg3
= (int)(SWIG_As_int(obj2
));
44298 if (SWIG_arg_fail(3)) SWIG_fail
;
44302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44303 (arg1
)->LeftOf(arg2
,arg3
);
44305 wxPyEndAllowThreads(__tstate
);
44306 if (PyErr_Occurred()) SWIG_fail
;
44308 Py_INCREF(Py_None
); resultobj
= Py_None
;
44315 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44316 PyObject
*resultobj
;
44317 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44318 wxWindow
*arg2
= (wxWindow
*) 0 ;
44319 int arg3
= (int) 0 ;
44320 PyObject
* obj0
= 0 ;
44321 PyObject
* obj1
= 0 ;
44322 PyObject
* obj2
= 0 ;
44323 char *kwnames
[] = {
44324 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44329 if (SWIG_arg_fail(1)) SWIG_fail
;
44330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44331 if (SWIG_arg_fail(2)) SWIG_fail
;
44334 arg3
= (int)(SWIG_As_int(obj2
));
44335 if (SWIG_arg_fail(3)) SWIG_fail
;
44339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44340 (arg1
)->RightOf(arg2
,arg3
);
44342 wxPyEndAllowThreads(__tstate
);
44343 if (PyErr_Occurred()) SWIG_fail
;
44345 Py_INCREF(Py_None
); resultobj
= Py_None
;
44352 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44353 PyObject
*resultobj
;
44354 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44355 wxWindow
*arg2
= (wxWindow
*) 0 ;
44356 int arg3
= (int) 0 ;
44357 PyObject
* obj0
= 0 ;
44358 PyObject
* obj1
= 0 ;
44359 PyObject
* obj2
= 0 ;
44360 char *kwnames
[] = {
44361 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44366 if (SWIG_arg_fail(1)) SWIG_fail
;
44367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44368 if (SWIG_arg_fail(2)) SWIG_fail
;
44371 arg3
= (int)(SWIG_As_int(obj2
));
44372 if (SWIG_arg_fail(3)) SWIG_fail
;
44376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44377 (arg1
)->Above(arg2
,arg3
);
44379 wxPyEndAllowThreads(__tstate
);
44380 if (PyErr_Occurred()) SWIG_fail
;
44382 Py_INCREF(Py_None
); resultobj
= Py_None
;
44389 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44390 PyObject
*resultobj
;
44391 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44392 wxWindow
*arg2
= (wxWindow
*) 0 ;
44393 int arg3
= (int) 0 ;
44394 PyObject
* obj0
= 0 ;
44395 PyObject
* obj1
= 0 ;
44396 PyObject
* obj2
= 0 ;
44397 char *kwnames
[] = {
44398 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44403 if (SWIG_arg_fail(1)) SWIG_fail
;
44404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44405 if (SWIG_arg_fail(2)) SWIG_fail
;
44408 arg3
= (int)(SWIG_As_int(obj2
));
44409 if (SWIG_arg_fail(3)) SWIG_fail
;
44413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44414 (arg1
)->Below(arg2
,arg3
);
44416 wxPyEndAllowThreads(__tstate
);
44417 if (PyErr_Occurred()) SWIG_fail
;
44419 Py_INCREF(Py_None
); resultobj
= Py_None
;
44426 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44427 PyObject
*resultobj
;
44428 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44429 wxWindow
*arg2
= (wxWindow
*) 0 ;
44431 int arg4
= (int) 0 ;
44432 PyObject
* obj0
= 0 ;
44433 PyObject
* obj1
= 0 ;
44434 PyObject
* obj2
= 0 ;
44435 PyObject
* obj3
= 0 ;
44436 char *kwnames
[] = {
44437 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44442 if (SWIG_arg_fail(1)) SWIG_fail
;
44443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44444 if (SWIG_arg_fail(2)) SWIG_fail
;
44446 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44447 if (SWIG_arg_fail(3)) SWIG_fail
;
44451 arg4
= (int)(SWIG_As_int(obj3
));
44452 if (SWIG_arg_fail(4)) SWIG_fail
;
44456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44457 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44459 wxPyEndAllowThreads(__tstate
);
44460 if (PyErr_Occurred()) SWIG_fail
;
44462 Py_INCREF(Py_None
); resultobj
= Py_None
;
44469 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44470 PyObject
*resultobj
;
44471 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44472 wxWindow
*arg2
= (wxWindow
*) 0 ;
44475 PyObject
* obj0
= 0 ;
44476 PyObject
* obj1
= 0 ;
44477 PyObject
* obj2
= 0 ;
44478 PyObject
* obj3
= 0 ;
44479 char *kwnames
[] = {
44480 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44485 if (SWIG_arg_fail(1)) SWIG_fail
;
44486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44487 if (SWIG_arg_fail(2)) SWIG_fail
;
44489 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44490 if (SWIG_arg_fail(3)) SWIG_fail
;
44493 arg4
= (int)(SWIG_As_int(obj3
));
44494 if (SWIG_arg_fail(4)) SWIG_fail
;
44497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44498 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44500 wxPyEndAllowThreads(__tstate
);
44501 if (PyErr_Occurred()) SWIG_fail
;
44503 Py_INCREF(Py_None
); resultobj
= Py_None
;
44510 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44511 PyObject
*resultobj
;
44512 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44514 PyObject
* obj0
= 0 ;
44515 PyObject
* obj1
= 0 ;
44516 char *kwnames
[] = {
44517 (char *) "self",(char *) "val", NULL
44520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44522 if (SWIG_arg_fail(1)) SWIG_fail
;
44524 arg2
= (int)(SWIG_As_int(obj1
));
44525 if (SWIG_arg_fail(2)) SWIG_fail
;
44528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44529 (arg1
)->Absolute(arg2
);
44531 wxPyEndAllowThreads(__tstate
);
44532 if (PyErr_Occurred()) SWIG_fail
;
44534 Py_INCREF(Py_None
); resultobj
= Py_None
;
44541 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44542 PyObject
*resultobj
;
44543 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44544 PyObject
* obj0
= 0 ;
44545 char *kwnames
[] = {
44546 (char *) "self", NULL
44549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44551 if (SWIG_arg_fail(1)) SWIG_fail
;
44553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44554 (arg1
)->Unconstrained();
44556 wxPyEndAllowThreads(__tstate
);
44557 if (PyErr_Occurred()) SWIG_fail
;
44559 Py_INCREF(Py_None
); resultobj
= Py_None
;
44566 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44567 PyObject
*resultobj
;
44568 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44569 PyObject
* obj0
= 0 ;
44570 char *kwnames
[] = {
44571 (char *) "self", NULL
44574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44576 if (SWIG_arg_fail(1)) SWIG_fail
;
44578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44581 wxPyEndAllowThreads(__tstate
);
44582 if (PyErr_Occurred()) SWIG_fail
;
44584 Py_INCREF(Py_None
); resultobj
= Py_None
;
44591 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44592 PyObject
*resultobj
;
44593 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44595 PyObject
* obj0
= 0 ;
44596 char *kwnames
[] = {
44597 (char *) "self", NULL
44600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44602 if (SWIG_arg_fail(1)) SWIG_fail
;
44604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44605 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44607 wxPyEndAllowThreads(__tstate
);
44608 if (PyErr_Occurred()) SWIG_fail
;
44611 resultobj
= wxPyMake_wxObject(result
, 0);
44619 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44620 PyObject
*resultobj
;
44621 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44623 PyObject
* obj0
= 0 ;
44624 char *kwnames
[] = {
44625 (char *) "self", NULL
44628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44630 if (SWIG_arg_fail(1)) SWIG_fail
;
44632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44633 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44635 wxPyEndAllowThreads(__tstate
);
44636 if (PyErr_Occurred()) SWIG_fail
;
44638 resultobj
= SWIG_From_int((result
));
44645 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44646 PyObject
*resultobj
;
44647 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44649 PyObject
* obj0
= 0 ;
44650 PyObject
* obj1
= 0 ;
44651 char *kwnames
[] = {
44652 (char *) "self",(char *) "which", NULL
44655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44657 if (SWIG_arg_fail(1)) SWIG_fail
;
44659 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44660 if (SWIG_arg_fail(2)) SWIG_fail
;
44663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44664 (arg1
)->SetEdge((wxEdge
)arg2
);
44666 wxPyEndAllowThreads(__tstate
);
44667 if (PyErr_Occurred()) SWIG_fail
;
44669 Py_INCREF(Py_None
); resultobj
= Py_None
;
44676 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44677 PyObject
*resultobj
;
44678 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44680 PyObject
* obj0
= 0 ;
44681 PyObject
* obj1
= 0 ;
44682 char *kwnames
[] = {
44683 (char *) "self",(char *) "v", NULL
44686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44688 if (SWIG_arg_fail(1)) SWIG_fail
;
44690 arg2
= (int)(SWIG_As_int(obj1
));
44691 if (SWIG_arg_fail(2)) SWIG_fail
;
44694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44695 (arg1
)->SetValue(arg2
);
44697 wxPyEndAllowThreads(__tstate
);
44698 if (PyErr_Occurred()) SWIG_fail
;
44700 Py_INCREF(Py_None
); resultobj
= Py_None
;
44707 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44708 PyObject
*resultobj
;
44709 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44711 PyObject
* obj0
= 0 ;
44712 char *kwnames
[] = {
44713 (char *) "self", NULL
44716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44718 if (SWIG_arg_fail(1)) SWIG_fail
;
44720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44721 result
= (int)(arg1
)->GetMargin();
44723 wxPyEndAllowThreads(__tstate
);
44724 if (PyErr_Occurred()) SWIG_fail
;
44727 resultobj
= SWIG_From_int((int)(result
));
44735 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44736 PyObject
*resultobj
;
44737 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44739 PyObject
* obj0
= 0 ;
44740 PyObject
* obj1
= 0 ;
44741 char *kwnames
[] = {
44742 (char *) "self",(char *) "m", NULL
44745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44747 if (SWIG_arg_fail(1)) SWIG_fail
;
44749 arg2
= (int)(SWIG_As_int(obj1
));
44750 if (SWIG_arg_fail(2)) SWIG_fail
;
44753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44754 (arg1
)->SetMargin(arg2
);
44756 wxPyEndAllowThreads(__tstate
);
44757 if (PyErr_Occurred()) SWIG_fail
;
44759 Py_INCREF(Py_None
); resultobj
= Py_None
;
44766 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44767 PyObject
*resultobj
;
44768 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44770 PyObject
* obj0
= 0 ;
44771 char *kwnames
[] = {
44772 (char *) "self", NULL
44775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44777 if (SWIG_arg_fail(1)) SWIG_fail
;
44779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44780 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44782 wxPyEndAllowThreads(__tstate
);
44783 if (PyErr_Occurred()) SWIG_fail
;
44786 resultobj
= SWIG_From_int((int)(result
));
44794 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44795 PyObject
*resultobj
;
44796 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44798 PyObject
* obj0
= 0 ;
44799 char *kwnames
[] = {
44800 (char *) "self", NULL
44803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44805 if (SWIG_arg_fail(1)) SWIG_fail
;
44807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44808 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44810 wxPyEndAllowThreads(__tstate
);
44811 if (PyErr_Occurred()) SWIG_fail
;
44814 resultobj
= SWIG_From_int((int)(result
));
44822 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44823 PyObject
*resultobj
;
44824 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44826 PyObject
* obj0
= 0 ;
44827 char *kwnames
[] = {
44828 (char *) "self", NULL
44831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44833 if (SWIG_arg_fail(1)) SWIG_fail
;
44835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44836 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44838 wxPyEndAllowThreads(__tstate
);
44839 if (PyErr_Occurred()) SWIG_fail
;
44842 resultobj
= SWIG_From_int((int)(result
));
44850 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44851 PyObject
*resultobj
;
44852 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44854 PyObject
* obj0
= 0 ;
44855 char *kwnames
[] = {
44856 (char *) "self", NULL
44859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44861 if (SWIG_arg_fail(1)) SWIG_fail
;
44863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44864 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44866 wxPyEndAllowThreads(__tstate
);
44867 if (PyErr_Occurred()) SWIG_fail
;
44870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44878 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44879 PyObject
*resultobj
;
44880 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44882 PyObject
* obj0
= 0 ;
44883 PyObject
* obj1
= 0 ;
44884 char *kwnames
[] = {
44885 (char *) "self",(char *) "d", NULL
44888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44890 if (SWIG_arg_fail(1)) SWIG_fail
;
44892 arg2
= (bool)(SWIG_As_bool(obj1
));
44893 if (SWIG_arg_fail(2)) SWIG_fail
;
44896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44897 (arg1
)->SetDone(arg2
);
44899 wxPyEndAllowThreads(__tstate
);
44900 if (PyErr_Occurred()) SWIG_fail
;
44902 Py_INCREF(Py_None
); resultobj
= Py_None
;
44909 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44910 PyObject
*resultobj
;
44911 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44912 wxRelationship result
;
44913 PyObject
* obj0
= 0 ;
44914 char *kwnames
[] = {
44915 (char *) "self", NULL
44918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44920 if (SWIG_arg_fail(1)) SWIG_fail
;
44922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44923 result
= (wxRelationship
)(arg1
)->GetRelationship();
44925 wxPyEndAllowThreads(__tstate
);
44926 if (PyErr_Occurred()) SWIG_fail
;
44928 resultobj
= SWIG_From_int((result
));
44935 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44936 PyObject
*resultobj
;
44937 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44938 wxRelationship arg2
;
44939 PyObject
* obj0
= 0 ;
44940 PyObject
* obj1
= 0 ;
44941 char *kwnames
[] = {
44942 (char *) "self",(char *) "r", NULL
44945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44947 if (SWIG_arg_fail(1)) SWIG_fail
;
44949 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44950 if (SWIG_arg_fail(2)) SWIG_fail
;
44953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44954 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44956 wxPyEndAllowThreads(__tstate
);
44957 if (PyErr_Occurred()) SWIG_fail
;
44959 Py_INCREF(Py_None
); resultobj
= Py_None
;
44966 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44967 PyObject
*resultobj
;
44968 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44969 wxWindow
*arg2
= (wxWindow
*) 0 ;
44971 PyObject
* obj0
= 0 ;
44972 PyObject
* obj1
= 0 ;
44973 char *kwnames
[] = {
44974 (char *) "self",(char *) "otherW", NULL
44977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44979 if (SWIG_arg_fail(1)) SWIG_fail
;
44980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44981 if (SWIG_arg_fail(2)) SWIG_fail
;
44983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44984 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44986 wxPyEndAllowThreads(__tstate
);
44987 if (PyErr_Occurred()) SWIG_fail
;
44990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44998 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44999 PyObject
*resultobj
;
45000 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45001 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
45002 wxWindow
*arg3
= (wxWindow
*) 0 ;
45004 PyObject
* obj0
= 0 ;
45005 PyObject
* obj1
= 0 ;
45006 PyObject
* obj2
= 0 ;
45007 char *kwnames
[] = {
45008 (char *) "self",(char *) "constraints",(char *) "win", NULL
45011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45013 if (SWIG_arg_fail(1)) SWIG_fail
;
45014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45015 if (SWIG_arg_fail(2)) SWIG_fail
;
45016 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45017 if (SWIG_arg_fail(3)) SWIG_fail
;
45019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45020 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45022 wxPyEndAllowThreads(__tstate
);
45023 if (PyErr_Occurred()) SWIG_fail
;
45026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45034 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45035 PyObject
*resultobj
;
45036 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45038 wxWindow
*arg3
= (wxWindow
*) 0 ;
45039 wxWindow
*arg4
= (wxWindow
*) 0 ;
45041 PyObject
* obj0
= 0 ;
45042 PyObject
* obj1
= 0 ;
45043 PyObject
* obj2
= 0 ;
45044 PyObject
* obj3
= 0 ;
45045 char *kwnames
[] = {
45046 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45051 if (SWIG_arg_fail(1)) SWIG_fail
;
45053 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45054 if (SWIG_arg_fail(2)) SWIG_fail
;
45056 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45057 if (SWIG_arg_fail(3)) SWIG_fail
;
45058 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45059 if (SWIG_arg_fail(4)) SWIG_fail
;
45061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45062 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45064 wxPyEndAllowThreads(__tstate
);
45065 if (PyErr_Occurred()) SWIG_fail
;
45068 resultobj
= SWIG_From_int((int)(result
));
45076 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45079 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45081 return Py_BuildValue((char *)"");
45083 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45084 PyObject
*resultobj
;
45085 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45086 wxIndividualLayoutConstraint
*result
;
45087 PyObject
* obj0
= 0 ;
45088 char *kwnames
[] = {
45089 (char *) "self", NULL
45092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45094 if (SWIG_arg_fail(1)) SWIG_fail
;
45095 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45104 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45105 PyObject
*resultobj
;
45106 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45107 wxIndividualLayoutConstraint
*result
;
45108 PyObject
* obj0
= 0 ;
45109 char *kwnames
[] = {
45110 (char *) "self", NULL
45113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45115 if (SWIG_arg_fail(1)) SWIG_fail
;
45116 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45125 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45126 PyObject
*resultobj
;
45127 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45128 wxIndividualLayoutConstraint
*result
;
45129 PyObject
* obj0
= 0 ;
45130 char *kwnames
[] = {
45131 (char *) "self", NULL
45134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45136 if (SWIG_arg_fail(1)) SWIG_fail
;
45137 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45146 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45147 PyObject
*resultobj
;
45148 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45149 wxIndividualLayoutConstraint
*result
;
45150 PyObject
* obj0
= 0 ;
45151 char *kwnames
[] = {
45152 (char *) "self", NULL
45155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45157 if (SWIG_arg_fail(1)) SWIG_fail
;
45158 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45167 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45168 PyObject
*resultobj
;
45169 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45170 wxIndividualLayoutConstraint
*result
;
45171 PyObject
* obj0
= 0 ;
45172 char *kwnames
[] = {
45173 (char *) "self", NULL
45176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45178 if (SWIG_arg_fail(1)) SWIG_fail
;
45179 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45188 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45189 PyObject
*resultobj
;
45190 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45191 wxIndividualLayoutConstraint
*result
;
45192 PyObject
* obj0
= 0 ;
45193 char *kwnames
[] = {
45194 (char *) "self", NULL
45197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45199 if (SWIG_arg_fail(1)) SWIG_fail
;
45200 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45209 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45210 PyObject
*resultobj
;
45211 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45212 wxIndividualLayoutConstraint
*result
;
45213 PyObject
* obj0
= 0 ;
45214 char *kwnames
[] = {
45215 (char *) "self", NULL
45218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45220 if (SWIG_arg_fail(1)) SWIG_fail
;
45221 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45230 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45231 PyObject
*resultobj
;
45232 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45233 wxIndividualLayoutConstraint
*result
;
45234 PyObject
* obj0
= 0 ;
45235 char *kwnames
[] = {
45236 (char *) "self", NULL
45239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45241 if (SWIG_arg_fail(1)) SWIG_fail
;
45242 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45251 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45252 PyObject
*resultobj
;
45253 wxLayoutConstraints
*result
;
45254 char *kwnames
[] = {
45258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45261 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45263 wxPyEndAllowThreads(__tstate
);
45264 if (PyErr_Occurred()) SWIG_fail
;
45266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45273 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45274 PyObject
*resultobj
;
45275 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45276 wxWindow
*arg2
= (wxWindow
*) 0 ;
45277 int *arg3
= (int *) 0 ;
45281 PyObject
* obj0
= 0 ;
45282 PyObject
* obj1
= 0 ;
45283 char *kwnames
[] = {
45284 (char *) "self",(char *) "win", NULL
45287 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45290 if (SWIG_arg_fail(1)) SWIG_fail
;
45291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45292 if (SWIG_arg_fail(2)) SWIG_fail
;
45294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45295 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45297 wxPyEndAllowThreads(__tstate
);
45298 if (PyErr_Occurred()) SWIG_fail
;
45301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45303 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45304 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45311 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45312 PyObject
*resultobj
;
45313 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45315 PyObject
* obj0
= 0 ;
45316 char *kwnames
[] = {
45317 (char *) "self", NULL
45320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45322 if (SWIG_arg_fail(1)) SWIG_fail
;
45324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45325 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45327 wxPyEndAllowThreads(__tstate
);
45328 if (PyErr_Occurred()) SWIG_fail
;
45331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45339 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45342 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45344 return Py_BuildValue((char *)"");
45346 static PyMethodDef SwigMethods
[] = {
45347 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45348 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45349 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45352 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45373 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45386 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45401 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45455 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45483 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45502 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45504 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45512 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45513 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45525 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45537 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45541 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45547 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45557 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45567 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45574 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45654 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45656 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45658 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45660 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45662 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45664 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45666 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45668 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45670 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45672 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45674 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45676 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45678 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45692 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45710 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45713 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45716 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45728 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45733 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45739 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45745 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45808 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45815 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45851 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45861 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45867 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45869 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45871 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45874 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45878 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45881 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45884 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45886 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45891 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45899 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45903 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45906 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45908 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45912 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45929 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45931 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45934 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45936 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45940 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45944 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45955 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45958 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45961 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45965 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45972 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45977 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45982 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45986 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46031 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46051 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46058 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46062 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46072 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46244 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46286 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46301 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46304 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46359 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46386 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46430 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46438 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46457 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46458 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46495 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46525 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46528 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46532 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46535 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46545 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46557 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46569 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46579 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46589 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46603 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46610 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46611 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46612 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46613 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46614 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46619 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46646 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46658 { NULL
, NULL
, 0, NULL
}
46662 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46664 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46665 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46667 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46668 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46670 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46671 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46673 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46674 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46676 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46677 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46679 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46680 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46682 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46683 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46685 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46686 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46688 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46689 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46691 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46692 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46694 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46695 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46697 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46698 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46700 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46701 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46703 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46704 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46706 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46707 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46709 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46710 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46712 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46713 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46715 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46716 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46718 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46719 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46721 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46722 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46724 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46725 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46727 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46728 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46730 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46731 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46733 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46734 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46736 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46737 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46739 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46740 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46742 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46743 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46745 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46746 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46748 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46749 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46751 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46752 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46754 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46755 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46757 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46760 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46761 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46763 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46764 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46766 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46767 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46769 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46770 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46772 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46773 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46775 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46776 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46778 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46779 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46781 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46782 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46784 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46785 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46787 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46788 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46790 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46791 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46793 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46794 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46796 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46797 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46799 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46800 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46802 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46803 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46805 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46806 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46808 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46809 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46811 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46812 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46814 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46815 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46817 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46818 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46820 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46821 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46823 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46824 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46826 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46827 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46829 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46830 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46832 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46833 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46835 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46836 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46838 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46839 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46841 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46842 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46844 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46845 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46847 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46848 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46850 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46851 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46853 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46854 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46856 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46857 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46859 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46860 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46862 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46863 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46865 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46866 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46868 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46869 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46871 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46872 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46874 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46875 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46877 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46878 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46880 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46881 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46883 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46884 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46886 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46887 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46889 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46890 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46892 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46893 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46895 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46896 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46898 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46899 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46901 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46902 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46904 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46905 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46907 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46908 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46910 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46911 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46913 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46914 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46916 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46917 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46919 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46920 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46922 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46923 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46925 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46926 return (void *)((wxObject
*) ((wxSizer
*) x
));
46928 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46929 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46931 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46932 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46934 static void *_p_wxEventTo_p_wxObject(void *x
) {
46935 return (void *)((wxObject
*) ((wxEvent
*) x
));
46937 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46938 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46940 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46941 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46943 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46944 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46946 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46947 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46949 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46950 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46952 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46953 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46955 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46956 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46958 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46959 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46961 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46962 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46964 static void *_p_wxControlTo_p_wxObject(void *x
) {
46965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46967 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46968 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46970 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46971 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46973 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46974 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46976 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46977 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46979 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46982 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46983 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46985 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46986 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46988 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46989 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46991 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46992 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46994 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46997 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47000 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47003 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47006 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47007 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47009 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47010 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47012 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47013 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47015 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47016 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47018 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47019 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47021 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47022 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47024 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47025 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47027 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47030 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47033 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47036 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47039 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47042 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47045 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47048 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47051 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47054 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47057 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47060 static void *_p_wxImageTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) ((wxImage
*) x
));
47063 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47064 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47066 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47069 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47070 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47072 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47073 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47075 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47076 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47078 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47079 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47081 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47084 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47085 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47087 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47088 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47090 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47091 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47093 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47094 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47096 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47097 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47099 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47100 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47102 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47103 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47105 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47106 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47108 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47109 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47111 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47112 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47114 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47115 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47117 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47118 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47120 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47123 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47126 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47127 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47129 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47130 return (void *)((wxWindow
*) ((wxControl
*) x
));
47132 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47133 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47135 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47136 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47138 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47139 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47141 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47142 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47144 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47145 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47147 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47148 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47150 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47151 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47153 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47154 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47156 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47157 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47159 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47160 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47162 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47163 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47165 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47166 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47237 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}};
47238 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}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47245 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}};
47246 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}};
47247 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}};
47248 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}};
47249 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}};
47250 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}};
47251 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}};
47252 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}};
47253 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}};
47254 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}};
47255 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}};
47256 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}};
47257 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}};
47258 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}};
47259 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}};
47260 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}};
47261 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}};
47262 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}};
47263 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}};
47264 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}};
47265 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}};
47266 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}};
47267 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}};
47268 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}};
47269 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}};
47270 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}};
47271 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}};
47272 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}};
47273 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}};
47274 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}};
47275 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}};
47276 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}};
47277 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}};
47278 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}};
47279 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}};
47280 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}};
47281 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}};
47282 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}};
47283 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}};
47284 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}};
47285 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}};
47286 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}};
47287 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}};
47288 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}};
47289 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}};
47290 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}};
47291 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}};
47292 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}};
47293 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}};
47294 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}};
47295 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}};
47297 static swig_type_info
*swig_types_initial
[] = {
47298 _swigt__p_wxLayoutConstraints
,
47299 _swigt__p_wxRealPoint
,
47300 _swigt__p_wxSizerItem
,
47301 _swigt__p_wxGBSizerItem
,
47302 _swigt__p_wxScrollEvent
,
47303 _swigt__p_wxEventLoop
,
47304 _swigt__p_wxIndividualLayoutConstraint
,
47306 _swigt__p_wxBoxSizer
,
47307 _swigt__p_wxStaticBoxSizer
,
47308 _swigt__p_wxGridBagSizer
,
47309 _swigt__p_wxAcceleratorEntry
,
47310 _swigt__p_wxUpdateUIEvent
,
47314 _swigt__p_wxGridSizer
,
47315 _swigt__p_wxFlexGridSizer
,
47316 _swigt__p_wxInitDialogEvent
,
47317 _swigt__p_wxItemContainer
,
47318 _swigt__p_wxNcPaintEvent
,
47319 _swigt__p_wxPaintEvent
,
47320 _swigt__p_wxSysColourChangedEvent
,
47321 _swigt__p_wxMouseCaptureChangedEvent
,
47322 _swigt__p_wxDisplayChangedEvent
,
47323 _swigt__p_wxPaletteChangedEvent
,
47324 _swigt__p_wxControl
,
47326 _swigt__p_wxMenuBarBase
,
47327 _swigt__p_wxSetCursorEvent
,
47328 _swigt__p_wxFSFile
,
47331 _swigt__std__ptrdiff_t
,
47332 _swigt__p_wxRegion
,
47333 _swigt__p_wxPoint2D
,
47337 _swigt__p_wxPySizer
,
47338 _swigt__p_wxVisualAttributes
,
47339 _swigt__p_wxNotifyEvent
,
47340 _swigt__p_wxPyEvent
,
47341 _swigt__p_wxPropagationDisabler
,
47342 _swigt__p_form_ops_t
,
47343 _swigt__p_wxAppTraits
,
47344 _swigt__p_wxArrayString
,
47345 _swigt__p_wxShowEvent
,
47346 _swigt__p_wxToolTip
,
47347 _swigt__p_wxMoveEvent
,
47348 _swigt__p_wxSizeEvent
,
47349 _swigt__p_wxActivateEvent
,
47350 _swigt__p_wxIconizeEvent
,
47351 _swigt__p_wxMaximizeEvent
,
47352 _swigt__p_wxQueryNewPaletteEvent
,
47353 _swigt__p_wxWindowCreateEvent
,
47354 _swigt__p_wxIdleEvent
,
47355 _swigt__p_wxDateEvent
,
47356 _swigt__p_wxMenuItem
,
47357 _swigt__p_wxStaticBox
,
47359 _swigt__p_wxDuplexMode
,
47360 _swigt__p_wxTIFFHandler
,
47361 _swigt__p_wxXPMHandler
,
47362 _swigt__p_wxPNMHandler
,
47363 _swigt__p_wxJPEGHandler
,
47364 _swigt__p_wxPCXHandler
,
47365 _swigt__p_wxGIFHandler
,
47366 _swigt__p_wxPNGHandler
,
47367 _swigt__p_wxANIHandler
,
47368 _swigt__p_wxMemoryFSHandler
,
47369 _swigt__p_wxZipFSHandler
,
47370 _swigt__p_wxInternetFSHandler
,
47371 _swigt__p_wxPyFileSystemHandler
,
47372 _swigt__p_wxEvtHandler
,
47373 _swigt__p_wxCURHandler
,
47374 _swigt__p_wxICOHandler
,
47375 _swigt__p_wxBMPHandler
,
47376 _swigt__p_wxImageHandler
,
47377 _swigt__p_wxFileSystemHandler
,
47379 _swigt__p_wxButton
,
47380 _swigt__p_wxGBSpan
,
47381 _swigt__p_wxPropagateOnce
,
47382 _swigt__p_wxAcceleratorTable
,
47383 _swigt__p_wxStdDialogButtonSizer
,
47385 _swigt__p_wxGBPosition
,
47388 _swigt__p_wxScrollWinEvent
,
47389 _swigt__p_wxPaperSize
,
47390 _swigt__p_wxImageHistogram
,
47392 _swigt__p_wxCursor
,
47393 _swigt__p_wxObject
,
47394 _swigt__p_wxInputStream
,
47395 _swigt__p_wxOutputStream
,
47396 _swigt__p_wxPyInputStream
,
47397 _swigt__p_wxDateTime
,
47398 _swigt__p_wxKeyEvent
,
47399 _swigt__p_wxNavigationKeyEvent
,
47400 _swigt__p_wxWindowDestroyEvent
,
47401 _swigt__p_unsigned_long
,
47402 _swigt__p_wxWindow
,
47403 _swigt__p_wxMenuBar
,
47404 _swigt__p_wxFileSystem
,
47405 _swigt__p_wxBitmap
,
47406 _swigt__unsigned_int
,
47407 _swigt__p_unsigned_int
,
47408 _swigt__p_wxMenuEvent
,
47409 _swigt__p_wxContextMenuEvent
,
47410 _swigt__p_unsigned_char
,
47411 _swigt__p_wxEraseEvent
,
47412 _swigt__p_wxMouseEvent
,
47413 _swigt__p_wxCloseEvent
,
47415 _swigt__p_wxCommandEvent
,
47416 _swigt__p_wxPyCommandEvent
,
47417 _swigt__p_wxPyDropTarget
,
47418 _swigt__p_wxQuantize
,
47419 _swigt__p_wxFocusEvent
,
47420 _swigt__p_wxChildFocusEvent
,
47421 _swigt__p_wxDropFilesEvent
,
47422 _swigt__p_wxControlWithItems
,
47423 _swigt__p_wxColour
,
47424 _swigt__p_wxValidator
,
47425 _swigt__p_wxPyValidator
,
47430 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47432 static swig_const_info swig_const_table
[] = {
47433 {0, 0, 0, 0.0, 0, 0}};
47444 /* Python-specific SWIG API */
47445 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47446 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47447 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47449 /* -----------------------------------------------------------------------------
47450 * global variable support code.
47451 * ----------------------------------------------------------------------------- */
47453 typedef struct swig_globalvar
{
47454 char *name
; /* Name of global variable */
47455 PyObject
*(*get_attr
)(); /* Return the current value */
47456 int (*set_attr
)(PyObject
*); /* Set the value */
47457 struct swig_globalvar
*next
;
47460 typedef struct swig_varlinkobject
{
47462 swig_globalvar
*vars
;
47463 } swig_varlinkobject
;
47466 swig_varlink_repr(swig_varlinkobject
*v
) {
47468 return PyString_FromString("<Swig global variables>");
47472 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47473 swig_globalvar
*var
;
47475 fprintf(fp
,"Swig global variables { ");
47476 for (var
= v
->vars
; var
; var
=var
->next
) {
47477 fprintf(fp
,"%s", var
->name
);
47478 if (var
->next
) fprintf(fp
,", ");
47480 fprintf(fp
," }\n");
47485 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47486 swig_globalvar
*var
= v
->vars
;
47488 if (strcmp(var
->name
,n
) == 0) {
47489 return (*var
->get_attr
)();
47493 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47498 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47499 swig_globalvar
*var
= v
->vars
;
47501 if (strcmp(var
->name
,n
) == 0) {
47502 return (*var
->set_attr
)(p
);
47506 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47510 static PyTypeObject varlinktype
= {
47511 PyObject_HEAD_INIT(0)
47512 0, /* Number of items in variable part (ob_size) */
47513 (char *)"swigvarlink", /* Type name (tp_name) */
47514 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47515 0, /* Itemsize (tp_itemsize) */
47516 0, /* Deallocator (tp_dealloc) */
47517 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47518 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47519 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47520 0, /* tp_compare */
47521 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47522 0, /* tp_as_number */
47523 0, /* tp_as_sequence */
47524 0, /* tp_as_mapping */
47528 0, /* tp_getattro */
47529 0, /* tp_setattro */
47530 0, /* tp_as_buffer */
47533 #if PY_VERSION_HEX >= 0x02000000
47534 0, /* tp_traverse */
47537 #if PY_VERSION_HEX >= 0x02010000
47538 0, /* tp_richcompare */
47539 0, /* tp_weaklistoffset */
47541 #if PY_VERSION_HEX >= 0x02020000
47542 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47544 #if PY_VERSION_HEX >= 0x02030000
47547 #ifdef COUNT_ALLOCS
47548 0,0,0,0 /* tp_alloc -> tp_next */
47552 /* Create a variable linking object for use later */
47554 SWIG_Python_newvarlink(void) {
47555 swig_varlinkobject
*result
= 0;
47556 result
= PyMem_NEW(swig_varlinkobject
,1);
47557 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47558 result
->ob_type
= &varlinktype
;
47560 result
->ob_refcnt
= 0;
47561 Py_XINCREF((PyObject
*) result
);
47562 return ((PyObject
*) result
);
47566 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47567 swig_varlinkobject
*v
;
47568 swig_globalvar
*gv
;
47569 v
= (swig_varlinkobject
*) p
;
47570 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47571 gv
->name
= (char *) malloc(strlen(name
)+1);
47572 strcpy(gv
->name
,name
);
47573 gv
->get_attr
= get_attr
;
47574 gv
->set_attr
= set_attr
;
47575 gv
->next
= v
->vars
;
47579 /* -----------------------------------------------------------------------------
47580 * constants/methods manipulation
47581 * ----------------------------------------------------------------------------- */
47583 /* Install Constants */
47585 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47588 for (i
= 0; constants
[i
].type
; i
++) {
47589 switch(constants
[i
].type
) {
47591 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47593 case SWIG_PY_FLOAT
:
47594 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47596 case SWIG_PY_STRING
:
47597 if (constants
[i
].pvalue
) {
47598 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47600 Py_INCREF(Py_None
);
47604 case SWIG_PY_POINTER
:
47605 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47607 case SWIG_PY_BINARY
:
47608 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47615 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47621 /* -----------------------------------------------------------------------------*/
47622 /* Fix SwigMethods to carry the callback ptrs when needed */
47623 /* -----------------------------------------------------------------------------*/
47626 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47627 swig_const_info
*const_table
,
47628 swig_type_info
**types
,
47629 swig_type_info
**types_initial
) {
47631 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47632 char *c
= methods
[i
].ml_doc
;
47633 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47635 swig_const_info
*ci
= 0;
47636 char *name
= c
+ 10;
47637 for (j
= 0; const_table
[j
].type
; j
++) {
47638 if (strncmp(const_table
[j
].name
, name
,
47639 strlen(const_table
[j
].name
)) == 0) {
47640 ci
= &(const_table
[j
]);
47645 size_t shift
= (ci
->ptype
) - types
;
47646 swig_type_info
*ty
= types_initial
[shift
];
47647 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47648 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47649 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47651 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47652 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47654 strncpy(buff
, "swig_ptr: ", 10);
47656 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47657 methods
[i
].ml_doc
= ndoc
;
47663 /* -----------------------------------------------------------------------------*
47664 * Initialize type list
47665 * -----------------------------------------------------------------------------*/
47667 #if PY_MAJOR_VERSION < 2
47668 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47669 is copied out of Python/modsupport.c in python version 2.3.4 */
47671 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47674 if (!PyModule_Check(m
)) {
47675 PyErr_SetString(PyExc_TypeError
,
47676 "PyModule_AddObject() needs module as first arg");
47680 PyErr_SetString(PyExc_TypeError
,
47681 "PyModule_AddObject() needs non-NULL value");
47685 dict
= PyModule_GetDict(m
);
47686 if (dict
== NULL
) {
47687 /* Internal error -- modules must have a dict! */
47688 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47689 PyModule_GetName(m
));
47692 if (PyDict_SetItemString(dict
, name
, o
))
47699 static swig_type_info
**
47700 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47701 static PyMethodDef swig_empty_runtime_method_table
[] = {
47703 NULL
, NULL
, 0, NULL
47707 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47708 swig_empty_runtime_method_table
);
47709 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47710 if (pointer
&& module) {
47711 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47713 return type_list_handle
;
47716 static swig_type_info
**
47717 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47718 swig_type_info
**type_pointer
;
47720 /* first check if module already created */
47721 type_pointer
= SWIG_Python_GetTypeListHandle();
47722 if (type_pointer
) {
47723 return type_pointer
;
47725 /* create a new module and variable */
47726 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47734 /* -----------------------------------------------------------------------------*
47735 * Partial Init method
47736 * -----------------------------------------------------------------------------*/
47738 #ifdef SWIG_LINK_RUNTIME
47742 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47748 SWIGEXPORT(void) SWIG_init(void) {
47749 static PyObject
*SWIG_globals
= 0;
47750 static int typeinit
= 0;
47753 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47755 /* Fix SwigMethods to carry the callback ptrs when needed */
47756 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47758 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47759 d
= PyModule_GetDict(m
);
47762 #ifdef SWIG_LINK_RUNTIME
47763 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47765 # ifndef SWIG_STATIC_RUNTIME
47766 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47769 for (i
= 0; swig_types_initial
[i
]; i
++) {
47770 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47774 SWIG_InstallConstants(d
,swig_const_table
);
47777 #ifndef wxPyUSE_EXPORT
47778 // Make our API structure a CObject so other modules can import it
47779 // from this module.
47780 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47781 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47786 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47789 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47792 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47795 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47798 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47801 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47804 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47807 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47810 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47813 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47816 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47819 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47822 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47825 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47828 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47831 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47834 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47837 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47840 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47843 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47846 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47849 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47852 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47855 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47858 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47861 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47864 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47867 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47870 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47873 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47876 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47879 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47882 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47885 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47888 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47891 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47894 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47897 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47900 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47903 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47906 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47909 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47912 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47915 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47918 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47921 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47924 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47927 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47930 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47933 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47936 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47939 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47942 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47945 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47948 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47951 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47954 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47957 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47960 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47963 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47966 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47969 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47972 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47975 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47978 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47981 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47984 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47987 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47990 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47993 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47996 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47999 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
48002 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
48005 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48008 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48011 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48014 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48017 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48020 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48023 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48026 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48029 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48032 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48035 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48038 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48041 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48044 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48047 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48050 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48053 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48056 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48059 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48062 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48065 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48068 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48071 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48074 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48077 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48080 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48083 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48086 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48089 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48092 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48095 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48098 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48101 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48104 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48107 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48110 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48113 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48116 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48119 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48122 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48125 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48128 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48131 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48134 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48137 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48140 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48143 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48146 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48149 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48152 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48155 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48158 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48161 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48164 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48167 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48170 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48173 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48176 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48179 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48182 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48185 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48188 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48191 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48194 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48197 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48200 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48203 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48206 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48209 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48212 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48215 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48218 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48221 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48224 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48227 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48230 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48233 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48236 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48239 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48242 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48245 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48248 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48251 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48254 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48257 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48260 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48263 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48266 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48269 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48272 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48275 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48278 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48281 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48284 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48287 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48290 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48293 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48296 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48299 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48302 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48305 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48308 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48311 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48314 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48317 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48320 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48323 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48326 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48329 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48332 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48335 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48338 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48341 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48344 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48347 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48350 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48353 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48356 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48359 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48362 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48365 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48368 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48371 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48374 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48377 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48380 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48383 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48386 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48389 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48392 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48395 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48398 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48401 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48404 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48407 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48410 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48413 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48416 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48419 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48422 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48425 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48428 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48431 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48434 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48437 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48440 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48443 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48446 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48449 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48452 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48455 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48458 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48461 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48464 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48467 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48470 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48473 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48476 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48479 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48482 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48485 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48488 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48491 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48494 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48497 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48500 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48503 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48506 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48509 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48512 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48515 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48518 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48521 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48524 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48527 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48530 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48533 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48536 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48539 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48542 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48545 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48548 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48551 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48554 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48557 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48560 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48563 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48566 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48569 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48572 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48575 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48578 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48581 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48584 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48587 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48590 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48593 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48596 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48599 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48602 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48605 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48608 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48611 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48614 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48617 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48620 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48623 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48626 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48629 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48632 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48635 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48638 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48641 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48644 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48647 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48650 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48653 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48656 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48659 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48662 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48665 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48668 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48671 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48674 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48677 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48680 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48683 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
48686 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
48689 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48692 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48695 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48698 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48701 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48704 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48707 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48710 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48713 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48716 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48719 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48722 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48725 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48728 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48731 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48734 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48737 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48740 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48743 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48746 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48749 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48752 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48755 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48758 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48761 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48764 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48767 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48770 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48773 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48776 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48779 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48782 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48785 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48788 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48791 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48794 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48797 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48800 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48803 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48806 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48809 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48812 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48815 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48818 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48821 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48824 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48827 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48830 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48833 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48836 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48839 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48842 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48845 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48848 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48851 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48854 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48857 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48860 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48863 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48866 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48869 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48872 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48875 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48878 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48881 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48884 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48887 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48890 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48893 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48896 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48899 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48902 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48905 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48908 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48911 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48914 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48917 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48920 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48923 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48926 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48929 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48932 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48935 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48938 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48941 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48944 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48947 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48950 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48953 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48956 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48959 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48962 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48965 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48968 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48971 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48974 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48977 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48980 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48983 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48986 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48989 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48992 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48995 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48998 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
49001 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
49004 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
49007 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
49010 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49013 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49016 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49019 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49022 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49025 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49028 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49031 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49034 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49037 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49040 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49043 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49046 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49049 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49052 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49055 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49058 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49061 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49064 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49067 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49070 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49073 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49076 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49079 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49082 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49085 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49088 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49091 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49094 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49097 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49100 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49103 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49106 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49109 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49112 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49115 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49118 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49121 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49124 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49127 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49130 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49133 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49136 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49139 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49142 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49145 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49148 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49151 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49154 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49157 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49160 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49163 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49166 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49169 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49172 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49175 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49178 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49181 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49184 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49187 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49190 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49193 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49196 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49199 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49202 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49205 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49208 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49211 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49214 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49217 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49220 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49223 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49226 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49229 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49232 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49235 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49238 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49241 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49244 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49247 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49250 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49253 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49256 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49259 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49262 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49265 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49268 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49271 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49274 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49277 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49280 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49283 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49286 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49289 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49292 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49295 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49298 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49301 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49304 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49307 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49310 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49313 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49316 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49319 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49322 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49325 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49328 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49331 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49334 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49337 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49340 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49343 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49346 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49349 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49352 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49355 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49358 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49361 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49364 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49367 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49370 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49373 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49376 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49379 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49382 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49385 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49388 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49391 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49394 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49397 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49400 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49403 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49406 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49409 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49412 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49415 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49418 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49421 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49424 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49427 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49430 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49433 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49436 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49439 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49442 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49445 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49448 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49450 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49451 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49453 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49456 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49459 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49462 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49465 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49468 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49471 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49474 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49477 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49480 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49483 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49486 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49489 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49492 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49495 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49498 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49501 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49504 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49507 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49510 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49513 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49516 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49519 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49522 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49525 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49528 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49531 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49534 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49537 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49540 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49543 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49546 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49549 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49552 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49555 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49558 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49561 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49564 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49567 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49570 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49573 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49576 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49579 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49582 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49585 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49588 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49591 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49594 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49597 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49600 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49603 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49605 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49606 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49608 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49611 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49614 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49617 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49620 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49623 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49626 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49629 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49631 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49632 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49633 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49634 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49635 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49636 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49637 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49638 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49639 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49640 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49642 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49645 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49647 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49648 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49649 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49650 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49651 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49652 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49654 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49657 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49660 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49663 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49666 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49669 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49672 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49675 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49678 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49681 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49684 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49687 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49690 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49693 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49696 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49699 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49701 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49702 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49703 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49704 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49705 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49706 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49709 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49710 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49711 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49712 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49713 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49714 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49715 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49716 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49717 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49718 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49719 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49720 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49721 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49722 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49723 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49724 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49725 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49726 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49727 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49728 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49729 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49730 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49731 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49732 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49733 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49734 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49735 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49736 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49737 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49738 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49739 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49740 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49741 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49742 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49743 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49744 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49745 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49746 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49747 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49748 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49749 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49750 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49751 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49752 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49753 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49754 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49755 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49756 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49757 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49758 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49759 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49760 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49761 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49762 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49763 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49764 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49765 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49766 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49767 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49768 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49769 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49770 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49771 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49772 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49773 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49774 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49775 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49776 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49777 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49778 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49779 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49780 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49781 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49782 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49783 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49784 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49785 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49786 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49787 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49788 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49789 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49790 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49791 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49792 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49793 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49794 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49795 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49796 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49797 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49798 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49799 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49800 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49801 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49802 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49803 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49804 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49805 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49806 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49807 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49808 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49809 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49810 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49811 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49812 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49813 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49814 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49815 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49817 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49820 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49823 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49826 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49829 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49832 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49835 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49838 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49841 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49844 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49847 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49850 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49853 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49855 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49857 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49860 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49863 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49866 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49869 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49872 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49874 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49875 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49877 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49880 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49883 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49886 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49889 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49891 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49892 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49894 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49897 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49900 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49902 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49904 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49907 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49910 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49913 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49916 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49919 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49922 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49925 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49928 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49931 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49934 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49937 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49940 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49943 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49946 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49949 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49952 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49955 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49958 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49961 // Initialize threading, some globals and such
49965 // Although these are defined in __version__ they need to be here too so
49966 // that an assert can be done to ensure that the wxPython and the wxWindows
49968 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49969 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49970 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));