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_wxPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxNcPaintEvent 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_wxImage_HSVValue swig_types[36]
1379 #define SWIGTYPE_p_int swig_types[37]
1380 #define SWIGTYPE_p_wxSize swig_types[38]
1381 #define SWIGTYPE_p_wxDC swig_types[39]
1382 #define SWIGTYPE_p_wxPySizer swig_types[40]
1383 #define SWIGTYPE_p_wxVisualAttributes swig_types[41]
1384 #define SWIGTYPE_p_wxImage_RGBValue swig_types[42]
1385 #define SWIGTYPE_p_wxNotifyEvent swig_types[43]
1386 #define SWIGTYPE_p_wxPyEvent swig_types[44]
1387 #define SWIGTYPE_p_wxPropagationDisabler swig_types[45]
1388 #define SWIGTYPE_p_form_ops_t swig_types[46]
1389 #define SWIGTYPE_p_wxAppTraits swig_types[47]
1390 #define SWIGTYPE_p_wxArrayString swig_types[48]
1391 #define SWIGTYPE_p_wxShowEvent swig_types[49]
1392 #define SWIGTYPE_p_wxToolTip swig_types[50]
1393 #define SWIGTYPE_p_wxMoveEvent swig_types[51]
1394 #define SWIGTYPE_p_wxSizeEvent swig_types[52]
1395 #define SWIGTYPE_p_wxActivateEvent swig_types[53]
1396 #define SWIGTYPE_p_wxIconizeEvent swig_types[54]
1397 #define SWIGTYPE_p_wxMaximizeEvent swig_types[55]
1398 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[56]
1399 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[57]
1400 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
1401 #define SWIGTYPE_p_wxDateEvent swig_types[59]
1402 #define SWIGTYPE_p_wxMenuItem swig_types[60]
1403 #define SWIGTYPE_p_wxStaticBox swig_types[61]
1404 #define SWIGTYPE_p_long swig_types[62]
1405 #define SWIGTYPE_p_wxDuplexMode swig_types[63]
1406 #define SWIGTYPE_p_wxTIFFHandler swig_types[64]
1407 #define SWIGTYPE_p_wxXPMHandler swig_types[65]
1408 #define SWIGTYPE_p_wxPNMHandler swig_types[66]
1409 #define SWIGTYPE_p_wxJPEGHandler swig_types[67]
1410 #define SWIGTYPE_p_wxPCXHandler swig_types[68]
1411 #define SWIGTYPE_p_wxGIFHandler swig_types[69]
1412 #define SWIGTYPE_p_wxPNGHandler swig_types[70]
1413 #define SWIGTYPE_p_wxANIHandler swig_types[71]
1414 #define SWIGTYPE_p_wxPyImageHandler swig_types[72]
1415 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[73]
1416 #define SWIGTYPE_p_wxZipFSHandler swig_types[74]
1417 #define SWIGTYPE_p_wxInternetFSHandler swig_types[75]
1418 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[76]
1419 #define SWIGTYPE_p_wxEvtHandler swig_types[77]
1420 #define SWIGTYPE_p_wxCURHandler swig_types[78]
1421 #define SWIGTYPE_p_wxICOHandler swig_types[79]
1422 #define SWIGTYPE_p_wxBMPHandler swig_types[80]
1423 #define SWIGTYPE_p_wxImageHandler swig_types[81]
1424 #define SWIGTYPE_p_wxFileSystemHandler swig_types[82]
1425 #define SWIGTYPE_p_wxRect swig_types[83]
1426 #define SWIGTYPE_p_wxButton swig_types[84]
1427 #define SWIGTYPE_p_wxGBSpan swig_types[85]
1428 #define SWIGTYPE_p_wxPropagateOnce swig_types[86]
1429 #define SWIGTYPE_p_wxAcceleratorTable swig_types[87]
1430 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[88]
1431 #define SWIGTYPE_p_char swig_types[89]
1432 #define SWIGTYPE_p_wxGBPosition swig_types[90]
1433 #define SWIGTYPE_p_wxImage swig_types[91]
1434 #define SWIGTYPE_p_wxFrame swig_types[92]
1435 #define SWIGTYPE_p_wxScrollWinEvent swig_types[93]
1436 #define SWIGTYPE_p_wxPaperSize swig_types[94]
1437 #define SWIGTYPE_p_wxImageHistogram swig_types[95]
1438 #define SWIGTYPE_p_wxPoint swig_types[96]
1439 #define SWIGTYPE_p_wxCursor swig_types[97]
1440 #define SWIGTYPE_p_wxObject swig_types[98]
1441 #define SWIGTYPE_p_wxInputStream swig_types[99]
1442 #define SWIGTYPE_p_wxOutputStream swig_types[100]
1443 #define SWIGTYPE_p_wxPyInputStream swig_types[101]
1444 #define SWIGTYPE_p_wxDateTime swig_types[102]
1445 #define SWIGTYPE_p_wxKeyEvent swig_types[103]
1446 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[104]
1447 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[105]
1448 #define SWIGTYPE_p_unsigned_long swig_types[106]
1449 #define SWIGTYPE_p_wxWindow swig_types[107]
1450 #define SWIGTYPE_p_wxMenuBar swig_types[108]
1451 #define SWIGTYPE_p_wxFileSystem swig_types[109]
1452 #define SWIGTYPE_p_wxBitmap swig_types[110]
1453 #define SWIGTYPE_unsigned_int swig_types[111]
1454 #define SWIGTYPE_p_unsigned_int swig_types[112]
1455 #define SWIGTYPE_p_wxMenuEvent swig_types[113]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[114]
1457 #define SWIGTYPE_p_unsigned_char swig_types[115]
1458 #define SWIGTYPE_p_wxMouseEvent swig_types[116]
1459 #define SWIGTYPE_p_wxEraseEvent swig_types[117]
1460 #define SWIGTYPE_p_wxCloseEvent swig_types[118]
1461 #define SWIGTYPE_p_wxPyApp swig_types[119]
1462 #define SWIGTYPE_p_wxCommandEvent swig_types[120]
1463 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
1464 #define SWIGTYPE_p_wxPyDropTarget swig_types[122]
1465 #define SWIGTYPE_p_wxQuantize swig_types[123]
1466 #define SWIGTYPE_p_wxFocusEvent swig_types[124]
1467 #define SWIGTYPE_p_wxChildFocusEvent swig_types[125]
1468 #define SWIGTYPE_p_wxDropFilesEvent swig_types[126]
1469 #define SWIGTYPE_p_wxControlWithItems swig_types[127]
1470 #define SWIGTYPE_p_wxColour swig_types[128]
1471 #define SWIGTYPE_p_wxValidator swig_types[129]
1472 #define SWIGTYPE_p_wxPyValidator swig_types[130]
1473 static swig_type_info
*swig_types
[132];
1475 /* -------- TYPES TABLE (END) -------- */
1478 /*-----------------------------------------------
1479 @(target):= _core_.so
1480 ------------------------------------------------*/
1481 #define SWIG_init init_core_
1483 #define SWIG_name "_core_"
1485 #include "wx/wxPython/wxPython_int.h"
1486 #include "wx/wxPython/pyclasses.h"
1489 #ifndef wxPyUSE_EXPORT
1490 // Helper functions for dealing with SWIG objects and such. These are
1491 // located here so they know about the SWIG types and functions declared
1492 // in the wrapper code.
1494 #include <wx/hashmap.h>
1495 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1498 // Maintains a hashmap of className to swig_type_info pointers. Given the
1499 // name of a class either looks up the type info in the cache, or scans the
1500 // SWIG tables for it.
1501 extern PyObject
* wxPyPtrTypeMap
;
1503 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1505 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1507 if (typeInfoCache
== NULL
)
1508 typeInfoCache
= new wxPyTypeInfoHashMap
;
1510 wxString
name(className
);
1511 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1514 // it wasn't in the cache, so look it up from SWIG
1515 name
.Append(wxT(" *"));
1516 swigType
= SWIG_TypeQuery(name
.mb_str());
1518 // if it still wasn't found, try looking for a mapped name
1523 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1524 (char*)(const char*)name
.mbc_str())) != NULL
) {
1525 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1526 name
.Append(wxT(" *"));
1527 swigType
= SWIG_TypeQuery(name
.mb_str());
1531 // and add it to the map if found
1532 (*typeInfoCache
)[className
] = swigType
;
1539 // Check if a class name is a type known to SWIG
1540 bool wxPyCheckSwigType(const wxChar
* className
) {
1542 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1543 return swigType
!= NULL
;
1547 // Given a pointer to a C++ object and a class name, construct a Python proxy
1549 PyObject
* wxPyConstructObject(void* ptr
,
1550 const wxChar
* className
,
1553 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1554 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1556 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1560 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1561 // Ensures that the proxy object is of the specified (or derived) type. If
1562 // not able to perform the conversion then a Python exception is set and the
1563 // error should be handled properly in the caller. Returns True on success.
1564 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1565 const wxChar
* className
) {
1567 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1568 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1570 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1574 // Make a SWIGified pointer object suitable for a .this attribute
1575 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1577 PyObject
* robj
= NULL
;
1579 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1580 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1582 #ifdef SWIG_COBJECT_TYPES
1583 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1587 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1588 PyString_FromString(result
) : 0;
1596 // Python's PyInstance_Check does not return True for instances of new-style
1597 // classes. This should get close enough for both new and old classes but I
1598 // should re-evaluate the need for doing instance checks...
1599 bool wxPyInstance_Check(PyObject
* obj
) {
1600 return PyObject_HasAttrString(obj
, "__class__") != 0;
1605 // This one checks if the object is an instance of a SWIG proxy class (it has
1606 // a .this attribute, and the .this attribute is a PySwigObject.)
1607 bool wxPySwigInstance_Check(PyObject
* obj
) {
1608 static PyObject
* this_str
= NULL
;
1609 if (this_str
== NULL
)
1610 this_str
= PyString_FromString("this");
1612 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
1614 bool retval
= (PySwigObject_Check(this_attr
) != 0);
1615 Py_DECREF(this_attr
);
1625 // Export a C API in a struct. Other modules will be able to load this from
1626 // the wx._core_ module and will then have safe access to these functions,
1627 // even if they are located in another shared library.
1628 static wxPyCoreAPI API
= {
1631 wxPyConstructObject
,
1635 wxPyBeginAllowThreads
,
1636 wxPyEndAllowThreads
,
1637 wxPyBeginBlockThreads
,
1638 wxPyEndBlockThreads
,
1650 wxPoint_LIST_helper
,
1651 wxBitmap_LIST_helper
,
1652 wxString_LIST_helper
,
1653 wxAcceleratorEntry_LIST_helper
,
1662 wxPySimple_typecheck
,
1665 wxPyCBH_setCallbackInfo
,
1666 wxPyCBH_findCallback
,
1667 wxPyCBH_callCallback
,
1668 wxPyCBH_callCallbackObj
,
1674 wxPy2int_seq_helper
,
1675 wxPy4int_seq_helper
,
1676 wxArrayString2PyList_helper
,
1677 wxArrayInt2PyList_helper
,
1679 wxPyClientData_dtor
,
1681 wxPyOORClientData_dtor
,
1683 wxPyCBInputStream_create
,
1684 wxPyCBInputStream_copy
,
1687 wxPySwigInstance_Check
,
1696 #if !WXWIN_COMPATIBILITY_2_4
1697 #define wxHIDE_READONLY 0
1701 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1702 #define SWIG_From_int PyInt_FromLong
1705 static const wxString
wxPyEmptyString(wxEmptyString
);
1706 static wxString
wxObject_GetClassName(wxObject
*self
){
1707 return self
->GetClassInfo()->GetClassName();
1709 static void wxObject_Destroy(wxObject
*self
){
1714 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1722 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1725 if (value
< min_value
) {
1727 PyErr_Format(PyExc_OverflowError
,
1728 "value %ld is less than '%s' minimum %ld",
1729 value
, errmsg
, min_value
);
1732 } else if (value
> max_value
) {
1734 PyErr_Format(PyExc_OverflowError
,
1735 "value %ld is greater than '%s' maximum %ld",
1736 value
, errmsg
, max_value
);
1745 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1747 if (PyNumber_Check(obj
)) {
1748 if (val
) *val
= PyInt_AsLong(obj
);
1752 SWIG_type_error("number", obj
);
1758 #if INT_MAX != LONG_MAX
1760 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1762 const char* errmsg
= val
? "int" : (char*)0;
1764 if (SWIG_AsVal_long(obj
, &v
)) {
1765 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1766 if (val
) *val
= (int)(v
);
1775 SWIG_type_error(errmsg
, obj
);
1781 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1783 return SWIG_AsVal_long(obj
,(long*)val
);
1789 SWIG_As_int(PyObject
* obj
)
1792 if (!SWIG_AsVal_int(obj
, &v
)) {
1794 this is needed to make valgrind/purify happier.
1796 memset((void*)&v
, 0, sizeof(int));
1803 SWIG_Check_int(PyObject
* obj
)
1805 return SWIG_AsVal_int(obj
, (int*)0);
1808 static PyObject
*wxSize_Get(wxSize
*self
){
1809 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1810 PyObject
* tup
= PyTuple_New(2);
1811 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1812 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1813 wxPyEndBlockThreads(blocked
);
1818 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1820 if (PyNumber_Check(obj
)) {
1821 if (val
) *val
= PyFloat_AsDouble(obj
);
1825 SWIG_type_error("number", obj
);
1831 SWIGINTERNSHORT
double
1832 SWIG_As_double(PyObject
* obj
)
1835 if (!SWIG_AsVal_double(obj
, &v
)) {
1837 this is needed to make valgrind/purify happier.
1839 memset((void*)&v
, 0, sizeof(double));
1846 SWIG_Check_double(PyObject
* obj
)
1848 return SWIG_AsVal_double(obj
, (double*)0);
1852 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1853 #define SWIG_From_double PyFloat_FromDouble
1856 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1860 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1861 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1862 PyObject
* tup
= PyTuple_New(2);
1863 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1864 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1865 wxPyEndBlockThreads(blocked
);
1869 SWIGINTERNSHORT
long
1870 SWIG_As_long(PyObject
* obj
)
1873 if (!SWIG_AsVal_long(obj
, &v
)) {
1875 this is needed to make valgrind/purify happier.
1877 memset((void*)&v
, 0, sizeof(long));
1884 SWIG_Check_long(PyObject
* obj
)
1886 return SWIG_AsVal_long(obj
, (long*)0);
1889 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1893 static PyObject
*wxPoint_Get(wxPoint
*self
){
1894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1895 PyObject
* tup
= PyTuple_New(2);
1896 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1897 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1898 wxPyEndBlockThreads(blocked
);
1901 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1904 self
->width
= width
;
1905 self
->height
= height
;
1907 static PyObject
*wxRect_Get(wxRect
*self
){
1908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1909 PyObject
* tup
= PyTuple_New(4);
1910 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1911 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1912 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1913 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1914 wxPyEndBlockThreads(blocked
);
1918 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1921 wxRect
dest(0,0,0,0);
1924 reg1
.Intersect(reg2
);
1925 dest
= reg1
.GetBox();
1927 if (dest
!= wxRect(0,0,0,0)) {
1928 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1929 wxRect
* newRect
= new wxRect(dest
);
1930 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1931 wxPyEndBlockThreads(blocked
);
1939 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1945 } else if (target
== Py_None
) {
1949 if (!PyTuple_Check(target
)) {
1951 target
= PyTuple_New(1);
1952 PyTuple_SetItem(target
, 0, o2
);
1954 o3
= PyTuple_New(1);
1955 PyTuple_SetItem(o3
, 0, o
);
1958 target
= PySequence_Concat(o2
, o3
);
1966 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1970 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1971 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1972 PyObject
* tup
= PyTuple_New(2);
1973 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1974 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1975 wxPyEndBlockThreads(blocked
);
1979 #include "wx/wxPython/pyistream.h"
1981 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1982 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1984 return new wxPyInputStream(wxis
);
1989 SWIGINTERNSHORT PyObject
*
1990 SWIG_From_char(char c
)
1992 return PyString_FromStringAndSize(&c
,1);
1996 SWIGINTERNSHORT PyObject
*
1997 SWIG_From_unsigned_SS_long(unsigned long value
)
1999 return (value
> LONG_MAX
) ?
2000 PyLong_FromUnsignedLong(value
)
2001 : PyInt_FromLong((long)(value
));
2005 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
2007 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
2009 static swig_type_info
* pchar_info
= 0;
2011 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
2012 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
2013 if (cptr
) *cptr
= vptr
;
2014 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2018 if (PyString_Check(obj
)) {
2020 *cptr
= PyString_AS_STRING(obj
);
2022 *psize
= PyString_GET_SIZE(obj
) + 1;
2029 SWIG_type_error("char *", obj
);
2036 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2038 char* cptr
; size_t csize
;
2039 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2042 char x[5] = "hello";
2044 ie, assing the array using an extra '0' char.
2046 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2047 if (csize
<= size
) {
2049 if (csize
) memcpy(val
, cptr
, csize
);
2050 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2056 PyErr_Format(PyExc_TypeError
,
2057 "a char array of maximum size %lu is expected",
2058 (unsigned long) size
);
2065 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2067 const char* errmsg
= val
? "char" : (char*)0;
2069 if (SWIG_AsVal_long(obj
, &v
)) {
2070 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2071 if (val
) *val
= (char)(v
);
2078 return SWIG_AsCharArray(obj
, val
, 1);
2083 SWIGINTERNSHORT
char
2084 SWIG_As_char(PyObject
* obj
)
2087 if (!SWIG_AsVal_char(obj
, &v
)) {
2089 this is needed to make valgrind/purify happier.
2091 memset((void*)&v
, 0, sizeof(char));
2098 SWIG_Check_char(PyObject
* obj
)
2100 return SWIG_AsVal_char(obj
, (char*)0);
2104 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2105 #define SWIG_From_long PyInt_FromLong
2108 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2109 // We use only strings for the streams, not unicode
2110 PyObject
* str
= PyObject_Str(obj
);
2112 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2115 self
->Write(PyString_AS_STRING(str
),
2116 PyString_GET_SIZE(str
));
2120 #include "wx/wxPython/pyistream.h"
2123 class wxPyFileSystemHandler
: public wxFileSystemHandler
2126 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2128 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2129 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2130 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2131 DEC_PYCALLBACK_STRING__pure(FindNext
);
2133 wxString
GetProtocol(const wxString
& location
) {
2134 return wxFileSystemHandler::GetProtocol(location
);
2137 wxString
GetLeftLocation(const wxString
& location
) {
2138 return wxFileSystemHandler::GetLeftLocation(location
);
2141 wxString
GetAnchor(const wxString
& location
) {
2142 return wxFileSystemHandler::GetAnchor(location
);
2145 wxString
GetRightLocation(const wxString
& location
) {
2146 return wxFileSystemHandler::GetRightLocation(location
);
2149 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2150 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2157 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2158 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2159 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2160 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2164 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2166 if (obj
== Py_True
) {
2167 if (val
) *val
= true;
2170 if (obj
== Py_False
) {
2171 if (val
) *val
= false;
2175 if (SWIG_AsVal_int(obj
, &res
)) {
2176 if (val
) *val
= res
? true : false;
2182 SWIG_type_error("bool", obj
);
2188 SWIGINTERNSHORT
bool
2189 SWIG_As_bool(PyObject
* obj
)
2192 if (!SWIG_AsVal_bool(obj
, &v
)) {
2194 this is needed to make valgrind/purify happier.
2196 memset((void*)&v
, 0, sizeof(bool));
2203 SWIG_Check_bool(PyObject
* obj
)
2205 return SWIG_AsVal_bool(obj
, (bool*)0);
2208 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2209 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2210 return fname
.GetFullPath();
2213 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2216 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2219 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2220 const wxBitmap
& bitmap
,
2222 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2225 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2227 if (! PyString_Check(data
)) {
2228 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2229 "Expected string object"));
2233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2234 void* ptr
= (void*)PyString_AsString(data
);
2235 size_t size
= PyString_Size(data
);
2236 wxPyEndBlockThreads(blocked
);
2238 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2242 #include "wx/wxPython/pyistream.h"
2246 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2249 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2250 SWIG_type_error("unsigned number", obj
);
2253 *val
= (unsigned long)v
;
2259 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2260 unsigned long max_value
,
2263 if (value
> max_value
) {
2265 PyErr_Format(PyExc_OverflowError
,
2266 "value %lu is greater than '%s' minimum %lu",
2267 value
, errmsg
, max_value
);
2276 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2278 const char* errmsg
= val
? "unsigned char" : (char*)0;
2280 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2281 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2282 if (val
) *val
= (unsigned char)(v
);
2291 SWIG_type_error(errmsg
, obj
);
2297 SWIGINTERNSHORT
unsigned char
2298 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2301 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2303 this is needed to make valgrind/purify happier.
2305 memset((void*)&v
, 0, sizeof(unsigned char));
2312 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2314 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2318 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2319 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2324 SWIGINTERNSHORT
unsigned long
2325 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2328 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2330 this is needed to make valgrind/purify happier.
2332 memset((void*)&v
, 0, sizeof(unsigned long));
2339 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2341 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2344 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2345 wxImageHistogramEntry e
= (*self
)[key
];
2348 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
2349 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2350 wxImageHistogramEntry e
= (*self
)[key
];
2353 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2354 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2357 wxImageHistogramEntry e
= (*self
)[key
];
2361 typedef unsigned char* buffer
;
2364 // Pull the nested class out to the top level for SWIG's sake
2365 #define wxImage_RGBValue wxImage::RGBValue
2366 #define wxImage_HSVValue wxImage::HSVValue
2368 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2369 if (width
> 0 && height
> 0)
2370 return new wxImage(width
, height
, clear
);
2374 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2375 return new wxImage(bitmap
.ConvertToImage());
2377 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2378 if (DATASIZE
!= width
*height
*3) {
2379 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2383 // Copy the source data so the wxImage can clean it up later
2384 buffer copy
= (buffer
)malloc(DATASIZE
);
2386 wxPyBLOCK_THREADS(PyErr_NoMemory());
2389 memcpy(copy
, data
, DATASIZE
);
2390 return new wxImage(width
, height
, copy
, false);
2392 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2393 if (DATASIZE
!= width
*height
*3) {
2394 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2397 if (ALPHASIZE
!= width
*height
) {
2398 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2402 // Copy the source data so the wxImage can clean it up later
2403 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2404 if (dcopy
== NULL
) {
2405 wxPyBLOCK_THREADS(PyErr_NoMemory());
2408 memcpy(dcopy
, data
, DATASIZE
);
2410 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2411 if (acopy
== NULL
) {
2412 wxPyBLOCK_THREADS(PyErr_NoMemory());
2415 memcpy(acopy
, alpha
, ALPHASIZE
);
2417 return new wxImage(width
, height
, dcopy
, acopy
, false);
2419 static wxSize
wxImage_GetSize(wxImage
*self
){
2420 wxSize
size(self
->GetWidth(), self
->GetHeight());
2423 static PyObject
*wxImage_GetData(wxImage
*self
){
2424 buffer data
= self
->GetData();
2425 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2427 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2430 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2431 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2432 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2435 buffer copy
= (buffer
)malloc(DATASIZE
);
2437 wxPyBLOCK_THREADS(PyErr_NoMemory());
2440 memcpy(copy
, data
, DATASIZE
);
2441 self
->SetData(copy
, false);
2442 // wxImage takes ownership of copy...
2444 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2445 buffer data
= self
->GetData();
2446 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2448 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2451 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2452 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2453 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2456 self
->SetData(data
, true);
2458 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2459 buffer data
= self
->GetAlpha();
2463 int len
= self
->GetWidth() * self
->GetHeight();
2465 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2469 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2470 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2471 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2474 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2475 if (acopy
== NULL
) {
2476 wxPyBLOCK_THREADS(PyErr_NoMemory());
2479 memcpy(acopy
, alpha
, ALPHASIZE
);
2480 self
->SetAlpha(acopy
, false);
2481 // wxImage takes ownership of acopy...
2483 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2484 buffer data
= self
->GetAlpha();
2485 int len
= self
->GetWidth() * self
->GetHeight();
2487 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2490 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2491 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2492 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2495 self
->SetAlpha(alpha
, true);
2497 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2498 wxBitmap
bitmap(*self
, depth
);
2501 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
2502 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2503 wxBitmap
bitmap( mono
, 1 );
2506 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2507 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2508 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2509 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2510 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2511 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2512 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2513 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2514 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2515 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2516 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2517 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2518 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2519 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2520 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2522 #include <wx/quantize.h>
2524 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2525 return wxQuantize::Quantize(src
, dest
,
2528 NULL
, // eightBitData
2531 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2532 if (PyCallable_Check(func
)) {
2533 self
->Connect(id
, lastId
, eventType
,
2534 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2535 new wxPyCallback(func
));
2537 else if (func
== Py_None
) {
2538 self
->Disconnect(id
, lastId
, eventType
,
2539 (wxObjectEventFunction
)
2540 &wxPyCallback::EventThunker
);
2544 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2547 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2548 return self
->Disconnect(id
, lastId
, eventType
,
2549 (wxObjectEventFunction
)
2550 &wxPyCallback::EventThunker
);
2552 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2553 if (_self
&& _self
!= Py_None
) {
2554 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2557 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2559 self
->SetClientObject(NULL
); // This will delete it too
2565 #define wxEVT_HOTKEY -9999
2569 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2571 return self
->GetUnicodeKey();
2577 #if UINT_MAX < LONG_MAX
2578 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2579 #define SWIG_From_unsigned_SS_int SWIG_From_long
2582 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2583 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2588 #if UINT_MAX != ULONG_MAX
2590 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2592 const char* errmsg
= val
? "unsigned int" : (char*)0;
2594 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2595 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2596 if (val
) *val
= (unsigned int)(v
);
2603 SWIG_type_error(errmsg
, obj
);
2608 SWIGINTERNSHORT
unsigned int
2609 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2611 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2616 SWIGINTERNSHORT
unsigned int
2617 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2620 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2622 this is needed to make valgrind/purify happier.
2624 memset((void*)&v
, 0, sizeof(unsigned int));
2631 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2633 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2636 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2637 self
->m_size
= size
;
2639 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2640 int count
= self
->GetNumberOfFiles();
2641 wxString
* files
= self
->GetFiles();
2642 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2643 PyObject
* list
= PyList_New(count
);
2646 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2647 wxPyEndBlockThreads(blocked
);
2651 for (int i
=0; i
<count
; i
++) {
2652 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2654 wxPyEndBlockThreads(blocked
);
2659 static wxPyApp
*new_wxPyApp(){
2660 wxPythonApp
= new wxPyApp();
2663 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2665 void wxApp_CleanUp() {
2670 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2674 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2676 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2681 SWIG_type_error("char *", obj
);
2687 SWIGINTERN PyObject
*
2688 SWIG_FromCharPtr(const char* cptr
)
2691 size_t size
= strlen(cptr
);
2692 if (size
> INT_MAX
) {
2693 return SWIG_NewPointerObj((char*)(cptr
),
2694 SWIG_TypeQuery("char *"), 0);
2697 return PyString_FromStringAndSize(cptr
, size
);
2699 return PyString_FromString(cptr
);
2710 // A dummy class that raises an exception if used...
2714 wxEventLoop() { wxPyRaiseNotImplemented(); }
2715 int Run() { return 0; }
2716 void Exit(int rc
= 0) {}
2717 bool Pending() const { return false; }
2718 bool Dispatch() { return false; }
2719 bool IsRunning() const { return false; }
2720 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2721 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2726 #include <wx/evtloop.h>
2732 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2733 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2734 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2735 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2736 wxWindowList
& list
= self
->GetChildren();
2737 return wxPy_ConvertList(&list
);
2739 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2741 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2746 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2753 static long wxWindow_GetHandle(wxWindow
*self
){
2754 return wxPyGetWinHandle(self
);
2756 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2757 self
->AssociateHandle((WXWidget
)handle
);
2759 static void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
2761 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2762 return wxWindow::FindWindowById(id
, parent
);
2765 wxWindow
* wxFindWindowByName( const wxString
& name
,
2766 const wxWindow
*parent
= NULL
) {
2767 return wxWindow::FindWindowByName(name
, parent
);
2770 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2771 const wxWindow
*parent
= NULL
) {
2772 return wxWindow::FindWindowByLabel(label
, parent
);
2777 #include <wx/msw/private.h> // to get wxGetWindowId
2781 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2783 WXHWND hWnd
= (WXHWND
)_hWnd
;
2784 long id
= wxGetWindowId(hWnd
);
2785 wxWindow
* win
= new wxWindow
;
2787 parent
->AddChild(win
);
2788 win
->SetEventHandler(win
);
2791 win
->SubclassWin(hWnd
);
2792 win
->AdoptAttributesFromHWND();
2793 win
->SetupColours();
2796 wxPyRaiseNotImplemented();
2802 PyObject
* GetTopLevelWindows() {
2803 return wxPy_ConvertList(&wxTopLevelWindows
);
2807 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2808 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2809 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2811 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2813 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2814 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2815 wxMenuItemList
& list
= self
->GetMenuItems();
2816 return wxPy_ConvertList(&list
);
2818 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2819 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2820 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2821 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2822 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2823 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2824 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2825 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2826 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2827 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2828 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2829 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2830 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2831 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2832 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2833 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2834 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 return self
->Append(item
, data
);
2839 return self
->Append(item
);
2841 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2843 wxPyClientData
* data
= new wxPyClientData(clientData
);
2844 return self
->Insert(item
, pos
, data
);
2846 return self
->Insert(item
, pos
);
2848 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2849 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2851 Py_INCREF(data
->m_obj
);
2858 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2859 wxPyClientData
* data
= new wxPyClientData(clientData
);
2860 self
->SetClientObject(n
, data
);
2864 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2865 wxPyUserData
* data
= NULL
;
2867 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2868 data
= new wxPyUserData(userData
);
2869 wxPyEndBlockThreads(blocked
);
2871 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2873 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2874 wxPyUserData
* data
= NULL
;
2876 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2877 data
= new wxPyUserData(userData
);
2878 wxPyEndBlockThreads(blocked
);
2880 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2882 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2883 wxPyUserData
* data
= NULL
;
2885 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2886 data
= new wxPyUserData(userData
);
2887 wxPyEndBlockThreads(blocked
);
2889 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2894 SWIG_CheckDoubleInRange(double value
, double min_value
,
2895 double max_value
, const char* errmsg
)
2897 if (value
< min_value
) {
2899 PyErr_Format(PyExc_OverflowError
,
2900 "value %g is less than %s minimum %g",
2901 value
, errmsg
, min_value
);
2904 } else if (value
> max_value
) {
2906 PyErr_Format(PyExc_OverflowError
,
2907 "value %g is greater than %s maximum %g",
2908 value
, errmsg
, max_value
);
2917 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2919 const char* errmsg
= val
? "float" : (char*)0;
2921 if (SWIG_AsVal_double(obj
, &v
)) {
2922 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2923 if (val
) *val
= (float)(v
);
2932 SWIG_type_error(errmsg
, obj
);
2938 SWIGINTERNSHORT
float
2939 SWIG_As_float(PyObject
* obj
)
2942 if (!SWIG_AsVal_float(obj
, &v
)) {
2944 this is needed to make valgrind/purify happier.
2946 memset((void*)&v
, 0, sizeof(float));
2953 SWIG_Check_float(PyObject
* obj
)
2955 return SWIG_AsVal_float(obj
, (float*)0);
2959 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2960 #define SWIG_From_float PyFloat_FromDouble
2963 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2964 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2966 Py_INCREF(data
->m_obj
);
2974 // Figure out the type of the sizer item
2976 struct wxPySizerItemInfo
{
2978 : window(NULL
), sizer(NULL
), gotSize(false),
2979 size(wxDefaultSize
), gotPos(false), pos(-1)
2990 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2992 wxPySizerItemInfo info
;
2994 wxSize
* sizePtr
= &size
;
2996 // Find out what the type of the item is
2998 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
3003 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
3007 // try wxSize or (w,h)
3008 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
3009 info
.size
= *sizePtr
;
3010 info
.gotSize
= true;
3014 if (checkIdx
&& PyInt_Check(item
)) {
3015 info
.pos
= PyInt_AsLong(item
);
3021 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
3022 // no expected type, figure out what kind of error message to generate
3023 if ( !checkSize
&& !checkIdx
)
3024 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
3025 else if ( checkSize
&& !checkIdx
)
3026 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
3027 else if ( !checkSize
&& checkIdx
)
3028 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
3030 // can this one happen?
3031 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
3037 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3038 if (!self
->GetClientObject())
3039 self
->SetClientObject(new wxPyOORClientData(_self
));
3041 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3043 wxPyUserData
* data
= NULL
;
3044 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3045 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3046 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3047 data
= new wxPyUserData(userData
);
3048 wxPyEndBlockThreads(blocked
);
3050 // Now call the real Add method if a valid item type was found
3052 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3053 else if ( info
.sizer
)
3054 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3055 else if (info
.gotSize
)
3056 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3057 proportion
, flag
, border
, data
);
3061 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3063 wxPyUserData
* data
= NULL
;
3064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3065 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3066 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3067 data
= new wxPyUserData(userData
);
3068 wxPyEndBlockThreads(blocked
);
3070 // Now call the real Insert method if a valid item type was found
3072 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3073 else if ( info
.sizer
)
3074 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3075 else if (info
.gotSize
)
3076 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3077 proportion
, flag
, border
, data
);
3081 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3083 wxPyUserData
* data
= NULL
;
3084 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3085 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3086 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3087 data
= new wxPyUserData(userData
);
3088 wxPyEndBlockThreads(blocked
);
3090 // Now call the real Prepend method if a valid item type was found
3092 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3093 else if ( info
.sizer
)
3094 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3095 else if (info
.gotSize
)
3096 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3097 proportion
, flag
, border
, data
);
3101 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3102 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3103 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3104 wxPyEndBlockThreads(blocked
);
3106 return self
->Remove(info
.window
);
3107 else if ( info
.sizer
)
3108 return self
->Remove(info
.sizer
);
3109 else if ( info
.gotPos
)
3110 return self
->Remove(info
.pos
);
3114 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3115 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3116 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3117 wxPyEndBlockThreads(blocked
);
3119 return self
->Detach(info
.window
);
3120 else if ( info
.sizer
)
3121 return self
->Detach(info
.sizer
);
3122 else if ( info
.gotPos
)
3123 return self
->Detach(info
.pos
);
3127 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3128 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3129 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3130 wxPyEndBlockThreads(blocked
);
3132 return self
->GetItem(info
.window
);
3133 else if ( info
.sizer
)
3134 return self
->GetItem(info
.sizer
);
3135 else if ( info
.gotPos
)
3136 return self
->GetItem(info
.pos
);
3140 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3141 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3142 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3143 wxPyEndBlockThreads(blocked
);
3145 self
->SetItemMinSize(info
.window
, size
);
3146 else if ( info
.sizer
)
3147 self
->SetItemMinSize(info
.sizer
, size
);
3148 else if ( info
.gotPos
)
3149 self
->SetItemMinSize(info
.pos
, size
);
3151 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3152 wxSizerItemList
& list
= self
->GetChildren();
3153 return wxPy_ConvertList(&list
);
3155 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3156 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3157 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3158 wxPyEndBlockThreads(blocked
);
3160 return self
->Show(info
.window
, show
, recursive
);
3161 else if ( info
.sizer
)
3162 return self
->Show(info
.sizer
, show
, recursive
);
3163 else if ( info
.gotPos
)
3164 return self
->Show(info
.pos
, show
);
3168 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3169 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3170 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3171 wxPyEndBlockThreads(blocked
);
3173 return self
->IsShown(info
.window
);
3174 else if ( info
.sizer
)
3175 return self
->IsShown(info
.sizer
);
3176 else if ( info
.gotPos
)
3177 return self
->IsShown(info
.pos
);
3183 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3184 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3185 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3190 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3192 if (source
== Py_None
) {
3193 **obj
= wxGBPosition(-1,-1);
3196 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3199 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3201 if (source
== Py_None
) {
3202 **obj
= wxGBSpan(-1,-1);
3205 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3209 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3213 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 PyObject
* tup
= PyTuple_New(2);
3216 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3217 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3218 wxPyEndBlockThreads(blocked
);
3221 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3222 self
->SetRowspan(rowspan
);
3223 self
->SetColspan(colspan
);
3225 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3229 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3230 wxPyEndBlockThreads(blocked
);
3233 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3234 wxPyUserData
* data
= NULL
;
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 data
= new wxPyUserData(userData
);
3238 wxPyEndBlockThreads(blocked
);
3240 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3242 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3243 wxPyUserData
* data
= NULL
;
3245 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3246 data
= new wxPyUserData(userData
);
3247 wxPyEndBlockThreads(blocked
);
3249 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3251 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3252 wxPyUserData
* data
= NULL
;
3254 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3255 data
= new wxPyUserData(userData
);
3256 wxPyEndBlockThreads(blocked
);
3258 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3260 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3262 self
->GetEndPos(row
, col
);
3263 return wxGBPosition(row
, col
);
3265 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3267 wxPyUserData
* data
= NULL
;
3268 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3269 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3270 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3271 data
= new wxPyUserData(userData
);
3272 wxPyEndBlockThreads(blocked
);
3274 // Now call the real Add method if a valid item type was found
3276 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3277 else if ( info
.sizer
)
3278 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3279 else if (info
.gotSize
)
3280 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3281 pos
, span
, flag
, border
, data
);
3289 static int _wrap_EmptyString_set(PyObject
*) {
3290 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3295 static PyObject
*_wrap_EmptyString_get(void) {
3300 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3302 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3309 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
;
3311 wxObject
*arg1
= (wxObject
*) 0 ;
3313 PyObject
* obj0
= 0 ;
3315 (char *) "self", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3320 if (SWIG_arg_fail(1)) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 result
= wxObject_GetClassName(arg1
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3341 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxObject
*arg1
= (wxObject
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3346 (char *) "self", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3351 if (SWIG_arg_fail(1)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 wxObject_Destroy(arg1
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3369 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3371 return Py_BuildValue((char *)"");
3373 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
*resultobj
;
3375 wxSize
*arg1
= (wxSize
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3380 (char *) "self",(char *) "x", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3385 if (SWIG_arg_fail(1)) SWIG_fail
;
3387 arg2
= (int)(SWIG_As_int(obj1
));
3388 if (SWIG_arg_fail(2)) SWIG_fail
;
3390 if (arg1
) (arg1
)->x
= arg2
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxSize
*arg1
= (wxSize
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3405 (char *) "self", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3410 if (SWIG_arg_fail(1)) SWIG_fail
;
3411 result
= (int) ((arg1
)->x
);
3414 resultobj
= SWIG_From_int((int)(result
));
3422 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxSize
*arg1
= (wxSize
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3429 (char *) "self",(char *) "y", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3434 if (SWIG_arg_fail(1)) SWIG_fail
;
3436 arg2
= (int)(SWIG_As_int(obj1
));
3437 if (SWIG_arg_fail(2)) SWIG_fail
;
3439 if (arg1
) (arg1
)->y
= arg2
;
3441 Py_INCREF(Py_None
); resultobj
= Py_None
;
3448 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxSize
*arg1
= (wxSize
*) 0 ;
3452 PyObject
* obj0
= 0 ;
3454 (char *) "self", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3459 if (SWIG_arg_fail(1)) SWIG_fail
;
3460 result
= (int) ((arg1
)->y
);
3463 resultobj
= SWIG_From_int((int)(result
));
3471 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 int arg1
= (int) 0 ;
3474 int arg2
= (int) 0 ;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3479 (char *) "w",(char *) "h", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3485 arg1
= (int)(SWIG_As_int(obj0
));
3486 if (SWIG_arg_fail(1)) SWIG_fail
;
3491 arg2
= (int)(SWIG_As_int(obj1
));
3492 if (SWIG_arg_fail(2)) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3509 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
*resultobj
;
3511 wxSize
*arg1
= (wxSize
*) 0 ;
3512 PyObject
* obj0
= 0 ;
3514 (char *) "self", NULL
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3519 if (SWIG_arg_fail(1)) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3527 Py_INCREF(Py_None
); resultobj
= Py_None
;
3534 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
*resultobj
;
3536 wxSize
*arg1
= (wxSize
*) 0 ;
3540 PyObject
* obj0
= 0 ;
3541 PyObject
* obj1
= 0 ;
3543 (char *) "self",(char *) "sz", NULL
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3548 if (SWIG_arg_fail(1)) SWIG_fail
;
3551 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3569 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3571 wxSize
*arg1
= (wxSize
*) 0 ;
3575 PyObject
* obj0
= 0 ;
3576 PyObject
* obj1
= 0 ;
3578 (char *) "self",(char *) "sz", NULL
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3583 if (SWIG_arg_fail(1)) SWIG_fail
;
3586 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3604 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3606 wxSize
*arg1
= (wxSize
*) 0 ;
3610 PyObject
* obj0
= 0 ;
3611 PyObject
* obj1
= 0 ;
3613 (char *) "self",(char *) "sz", NULL
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3618 if (SWIG_arg_fail(1)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3632 resultptr
= new wxSize((wxSize
&)(result
));
3633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3641 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3643 wxSize
*arg1
= (wxSize
*) 0 ;
3647 PyObject
* obj0
= 0 ;
3648 PyObject
* obj1
= 0 ;
3650 (char *) "self",(char *) "sz", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3655 if (SWIG_arg_fail(1)) SWIG_fail
;
3658 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3669 resultptr
= new wxSize((wxSize
&)(result
));
3670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3678 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxSize
*arg1
= (wxSize
*) 0 ;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3686 (char *) "self",(char *) "sz", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3691 if (SWIG_arg_fail(1)) SWIG_fail
;
3694 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->IncTo((wxSize
const &)*arg2
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 Py_INCREF(Py_None
); resultobj
= Py_None
;
3710 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxSize
*arg1
= (wxSize
*) 0 ;
3715 PyObject
* obj0
= 0 ;
3716 PyObject
* obj1
= 0 ;
3718 (char *) "self",(char *) "sz", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3723 if (SWIG_arg_fail(1)) SWIG_fail
;
3726 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 (arg1
)->DecTo((wxSize
const &)*arg2
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 Py_INCREF(Py_None
); resultobj
= Py_None
;
3742 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxSize
*arg1
= (wxSize
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3748 PyObject
* obj1
= 0 ;
3749 PyObject
* obj2
= 0 ;
3751 (char *) "self",(char *) "w",(char *) "h", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3756 if (SWIG_arg_fail(1)) SWIG_fail
;
3758 arg2
= (int)(SWIG_As_int(obj1
));
3759 if (SWIG_arg_fail(2)) SWIG_fail
;
3762 arg3
= (int)(SWIG_As_int(obj2
));
3763 if (SWIG_arg_fail(3)) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 (arg1
)->Set(arg2
,arg3
);
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 Py_INCREF(Py_None
); resultobj
= Py_None
;
3779 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxSize
*arg1
= (wxSize
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3786 (char *) "self",(char *) "w", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3791 if (SWIG_arg_fail(1)) SWIG_fail
;
3793 arg2
= (int)(SWIG_As_int(obj1
));
3794 if (SWIG_arg_fail(2)) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 (arg1
)->SetWidth(arg2
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 Py_INCREF(Py_None
); resultobj
= Py_None
;
3810 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxSize
*arg1
= (wxSize
*) 0 ;
3814 PyObject
* obj0
= 0 ;
3815 PyObject
* obj1
= 0 ;
3817 (char *) "self",(char *) "h", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3822 if (SWIG_arg_fail(1)) SWIG_fail
;
3824 arg2
= (int)(SWIG_As_int(obj1
));
3825 if (SWIG_arg_fail(2)) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 (arg1
)->SetHeight(arg2
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 Py_INCREF(Py_None
); resultobj
= Py_None
;
3841 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxSize
*arg1
= (wxSize
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= SWIG_From_int((int)(result
));
3869 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3871 wxSize
*arg1
= (wxSize
*) 0 ;
3873 PyObject
* obj0
= 0 ;
3875 (char *) "self", NULL
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3880 if (SWIG_arg_fail(1)) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= SWIG_From_int((int)(result
));
3897 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxSize
*arg1
= (wxSize
*) 0 ;
3901 PyObject
* obj0
= 0 ;
3903 (char *) "self", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3908 if (SWIG_arg_fail(1)) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3925 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxSize
*arg1
= (wxSize
*) 0 ;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3933 (char *) "self",(char *) "size", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3938 if (SWIG_arg_fail(1)) SWIG_fail
;
3941 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 Py_INCREF(Py_None
); resultobj
= Py_None
;
3957 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxSize
*arg1
= (wxSize
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3963 (char *) "self", NULL
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3968 if (SWIG_arg_fail(1)) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 result
= (PyObject
*)wxSize_Get(arg1
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3983 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3986 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3988 return Py_BuildValue((char *)"");
3990 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3997 (char *) "self",(char *) "x", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4002 if (SWIG_arg_fail(1)) SWIG_fail
;
4004 arg2
= (double)(SWIG_As_double(obj1
));
4005 if (SWIG_arg_fail(2)) SWIG_fail
;
4007 if (arg1
) (arg1
)->x
= arg2
;
4009 Py_INCREF(Py_None
); resultobj
= Py_None
;
4016 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4020 PyObject
* obj0
= 0 ;
4022 (char *) "self", NULL
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
4026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail
;
4028 result
= (double) ((arg1
)->x
);
4031 resultobj
= SWIG_From_double((double)(result
));
4039 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4041 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4044 PyObject
* obj1
= 0 ;
4046 (char *) "self",(char *) "y", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4051 if (SWIG_arg_fail(1)) SWIG_fail
;
4053 arg2
= (double)(SWIG_As_double(obj1
));
4054 if (SWIG_arg_fail(2)) SWIG_fail
;
4056 if (arg1
) (arg1
)->y
= arg2
;
4058 Py_INCREF(Py_None
); resultobj
= Py_None
;
4065 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4071 (char *) "self", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4076 if (SWIG_arg_fail(1)) SWIG_fail
;
4077 result
= (double) ((arg1
)->y
);
4080 resultobj
= SWIG_From_double((double)(result
));
4088 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 double arg1
= (double) 0.0 ;
4091 double arg2
= (double) 0.0 ;
4092 wxRealPoint
*result
;
4093 PyObject
* obj0
= 0 ;
4094 PyObject
* obj1
= 0 ;
4096 (char *) "x",(char *) "y", NULL
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4102 arg1
= (double)(SWIG_As_double(obj0
));
4103 if (SWIG_arg_fail(1)) SWIG_fail
;
4108 arg2
= (double)(SWIG_As_double(obj1
));
4109 if (SWIG_arg_fail(2)) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4126 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4129 PyObject
* obj0
= 0 ;
4131 (char *) "self", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4136 if (SWIG_arg_fail(1)) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 Py_INCREF(Py_None
); resultobj
= Py_None
;
4151 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4154 wxRealPoint
*arg2
= 0 ;
4157 PyObject
* obj0
= 0 ;
4158 PyObject
* obj1
= 0 ;
4160 (char *) "self",(char *) "pt", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4165 if (SWIG_arg_fail(1)) SWIG_fail
;
4168 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4186 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4189 wxRealPoint
*arg2
= 0 ;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4195 (char *) "self",(char *) "pt", NULL
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4200 if (SWIG_arg_fail(1)) SWIG_fail
;
4203 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4221 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4224 wxRealPoint
*arg2
= 0 ;
4227 PyObject
* obj0
= 0 ;
4228 PyObject
* obj1
= 0 ;
4230 (char *) "self",(char *) "pt", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4235 if (SWIG_arg_fail(1)) SWIG_fail
;
4238 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4248 wxRealPoint
* resultptr
;
4249 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4258 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4261 wxRealPoint
*arg2
= 0 ;
4264 PyObject
* obj0
= 0 ;
4265 PyObject
* obj1
= 0 ;
4267 (char *) "self",(char *) "pt", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4272 if (SWIG_arg_fail(1)) SWIG_fail
;
4275 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4285 wxRealPoint
* resultptr
;
4286 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4295 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4300 PyObject
* obj0
= 0 ;
4301 PyObject
* obj1
= 0 ;
4302 PyObject
* obj2
= 0 ;
4304 (char *) "self",(char *) "x",(char *) "y", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4309 if (SWIG_arg_fail(1)) SWIG_fail
;
4311 arg2
= (double)(SWIG_As_double(obj1
));
4312 if (SWIG_arg_fail(2)) SWIG_fail
;
4315 arg3
= (double)(SWIG_As_double(obj2
));
4316 if (SWIG_arg_fail(3)) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 wxRealPoint_Set(arg1
,arg2
,arg3
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 Py_INCREF(Py_None
); resultobj
= Py_None
;
4332 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4338 (char *) "self", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4343 if (SWIG_arg_fail(1)) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4358 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4361 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4363 return Py_BuildValue((char *)"");
4365 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxPoint
*arg1
= (wxPoint
*) 0 ;
4369 PyObject
* obj0
= 0 ;
4370 PyObject
* obj1
= 0 ;
4372 (char *) "self",(char *) "x", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4377 if (SWIG_arg_fail(1)) SWIG_fail
;
4379 arg2
= (int)(SWIG_As_int(obj1
));
4380 if (SWIG_arg_fail(2)) SWIG_fail
;
4382 if (arg1
) (arg1
)->x
= arg2
;
4384 Py_INCREF(Py_None
); resultobj
= Py_None
;
4391 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4393 wxPoint
*arg1
= (wxPoint
*) 0 ;
4395 PyObject
* obj0
= 0 ;
4397 (char *) "self", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4402 if (SWIG_arg_fail(1)) SWIG_fail
;
4403 result
= (int) ((arg1
)->x
);
4406 resultobj
= SWIG_From_int((int)(result
));
4414 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxPoint
*arg1
= (wxPoint
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4419 PyObject
* obj1
= 0 ;
4421 (char *) "self",(char *) "y", NULL
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4426 if (SWIG_arg_fail(1)) SWIG_fail
;
4428 arg2
= (int)(SWIG_As_int(obj1
));
4429 if (SWIG_arg_fail(2)) SWIG_fail
;
4431 if (arg1
) (arg1
)->y
= arg2
;
4433 Py_INCREF(Py_None
); resultobj
= Py_None
;
4440 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
;
4442 wxPoint
*arg1
= (wxPoint
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4446 (char *) "self", NULL
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4451 if (SWIG_arg_fail(1)) SWIG_fail
;
4452 result
= (int) ((arg1
)->y
);
4455 resultobj
= SWIG_From_int((int)(result
));
4463 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 int arg1
= (int) 0 ;
4466 int arg2
= (int) 0 ;
4468 PyObject
* obj0
= 0 ;
4469 PyObject
* obj1
= 0 ;
4471 (char *) "x",(char *) "y", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4477 arg1
= (int)(SWIG_As_int(obj0
));
4478 if (SWIG_arg_fail(1)) SWIG_fail
;
4483 arg2
= (int)(SWIG_As_int(obj1
));
4484 if (SWIG_arg_fail(2)) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4501 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxPoint
*arg1
= (wxPoint
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4506 (char *) "self", NULL
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4511 if (SWIG_arg_fail(1)) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 Py_INCREF(Py_None
); resultobj
= Py_None
;
4526 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxPoint
*arg1
= (wxPoint
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4533 PyObject
* obj1
= 0 ;
4535 (char *) "self",(char *) "pt", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4540 if (SWIG_arg_fail(1)) SWIG_fail
;
4543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4561 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxPoint
*arg1
= (wxPoint
*) 0 ;
4567 PyObject
* obj0
= 0 ;
4568 PyObject
* obj1
= 0 ;
4570 (char *) "self",(char *) "pt", NULL
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4575 if (SWIG_arg_fail(1)) SWIG_fail
;
4578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4596 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxPoint
*arg1
= (wxPoint
*) 0 ;
4602 PyObject
* obj0
= 0 ;
4603 PyObject
* obj1
= 0 ;
4605 (char *) "self",(char *) "pt", NULL
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4610 if (SWIG_arg_fail(1)) SWIG_fail
;
4613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4623 wxPoint
* resultptr
;
4624 resultptr
= new wxPoint((wxPoint
&)(result
));
4625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4633 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxPoint
*arg1
= (wxPoint
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4642 (char *) "self",(char *) "pt", NULL
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4647 if (SWIG_arg_fail(1)) SWIG_fail
;
4650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4660 wxPoint
* resultptr
;
4661 resultptr
= new wxPoint((wxPoint
&)(result
));
4662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4670 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4672 wxPoint
*arg1
= (wxPoint
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4679 (char *) "self",(char *) "pt", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4684 if (SWIG_arg_fail(1)) SWIG_fail
;
4687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4693 result
= (wxPoint
*) &_result_ref
;
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4706 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
*resultobj
;
4708 wxPoint
*arg1
= (wxPoint
*) 0 ;
4712 PyObject
* obj0
= 0 ;
4713 PyObject
* obj1
= 0 ;
4715 (char *) "self",(char *) "pt", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4720 if (SWIG_arg_fail(1)) SWIG_fail
;
4723 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4729 result
= (wxPoint
*) &_result_ref
;
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4742 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxPoint
*arg1
= (wxPoint
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4748 PyObject
* obj1
= 0 ;
4749 PyObject
* obj2
= 0 ;
4751 (char *) "self",(char *) "x",(char *) "y", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4756 if (SWIG_arg_fail(1)) SWIG_fail
;
4758 arg2
= (long)(SWIG_As_long(obj1
));
4759 if (SWIG_arg_fail(2)) SWIG_fail
;
4762 arg3
= (long)(SWIG_As_long(obj2
));
4763 if (SWIG_arg_fail(3)) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 wxPoint_Set(arg1
,arg2
,arg3
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4772 Py_INCREF(Py_None
); resultobj
= Py_None
;
4779 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4781 wxPoint
*arg1
= (wxPoint
*) 0 ;
4783 PyObject
* obj0
= 0 ;
4785 (char *) "self", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4790 if (SWIG_arg_fail(1)) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 result
= (PyObject
*)wxPoint_Get(arg1
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4805 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4808 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4810 return Py_BuildValue((char *)"");
4812 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 int arg1
= (int) 0 ;
4815 int arg2
= (int) 0 ;
4816 int arg3
= (int) 0 ;
4817 int arg4
= (int) 0 ;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4821 PyObject
* obj2
= 0 ;
4822 PyObject
* obj3
= 0 ;
4824 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4830 arg1
= (int)(SWIG_As_int(obj0
));
4831 if (SWIG_arg_fail(1)) SWIG_fail
;
4836 arg2
= (int)(SWIG_As_int(obj1
));
4837 if (SWIG_arg_fail(2)) SWIG_fail
;
4842 arg3
= (int)(SWIG_As_int(obj2
));
4843 if (SWIG_arg_fail(3)) SWIG_fail
;
4848 arg4
= (int)(SWIG_As_int(obj3
));
4849 if (SWIG_arg_fail(4)) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4866 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4876 (char *) "topLeft",(char *) "bottomRight", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4882 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4902 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj1
= 0 ;
4912 (char *) "pos",(char *) "size", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4918 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4922 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4938 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4943 PyObject
* obj0
= 0 ;
4945 (char *) "size", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4951 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4967 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxRect
*arg1
= (wxRect
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4972 (char *) "self", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4977 if (SWIG_arg_fail(1)) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 Py_INCREF(Py_None
); resultobj
= Py_None
;
4992 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxRect
*arg1
= (wxRect
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4998 (char *) "self", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
5002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5003 if (SWIG_arg_fail(1)) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)((wxRect
const *)arg1
)->GetX();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_From_int((int)(result
));
5020 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxRect
*arg1
= (wxRect
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5027 (char *) "self",(char *) "x", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
5031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5032 if (SWIG_arg_fail(1)) SWIG_fail
;
5034 arg2
= (int)(SWIG_As_int(obj1
));
5035 if (SWIG_arg_fail(2)) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 Py_INCREF(Py_None
); resultobj
= Py_None
;
5051 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxRect
*arg1
= (wxRect
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5057 (char *) "self", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5062 if (SWIG_arg_fail(1)) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 result
= (int)(arg1
)->GetY();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= SWIG_From_int((int)(result
));
5079 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxRect
*arg1
= (wxRect
*) 0 ;
5083 PyObject
* obj0
= 0 ;
5084 PyObject
* obj1
= 0 ;
5086 (char *) "self",(char *) "y", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5091 if (SWIG_arg_fail(1)) SWIG_fail
;
5093 arg2
= (int)(SWIG_As_int(obj1
));
5094 if (SWIG_arg_fail(2)) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 Py_INCREF(Py_None
); resultobj
= Py_None
;
5110 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxRect
*arg1
= (wxRect
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5116 (char *) "self", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5121 if (SWIG_arg_fail(1)) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= SWIG_From_int((int)(result
));
5138 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxRect
*arg1
= (wxRect
*) 0 ;
5142 PyObject
* obj0
= 0 ;
5143 PyObject
* obj1
= 0 ;
5145 (char *) "self",(char *) "w", NULL
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5150 if (SWIG_arg_fail(1)) SWIG_fail
;
5152 arg2
= (int)(SWIG_As_int(obj1
));
5153 if (SWIG_arg_fail(2)) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->SetWidth(arg2
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 Py_INCREF(Py_None
); resultobj
= Py_None
;
5169 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxRect
*arg1
= (wxRect
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5180 if (SWIG_arg_fail(1)) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_From_int((int)(result
));
5197 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxRect
*arg1
= (wxRect
*) 0 ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5204 (char *) "self",(char *) "h", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail
;
5211 arg2
= (int)(SWIG_As_int(obj1
));
5212 if (SWIG_arg_fail(2)) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 (arg1
)->SetHeight(arg2
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 Py_INCREF(Py_None
); resultobj
= Py_None
;
5228 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxRect
*arg1
= (wxRect
*) 0 ;
5232 PyObject
* obj0
= 0 ;
5234 (char *) "self", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5239 if (SWIG_arg_fail(1)) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 result
= ((wxRect
const *)arg1
)->GetPosition();
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5248 wxPoint
* resultptr
;
5249 resultptr
= new wxPoint((wxPoint
&)(result
));
5250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5258 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxRect
*arg1
= (wxRect
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5264 PyObject
* obj1
= 0 ;
5266 (char *) "self",(char *) "p", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5271 if (SWIG_arg_fail(1)) SWIG_fail
;
5274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 Py_INCREF(Py_None
); resultobj
= Py_None
;
5290 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxRect
*arg1
= (wxRect
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5296 (char *) "self", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= ((wxRect
const *)arg1
)->GetSize();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5311 resultptr
= new wxSize((wxSize
&)(result
));
5312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5320 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxRect
*arg1
= (wxRect
*) 0 ;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5328 (char *) "self",(char *) "s", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5333 if (SWIG_arg_fail(1)) SWIG_fail
;
5336 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 (arg1
)->SetSize((wxSize
const &)*arg2
);
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 Py_INCREF(Py_None
); resultobj
= Py_None
;
5352 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxRect
*arg1
= (wxRect
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5363 if (SWIG_arg_fail(1)) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5380 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxRect
*arg1
= (wxRect
*) 0 ;
5384 PyObject
* obj0
= 0 ;
5386 (char *) "self", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5391 if (SWIG_arg_fail(1)) SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5400 wxPoint
* resultptr
;
5401 resultptr
= new wxPoint((wxPoint
&)(result
));
5402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5410 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxRect
*arg1
= (wxRect
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5416 PyObject
* obj1
= 0 ;
5418 (char *) "self",(char *) "p", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5423 if (SWIG_arg_fail(1)) SWIG_fail
;
5426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5442 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxRect
*arg1
= (wxRect
*) 0 ;
5446 PyObject
* obj0
= 0 ;
5448 (char *) "self", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5453 if (SWIG_arg_fail(1)) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5462 wxPoint
* resultptr
;
5463 resultptr
= new wxPoint((wxPoint
&)(result
));
5464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5472 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxRect
*arg1
= (wxRect
*) 0 ;
5477 PyObject
* obj0
= 0 ;
5478 PyObject
* obj1
= 0 ;
5480 (char *) "self",(char *) "p", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5485 if (SWIG_arg_fail(1)) SWIG_fail
;
5488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 Py_INCREF(Py_None
); resultobj
= Py_None
;
5504 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxRect
*arg1
= (wxRect
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5510 (char *) "self", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5515 if (SWIG_arg_fail(1)) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= SWIG_From_int((int)(result
));
5532 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 wxRect
*arg1
= (wxRect
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5538 (char *) "self", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5543 if (SWIG_arg_fail(1)) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 result
= (int)((wxRect
const *)arg1
)->GetTop();
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_From_int((int)(result
));
5560 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxRect
*arg1
= (wxRect
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5566 (char *) "self", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5571 if (SWIG_arg_fail(1)) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= SWIG_From_int((int)(result
));
5588 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxRect
*arg1
= (wxRect
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5594 (char *) "self", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5599 if (SWIG_arg_fail(1)) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 result
= (int)((wxRect
const *)arg1
)->GetRight();
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_From_int((int)(result
));
5616 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxRect
*arg1
= (wxRect
*) 0 ;
5620 PyObject
* obj0
= 0 ;
5621 PyObject
* obj1
= 0 ;
5623 (char *) "self",(char *) "left", NULL
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5628 if (SWIG_arg_fail(1)) SWIG_fail
;
5630 arg2
= (int)(SWIG_As_int(obj1
));
5631 if (SWIG_arg_fail(2)) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 (arg1
)->SetLeft(arg2
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 Py_INCREF(Py_None
); resultobj
= Py_None
;
5647 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxRect
*arg1
= (wxRect
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5652 PyObject
* obj1
= 0 ;
5654 (char *) "self",(char *) "right", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5659 if (SWIG_arg_fail(1)) SWIG_fail
;
5661 arg2
= (int)(SWIG_As_int(obj1
));
5662 if (SWIG_arg_fail(2)) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 (arg1
)->SetRight(arg2
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 Py_INCREF(Py_None
); resultobj
= Py_None
;
5678 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxRect
*arg1
= (wxRect
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5683 PyObject
* obj1
= 0 ;
5685 (char *) "self",(char *) "top", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5690 if (SWIG_arg_fail(1)) SWIG_fail
;
5692 arg2
= (int)(SWIG_As_int(obj1
));
5693 if (SWIG_arg_fail(2)) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 (arg1
)->SetTop(arg2
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 Py_INCREF(Py_None
); resultobj
= Py_None
;
5709 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxRect
*arg1
= (wxRect
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5714 PyObject
* obj1
= 0 ;
5716 (char *) "self",(char *) "bottom", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5721 if (SWIG_arg_fail(1)) SWIG_fail
;
5723 arg2
= (int)(SWIG_As_int(obj1
));
5724 if (SWIG_arg_fail(2)) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 (arg1
)->SetBottom(arg2
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 Py_INCREF(Py_None
); resultobj
= Py_None
;
5740 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxRect
*arg1
= (wxRect
*) 0 ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5748 PyObject
* obj2
= 0 ;
5750 (char *) "self",(char *) "dx",(char *) "dy", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5755 if (SWIG_arg_fail(1)) SWIG_fail
;
5757 arg2
= (int)(SWIG_As_int(obj1
));
5758 if (SWIG_arg_fail(2)) SWIG_fail
;
5761 arg3
= (int)(SWIG_As_int(obj2
));
5762 if (SWIG_arg_fail(3)) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5768 result
= (wxRect
*) &_result_ref
;
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5781 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxRect
*arg1
= (wxRect
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5789 PyObject
* obj2
= 0 ;
5791 (char *) "self",(char *) "dx",(char *) "dy", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5796 if (SWIG_arg_fail(1)) SWIG_fail
;
5798 arg2
= (int)(SWIG_As_int(obj1
));
5799 if (SWIG_arg_fail(2)) SWIG_fail
;
5802 arg3
= (int)(SWIG_As_int(obj2
));
5803 if (SWIG_arg_fail(3)) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5809 result
= (wxRect
*) &_result_ref
;
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5822 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxRect
*arg1
= (wxRect
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5829 PyObject
* obj2
= 0 ;
5831 (char *) "self",(char *) "dx",(char *) "dy", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail
;
5838 arg2
= (int)(SWIG_As_int(obj1
));
5839 if (SWIG_arg_fail(2)) SWIG_fail
;
5842 arg3
= (int)(SWIG_As_int(obj2
));
5843 if (SWIG_arg_fail(3)) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->Offset(arg2
,arg3
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxRect
*arg1
= (wxRect
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5867 (char *) "self",(char *) "pt", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5872 if (SWIG_arg_fail(1)) SWIG_fail
;
5875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 (arg1
)->Offset((wxPoint
const &)*arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 Py_INCREF(Py_None
); resultobj
= Py_None
;
5891 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
;
5893 wxRect
*arg1
= (wxRect
*) 0 ;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5900 (char *) "self",(char *) "rect", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5905 if (SWIG_arg_fail(1)) SWIG_fail
;
5908 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5919 resultptr
= new wxRect((wxRect
&)(result
));
5920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5928 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxRect
*arg1
= (wxRect
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5937 (char *) "self",(char *) "rect", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5942 if (SWIG_arg_fail(1)) SWIG_fail
;
5945 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5956 resultptr
= new wxRect((wxRect
&)(result
));
5957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5965 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
;
5967 wxRect
*arg1
= (wxRect
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5972 PyObject
* obj1
= 0 ;
5974 (char *) "self",(char *) "rect", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5979 if (SWIG_arg_fail(1)) SWIG_fail
;
5982 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5993 resultptr
= new wxRect((wxRect
&)(result
));
5994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6002 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
*resultobj
;
6004 wxRect
*arg1
= (wxRect
*) 0 ;
6008 PyObject
* obj0
= 0 ;
6009 PyObject
* obj1
= 0 ;
6011 (char *) "self",(char *) "rect", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6016 if (SWIG_arg_fail(1)) SWIG_fail
;
6019 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
6025 result
= (wxRect
*) &_result_ref
;
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6038 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxRect
*arg1
= (wxRect
*) 0 ;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6047 (char *) "self",(char *) "rect", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6052 if (SWIG_arg_fail(1)) SWIG_fail
;
6055 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6073 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxRect
*arg1
= (wxRect
*) 0 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6082 (char *) "self",(char *) "rect", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6087 if (SWIG_arg_fail(1)) SWIG_fail
;
6090 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6108 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6110 wxRect
*arg1
= (wxRect
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6115 PyObject
* obj1
= 0 ;
6116 PyObject
* obj2
= 0 ;
6118 (char *) "self",(char *) "x",(char *) "y", NULL
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6123 if (SWIG_arg_fail(1)) SWIG_fail
;
6125 arg2
= (int)(SWIG_As_int(obj1
));
6126 if (SWIG_arg_fail(2)) SWIG_fail
;
6129 arg3
= (int)(SWIG_As_int(obj2
));
6130 if (SWIG_arg_fail(3)) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6148 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxRect
*arg1
= (wxRect
*) 0 ;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6157 (char *) "self",(char *) "pt", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail
;
6165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6183 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxRect
*arg1
= (wxRect
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6190 PyObject
* obj1
= 0 ;
6192 (char *) "self",(char *) "rect", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6197 if (SWIG_arg_fail(1)) SWIG_fail
;
6200 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6218 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxRect
*arg1
= (wxRect
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6225 (char *) "self",(char *) "x", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6230 if (SWIG_arg_fail(1)) SWIG_fail
;
6232 arg2
= (int)(SWIG_As_int(obj1
));
6233 if (SWIG_arg_fail(2)) SWIG_fail
;
6235 if (arg1
) (arg1
)->x
= arg2
;
6237 Py_INCREF(Py_None
); resultobj
= Py_None
;
6244 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxRect
*arg1
= (wxRect
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6255 if (SWIG_arg_fail(1)) SWIG_fail
;
6256 result
= (int) ((arg1
)->x
);
6259 resultobj
= SWIG_From_int((int)(result
));
6267 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxRect
*arg1
= (wxRect
*) 0 ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6274 (char *) "self",(char *) "y", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6279 if (SWIG_arg_fail(1)) SWIG_fail
;
6281 arg2
= (int)(SWIG_As_int(obj1
));
6282 if (SWIG_arg_fail(2)) SWIG_fail
;
6284 if (arg1
) (arg1
)->y
= arg2
;
6286 Py_INCREF(Py_None
); resultobj
= Py_None
;
6293 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxRect
*arg1
= (wxRect
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6299 (char *) "self", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6304 if (SWIG_arg_fail(1)) SWIG_fail
;
6305 result
= (int) ((arg1
)->y
);
6308 resultobj
= SWIG_From_int((int)(result
));
6316 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxRect
*arg1
= (wxRect
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6323 (char *) "self",(char *) "width", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6328 if (SWIG_arg_fail(1)) SWIG_fail
;
6330 arg2
= (int)(SWIG_As_int(obj1
));
6331 if (SWIG_arg_fail(2)) SWIG_fail
;
6333 if (arg1
) (arg1
)->width
= arg2
;
6335 Py_INCREF(Py_None
); resultobj
= Py_None
;
6342 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
;
6344 wxRect
*arg1
= (wxRect
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6348 (char *) "self", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6353 if (SWIG_arg_fail(1)) SWIG_fail
;
6354 result
= (int) ((arg1
)->width
);
6357 resultobj
= SWIG_From_int((int)(result
));
6365 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxRect
*arg1
= (wxRect
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6372 (char *) "self",(char *) "height", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6377 if (SWIG_arg_fail(1)) SWIG_fail
;
6379 arg2
= (int)(SWIG_As_int(obj1
));
6380 if (SWIG_arg_fail(2)) SWIG_fail
;
6382 if (arg1
) (arg1
)->height
= arg2
;
6384 Py_INCREF(Py_None
); resultobj
= Py_None
;
6391 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxRect
*arg1
= (wxRect
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6397 (char *) "self", NULL
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6402 if (SWIG_arg_fail(1)) SWIG_fail
;
6403 result
= (int) ((arg1
)->height
);
6406 resultobj
= SWIG_From_int((int)(result
));
6414 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxRect
*arg1
= (wxRect
*) 0 ;
6417 int arg2
= (int) 0 ;
6418 int arg3
= (int) 0 ;
6419 int arg4
= (int) 0 ;
6420 int arg5
= (int) 0 ;
6421 PyObject
* obj0
= 0 ;
6422 PyObject
* obj1
= 0 ;
6423 PyObject
* obj2
= 0 ;
6424 PyObject
* obj3
= 0 ;
6425 PyObject
* obj4
= 0 ;
6427 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6432 if (SWIG_arg_fail(1)) SWIG_fail
;
6435 arg2
= (int)(SWIG_As_int(obj1
));
6436 if (SWIG_arg_fail(2)) SWIG_fail
;
6441 arg3
= (int)(SWIG_As_int(obj2
));
6442 if (SWIG_arg_fail(3)) SWIG_fail
;
6447 arg4
= (int)(SWIG_As_int(obj3
));
6448 if (SWIG_arg_fail(4)) SWIG_fail
;
6453 arg5
= (int)(SWIG_As_int(obj4
));
6454 if (SWIG_arg_fail(5)) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 Py_INCREF(Py_None
); resultobj
= Py_None
;
6471 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxRect
*arg1
= (wxRect
*) 0 ;
6475 PyObject
* obj0
= 0 ;
6477 (char *) "self", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6482 if (SWIG_arg_fail(1)) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (PyObject
*)wxRect_Get(arg1
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6497 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6500 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6502 return Py_BuildValue((char *)"");
6504 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 wxRect
*arg1
= (wxRect
*) 0 ;
6507 wxRect
*arg2
= (wxRect
*) 0 ;
6509 PyObject
* obj0
= 0 ;
6510 PyObject
* obj1
= 0 ;
6512 (char *) "r1",(char *) "r2", NULL
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6517 if (SWIG_arg_fail(1)) SWIG_fail
;
6518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6519 if (SWIG_arg_fail(2)) SWIG_fail
;
6521 if (!wxPyCheckForApp()) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6535 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 double arg1
= (double) 0.0 ;
6538 double arg2
= (double) 0.0 ;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6543 (char *) "x",(char *) "y", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6549 arg1
= (double)(SWIG_As_double(obj0
));
6550 if (SWIG_arg_fail(1)) SWIG_fail
;
6555 arg2
= (double)(SWIG_As_double(obj1
));
6556 if (SWIG_arg_fail(2)) SWIG_fail
;
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6573 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxPoint2D
*arg1
= 0 ;
6578 PyObject
* obj0
= 0 ;
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6586 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6602 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6607 PyObject
* obj0
= 0 ;
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6615 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6631 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6633 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6634 int *arg2
= (int *) 0 ;
6635 int *arg3
= (int *) 0 ;
6640 PyObject
* obj0
= 0 ;
6642 (char *) "self", NULL
6645 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6646 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6649 if (SWIG_arg_fail(1)) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 Py_INCREF(Py_None
); resultobj
= Py_None
;
6658 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6659 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6660 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6661 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6668 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6671 int *arg2
= (int *) 0 ;
6672 int *arg3
= (int *) 0 ;
6677 PyObject
* obj0
= 0 ;
6679 (char *) "self", NULL
6682 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6683 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6686 if (SWIG_arg_fail(1)) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 Py_INCREF(Py_None
); resultobj
= Py_None
;
6695 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6696 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6697 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6698 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6705 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6711 (char *) "self", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6716 if (SWIG_arg_fail(1)) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= SWIG_From_double((double)(result
));
6733 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6737 PyObject
* obj0
= 0 ;
6739 (char *) "self", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6744 if (SWIG_arg_fail(1)) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= SWIG_From_double((double)(result
));
6761 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
*resultobj
;
6763 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6765 PyObject
* obj0
= 0 ;
6766 PyObject
* obj1
= 0 ;
6768 (char *) "self",(char *) "length", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail
;
6775 arg2
= (double)(SWIG_As_double(obj1
));
6776 if (SWIG_arg_fail(2)) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 (arg1
)->SetVectorLength(arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 Py_INCREF(Py_None
); resultobj
= Py_None
;
6792 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "degrees", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6804 if (SWIG_arg_fail(1)) SWIG_fail
;
6806 arg2
= (double)(SWIG_As_double(obj1
));
6807 if (SWIG_arg_fail(2)) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 (arg1
)->SetVectorAngle(arg2
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 Py_INCREF(Py_None
); resultobj
= Py_None
;
6823 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6826 wxPoint2D
*arg2
= 0 ;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6832 (char *) "self",(char *) "pt", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6837 if (SWIG_arg_fail(1)) SWIG_fail
;
6840 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= SWIG_From_double((double)(result
));
6858 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6861 wxPoint2D
*arg2
= 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6867 (char *) "self",(char *) "pt", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6872 if (SWIG_arg_fail(1)) SWIG_fail
;
6875 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= SWIG_From_double((double)(result
));
6893 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6896 wxPoint2D
*arg2
= 0 ;
6899 PyObject
* obj0
= 0 ;
6900 PyObject
* obj1
= 0 ;
6902 (char *) "self",(char *) "vec", NULL
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6907 if (SWIG_arg_fail(1)) SWIG_fail
;
6910 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= SWIG_From_double((double)(result
));
6928 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6931 wxPoint2D
*arg2
= 0 ;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6937 (char *) "self",(char *) "vec", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6942 if (SWIG_arg_fail(1)) SWIG_fail
;
6945 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_From_double((double)(result
));
6963 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6974 if (SWIG_arg_fail(1)) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 result
= (arg1
)->operator -();
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6983 wxPoint2D
* resultptr
;
6984 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6993 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6996 wxPoint2D
*arg2
= 0 ;
6999 PyObject
* obj0
= 0 ;
7000 PyObject
* obj1
= 0 ;
7002 (char *) "self",(char *) "pt", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
7006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7007 if (SWIG_arg_fail(1)) SWIG_fail
;
7010 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
7016 result
= (wxPoint2D
*) &_result_ref
;
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7029 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7032 wxPoint2D
*arg2
= 0 ;
7035 PyObject
* obj0
= 0 ;
7036 PyObject
* obj1
= 0 ;
7038 (char *) "self",(char *) "pt", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7043 if (SWIG_arg_fail(1)) SWIG_fail
;
7046 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7052 result
= (wxPoint2D
*) &_result_ref
;
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7065 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7068 wxPoint2D
*arg2
= 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7074 (char *) "self",(char *) "pt", NULL
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7079 if (SWIG_arg_fail(1)) SWIG_fail
;
7082 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7088 result
= (wxPoint2D
*) &_result_ref
;
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7101 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7104 wxPoint2D
*arg2
= 0 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7110 (char *) "self",(char *) "pt", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7115 if (SWIG_arg_fail(1)) SWIG_fail
;
7118 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7124 result
= (wxPoint2D
*) &_result_ref
;
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7137 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7140 wxPoint2D
*arg2
= 0 ;
7143 PyObject
* obj0
= 0 ;
7144 PyObject
* obj1
= 0 ;
7146 (char *) "self",(char *) "pt", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7151 if (SWIG_arg_fail(1)) SWIG_fail
;
7154 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7172 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7175 wxPoint2D
*arg2
= 0 ;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7181 (char *) "self",(char *) "pt", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7186 if (SWIG_arg_fail(1)) SWIG_fail
;
7189 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7207 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7214 (char *) "self",(char *) "m_x", NULL
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7219 if (SWIG_arg_fail(1)) SWIG_fail
;
7221 arg2
= (double)(SWIG_As_double(obj1
));
7222 if (SWIG_arg_fail(2)) SWIG_fail
;
7224 if (arg1
) (arg1
)->m_x
= arg2
;
7226 Py_INCREF(Py_None
); resultobj
= Py_None
;
7233 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7239 (char *) "self", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7244 if (SWIG_arg_fail(1)) SWIG_fail
;
7245 result
= (double) ((arg1
)->m_x
);
7248 resultobj
= SWIG_From_double((double)(result
));
7256 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7263 (char *) "self",(char *) "m_y", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7268 if (SWIG_arg_fail(1)) SWIG_fail
;
7270 arg2
= (double)(SWIG_As_double(obj1
));
7271 if (SWIG_arg_fail(2)) SWIG_fail
;
7273 if (arg1
) (arg1
)->m_y
= arg2
;
7275 Py_INCREF(Py_None
); resultobj
= Py_None
;
7282 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
*resultobj
;
7284 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7286 PyObject
* obj0
= 0 ;
7288 (char *) "self", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7293 if (SWIG_arg_fail(1)) SWIG_fail
;
7294 result
= (double) ((arg1
)->m_y
);
7297 resultobj
= SWIG_From_double((double)(result
));
7305 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7307 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7308 double arg2
= (double) 0 ;
7309 double arg3
= (double) 0 ;
7310 PyObject
* obj0
= 0 ;
7311 PyObject
* obj1
= 0 ;
7312 PyObject
* obj2
= 0 ;
7314 (char *) "self",(char *) "x",(char *) "y", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7319 if (SWIG_arg_fail(1)) SWIG_fail
;
7322 arg2
= (double)(SWIG_As_double(obj1
));
7323 if (SWIG_arg_fail(2)) SWIG_fail
;
7328 arg3
= (double)(SWIG_As_double(obj2
));
7329 if (SWIG_arg_fail(3)) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 wxPoint2D_Set(arg1
,arg2
,arg3
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 Py_INCREF(Py_None
); resultobj
= Py_None
;
7346 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7352 (char *) "self", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7357 if (SWIG_arg_fail(1)) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7372 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7375 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7377 return Py_BuildValue((char *)"");
7379 static int _wrap_DefaultPosition_set(PyObject
*) {
7380 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7385 static PyObject
*_wrap_DefaultPosition_get(void) {
7388 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7393 static int _wrap_DefaultSize_set(PyObject
*) {
7394 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7399 static PyObject
*_wrap_DefaultSize_get(void) {
7402 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7407 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 PyObject
*arg1
= (PyObject
*) 0 ;
7410 wxPyInputStream
*result
;
7411 PyObject
* obj0
= 0 ;
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7432 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7434 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7437 (char *) "self", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7442 if (SWIG_arg_fail(1)) SWIG_fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7450 Py_INCREF(Py_None
); resultobj
= Py_None
;
7457 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7462 (char *) "self", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7467 if (SWIG_arg_fail(1)) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 Py_INCREF(Py_None
); resultobj
= Py_None
;
7482 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7485 PyObject
* obj0
= 0 ;
7487 (char *) "self", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7492 if (SWIG_arg_fail(1)) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 Py_INCREF(Py_None
); resultobj
= Py_None
;
7507 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7509 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7513 (char *) "self", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (bool)(arg1
)->eof();
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7535 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7538 int arg2
= (int) -1 ;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7543 (char *) "self",(char *) "size", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail
;
7551 arg2
= (int)(SWIG_As_int(obj1
));
7552 if (SWIG_arg_fail(2)) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (PyObject
*)(arg1
)->read(arg2
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7569 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7572 int arg2
= (int) -1 ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7577 (char *) "self",(char *) "size", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7582 if (SWIG_arg_fail(1)) SWIG_fail
;
7585 arg2
= (int)(SWIG_As_int(obj1
));
7586 if (SWIG_arg_fail(2)) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 result
= (PyObject
*)(arg1
)->readline(arg2
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7603 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7606 int arg2
= (int) -1 ;
7608 PyObject
* obj0
= 0 ;
7609 PyObject
* obj1
= 0 ;
7611 (char *) "self",(char *) "sizehint", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7616 if (SWIG_arg_fail(1)) SWIG_fail
;
7619 arg2
= (int)(SWIG_As_int(obj1
));
7620 if (SWIG_arg_fail(2)) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7637 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7641 int arg3
= (int) 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 PyObject
* obj2
= 0 ;
7646 (char *) "self",(char *) "offset",(char *) "whence", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7651 if (SWIG_arg_fail(1)) SWIG_fail
;
7653 arg2
= (int)(SWIG_As_int(obj1
));
7654 if (SWIG_arg_fail(2)) SWIG_fail
;
7658 arg3
= (int)(SWIG_As_int(obj2
));
7659 if (SWIG_arg_fail(3)) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 (arg1
)->seek(arg2
,arg3
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 Py_INCREF(Py_None
); resultobj
= Py_None
;
7676 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7682 (char *) "self", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (int)(arg1
)->tell();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= SWIG_From_int((int)(result
));
7704 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7715 if (SWIG_arg_fail(1)) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (char)(arg1
)->Peek();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_From_char((char)(result
));
7732 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "self", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7743 if (SWIG_arg_fail(1)) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (char)(arg1
)->GetC();
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_From_char((char)(result
));
7760 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "self", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7771 if (SWIG_arg_fail(1)) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (size_t)(arg1
)->LastRead();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7788 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7794 (char *) "self", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7799 if (SWIG_arg_fail(1)) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (bool)(arg1
)->CanRead();
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7816 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
;
7818 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7820 PyObject
* obj0
= 0 ;
7822 (char *) "self", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (bool)(arg1
)->Eof();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7844 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
;
7846 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7852 (char *) "self",(char *) "c", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7857 if (SWIG_arg_fail(1)) SWIG_fail
;
7859 arg2
= (char)(SWIG_As_char(obj1
));
7860 if (SWIG_arg_fail(2)) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (bool)(arg1
)->Ungetch(arg2
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7878 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7882 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7884 PyObject
* obj0
= 0 ;
7885 PyObject
* obj1
= 0 ;
7886 PyObject
* obj2
= 0 ;
7888 (char *) "self",(char *) "pos",(char *) "mode", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7893 if (SWIG_arg_fail(1)) SWIG_fail
;
7895 arg2
= (long)(SWIG_As_long(obj1
));
7896 if (SWIG_arg_fail(2)) SWIG_fail
;
7900 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7901 if (SWIG_arg_fail(3)) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_From_long((long)(result
));
7920 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7926 (char *) "self", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7931 if (SWIG_arg_fail(1)) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 result
= (long)(arg1
)->TellI();
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= SWIG_From_long((long)(result
));
7948 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7951 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7953 return Py_BuildValue((char *)"");
7955 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7958 PyObject
*arg2
= (PyObject
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7962 (char *) "self",(char *) "obj", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7967 if (SWIG_arg_fail(1)) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 wxOutputStream_write(arg1
,arg2
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 Py_INCREF(Py_None
); resultobj
= Py_None
;
7983 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7986 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7988 return Py_BuildValue((char *)"");
7990 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7992 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7993 wxString
*arg2
= 0 ;
7994 wxString
*arg3
= 0 ;
7995 wxString
*arg4
= 0 ;
7998 wxPyInputStream
*temp1
;
7999 bool temp2
= false ;
8000 bool temp3
= false ;
8001 bool temp4
= false ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8004 PyObject
* obj2
= 0 ;
8005 PyObject
* obj3
= 0 ;
8006 PyObject
* obj4
= 0 ;
8008 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8013 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8014 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
8016 PyErr_Clear(); // clear the failure of the wxPyConvert above
8017 arg1
= wxPyCBInputStream_create(obj0
, true);
8019 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
8025 arg2
= wxString_in_helper(obj1
);
8026 if (arg2
== NULL
) SWIG_fail
;
8030 arg3
= wxString_in_helper(obj2
);
8031 if (arg3
== NULL
) SWIG_fail
;
8035 arg4
= wxString_in_helper(obj3
);
8036 if (arg4
== NULL
) SWIG_fail
;
8041 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8042 if (SWIG_arg_fail(5)) SWIG_fail
;
8044 SWIG_null_ref("wxDateTime");
8046 if (SWIG_arg_fail(5)) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= wxPyMake_wxObject(result
, 1);
8089 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8092 PyObject
* obj0
= 0 ;
8094 (char *) "self", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8099 if (SWIG_arg_fail(1)) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 Py_INCREF(Py_None
); resultobj
= Py_None
;
8114 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8117 wxInputStream
*result
;
8118 PyObject
* obj0
= 0 ;
8120 (char *) "self", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8125 if (SWIG_arg_fail(1)) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 result
= (wxInputStream
*)(arg1
)->GetStream();
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8134 wxPyInputStream
* _ptr
= NULL
;
8137 _ptr
= new wxPyInputStream(result
);
8139 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8147 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
;
8149 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8151 PyObject
* obj0
= 0 ;
8153 (char *) "self", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8158 if (SWIG_arg_fail(1)) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8163 result
= (wxString
*) &_result_ref
;
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8173 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8182 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8186 PyObject
* obj0
= 0 ;
8188 (char *) "self", NULL
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8193 if (SWIG_arg_fail(1)) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 wxString
const &_result_ref
= (arg1
)->GetLocation();
8198 result
= (wxString
*) &_result_ref
;
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8206 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8208 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8217 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8221 PyObject
* obj0
= 0 ;
8223 (char *) "self", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8228 if (SWIG_arg_fail(1)) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8233 result
= (wxString
*) &_result_ref
;
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8243 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8252 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8256 PyObject
* obj0
= 0 ;
8258 (char *) "self", NULL
8261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8263 if (SWIG_arg_fail(1)) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 result
= (arg1
)->GetModificationTime();
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8272 wxDateTime
* resultptr
;
8273 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8282 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8285 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8287 return Py_BuildValue((char *)"");
8289 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8292 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8294 return Py_BuildValue((char *)"");
8296 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxPyFileSystemHandler
*result
;
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8318 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8321 PyObject
*arg2
= (PyObject
*) 0 ;
8322 PyObject
*arg3
= (PyObject
*) 0 ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8325 PyObject
* obj2
= 0 ;
8327 (char *) "self",(char *) "self",(char *) "_class", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8332 if (SWIG_arg_fail(1)) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8349 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8352 wxString
*arg2
= 0 ;
8354 bool temp2
= false ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8358 (char *) "self",(char *) "location", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8363 if (SWIG_arg_fail(1)) SWIG_fail
;
8365 arg2
= wxString_in_helper(obj1
);
8366 if (arg2
== NULL
) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8393 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8396 wxFileSystem
*arg2
= 0 ;
8397 wxString
*arg3
= 0 ;
8399 bool temp3
= false ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8404 (char *) "self",(char *) "fs",(char *) "location", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8409 if (SWIG_arg_fail(1)) SWIG_fail
;
8411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8412 if (SWIG_arg_fail(2)) SWIG_fail
;
8414 SWIG_null_ref("wxFileSystem");
8416 if (SWIG_arg_fail(2)) SWIG_fail
;
8419 arg3
= wxString_in_helper(obj2
);
8420 if (arg3
== NULL
) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= wxPyMake_wxObject(result
, 1);
8447 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8450 wxString
*arg2
= 0 ;
8451 int arg3
= (int) 0 ;
8453 bool temp2
= false ;
8454 PyObject
* obj0
= 0 ;
8455 PyObject
* obj1
= 0 ;
8456 PyObject
* obj2
= 0 ;
8458 (char *) "self",(char *) "spec",(char *) "flags", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8463 if (SWIG_arg_fail(1)) SWIG_fail
;
8465 arg2
= wxString_in_helper(obj1
);
8466 if (arg2
== NULL
) SWIG_fail
;
8471 arg3
= (int)(SWIG_As_int(obj2
));
8472 if (SWIG_arg_fail(3)) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8503 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8507 PyObject
* obj0
= 0 ;
8509 (char *) "self", NULL
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8514 if (SWIG_arg_fail(1)) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 result
= (arg1
)->FindNext();
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8535 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
;
8537 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8538 wxString
*arg2
= 0 ;
8540 bool temp2
= false ;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8544 (char *) "self",(char *) "location", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8549 if (SWIG_arg_fail(1)) SWIG_fail
;
8551 arg2
= wxString_in_helper(obj1
);
8552 if (arg2
== NULL
) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8583 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8586 wxString
*arg2
= 0 ;
8588 bool temp2
= false ;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8592 (char *) "self",(char *) "location", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8597 if (SWIG_arg_fail(1)) SWIG_fail
;
8599 arg2
= wxString_in_helper(obj1
);
8600 if (arg2
== NULL
) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8631 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8634 wxString
*arg2
= 0 ;
8636 bool temp2
= false ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8640 (char *) "self",(char *) "location", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8645 if (SWIG_arg_fail(1)) SWIG_fail
;
8647 arg2
= wxString_in_helper(obj1
);
8648 if (arg2
== NULL
) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8679 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8682 wxString
*arg2
= 0 ;
8684 bool temp2
= false ;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8688 (char *) "self",(char *) "location", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8693 if (SWIG_arg_fail(1)) SWIG_fail
;
8695 arg2
= wxString_in_helper(obj1
);
8696 if (arg2
== NULL
) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8727 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8730 wxString
*arg2
= 0 ;
8732 bool temp2
= false ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8736 (char *) "self",(char *) "location", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail
;
8743 arg2
= wxString_in_helper(obj1
);
8744 if (arg2
== NULL
) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8775 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8778 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8780 return Py_BuildValue((char *)"");
8782 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxFileSystem
*result
;
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (wxFileSystem
*)new wxFileSystem();
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= wxPyMake_wxObject(result
, 1);
8806 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8808 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8809 PyObject
* obj0
= 0 ;
8811 (char *) "self", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8816 if (SWIG_arg_fail(1)) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8834 wxString
*arg2
= 0 ;
8835 bool arg3
= (bool) false ;
8836 bool temp2
= false ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 PyObject
* obj2
= 0 ;
8841 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= wxString_in_helper(obj1
);
8849 if (arg2
== NULL
) SWIG_fail
;
8854 arg3
= (bool)(SWIG_As_bool(obj2
));
8855 if (SWIG_arg_fail(3)) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 Py_INCREF(Py_None
); resultobj
= Py_None
;
8880 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8886 (char *) "self", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8891 if (SWIG_arg_fail(1)) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= (arg1
)->GetPath();
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8912 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8915 wxString
*arg2
= 0 ;
8917 bool temp2
= false ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8921 (char *) "self",(char *) "location", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail
;
8928 arg2
= wxString_in_helper(obj1
);
8929 if (arg2
== NULL
) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= wxPyMake_wxObject(result
, 1);
8956 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8959 wxString
*arg2
= 0 ;
8960 int arg3
= (int) 0 ;
8962 bool temp2
= false ;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8967 (char *) "self",(char *) "spec",(char *) "flags", NULL
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8972 if (SWIG_arg_fail(1)) SWIG_fail
;
8974 arg2
= wxString_in_helper(obj1
);
8975 if (arg2
== NULL
) SWIG_fail
;
8980 arg3
= (int)(SWIG_As_int(obj2
));
8981 if (SWIG_arg_fail(3)) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9012 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
9016 PyObject
* obj0
= 0 ;
9018 (char *) "self", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
9022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9023 if (SWIG_arg_fail(1)) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 result
= (arg1
)->FindNext();
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9044 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "handler", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9054 if (SWIG_arg_fail(1)) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 wxFileSystem::AddHandler(arg1
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 Py_INCREF(Py_None
); resultobj
= Py_None
;
9069 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 wxFileSystem::CleanUpHandlers();
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 Py_INCREF(Py_None
); resultobj
= Py_None
;
9090 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9092 wxString
*arg1
= 0 ;
9094 bool temp1
= false ;
9095 PyObject
* obj0
= 0 ;
9097 (char *) "filename", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9102 arg1
= wxString_in_helper(obj0
);
9103 if (arg1
== NULL
) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9134 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxString
*arg1
= 0 ;
9138 bool temp1
= false ;
9139 PyObject
* obj0
= 0 ;
9141 (char *) "url", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9146 arg1
= wxString_in_helper(obj0
);
9147 if (arg1
== NULL
) SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9178 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9181 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9183 return Py_BuildValue((char *)"");
9185 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxInternetFSHandler
*result
;
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9207 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9210 wxString
*arg2
= 0 ;
9212 bool temp2
= false ;
9213 PyObject
* obj0
= 0 ;
9214 PyObject
* obj1
= 0 ;
9216 (char *) "self",(char *) "location", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9221 if (SWIG_arg_fail(1)) SWIG_fail
;
9223 arg2
= wxString_in_helper(obj1
);
9224 if (arg2
== NULL
) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9251 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9254 wxFileSystem
*arg2
= 0 ;
9255 wxString
*arg3
= 0 ;
9257 bool temp3
= false ;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9260 PyObject
* obj2
= 0 ;
9262 (char *) "self",(char *) "fs",(char *) "location", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9267 if (SWIG_arg_fail(1)) SWIG_fail
;
9269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9270 if (SWIG_arg_fail(2)) SWIG_fail
;
9272 SWIG_null_ref("wxFileSystem");
9274 if (SWIG_arg_fail(2)) SWIG_fail
;
9277 arg3
= wxString_in_helper(obj2
);
9278 if (arg3
== NULL
) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= wxPyMake_wxObject(result
, 1);
9305 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9308 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9310 return Py_BuildValue((char *)"");
9312 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxZipFSHandler
*result
;
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9334 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9337 wxString
*arg2
= 0 ;
9339 bool temp2
= false ;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9343 (char *) "self",(char *) "location", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9348 if (SWIG_arg_fail(1)) SWIG_fail
;
9350 arg2
= wxString_in_helper(obj1
);
9351 if (arg2
== NULL
) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9378 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9381 wxFileSystem
*arg2
= 0 ;
9382 wxString
*arg3
= 0 ;
9384 bool temp3
= false ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 PyObject
* obj2
= 0 ;
9389 (char *) "self",(char *) "fs",(char *) "location", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9394 if (SWIG_arg_fail(1)) SWIG_fail
;
9396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9397 if (SWIG_arg_fail(2)) SWIG_fail
;
9399 SWIG_null_ref("wxFileSystem");
9401 if (SWIG_arg_fail(2)) SWIG_fail
;
9404 arg3
= wxString_in_helper(obj2
);
9405 if (arg3
== NULL
) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= wxPyMake_wxObject(result
, 1);
9432 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9435 wxString
*arg2
= 0 ;
9436 int arg3
= (int) 0 ;
9438 bool temp2
= false ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 PyObject
* obj2
= 0 ;
9443 (char *) "self",(char *) "spec",(char *) "flags", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9448 if (SWIG_arg_fail(1)) SWIG_fail
;
9450 arg2
= wxString_in_helper(obj1
);
9451 if (arg2
== NULL
) SWIG_fail
;
9456 arg3
= (int)(SWIG_As_int(obj2
));
9457 if (SWIG_arg_fail(3)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9488 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9494 (char *) "self", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9499 if (SWIG_arg_fail(1)) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 result
= (arg1
)->FindNext();
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9520 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9523 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9525 return Py_BuildValue((char *)"");
9527 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9529 wxString
*arg1
= 0 ;
9532 bool temp1
= false ;
9533 PyObject
* obj0
= 0 ;
9534 PyObject
* obj1
= 0 ;
9535 PyObject
* obj2
= 0 ;
9537 (char *) "filename",(char *) "image",(char *) "type", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9542 arg1
= wxString_in_helper(obj0
);
9543 if (arg1
== NULL
) SWIG_fail
;
9547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9548 if (SWIG_arg_fail(2)) SWIG_fail
;
9550 SWIG_null_ref("wxImage");
9552 if (SWIG_arg_fail(2)) SWIG_fail
;
9555 arg3
= (long)(SWIG_As_long(obj2
));
9556 if (SWIG_arg_fail(3)) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 Py_INCREF(Py_None
); resultobj
= Py_None
;
9580 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
;
9582 wxString
*arg1
= 0 ;
9583 wxBitmap
*arg2
= 0 ;
9585 bool temp1
= false ;
9586 PyObject
* obj0
= 0 ;
9587 PyObject
* obj1
= 0 ;
9588 PyObject
* obj2
= 0 ;
9590 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9595 arg1
= wxString_in_helper(obj0
);
9596 if (arg1
== NULL
) SWIG_fail
;
9600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9601 if (SWIG_arg_fail(2)) SWIG_fail
;
9603 SWIG_null_ref("wxBitmap");
9605 if (SWIG_arg_fail(2)) SWIG_fail
;
9608 arg3
= (long)(SWIG_As_long(obj2
));
9609 if (SWIG_arg_fail(3)) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9633 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxString
*arg1
= 0 ;
9636 PyObject
*arg2
= (PyObject
*) 0 ;
9637 bool temp1
= false ;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9641 (char *) "filename",(char *) "data", NULL
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9646 arg1
= wxString_in_helper(obj0
);
9647 if (arg1
== NULL
) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 Py_INCREF(Py_None
); resultobj
= Py_None
;
9673 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxMemoryFSHandler
*result
;
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9695 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxString
*arg1
= 0 ;
9698 bool temp1
= false ;
9699 PyObject
* obj0
= 0 ;
9701 (char *) "filename", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9706 arg1
= wxString_in_helper(obj0
);
9707 if (arg1
== NULL
) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 Py_INCREF(Py_None
); resultobj
= Py_None
;
9732 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9735 wxString
*arg2
= 0 ;
9737 bool temp2
= false ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9741 (char *) "self",(char *) "location", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9746 if (SWIG_arg_fail(1)) SWIG_fail
;
9748 arg2
= wxString_in_helper(obj1
);
9749 if (arg2
== NULL
) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9776 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9779 wxFileSystem
*arg2
= 0 ;
9780 wxString
*arg3
= 0 ;
9782 bool temp3
= false ;
9783 PyObject
* obj0
= 0 ;
9784 PyObject
* obj1
= 0 ;
9785 PyObject
* obj2
= 0 ;
9787 (char *) "self",(char *) "fs",(char *) "location", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9792 if (SWIG_arg_fail(1)) SWIG_fail
;
9794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9795 if (SWIG_arg_fail(2)) SWIG_fail
;
9797 SWIG_null_ref("wxFileSystem");
9799 if (SWIG_arg_fail(2)) SWIG_fail
;
9802 arg3
= wxString_in_helper(obj2
);
9803 if (arg3
== NULL
) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= wxPyMake_wxObject(result
, 1);
9830 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9833 wxString
*arg2
= 0 ;
9834 int arg3
= (int) 0 ;
9836 bool temp2
= false ;
9837 PyObject
* obj0
= 0 ;
9838 PyObject
* obj1
= 0 ;
9839 PyObject
* obj2
= 0 ;
9841 (char *) "self",(char *) "spec",(char *) "flags", NULL
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9846 if (SWIG_arg_fail(1)) SWIG_fail
;
9848 arg2
= wxString_in_helper(obj1
);
9849 if (arg2
== NULL
) SWIG_fail
;
9854 arg3
= (int)(SWIG_As_int(obj2
));
9855 if (SWIG_arg_fail(3)) SWIG_fail
;
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9886 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "self", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9897 if (SWIG_arg_fail(1)) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= (arg1
)->FindNext();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9918 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9921 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9923 return Py_BuildValue((char *)"");
9925 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9931 (char *) "self", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9936 if (SWIG_arg_fail(1)) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 result
= (arg1
)->GetName();
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9957 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9961 PyObject
* obj0
= 0 ;
9963 (char *) "self", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9968 if (SWIG_arg_fail(1)) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (arg1
)->GetExtension();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9989 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9995 (char *) "self", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10000 if (SWIG_arg_fail(1)) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (long)(arg1
)->GetType();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= SWIG_From_long((long)(result
));
10017 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10021 PyObject
* obj0
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
10027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10028 if (SWIG_arg_fail(1)) SWIG_fail
;
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 result
= (arg1
)->GetMimeType();
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10049 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10052 wxString
*arg2
= 0 ;
10054 bool temp2
= false ;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "self",(char *) "name", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10063 if (SWIG_arg_fail(1)) SWIG_fail
;
10065 arg2
= wxString_in_helper(obj1
);
10066 if (arg2
== NULL
) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10093 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
;
10095 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10096 wxString
*arg2
= 0 ;
10097 bool temp2
= false ;
10098 PyObject
* obj0
= 0 ;
10099 PyObject
* obj1
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self",(char *) "name", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail
;
10108 arg2
= wxString_in_helper(obj1
);
10109 if (arg2
== NULL
) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 (arg1
)->SetName((wxString
const &)*arg2
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 Py_INCREF(Py_None
); resultobj
= Py_None
;
10134 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10137 wxString
*arg2
= 0 ;
10138 bool temp2
= false ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self",(char *) "extension", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10147 if (SWIG_arg_fail(1)) SWIG_fail
;
10149 arg2
= wxString_in_helper(obj1
);
10150 if (arg2
== NULL
) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 (arg1
)->SetExtension((wxString
const &)*arg2
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 Py_INCREF(Py_None
); resultobj
= Py_None
;
10175 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self",(char *) "type", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10187 if (SWIG_arg_fail(1)) SWIG_fail
;
10189 arg2
= (long)(SWIG_As_long(obj1
));
10190 if (SWIG_arg_fail(2)) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 (arg1
)->SetType(arg2
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 Py_INCREF(Py_None
); resultobj
= Py_None
;
10206 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10209 wxString
*arg2
= 0 ;
10210 bool temp2
= false ;
10211 PyObject
* obj0
= 0 ;
10212 PyObject
* obj1
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "self",(char *) "mimetype", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10219 if (SWIG_arg_fail(1)) SWIG_fail
;
10221 arg2
= wxString_in_helper(obj1
);
10222 if (arg2
== NULL
) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 Py_INCREF(Py_None
); resultobj
= Py_None
;
10247 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10250 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10252 return Py_BuildValue((char *)"");
10254 static PyObject
*_wrap_new_PyImageHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxPyImageHandler
*result
;
10257 char *kwnames
[] = {
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyImageHandler",kwnames
)) goto fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (wxPyImageHandler
*)new wxPyImageHandler();
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyImageHandler
, 1);
10276 static PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
10279 PyObject
*arg2
= (PyObject
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 char *kwnames
[] = {
10283 (char *) "self",(char *) "self", NULL
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
10287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10288 if (SWIG_arg_fail(1)) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 (arg1
)->_SetSelf(arg2
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 Py_INCREF(Py_None
); resultobj
= Py_None
;
10304 static PyObject
* PyImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10307 SWIG_TypeClientData(SWIGTYPE_p_wxPyImageHandler
, obj
);
10309 return Py_BuildValue((char *)"");
10311 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxImageHistogram
*result
;
10314 char *kwnames
[] = {
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (wxImageHistogram
*)new wxImageHistogram();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10333 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10338 unsigned long result
;
10339 PyObject
* obj0
= 0 ;
10340 PyObject
* obj1
= 0 ;
10341 PyObject
* obj2
= 0 ;
10342 char *kwnames
[] = {
10343 (char *) "r",(char *) "g",(char *) "b", NULL
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10348 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10349 if (SWIG_arg_fail(1)) SWIG_fail
;
10352 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10353 if (SWIG_arg_fail(2)) SWIG_fail
;
10356 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10357 if (SWIG_arg_fail(3)) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10375 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10378 byte
*arg2
= (byte
*) 0 ;
10379 byte
*arg3
= (byte
*) 0 ;
10380 byte
*arg4
= (byte
*) 0 ;
10381 byte arg5
= (byte
) 1 ;
10382 byte arg6
= (byte
) 0 ;
10383 byte arg7
= (byte
) 0 ;
10391 PyObject
* obj0
= 0 ;
10392 PyObject
* obj1
= 0 ;
10393 PyObject
* obj2
= 0 ;
10394 PyObject
* obj3
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10399 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10400 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10401 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10404 if (SWIG_arg_fail(1)) SWIG_fail
;
10407 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10408 if (SWIG_arg_fail(5)) SWIG_fail
;
10413 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10414 if (SWIG_arg_fail(6)) SWIG_fail
;
10419 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10420 if (SWIG_arg_fail(7)) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10433 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10434 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10435 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10436 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10437 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10438 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10445 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10448 unsigned long arg2
;
10449 unsigned long result
;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self",(char *) "key", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10458 if (SWIG_arg_fail(1)) SWIG_fail
;
10460 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10461 if (SWIG_arg_fail(2)) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10479 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10485 unsigned long result
;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 PyObject
* obj2
= 0 ;
10489 PyObject
* obj3
= 0 ;
10490 char *kwnames
[] = {
10491 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10496 if (SWIG_arg_fail(1)) SWIG_fail
;
10498 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10499 if (SWIG_arg_fail(2)) SWIG_fail
;
10502 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10503 if (SWIG_arg_fail(3)) SWIG_fail
;
10506 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10507 if (SWIG_arg_fail(4)) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10525 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10528 wxColour
*arg2
= 0 ;
10529 unsigned long result
;
10531 PyObject
* obj0
= 0 ;
10532 PyObject
* obj1
= 0 ;
10533 char *kwnames
[] = {
10534 (char *) "self",(char *) "colour", NULL
10537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10539 if (SWIG_arg_fail(1)) SWIG_fail
;
10542 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10560 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10563 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10565 return Py_BuildValue((char *)"");
10567 static PyObject
*_wrap_new_Image_RGBValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 byte arg1
= (byte
) 0 ;
10570 byte arg2
= (byte
) 0 ;
10571 byte arg3
= (byte
) 0 ;
10572 wxImage_RGBValue
*result
;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 PyObject
* obj2
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "r",(char *) "g",(char *) "b", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10583 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10584 if (SWIG_arg_fail(1)) SWIG_fail
;
10589 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10590 if (SWIG_arg_fail(2)) SWIG_fail
;
10595 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10596 if (SWIG_arg_fail(3)) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage_RGBValue
, 1);
10613 static PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 PyObject
* obj1
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "self",(char *) "red", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_red_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10625 if (SWIG_arg_fail(1)) SWIG_fail
;
10627 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10628 if (SWIG_arg_fail(2)) SWIG_fail
;
10630 if (arg1
) (arg1
)->red
= arg2
;
10632 Py_INCREF(Py_None
); resultobj
= Py_None
;
10639 static PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10641 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_red_get",kwnames
,&obj0
)) goto fail
;
10649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10650 if (SWIG_arg_fail(1)) SWIG_fail
;
10651 result
= (byte
) ((arg1
)->red
);
10654 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10662 static PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self",(char *) "green", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_green_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10674 if (SWIG_arg_fail(1)) SWIG_fail
;
10676 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10677 if (SWIG_arg_fail(2)) SWIG_fail
;
10679 if (arg1
) (arg1
)->green
= arg2
;
10681 Py_INCREF(Py_None
); resultobj
= Py_None
;
10688 static PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10692 PyObject
* obj0
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_green_get",kwnames
,&obj0
)) goto fail
;
10698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10699 if (SWIG_arg_fail(1)) SWIG_fail
;
10700 result
= (byte
) ((arg1
)->green
);
10703 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10711 static PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self",(char *) "blue", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_blue_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10723 if (SWIG_arg_fail(1)) SWIG_fail
;
10725 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10726 if (SWIG_arg_fail(2)) SWIG_fail
;
10728 if (arg1
) (arg1
)->blue
= arg2
;
10730 Py_INCREF(Py_None
); resultobj
= Py_None
;
10737 static PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10741 PyObject
* obj0
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_blue_get",kwnames
,&obj0
)) goto fail
;
10747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10748 if (SWIG_arg_fail(1)) SWIG_fail
;
10749 result
= (byte
) ((arg1
)->blue
);
10752 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10760 static PyObject
* Image_RGBValue_swigregister(PyObject
*, PyObject
*args
) {
10762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10763 SWIG_TypeClientData(SWIGTYPE_p_wxImage_RGBValue
, obj
);
10765 return Py_BuildValue((char *)"");
10767 static PyObject
*_wrap_new_Image_HSVValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 double arg1
= (double) 0.0 ;
10770 double arg2
= (double) 0.0 ;
10771 double arg3
= (double) 0.0 ;
10772 wxImage_HSVValue
*result
;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 PyObject
* obj2
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "h",(char *) "s",(char *) "v", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10783 arg1
= (double)(SWIG_As_double(obj0
));
10784 if (SWIG_arg_fail(1)) SWIG_fail
;
10789 arg2
= (double)(SWIG_As_double(obj1
));
10790 if (SWIG_arg_fail(2)) SWIG_fail
;
10795 arg3
= (double)(SWIG_As_double(obj2
));
10796 if (SWIG_arg_fail(3)) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage_HSVValue
, 1);
10813 static PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "self",(char *) "hue", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_hue_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10825 if (SWIG_arg_fail(1)) SWIG_fail
;
10827 arg2
= (double)(SWIG_As_double(obj1
));
10828 if (SWIG_arg_fail(2)) SWIG_fail
;
10830 if (arg1
) (arg1
)->hue
= arg2
;
10832 Py_INCREF(Py_None
); resultobj
= Py_None
;
10839 static PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
;
10841 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_hue_get",kwnames
,&obj0
)) goto fail
;
10849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10850 if (SWIG_arg_fail(1)) SWIG_fail
;
10851 result
= (double) ((arg1
)->hue
);
10854 resultobj
= SWIG_From_double((double)(result
));
10862 static PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self",(char *) "saturation", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_saturation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10874 if (SWIG_arg_fail(1)) SWIG_fail
;
10876 arg2
= (double)(SWIG_As_double(obj1
));
10877 if (SWIG_arg_fail(2)) SWIG_fail
;
10879 if (arg1
) (arg1
)->saturation
= arg2
;
10881 Py_INCREF(Py_None
); resultobj
= Py_None
;
10888 static PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
;
10890 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10892 PyObject
* obj0
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_saturation_get",kwnames
,&obj0
)) goto fail
;
10898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10899 if (SWIG_arg_fail(1)) SWIG_fail
;
10900 result
= (double) ((arg1
)->saturation
);
10903 resultobj
= SWIG_From_double((double)(result
));
10911 static PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self",(char *) "value", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_value_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10923 if (SWIG_arg_fail(1)) SWIG_fail
;
10925 arg2
= (double)(SWIG_As_double(obj1
));
10926 if (SWIG_arg_fail(2)) SWIG_fail
;
10928 if (arg1
) (arg1
)->value
= arg2
;
10930 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10941 PyObject
* obj0
= 0 ;
10942 char *kwnames
[] = {
10943 (char *) "self", NULL
10946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_value_get",kwnames
,&obj0
)) goto fail
;
10947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10948 if (SWIG_arg_fail(1)) SWIG_fail
;
10949 result
= (double) ((arg1
)->value
);
10952 resultobj
= SWIG_From_double((double)(result
));
10960 static PyObject
* Image_HSVValue_swigregister(PyObject
*, PyObject
*args
) {
10962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10963 SWIG_TypeClientData(SWIGTYPE_p_wxImage_HSVValue
, obj
);
10965 return Py_BuildValue((char *)"");
10967 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxString
*arg1
= 0 ;
10970 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10971 int arg3
= (int) -1 ;
10973 bool temp1
= false ;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 PyObject
* obj2
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "name",(char *) "type",(char *) "index", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10983 arg1
= wxString_in_helper(obj0
);
10984 if (arg1
== NULL
) SWIG_fail
;
10989 arg2
= (long)(SWIG_As_long(obj1
));
10990 if (SWIG_arg_fail(2)) SWIG_fail
;
10995 arg3
= (int)(SWIG_As_int(obj2
));
10996 if (SWIG_arg_fail(3)) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11021 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11022 PyObject
*resultobj
;
11023 wxImage
*arg1
= (wxImage
*) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
11030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11031 if (SWIG_arg_fail(1)) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 Py_INCREF(Py_None
); resultobj
= Py_None
;
11046 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxString
*arg1
= 0 ;
11049 wxString
*arg2
= 0 ;
11050 int arg3
= (int) -1 ;
11052 bool temp1
= false ;
11053 bool temp2
= false ;
11054 PyObject
* obj0
= 0 ;
11055 PyObject
* obj1
= 0 ;
11056 PyObject
* obj2
= 0 ;
11057 char *kwnames
[] = {
11058 (char *) "name",(char *) "mimetype",(char *) "index", NULL
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11063 arg1
= wxString_in_helper(obj0
);
11064 if (arg1
== NULL
) SWIG_fail
;
11068 arg2
= wxString_in_helper(obj1
);
11069 if (arg2
== NULL
) SWIG_fail
;
11074 arg3
= (int)(SWIG_As_int(obj2
));
11075 if (SWIG_arg_fail(3)) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11108 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxInputStream
*arg1
= 0 ;
11111 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11112 int arg3
= (int) -1 ;
11114 wxPyInputStream
*temp1
;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 PyObject
* obj2
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "stream",(char *) "type",(char *) "index", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11125 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11126 arg1
= temp1
->m_wxis
;
11129 PyErr_Clear(); // clear the failure of the wxPyConvert above
11130 arg1
= wxPyCBInputStream_create(obj0
, false);
11131 if (arg1
== NULL
) {
11132 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11140 arg2
= (long)(SWIG_As_long(obj1
));
11141 if (SWIG_arg_fail(2)) SWIG_fail
;
11146 arg3
= (int)(SWIG_As_int(obj2
));
11147 if (SWIG_arg_fail(3)) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11159 if (created1
) delete arg1
;
11164 if (created1
) delete arg1
;
11170 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxInputStream
*arg1
= 0 ;
11173 wxString
*arg2
= 0 ;
11174 int arg3
= (int) -1 ;
11176 wxPyInputStream
*temp1
;
11178 bool temp2
= false ;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 PyObject
* obj2
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11188 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11189 arg1
= temp1
->m_wxis
;
11192 PyErr_Clear(); // clear the failure of the wxPyConvert above
11193 arg1
= wxPyCBInputStream_create(obj0
, false);
11194 if (arg1
== NULL
) {
11195 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11202 arg2
= wxString_in_helper(obj1
);
11203 if (arg2
== NULL
) SWIG_fail
;
11208 arg3
= (int)(SWIG_As_int(obj2
));
11209 if (SWIG_arg_fail(3)) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11221 if (created1
) delete arg1
;
11230 if (created1
) delete arg1
;
11240 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 int arg1
= (int) 0 ;
11243 int arg2
= (int) 0 ;
11244 bool arg3
= (bool) true ;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 PyObject
* obj2
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "width",(char *) "height",(char *) "clear", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11256 arg1
= (int)(SWIG_As_int(obj0
));
11257 if (SWIG_arg_fail(1)) SWIG_fail
;
11262 arg2
= (int)(SWIG_As_int(obj1
));
11263 if (SWIG_arg_fail(2)) SWIG_fail
;
11268 arg3
= (bool)(SWIG_As_bool(obj2
));
11269 if (SWIG_arg_fail(3)) SWIG_fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11286 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxBitmap
*arg1
= 0 ;
11290 PyObject
* obj0
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "bitmap", NULL
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
11297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
11298 if (SWIG_arg_fail(1)) SWIG_fail
;
11299 if (arg1
== NULL
) {
11300 SWIG_null_ref("wxBitmap");
11302 if (SWIG_arg_fail(1)) SWIG_fail
;
11305 if (!wxPyCheckForApp()) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11319 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 PyObject
* obj2
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "width",(char *) "height",(char *) "data", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11335 arg1
= (int)(SWIG_As_int(obj0
));
11336 if (SWIG_arg_fail(1)) SWIG_fail
;
11339 arg2
= (int)(SWIG_As_int(obj1
));
11340 if (SWIG_arg_fail(2)) SWIG_fail
;
11343 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11359 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 PyObject
* obj2
= 0 ;
11371 PyObject
* obj3
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11378 arg1
= (int)(SWIG_As_int(obj0
));
11379 if (SWIG_arg_fail(1)) SWIG_fail
;
11382 arg2
= (int)(SWIG_As_int(obj1
));
11383 if (SWIG_arg_fail(2)) SWIG_fail
;
11386 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
11389 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11405 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
;
11407 wxImage
*arg1
= (wxImage
*) 0 ;
11410 bool arg4
= (bool) true ;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 PyObject
* obj2
= 0 ;
11414 PyObject
* obj3
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11421 if (SWIG_arg_fail(1)) SWIG_fail
;
11423 arg2
= (int)(SWIG_As_int(obj1
));
11424 if (SWIG_arg_fail(2)) SWIG_fail
;
11427 arg3
= (int)(SWIG_As_int(obj2
));
11428 if (SWIG_arg_fail(3)) SWIG_fail
;
11432 arg4
= (bool)(SWIG_As_bool(obj3
));
11433 if (SWIG_arg_fail(4)) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 (arg1
)->Create(arg2
,arg3
,arg4
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxImage
*arg1
= (wxImage
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 char *kwnames
[] = {
11455 (char *) "self", NULL
11458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
11459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11460 if (SWIG_arg_fail(1)) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 Py_INCREF(Py_None
); resultobj
= Py_None
;
11475 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxImage
*arg1
= (wxImage
*) 0 ;
11480 SwigValueWrapper
<wxImage
> result
;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 PyObject
* obj2
= 0 ;
11484 char *kwnames
[] = {
11485 (char *) "self",(char *) "width",(char *) "height", NULL
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11490 if (SWIG_arg_fail(1)) SWIG_fail
;
11492 arg2
= (int)(SWIG_As_int(obj1
));
11493 if (SWIG_arg_fail(2)) SWIG_fail
;
11496 arg3
= (int)(SWIG_As_int(obj2
));
11497 if (SWIG_arg_fail(3)) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (arg1
)->Scale(arg2
,arg3
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11507 wxImage
* resultptr
;
11508 resultptr
= new wxImage((wxImage
&)(result
));
11509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11517 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxImage
*arg1
= (wxImage
*) 0 ;
11522 SwigValueWrapper
<wxImage
> result
;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 PyObject
* obj2
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11532 if (SWIG_arg_fail(1)) SWIG_fail
;
11534 arg2
= (int)(SWIG_As_int(obj1
));
11535 if (SWIG_arg_fail(2)) SWIG_fail
;
11538 arg3
= (int)(SWIG_As_int(obj2
));
11539 if (SWIG_arg_fail(3)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 wxImage
* resultptr
;
11550 resultptr
= new wxImage((wxImage
&)(result
));
11551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11559 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxImage
*arg1
= (wxImage
*) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 PyObject
* obj2
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self",(char *) "width",(char *) "height", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11574 if (SWIG_arg_fail(1)) SWIG_fail
;
11576 arg2
= (int)(SWIG_As_int(obj1
));
11577 if (SWIG_arg_fail(2)) SWIG_fail
;
11580 arg3
= (int)(SWIG_As_int(obj2
));
11581 if (SWIG_arg_fail(3)) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11587 result
= (wxImage
*) &_result_ref
;
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11600 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
;
11602 wxImage
*arg1
= (wxImage
*) 0 ;
11604 wxPoint
*arg3
= 0 ;
11605 int arg4
= (int) -1 ;
11606 int arg5
= (int) -1 ;
11607 int arg6
= (int) -1 ;
11611 PyObject
* obj0
= 0 ;
11612 PyObject
* obj1
= 0 ;
11613 PyObject
* obj2
= 0 ;
11614 PyObject
* obj3
= 0 ;
11615 PyObject
* obj4
= 0 ;
11616 PyObject
* obj5
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11623 if (SWIG_arg_fail(1)) SWIG_fail
;
11626 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11630 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11634 arg4
= (int)(SWIG_As_int(obj3
));
11635 if (SWIG_arg_fail(4)) SWIG_fail
;
11640 arg5
= (int)(SWIG_As_int(obj4
));
11641 if (SWIG_arg_fail(5)) SWIG_fail
;
11646 arg6
= (int)(SWIG_As_int(obj5
));
11647 if (SWIG_arg_fail(6)) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11654 result
= (wxImage
*) &_result_ref
;
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11667 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxImage
*arg1
= (wxImage
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 PyObject
* obj1
= 0 ;
11677 PyObject
* obj2
= 0 ;
11678 PyObject
* obj3
= 0 ;
11679 PyObject
* obj4
= 0 ;
11680 PyObject
* obj5
= 0 ;
11681 char *kwnames
[] = {
11682 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11687 if (SWIG_arg_fail(1)) SWIG_fail
;
11689 arg2
= (int)(SWIG_As_int(obj1
));
11690 if (SWIG_arg_fail(2)) SWIG_fail
;
11693 arg3
= (int)(SWIG_As_int(obj2
));
11694 if (SWIG_arg_fail(3)) SWIG_fail
;
11697 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11698 if (SWIG_arg_fail(4)) SWIG_fail
;
11701 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11702 if (SWIG_arg_fail(5)) SWIG_fail
;
11705 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11706 if (SWIG_arg_fail(6)) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 Py_INCREF(Py_None
); resultobj
= Py_None
;
11722 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
;
11724 wxImage
*arg1
= (wxImage
*) 0 ;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 PyObject
* obj2
= 0 ;
11733 PyObject
* obj3
= 0 ;
11734 PyObject
* obj4
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11741 if (SWIG_arg_fail(1)) SWIG_fail
;
11744 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11747 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11748 if (SWIG_arg_fail(3)) SWIG_fail
;
11751 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11752 if (SWIG_arg_fail(4)) SWIG_fail
;
11755 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11756 if (SWIG_arg_fail(5)) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11765 Py_INCREF(Py_None
); resultobj
= Py_None
;
11772 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
;
11774 wxImage
*arg1
= (wxImage
*) 0 ;
11778 PyObject
* obj0
= 0 ;
11779 PyObject
* obj1
= 0 ;
11780 PyObject
* obj2
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "self",(char *) "x",(char *) "y", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11787 if (SWIG_arg_fail(1)) SWIG_fail
;
11789 arg2
= (int)(SWIG_As_int(obj1
));
11790 if (SWIG_arg_fail(2)) SWIG_fail
;
11793 arg3
= (int)(SWIG_As_int(obj2
));
11794 if (SWIG_arg_fail(3)) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11812 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxImage
*arg1
= (wxImage
*) 0 ;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 PyObject
* obj2
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "self",(char *) "x",(char *) "y", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11827 if (SWIG_arg_fail(1)) SWIG_fail
;
11829 arg2
= (int)(SWIG_As_int(obj1
));
11830 if (SWIG_arg_fail(2)) SWIG_fail
;
11833 arg3
= (int)(SWIG_As_int(obj2
));
11834 if (SWIG_arg_fail(3)) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11852 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
;
11854 wxImage
*arg1
= (wxImage
*) 0 ;
11858 PyObject
* obj0
= 0 ;
11859 PyObject
* obj1
= 0 ;
11860 PyObject
* obj2
= 0 ;
11861 char *kwnames
[] = {
11862 (char *) "self",(char *) "x",(char *) "y", NULL
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11867 if (SWIG_arg_fail(1)) SWIG_fail
;
11869 arg2
= (int)(SWIG_As_int(obj1
));
11870 if (SWIG_arg_fail(2)) SWIG_fail
;
11873 arg3
= (int)(SWIG_As_int(obj2
));
11874 if (SWIG_arg_fail(3)) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11892 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxImage
*arg1
= (wxImage
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 PyObject
* obj2
= 0 ;
11901 PyObject
* obj3
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11908 if (SWIG_arg_fail(1)) SWIG_fail
;
11910 arg2
= (int)(SWIG_As_int(obj1
));
11911 if (SWIG_arg_fail(2)) SWIG_fail
;
11914 arg3
= (int)(SWIG_As_int(obj2
));
11915 if (SWIG_arg_fail(3)) SWIG_fail
;
11918 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11919 if (SWIG_arg_fail(4)) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 Py_INCREF(Py_None
); resultobj
= Py_None
;
11935 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxImage
*arg1
= (wxImage
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 PyObject
* obj2
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self",(char *) "x",(char *) "y", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11950 if (SWIG_arg_fail(1)) SWIG_fail
;
11952 arg2
= (int)(SWIG_As_int(obj1
));
11953 if (SWIG_arg_fail(2)) SWIG_fail
;
11956 arg3
= (int)(SWIG_As_int(obj2
));
11957 if (SWIG_arg_fail(3)) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11975 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
*resultobj
;
11977 wxImage
*arg1
= (wxImage
*) 0 ;
11979 PyObject
* obj0
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11986 if (SWIG_arg_fail(1)) SWIG_fail
;
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (bool)(arg1
)->HasAlpha();
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12003 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxImage
*arg1
= (wxImage
*) 0 ;
12006 PyObject
* obj0
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
12012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12013 if (SWIG_arg_fail(1)) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 (arg1
)->InitAlpha();
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 Py_INCREF(Py_None
); resultobj
= Py_None
;
12028 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxImage
*arg1
= (wxImage
*) 0 ;
12033 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
12035 PyObject
* obj0
= 0 ;
12036 PyObject
* obj1
= 0 ;
12037 PyObject
* obj2
= 0 ;
12038 PyObject
* obj3
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12045 if (SWIG_arg_fail(1)) SWIG_fail
;
12047 arg2
= (int)(SWIG_As_int(obj1
));
12048 if (SWIG_arg_fail(2)) SWIG_fail
;
12051 arg3
= (int)(SWIG_As_int(obj2
));
12052 if (SWIG_arg_fail(3)) SWIG_fail
;
12056 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12057 if (SWIG_arg_fail(4)) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12076 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
;
12078 wxImage
*arg1
= (wxImage
*) 0 ;
12079 byte
*arg2
= (byte
*) 0 ;
12080 byte
*arg3
= (byte
*) 0 ;
12081 byte
*arg4
= (byte
*) 0 ;
12082 byte arg5
= (byte
) 0 ;
12083 byte arg6
= (byte
) 0 ;
12084 byte arg7
= (byte
) 0 ;
12092 PyObject
* obj0
= 0 ;
12093 PyObject
* obj1
= 0 ;
12094 PyObject
* obj2
= 0 ;
12095 PyObject
* obj3
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12100 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12101 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12102 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12105 if (SWIG_arg_fail(1)) SWIG_fail
;
12108 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12109 if (SWIG_arg_fail(5)) SWIG_fail
;
12114 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12115 if (SWIG_arg_fail(6)) SWIG_fail
;
12120 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12121 if (SWIG_arg_fail(7)) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12134 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12135 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12136 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12137 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12138 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12139 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12146 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxImage
*arg1
= (wxImage
*) 0 ;
12149 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
12151 PyObject
* obj0
= 0 ;
12152 PyObject
* obj1
= 0 ;
12153 char *kwnames
[] = {
12154 (char *) "self",(char *) "threshold", NULL
12157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12159 if (SWIG_arg_fail(1)) SWIG_fail
;
12162 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12163 if (SWIG_arg_fail(2)) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12182 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12183 PyObject
*resultobj
;
12184 wxImage
*arg1
= (wxImage
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 PyObject
* obj2
= 0 ;
12192 PyObject
* obj3
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12199 if (SWIG_arg_fail(1)) SWIG_fail
;
12201 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12202 if (SWIG_arg_fail(2)) SWIG_fail
;
12205 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12206 if (SWIG_arg_fail(3)) SWIG_fail
;
12209 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12210 if (SWIG_arg_fail(4)) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12228 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxImage
*arg1
= (wxImage
*) 0 ;
12231 wxImage
*arg2
= 0 ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 PyObject
* obj2
= 0 ;
12239 PyObject
* obj3
= 0 ;
12240 PyObject
* obj4
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12247 if (SWIG_arg_fail(1)) SWIG_fail
;
12249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12250 if (SWIG_arg_fail(2)) SWIG_fail
;
12251 if (arg2
== NULL
) {
12252 SWIG_null_ref("wxImage");
12254 if (SWIG_arg_fail(2)) SWIG_fail
;
12257 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12258 if (SWIG_arg_fail(3)) SWIG_fail
;
12261 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12262 if (SWIG_arg_fail(4)) SWIG_fail
;
12265 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
12266 if (SWIG_arg_fail(5)) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12284 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxString
*arg1
= 0 ;
12288 bool temp1
= false ;
12289 PyObject
* obj0
= 0 ;
12290 char *kwnames
[] = {
12291 (char *) "filename", NULL
12294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
12296 arg1
= wxString_in_helper(obj0
);
12297 if (arg1
== NULL
) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12324 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxString
*arg1
= 0 ;
12327 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12329 bool temp1
= false ;
12330 PyObject
* obj0
= 0 ;
12331 PyObject
* obj1
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "filename",(char *) "type", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12338 arg1
= wxString_in_helper(obj0
);
12339 if (arg1
== NULL
) SWIG_fail
;
12344 arg2
= (long)(SWIG_As_long(obj1
));
12345 if (SWIG_arg_fail(2)) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_From_int((int)(result
));
12372 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxImage
*arg1
= (wxImage
*) 0 ;
12375 wxString
*arg2
= 0 ;
12376 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12377 int arg4
= (int) -1 ;
12379 bool temp2
= false ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 PyObject
* obj2
= 0 ;
12383 PyObject
* obj3
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail
;
12392 arg2
= wxString_in_helper(obj1
);
12393 if (arg2
== NULL
) SWIG_fail
;
12398 arg3
= (long)(SWIG_As_long(obj2
));
12399 if (SWIG_arg_fail(3)) SWIG_fail
;
12404 arg4
= (int)(SWIG_As_int(obj3
));
12405 if (SWIG_arg_fail(4)) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12432 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxImage
*arg1
= (wxImage
*) 0 ;
12435 wxString
*arg2
= 0 ;
12436 wxString
*arg3
= 0 ;
12437 int arg4
= (int) -1 ;
12439 bool temp2
= false ;
12440 bool temp3
= false ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 PyObject
* obj2
= 0 ;
12444 PyObject
* obj3
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12451 if (SWIG_arg_fail(1)) SWIG_fail
;
12453 arg2
= wxString_in_helper(obj1
);
12454 if (arg2
== NULL
) SWIG_fail
;
12458 arg3
= wxString_in_helper(obj2
);
12459 if (arg3
== NULL
) SWIG_fail
;
12464 arg4
= (int)(SWIG_As_int(obj3
));
12465 if (SWIG_arg_fail(4)) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12500 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxImage
*arg1
= (wxImage
*) 0 ;
12503 wxString
*arg2
= 0 ;
12506 bool temp2
= false ;
12507 PyObject
* obj0
= 0 ;
12508 PyObject
* obj1
= 0 ;
12509 PyObject
* obj2
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self",(char *) "name",(char *) "type", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12516 if (SWIG_arg_fail(1)) SWIG_fail
;
12518 arg2
= wxString_in_helper(obj1
);
12519 if (arg2
== NULL
) SWIG_fail
;
12523 arg3
= (int)(SWIG_As_int(obj2
));
12524 if (SWIG_arg_fail(3)) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12550 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxImage
*arg1
= (wxImage
*) 0 ;
12553 wxString
*arg2
= 0 ;
12554 wxString
*arg3
= 0 ;
12556 bool temp2
= false ;
12557 bool temp3
= false ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 PyObject
* obj2
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12567 if (SWIG_arg_fail(1)) SWIG_fail
;
12569 arg2
= wxString_in_helper(obj1
);
12570 if (arg2
== NULL
) SWIG_fail
;
12574 arg3
= wxString_in_helper(obj2
);
12575 if (arg3
== NULL
) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12610 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxInputStream
*arg1
= 0 ;
12614 wxPyInputStream
*temp1
;
12616 PyObject
* obj0
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "stream", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12623 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12624 arg1
= temp1
->m_wxis
;
12627 PyErr_Clear(); // clear the failure of the wxPyConvert above
12628 arg1
= wxPyCBInputStream_create(obj0
, false);
12629 if (arg1
== NULL
) {
12630 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= (bool)wxImage::CanRead(*arg1
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12647 if (created1
) delete arg1
;
12652 if (created1
) delete arg1
;
12658 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxImage
*arg1
= (wxImage
*) 0 ;
12661 wxInputStream
*arg2
= 0 ;
12662 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12663 int arg4
= (int) -1 ;
12665 wxPyInputStream
*temp2
;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 PyObject
* obj2
= 0 ;
12670 PyObject
* obj3
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12677 if (SWIG_arg_fail(1)) SWIG_fail
;
12679 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12680 arg2
= temp2
->m_wxis
;
12683 PyErr_Clear(); // clear the failure of the wxPyConvert above
12684 arg2
= wxPyCBInputStream_create(obj1
, false);
12685 if (arg2
== NULL
) {
12686 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12694 arg3
= (long)(SWIG_As_long(obj2
));
12695 if (SWIG_arg_fail(3)) SWIG_fail
;
12700 arg4
= (int)(SWIG_As_int(obj3
));
12701 if (SWIG_arg_fail(4)) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12715 if (created2
) delete arg2
;
12720 if (created2
) delete arg2
;
12726 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxImage
*arg1
= (wxImage
*) 0 ;
12729 wxInputStream
*arg2
= 0 ;
12730 wxString
*arg3
= 0 ;
12731 int arg4
= (int) -1 ;
12733 wxPyInputStream
*temp2
;
12735 bool temp3
= false ;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 PyObject
* obj2
= 0 ;
12739 PyObject
* obj3
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12746 if (SWIG_arg_fail(1)) SWIG_fail
;
12748 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12749 arg2
= temp2
->m_wxis
;
12752 PyErr_Clear(); // clear the failure of the wxPyConvert above
12753 arg2
= wxPyCBInputStream_create(obj1
, false);
12754 if (arg2
== NULL
) {
12755 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12762 arg3
= wxString_in_helper(obj2
);
12763 if (arg3
== NULL
) SWIG_fail
;
12768 arg4
= (int)(SWIG_As_int(obj3
));
12769 if (SWIG_arg_fail(4)) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12783 if (created2
) delete arg2
;
12792 if (created2
) delete arg2
;
12802 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxImage
*arg1
= (wxImage
*) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12813 if (SWIG_arg_fail(1)) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 result
= (bool)(arg1
)->Ok();
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12830 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxImage
*arg1
= (wxImage
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12841 if (SWIG_arg_fail(1)) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (int)(arg1
)->GetWidth();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_From_int((int)(result
));
12858 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxImage
*arg1
= (wxImage
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12869 if (SWIG_arg_fail(1)) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (int)(arg1
)->GetHeight();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= SWIG_From_int((int)(result
));
12886 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxImage
*arg1
= (wxImage
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12897 if (SWIG_arg_fail(1)) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= wxImage_GetSize(arg1
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12906 wxSize
* resultptr
;
12907 resultptr
= new wxSize((wxSize
&)(result
));
12908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12916 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxImage
*arg1
= (wxImage
*) 0 ;
12920 SwigValueWrapper
<wxImage
> result
;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self",(char *) "rect", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12930 if (SWIG_arg_fail(1)) SWIG_fail
;
12933 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12943 wxImage
* resultptr
;
12944 resultptr
= new wxImage((wxImage
&)(result
));
12945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12953 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxImage
*arg1
= (wxImage
*) 0 ;
12957 wxPoint
*arg3
= 0 ;
12958 int arg4
= (int) -1 ;
12959 int arg5
= (int) -1 ;
12960 int arg6
= (int) -1 ;
12961 SwigValueWrapper
<wxImage
> result
;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 PyObject
* obj2
= 0 ;
12967 PyObject
* obj3
= 0 ;
12968 PyObject
* obj4
= 0 ;
12969 PyObject
* obj5
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail
;
12979 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12987 arg4
= (int)(SWIG_As_int(obj3
));
12988 if (SWIG_arg_fail(4)) SWIG_fail
;
12993 arg5
= (int)(SWIG_As_int(obj4
));
12994 if (SWIG_arg_fail(5)) SWIG_fail
;
12999 arg6
= (int)(SWIG_As_int(obj5
));
13000 if (SWIG_arg_fail(6)) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13011 wxImage
* resultptr
;
13012 resultptr
= new wxImage((wxImage
&)(result
));
13013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13021 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
;
13023 wxImage
*arg1
= (wxImage
*) 0 ;
13024 SwigValueWrapper
<wxImage
> result
;
13025 PyObject
* obj0
= 0 ;
13026 char *kwnames
[] = {
13027 (char *) "self", NULL
13030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
13031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13032 if (SWIG_arg_fail(1)) SWIG_fail
;
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (arg1
)->Copy();
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13041 wxImage
* resultptr
;
13042 resultptr
= new wxImage((wxImage
&)(result
));
13043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13051 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxImage
*arg1
= (wxImage
*) 0 ;
13054 wxImage
*arg2
= 0 ;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 PyObject
* obj2
= 0 ;
13060 PyObject
* obj3
= 0 ;
13061 char *kwnames
[] = {
13062 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
13065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13067 if (SWIG_arg_fail(1)) SWIG_fail
;
13069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13070 if (SWIG_arg_fail(2)) SWIG_fail
;
13071 if (arg2
== NULL
) {
13072 SWIG_null_ref("wxImage");
13074 if (SWIG_arg_fail(2)) SWIG_fail
;
13077 arg3
= (int)(SWIG_As_int(obj2
));
13078 if (SWIG_arg_fail(3)) SWIG_fail
;
13081 arg4
= (int)(SWIG_As_int(obj3
));
13082 if (SWIG_arg_fail(4)) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 Py_INCREF(Py_None
); resultobj
= Py_None
;
13098 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxImage
*arg1
= (wxImage
*) 0 ;
13102 PyObject
* obj0
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
13108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13109 if (SWIG_arg_fail(1)) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= (PyObject
*)wxImage_GetData(arg1
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= result
;
13124 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxImage
*arg1
= (wxImage
*) 0 ;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self",(char *) "data", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13137 if (SWIG_arg_fail(1)) SWIG_fail
;
13139 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 wxImage_SetData(arg1
,arg2
,arg3
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 Py_INCREF(Py_None
); resultobj
= Py_None
;
13155 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxImage
*arg1
= (wxImage
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
13165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= result
;
13181 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxImage
*arg1
= (wxImage
*) 0 ;
13186 PyObject
* obj0
= 0 ;
13187 PyObject
* obj1
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self",(char *) "data", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13194 if (SWIG_arg_fail(1)) SWIG_fail
;
13196 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 Py_INCREF(Py_None
); resultobj
= Py_None
;
13212 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxImage
*arg1
= (wxImage
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "self", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
13222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13223 if (SWIG_arg_fail(1)) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= result
;
13238 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
;
13240 wxImage
*arg1
= (wxImage
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 PyObject
* obj1
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self",(char *) "alpha", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
13250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13251 if (SWIG_arg_fail(1)) SWIG_fail
;
13253 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 Py_INCREF(Py_None
); resultobj
= Py_None
;
13269 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxImage
*arg1
= (wxImage
*) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
13279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13280 if (SWIG_arg_fail(1)) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= result
;
13295 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxImage
*arg1
= (wxImage
*) 0 ;
13300 PyObject
* obj0
= 0 ;
13301 PyObject
* obj1
= 0 ;
13302 char *kwnames
[] = {
13303 (char *) "self",(char *) "alpha", NULL
13306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13308 if (SWIG_arg_fail(1)) SWIG_fail
;
13310 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 Py_INCREF(Py_None
); resultobj
= Py_None
;
13326 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxImage
*arg1
= (wxImage
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 PyObject
* obj2
= 0 ;
13335 PyObject
* obj3
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13342 if (SWIG_arg_fail(1)) SWIG_fail
;
13344 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13345 if (SWIG_arg_fail(2)) SWIG_fail
;
13348 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13349 if (SWIG_arg_fail(3)) SWIG_fail
;
13352 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13353 if (SWIG_arg_fail(4)) SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 Py_INCREF(Py_None
); resultobj
= Py_None
;
13369 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxImage
*arg1
= (wxImage
*) 0 ;
13372 byte
*arg2
= (byte
*) 0 ;
13373 byte
*arg3
= (byte
*) 0 ;
13374 byte
*arg4
= (byte
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self", NULL
13386 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13387 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13388 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
13390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13391 if (SWIG_arg_fail(1)) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 Py_INCREF(Py_None
); resultobj
= Py_None
;
13400 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13401 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
13402 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13403 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
13404 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13405 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
13412 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxImage
*arg1
= (wxImage
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
13422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13423 if (SWIG_arg_fail(1)) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (byte
)(arg1
)->GetMaskRed();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13440 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxImage
*arg1
= (wxImage
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
13450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13451 if (SWIG_arg_fail(1)) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (byte
)(arg1
)->GetMaskGreen();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13468 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxImage
*arg1
= (wxImage
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
13478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13479 if (SWIG_arg_fail(1)) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (byte
)(arg1
)->GetMaskBlue();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13496 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxImage
*arg1
= (wxImage
*) 0 ;
13499 bool arg2
= (bool) true ;
13500 PyObject
* obj0
= 0 ;
13501 PyObject
* obj1
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self",(char *) "mask", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail
;
13511 arg2
= (bool)(SWIG_As_bool(obj1
));
13512 if (SWIG_arg_fail(2)) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 (arg1
)->SetMask(arg2
);
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 Py_INCREF(Py_None
); resultobj
= Py_None
;
13529 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxImage
*arg1
= (wxImage
*) 0 ;
13533 PyObject
* obj0
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13540 if (SWIG_arg_fail(1)) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= (bool)(arg1
)->HasMask();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13557 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
;
13559 wxImage
*arg1
= (wxImage
*) 0 ;
13561 wxPoint
*arg3
= 0 ;
13562 bool arg4
= (bool) true ;
13563 wxPoint
*arg5
= (wxPoint
*) NULL
;
13564 SwigValueWrapper
<wxImage
> result
;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 PyObject
* obj2
= 0 ;
13569 PyObject
* obj3
= 0 ;
13570 PyObject
* obj4
= 0 ;
13571 char *kwnames
[] = {
13572 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13577 if (SWIG_arg_fail(1)) SWIG_fail
;
13579 arg2
= (double)(SWIG_As_double(obj1
));
13580 if (SWIG_arg_fail(2)) SWIG_fail
;
13584 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13588 arg4
= (bool)(SWIG_As_bool(obj3
));
13589 if (SWIG_arg_fail(4)) SWIG_fail
;
13593 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13594 if (SWIG_arg_fail(5)) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13604 wxImage
* resultptr
;
13605 resultptr
= new wxImage((wxImage
&)(result
));
13606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13614 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxImage
*arg1
= (wxImage
*) 0 ;
13617 bool arg2
= (bool) true ;
13618 SwigValueWrapper
<wxImage
> result
;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self",(char *) "clockwise", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13627 if (SWIG_arg_fail(1)) SWIG_fail
;
13630 arg2
= (bool)(SWIG_As_bool(obj1
));
13631 if (SWIG_arg_fail(2)) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (arg1
)->Rotate90(arg2
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13642 wxImage
* resultptr
;
13643 resultptr
= new wxImage((wxImage
&)(result
));
13644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13652 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxImage
*arg1
= (wxImage
*) 0 ;
13655 bool arg2
= (bool) true ;
13656 SwigValueWrapper
<wxImage
> result
;
13657 PyObject
* obj0
= 0 ;
13658 PyObject
* obj1
= 0 ;
13659 char *kwnames
[] = {
13660 (char *) "self",(char *) "horizontally", NULL
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13665 if (SWIG_arg_fail(1)) SWIG_fail
;
13668 arg2
= (bool)(SWIG_As_bool(obj1
));
13669 if (SWIG_arg_fail(2)) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (arg1
)->Mirror(arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13680 wxImage
* resultptr
;
13681 resultptr
= new wxImage((wxImage
&)(result
));
13682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13690 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13692 wxImage
*arg1
= (wxImage
*) 0 ;
13699 PyObject
* obj0
= 0 ;
13700 PyObject
* obj1
= 0 ;
13701 PyObject
* obj2
= 0 ;
13702 PyObject
* obj3
= 0 ;
13703 PyObject
* obj4
= 0 ;
13704 PyObject
* obj5
= 0 ;
13705 PyObject
* obj6
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13712 if (SWIG_arg_fail(1)) SWIG_fail
;
13714 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13715 if (SWIG_arg_fail(2)) SWIG_fail
;
13718 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13719 if (SWIG_arg_fail(3)) SWIG_fail
;
13722 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13723 if (SWIG_arg_fail(4)) SWIG_fail
;
13726 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13727 if (SWIG_arg_fail(5)) SWIG_fail
;
13730 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13731 if (SWIG_arg_fail(6)) SWIG_fail
;
13734 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13735 if (SWIG_arg_fail(7)) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 Py_INCREF(Py_None
); resultobj
= Py_None
;
13751 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
;
13753 wxImage
*arg1
= (wxImage
*) 0 ;
13757 SwigValueWrapper
<wxImage
> result
;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 PyObject
* obj2
= 0 ;
13761 PyObject
* obj3
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13768 if (SWIG_arg_fail(1)) SWIG_fail
;
13770 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13771 if (SWIG_arg_fail(2)) SWIG_fail
;
13774 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13775 if (SWIG_arg_fail(3)) SWIG_fail
;
13778 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13779 if (SWIG_arg_fail(4)) SWIG_fail
;
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13789 wxImage
* resultptr
;
13790 resultptr
= new wxImage((wxImage
&)(result
));
13791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13799 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxImage
*arg1
= (wxImage
*) 0 ;
13802 wxString
*arg2
= 0 ;
13803 wxString
*arg3
= 0 ;
13804 bool temp2
= false ;
13805 bool temp3
= false ;
13806 PyObject
* obj0
= 0 ;
13807 PyObject
* obj1
= 0 ;
13808 PyObject
* obj2
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self",(char *) "name",(char *) "value", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13815 if (SWIG_arg_fail(1)) SWIG_fail
;
13817 arg2
= wxString_in_helper(obj1
);
13818 if (arg2
== NULL
) SWIG_fail
;
13822 arg3
= wxString_in_helper(obj2
);
13823 if (arg3
== NULL
) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 Py_INCREF(Py_None
); resultobj
= Py_None
;
13856 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxImage
*arg1
= (wxImage
*) 0 ;
13859 wxString
*arg2
= 0 ;
13861 bool temp2
= false ;
13862 PyObject
* obj0
= 0 ;
13863 PyObject
* obj1
= 0 ;
13864 PyObject
* obj2
= 0 ;
13865 char *kwnames
[] = {
13866 (char *) "self",(char *) "name",(char *) "value", NULL
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13871 if (SWIG_arg_fail(1)) SWIG_fail
;
13873 arg2
= wxString_in_helper(obj1
);
13874 if (arg2
== NULL
) SWIG_fail
;
13878 arg3
= (int)(SWIG_As_int(obj2
));
13879 if (SWIG_arg_fail(3)) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 Py_INCREF(Py_None
); resultobj
= Py_None
;
13903 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxImage
*arg1
= (wxImage
*) 0 ;
13906 wxString
*arg2
= 0 ;
13908 bool temp2
= false ;
13909 PyObject
* obj0
= 0 ;
13910 PyObject
* obj1
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self",(char *) "name", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13917 if (SWIG_arg_fail(1)) SWIG_fail
;
13919 arg2
= wxString_in_helper(obj1
);
13920 if (arg2
== NULL
) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13951 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
;
13953 wxImage
*arg1
= (wxImage
*) 0 ;
13954 wxString
*arg2
= 0 ;
13956 bool temp2
= false ;
13957 PyObject
* obj0
= 0 ;
13958 PyObject
* obj1
= 0 ;
13959 char *kwnames
[] = {
13960 (char *) "self",(char *) "name", NULL
13963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13965 if (SWIG_arg_fail(1)) SWIG_fail
;
13967 arg2
= wxString_in_helper(obj1
);
13968 if (arg2
== NULL
) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= SWIG_From_int((int)(result
));
13995 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxImage
*arg1
= (wxImage
*) 0 ;
13998 wxString
*arg2
= 0 ;
14000 bool temp2
= false ;
14001 PyObject
* obj0
= 0 ;
14002 PyObject
* obj1
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self",(char *) "name", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
14008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14009 if (SWIG_arg_fail(1)) SWIG_fail
;
14011 arg2
= wxString_in_helper(obj1
);
14012 if (arg2
== NULL
) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14039 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
;
14041 wxImage
*arg1
= (wxImage
*) 0 ;
14042 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
14043 unsigned long result
;
14044 PyObject
* obj0
= 0 ;
14045 PyObject
* obj1
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self",(char *) "stopafter", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
14051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14052 if (SWIG_arg_fail(1)) SWIG_fail
;
14055 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
14056 if (SWIG_arg_fail(2)) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (unsigned long)(arg1
)->CountColours(arg2
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
14075 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 wxImage
*arg1
= (wxImage
*) 0 ;
14078 wxImageHistogram
*arg2
= 0 ;
14079 unsigned long result
;
14080 PyObject
* obj0
= 0 ;
14081 PyObject
* obj1
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "self",(char *) "h", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
14087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14088 if (SWIG_arg_fail(1)) SWIG_fail
;
14090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
14091 if (SWIG_arg_fail(2)) SWIG_fail
;
14092 if (arg2
== NULL
) {
14093 SWIG_null_ref("wxImageHistogram");
14095 if (SWIG_arg_fail(2)) SWIG_fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
14113 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
;
14115 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14116 PyObject
* obj0
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "handler", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
14122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
14123 if (SWIG_arg_fail(1)) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 wxImage::AddHandler(arg1
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 Py_INCREF(Py_None
); resultobj
= Py_None
;
14138 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "handler", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
14147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
14148 if (SWIG_arg_fail(1)) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 wxImage::InsertHandler(arg1
);
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 Py_INCREF(Py_None
); resultobj
= Py_None
;
14163 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxString
*arg1
= 0 ;
14167 bool temp1
= false ;
14168 PyObject
* obj0
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "name", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
14175 arg1
= wxString_in_helper(obj0
);
14176 if (arg1
== NULL
) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14203 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14206 char *kwnames
[] = {
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= wxImage::GetImageExtWildcard();
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14231 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxImage
*arg1
= (wxImage
*) 0 ;
14234 int arg2
= (int) -1 ;
14236 PyObject
* obj0
= 0 ;
14237 PyObject
* obj1
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self",(char *) "depth", NULL
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
14243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14244 if (SWIG_arg_fail(1)) SWIG_fail
;
14247 arg2
= (int)(SWIG_As_int(obj1
));
14248 if (SWIG_arg_fail(2)) SWIG_fail
;
14252 if (!wxPyCheckForApp()) SWIG_fail
;
14253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14254 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14260 wxBitmap
* resultptr
;
14261 resultptr
= new wxBitmap((wxBitmap
&)(result
));
14262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14270 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxImage
*arg1
= (wxImage
*) 0 ;
14277 PyObject
* obj0
= 0 ;
14278 PyObject
* obj1
= 0 ;
14279 PyObject
* obj2
= 0 ;
14280 PyObject
* obj3
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14287 if (SWIG_arg_fail(1)) SWIG_fail
;
14289 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
14290 if (SWIG_arg_fail(2)) SWIG_fail
;
14293 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
14294 if (SWIG_arg_fail(3)) SWIG_fail
;
14297 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
14298 if (SWIG_arg_fail(4)) SWIG_fail
;
14301 if (!wxPyCheckForApp()) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14309 wxBitmap
* resultptr
;
14310 resultptr
= new wxBitmap((wxBitmap
&)(result
));
14311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14319 static PyObject
*_wrap_Image_RotateHue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxImage
*arg1
= (wxImage
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "angle", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) goto fail
;
14330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail
;
14333 arg2
= (double)(SWIG_As_double(obj1
));
14334 if (SWIG_arg_fail(2)) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 (arg1
)->RotateHue(arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_Image_RGBtoHSV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxImage_RGBValue arg1
;
14353 wxImage_HSVValue result
;
14354 PyObject
* obj0
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "rgb", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) goto fail
;
14361 wxImage_RGBValue
* argp
;
14362 SWIG_Python_ConvertPtr(obj0
, (void **)&argp
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
);
14363 if (SWIG_arg_fail(1)) SWIG_fail
;
14364 if (argp
== NULL
) {
14365 SWIG_null_ref("wxImage_RGBValue");
14367 if (SWIG_arg_fail(1)) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= wxImage::RGBtoHSV(arg1
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 wxImage_HSVValue
* resultptr
;
14379 resultptr
= new wxImage_HSVValue((wxImage_HSVValue
&)(result
));
14380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage_HSVValue
, 1);
14388 static PyObject
*_wrap_Image_HSVtoRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxImage_HSVValue arg1
;
14391 wxImage_RGBValue result
;
14392 PyObject
* obj0
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "hsv", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) goto fail
;
14399 wxImage_HSVValue
* argp
;
14400 SWIG_Python_ConvertPtr(obj0
, (void **)&argp
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
);
14401 if (SWIG_arg_fail(1)) SWIG_fail
;
14402 if (argp
== NULL
) {
14403 SWIG_null_ref("wxImage_HSVValue");
14405 if (SWIG_arg_fail(1)) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= wxImage::HSVtoRGB(arg1
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14416 wxImage_RGBValue
* resultptr
;
14417 resultptr
= new wxImage_RGBValue((wxImage_RGBValue
&)(result
));
14418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage_RGBValue
, 1);
14426 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
14428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14429 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
14431 return Py_BuildValue((char *)"");
14433 static int _wrap_NullImage_set(PyObject
*) {
14434 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
14439 static PyObject
*_wrap_NullImage_get(void) {
14442 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
14447 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
14448 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
14453 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
14458 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
14460 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
14467 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
14468 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
14473 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
14478 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
14480 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
14487 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
14488 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
14493 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
14498 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
14500 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
14507 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
14508 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
14513 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
14518 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
14520 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
14527 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
14528 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
14533 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
14538 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
14540 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
14547 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
14548 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
14553 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
14558 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
14560 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
14567 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
14568 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
14573 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
14578 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
14580 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
14587 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
14588 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
14593 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
14598 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14600 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14607 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14608 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14613 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14618 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14620 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14627 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14628 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14633 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14638 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14640 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14647 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14648 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14653 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14658 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14660 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14667 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14668 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14673 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14678 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14680 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14687 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14688 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14693 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14698 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14700 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14707 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14708 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14713 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14718 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14720 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14727 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14728 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14733 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14738 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14740 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14747 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxBMPHandler
*result
;
14750 char *kwnames
[] = {
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 result
= (wxBMPHandler
*)new wxBMPHandler();
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14769 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14772 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14774 return Py_BuildValue((char *)"");
14776 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxICOHandler
*result
;
14779 char *kwnames
[] = {
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= (wxICOHandler
*)new wxICOHandler();
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14798 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14801 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14803 return Py_BuildValue((char *)"");
14805 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxCURHandler
*result
;
14808 char *kwnames
[] = {
14812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 result
= (wxCURHandler
*)new wxCURHandler();
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14827 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14830 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14832 return Py_BuildValue((char *)"");
14834 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxANIHandler
*result
;
14837 char *kwnames
[] = {
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (wxANIHandler
*)new wxANIHandler();
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14856 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14859 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14861 return Py_BuildValue((char *)"");
14863 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxPNGHandler
*result
;
14866 char *kwnames
[] = {
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (wxPNGHandler
*)new wxPNGHandler();
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14885 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14888 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14890 return Py_BuildValue((char *)"");
14892 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxGIFHandler
*result
;
14895 char *kwnames
[] = {
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (wxGIFHandler
*)new wxGIFHandler();
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14914 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14917 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14919 return Py_BuildValue((char *)"");
14921 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxPCXHandler
*result
;
14924 char *kwnames
[] = {
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (wxPCXHandler
*)new wxPCXHandler();
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14943 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14946 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14948 return Py_BuildValue((char *)"");
14950 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
;
14952 wxJPEGHandler
*result
;
14953 char *kwnames
[] = {
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14972 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14975 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14977 return Py_BuildValue((char *)"");
14979 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
;
14981 wxPNMHandler
*result
;
14982 char *kwnames
[] = {
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (wxPNMHandler
*)new wxPNMHandler();
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
15001 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
15003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15004 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
15006 return Py_BuildValue((char *)"");
15008 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
;
15010 wxXPMHandler
*result
;
15011 char *kwnames
[] = {
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (wxXPMHandler
*)new wxXPMHandler();
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
15030 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
15032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15033 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
15035 return Py_BuildValue((char *)"");
15037 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxTIFFHandler
*result
;
15040 char *kwnames
[] = {
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (wxTIFFHandler
*)new wxTIFFHandler();
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
15059 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
15061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15062 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
15064 return Py_BuildValue((char *)"");
15066 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxImage
*arg1
= 0 ;
15069 wxImage
*arg2
= 0 ;
15070 int arg3
= (int) 236 ;
15071 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 PyObject
* obj2
= 0 ;
15076 PyObject
* obj3
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
15084 if (SWIG_arg_fail(1)) SWIG_fail
;
15085 if (arg1
== NULL
) {
15086 SWIG_null_ref("wxImage");
15088 if (SWIG_arg_fail(1)) SWIG_fail
;
15091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(2)) SWIG_fail
;
15093 if (arg2
== NULL
) {
15094 SWIG_null_ref("wxImage");
15096 if (SWIG_arg_fail(2)) SWIG_fail
;
15100 arg3
= (int)(SWIG_As_int(obj2
));
15101 if (SWIG_arg_fail(3)) SWIG_fail
;
15106 arg4
= (int)(SWIG_As_int(obj3
));
15107 if (SWIG_arg_fail(4)) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15126 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
15128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15129 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
15131 return Py_BuildValue((char *)"");
15133 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 wxEvtHandler
*result
;
15136 char *kwnames
[] = {
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (wxEvtHandler
*)new wxEvtHandler();
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
15155 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15158 wxEvtHandler
*result
;
15159 PyObject
* obj0
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
15165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15166 if (SWIG_arg_fail(1)) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= wxPyMake_wxObject(result
, 0);
15183 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15186 wxEvtHandler
*result
;
15187 PyObject
* obj0
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
15193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15194 if (SWIG_arg_fail(1)) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= wxPyMake_wxObject(result
, 0);
15211 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15214 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
15215 PyObject
* obj0
= 0 ;
15216 PyObject
* obj1
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self",(char *) "handler", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
15222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15223 if (SWIG_arg_fail(1)) SWIG_fail
;
15224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15225 if (SWIG_arg_fail(2)) SWIG_fail
;
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 (arg1
)->SetNextHandler(arg2
);
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15233 Py_INCREF(Py_None
); resultobj
= Py_None
;
15240 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15243 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self",(char *) "handler", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
15251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15254 if (SWIG_arg_fail(2)) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 (arg1
)->SetPreviousHandler(arg2
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 Py_INCREF(Py_None
); resultobj
= Py_None
;
15269 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
15279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15280 if (SWIG_arg_fail(1)) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15297 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self",(char *) "enabled", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
15308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail
;
15311 arg2
= (bool)(SWIG_As_bool(obj1
));
15312 if (SWIG_arg_fail(2)) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 (arg1
)->SetEvtHandlerEnabled(arg2
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 Py_INCREF(Py_None
); resultobj
= Py_None
;
15328 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15331 wxEvent
*arg2
= 0 ;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "event", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15341 if (SWIG_arg_fail(1)) SWIG_fail
;
15343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15344 if (SWIG_arg_fail(2)) SWIG_fail
;
15345 if (arg2
== NULL
) {
15346 SWIG_null_ref("wxEvent");
15348 if (SWIG_arg_fail(2)) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15366 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15369 wxEvent
*arg2
= 0 ;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self",(char *) "event", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15378 if (SWIG_arg_fail(1)) SWIG_fail
;
15380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15381 if (SWIG_arg_fail(2)) SWIG_fail
;
15382 if (arg2
== NULL
) {
15383 SWIG_null_ref("wxEvent");
15385 if (SWIG_arg_fail(2)) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 (arg1
)->AddPendingEvent(*arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 Py_INCREF(Py_None
); resultobj
= Py_None
;
15401 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
15410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 (arg1
)->ProcessPendingEvents();
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 Py_INCREF(Py_None
); resultobj
= Py_None
;
15426 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15428 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15432 PyObject
*arg5
= (PyObject
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 PyObject
* obj2
= 0 ;
15436 PyObject
* obj3
= 0 ;
15437 PyObject
* obj4
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15444 if (SWIG_arg_fail(1)) SWIG_fail
;
15446 arg2
= (int)(SWIG_As_int(obj1
));
15447 if (SWIG_arg_fail(2)) SWIG_fail
;
15450 arg3
= (int)(SWIG_As_int(obj2
));
15451 if (SWIG_arg_fail(3)) SWIG_fail
;
15454 arg4
= (int)(SWIG_As_int(obj3
));
15455 if (SWIG_arg_fail(4)) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15465 Py_INCREF(Py_None
); resultobj
= Py_None
;
15472 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15476 int arg3
= (int) -1 ;
15477 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 PyObject
* obj2
= 0 ;
15482 PyObject
* obj3
= 0 ;
15483 char *kwnames
[] = {
15484 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
15487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15489 if (SWIG_arg_fail(1)) SWIG_fail
;
15491 arg2
= (int)(SWIG_As_int(obj1
));
15492 if (SWIG_arg_fail(2)) SWIG_fail
;
15496 arg3
= (int)(SWIG_As_int(obj2
));
15497 if (SWIG_arg_fail(3)) SWIG_fail
;
15502 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
15503 if (SWIG_arg_fail(4)) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15522 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15525 PyObject
*arg2
= (PyObject
*) 0 ;
15526 bool arg3
= (bool) true ;
15527 PyObject
* obj0
= 0 ;
15528 PyObject
* obj1
= 0 ;
15529 PyObject
* obj2
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self",(char *) "_self",(char *) "incref", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15536 if (SWIG_arg_fail(1)) SWIG_fail
;
15540 arg3
= (bool)(SWIG_As_bool(obj2
));
15541 if (SWIG_arg_fail(3)) SWIG_fail
;
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 Py_INCREF(Py_None
); resultobj
= Py_None
;
15558 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
15560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15561 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
15563 return Py_BuildValue((char *)"");
15565 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxEventType result
;
15568 char *kwnames
[] = {
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 result
= (wxEventType
)wxNewEventType();
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_From_int((int)(result
));
15589 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxEvent
*arg1
= (wxEvent
*) 0 ;
15592 PyObject
* obj0
= 0 ;
15593 char *kwnames
[] = {
15594 (char *) "self", NULL
15597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
15598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15599 if (SWIG_arg_fail(1)) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 Py_INCREF(Py_None
); resultobj
= Py_None
;
15614 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxEvent
*arg1
= (wxEvent
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 PyObject
* obj1
= 0 ;
15620 char *kwnames
[] = {
15621 (char *) "self",(char *) "typ", NULL
15624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15626 if (SWIG_arg_fail(1)) SWIG_fail
;
15628 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15629 if (SWIG_arg_fail(2)) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 (arg1
)->SetEventType(arg2
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 Py_INCREF(Py_None
); resultobj
= Py_None
;
15645 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxEvent
*arg1
= (wxEvent
*) 0 ;
15648 wxEventType result
;
15649 PyObject
* obj0
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15665 resultobj
= SWIG_From_int((int)(result
));
15673 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
;
15675 wxEvent
*arg1
= (wxEvent
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15684 if (SWIG_arg_fail(1)) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15693 resultobj
= wxPyMake_wxObject(result
, 0);
15701 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxEvent
*arg1
= (wxEvent
*) 0 ;
15704 wxObject
*arg2
= (wxObject
*) 0 ;
15705 PyObject
* obj0
= 0 ;
15706 PyObject
* obj1
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self",(char *) "obj", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15713 if (SWIG_arg_fail(1)) SWIG_fail
;
15714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15715 if (SWIG_arg_fail(2)) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 (arg1
)->SetEventObject(arg2
);
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 Py_INCREF(Py_None
); resultobj
= Py_None
;
15730 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxEvent
*arg1
= (wxEvent
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "self", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15741 if (SWIG_arg_fail(1)) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= SWIG_From_long((long)(result
));
15758 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxEvent
*arg1
= (wxEvent
*) 0 ;
15761 long arg2
= (long) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self",(char *) "ts", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15770 if (SWIG_arg_fail(1)) SWIG_fail
;
15773 arg2
= (long)(SWIG_As_long(obj1
));
15774 if (SWIG_arg_fail(2)) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 (arg1
)->SetTimestamp(arg2
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 Py_INCREF(Py_None
); resultobj
= Py_None
;
15791 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxEvent
*arg1
= (wxEvent
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15802 if (SWIG_arg_fail(1)) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (int)((wxEvent
const *)arg1
)->GetId();
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15811 resultobj
= SWIG_From_int((int)(result
));
15819 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
;
15821 wxEvent
*arg1
= (wxEvent
*) 0 ;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "self",(char *) "Id", NULL
15829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15831 if (SWIG_arg_fail(1)) SWIG_fail
;
15833 arg2
= (int)(SWIG_As_int(obj1
));
15834 if (SWIG_arg_fail(2)) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 (arg1
)->SetId(arg2
);
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 Py_INCREF(Py_None
); resultobj
= Py_None
;
15850 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxEvent
*arg1
= (wxEvent
*) 0 ;
15854 PyObject
* obj0
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15861 if (SWIG_arg_fail(1)) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15878 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxEvent
*arg1
= (wxEvent
*) 0 ;
15881 bool arg2
= (bool) true ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self",(char *) "skip", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15890 if (SWIG_arg_fail(1)) SWIG_fail
;
15893 arg2
= (bool)(SWIG_As_bool(obj1
));
15894 if (SWIG_arg_fail(2)) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 (arg1
)->Skip(arg2
);
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 Py_INCREF(Py_None
); resultobj
= Py_None
;
15911 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxEvent
*arg1
= (wxEvent
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15922 if (SWIG_arg_fail(1)) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15939 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxEvent
*arg1
= (wxEvent
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15950 if (SWIG_arg_fail(1)) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15967 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxEvent
*arg1
= (wxEvent
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15978 if (SWIG_arg_fail(1)) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (int)(arg1
)->StopPropagation();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= SWIG_From_int((int)(result
));
15995 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxEvent
*arg1
= (wxEvent
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 PyObject
* obj1
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self",(char *) "propagationLevel", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
16006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16007 if (SWIG_arg_fail(1)) SWIG_fail
;
16009 arg2
= (int)(SWIG_As_int(obj1
));
16010 if (SWIG_arg_fail(2)) SWIG_fail
;
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 (arg1
)->ResumePropagation(arg2
);
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16019 Py_INCREF(Py_None
); resultobj
= Py_None
;
16026 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
;
16028 wxEvent
*arg1
= (wxEvent
*) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
16036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16037 if (SWIG_arg_fail(1)) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 result
= (wxEvent
*)(arg1
)->Clone();
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
16052 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
16054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16055 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
16057 return Py_BuildValue((char *)"");
16059 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxEvent
*arg1
= 0 ;
16062 wxPropagationDisabler
*result
;
16063 PyObject
* obj0
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "event", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
16070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16071 if (SWIG_arg_fail(1)) SWIG_fail
;
16072 if (arg1
== NULL
) {
16073 SWIG_null_ref("wxEvent");
16075 if (SWIG_arg_fail(1)) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
16091 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
16100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
16101 if (SWIG_arg_fail(1)) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 Py_INCREF(Py_None
); resultobj
= Py_None
;
16116 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
16118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16119 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
16121 return Py_BuildValue((char *)"");
16123 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxEvent
*arg1
= 0 ;
16126 wxPropagateOnce
*result
;
16127 PyObject
* obj0
= 0 ;
16128 char *kwnames
[] = {
16129 (char *) "event", NULL
16132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
16134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16135 if (SWIG_arg_fail(1)) SWIG_fail
;
16136 if (arg1
== NULL
) {
16137 SWIG_null_ref("wxEvent");
16139 if (SWIG_arg_fail(1)) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
16155 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
16158 PyObject
* obj0
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
16164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
16165 if (SWIG_arg_fail(1)) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 Py_INCREF(Py_None
); resultobj
= Py_None
;
16180 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
16182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16183 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
16185 return Py_BuildValue((char *)"");
16187 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16190 int arg2
= (int) 0 ;
16191 wxCommandEvent
*result
;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "commandType",(char *) "winid", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16201 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16202 if (SWIG_arg_fail(1)) SWIG_fail
;
16207 arg2
= (int)(SWIG_As_int(obj1
));
16208 if (SWIG_arg_fail(2)) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
16225 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16236 if (SWIG_arg_fail(1)) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= SWIG_From_int((int)(result
));
16253 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16256 wxString
*arg2
= 0 ;
16257 bool temp2
= false ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self",(char *) "s", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
16265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 arg2
= wxString_in_helper(obj1
);
16269 if (arg2
== NULL
) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 (arg1
)->SetString((wxString
const &)*arg2
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 Py_INCREF(Py_None
); resultobj
= Py_None
;
16294 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "self", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
16304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16305 if (SWIG_arg_fail(1)) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= ((wxCommandEvent
const *)arg1
)->GetString();
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16326 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
;
16328 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
16336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16337 if (SWIG_arg_fail(1)) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16354 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 char *kwnames
[] = {
16360 (char *) "self", NULL
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
16364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16365 if (SWIG_arg_fail(1)) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16382 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self",(char *) "extraLong", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
16393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16394 if (SWIG_arg_fail(1)) SWIG_fail
;
16396 arg2
= (long)(SWIG_As_long(obj1
));
16397 if (SWIG_arg_fail(2)) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 (arg1
)->SetExtraLong(arg2
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 Py_INCREF(Py_None
); resultobj
= Py_None
;
16413 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
16423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16424 if (SWIG_arg_fail(1)) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= SWIG_From_long((long)(result
));
16441 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
;
16443 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self",(char *) "i", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
16452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16453 if (SWIG_arg_fail(1)) SWIG_fail
;
16455 arg2
= (int)(SWIG_As_int(obj1
));
16456 if (SWIG_arg_fail(2)) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 (arg1
)->SetInt(arg2
);
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 Py_INCREF(Py_None
); resultobj
= Py_None
;
16472 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16476 PyObject
* obj0
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
16482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16483 if (SWIG_arg_fail(1)) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= SWIG_From_long((long)(result
));
16500 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16504 PyObject
* obj0
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
16510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16511 if (SWIG_arg_fail(1)) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
16526 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
16528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16529 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
16531 return Py_BuildValue((char *)"");
16533 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16536 int arg2
= (int) 0 ;
16537 wxNotifyEvent
*result
;
16538 PyObject
* obj0
= 0 ;
16539 PyObject
* obj1
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "commandType",(char *) "winid", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16547 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16548 if (SWIG_arg_fail(1)) SWIG_fail
;
16553 arg2
= (int)(SWIG_As_int(obj1
));
16554 if (SWIG_arg_fail(2)) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
16571 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
16580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16581 if (SWIG_arg_fail(1)) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 Py_INCREF(Py_None
); resultobj
= Py_None
;
16596 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16606 if (SWIG_arg_fail(1)) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 Py_INCREF(Py_None
); resultobj
= Py_None
;
16621 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16632 if (SWIG_arg_fail(1)) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= (bool)(arg1
)->IsAllowed();
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16649 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16652 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16654 return Py_BuildValue((char *)"");
16656 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16659 int arg2
= (int) 0 ;
16660 int arg3
= (int) 0 ;
16661 int arg4
= (int) 0 ;
16662 wxScrollEvent
*result
;
16663 PyObject
* obj0
= 0 ;
16664 PyObject
* obj1
= 0 ;
16665 PyObject
* obj2
= 0 ;
16666 PyObject
* obj3
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16674 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16675 if (SWIG_arg_fail(1)) SWIG_fail
;
16680 arg2
= (int)(SWIG_As_int(obj1
));
16681 if (SWIG_arg_fail(2)) SWIG_fail
;
16686 arg3
= (int)(SWIG_As_int(obj2
));
16687 if (SWIG_arg_fail(3)) SWIG_fail
;
16692 arg4
= (int)(SWIG_As_int(obj3
));
16693 if (SWIG_arg_fail(4)) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16710 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16712 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16714 PyObject
* obj0
= 0 ;
16715 char *kwnames
[] = {
16716 (char *) "self", NULL
16719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16721 if (SWIG_arg_fail(1)) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= SWIG_From_int((int)(result
));
16738 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16742 PyObject
* obj0
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16749 if (SWIG_arg_fail(1)) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= SWIG_From_int((int)(result
));
16766 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16770 PyObject
* obj0
= 0 ;
16771 PyObject
* obj1
= 0 ;
16772 char *kwnames
[] = {
16773 (char *) "self",(char *) "orient", NULL
16776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16778 if (SWIG_arg_fail(1)) SWIG_fail
;
16780 arg2
= (int)(SWIG_As_int(obj1
));
16781 if (SWIG_arg_fail(2)) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 (arg1
)->SetOrientation(arg2
);
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 Py_INCREF(Py_None
); resultobj
= Py_None
;
16797 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
;
16799 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16801 PyObject
* obj0
= 0 ;
16802 PyObject
* obj1
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self",(char *) "pos", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16809 if (SWIG_arg_fail(1)) SWIG_fail
;
16811 arg2
= (int)(SWIG_As_int(obj1
));
16812 if (SWIG_arg_fail(2)) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 (arg1
)->SetPosition(arg2
);
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16821 Py_INCREF(Py_None
); resultobj
= Py_None
;
16828 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16831 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16833 return Py_BuildValue((char *)"");
16835 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16837 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16838 int arg2
= (int) 0 ;
16839 int arg3
= (int) 0 ;
16840 wxScrollWinEvent
*result
;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 PyObject
* obj2
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16851 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16852 if (SWIG_arg_fail(1)) SWIG_fail
;
16857 arg2
= (int)(SWIG_As_int(obj1
));
16858 if (SWIG_arg_fail(2)) SWIG_fail
;
16863 arg3
= (int)(SWIG_As_int(obj2
));
16864 if (SWIG_arg_fail(3)) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16881 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "self", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16892 if (SWIG_arg_fail(1)) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= SWIG_From_int((int)(result
));
16909 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16920 if (SWIG_arg_fail(1)) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_From_int((int)(result
));
16937 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "orient", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16949 if (SWIG_arg_fail(1)) SWIG_fail
;
16951 arg2
= (int)(SWIG_As_int(obj1
));
16952 if (SWIG_arg_fail(2)) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 (arg1
)->SetOrientation(arg2
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 Py_INCREF(Py_None
); resultobj
= Py_None
;
16968 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "self",(char *) "pos", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16980 if (SWIG_arg_fail(1)) SWIG_fail
;
16982 arg2
= (int)(SWIG_As_int(obj1
));
16983 if (SWIG_arg_fail(2)) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 (arg1
)->SetPosition(arg2
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 Py_INCREF(Py_None
); resultobj
= Py_None
;
16999 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
17001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17002 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
17004 return Py_BuildValue((char *)"");
17006 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17009 wxMouseEvent
*result
;
17010 PyObject
* obj0
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "mouseType", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
17018 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17019 if (SWIG_arg_fail(1)) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= wxPyMake_wxObject(result
, 1);
17038 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17042 PyObject
* obj0
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
17048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17049 if (SWIG_arg_fail(1)) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17066 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17069 int arg2
= (int) wxMOUSE_BTN_ANY
;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "but", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
17078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17079 if (SWIG_arg_fail(1)) SWIG_fail
;
17082 arg2
= (int)(SWIG_As_int(obj1
));
17083 if (SWIG_arg_fail(2)) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17102 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17105 int arg2
= (int) wxMOUSE_BTN_ANY
;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self",(char *) "but", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
17114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17115 if (SWIG_arg_fail(1)) SWIG_fail
;
17118 arg2
= (int)(SWIG_As_int(obj1
));
17119 if (SWIG_arg_fail(2)) SWIG_fail
;
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17138 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
;
17140 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17141 int arg2
= (int) wxMOUSE_BTN_ANY
;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self",(char *) "but", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
17150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17151 if (SWIG_arg_fail(1)) SWIG_fail
;
17154 arg2
= (int)(SWIG_As_int(obj1
));
17155 if (SWIG_arg_fail(2)) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17174 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "button", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
17186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17187 if (SWIG_arg_fail(1)) SWIG_fail
;
17189 arg2
= (int)(SWIG_As_int(obj1
));
17190 if (SWIG_arg_fail(2)) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17208 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self",(char *) "but", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
17220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17221 if (SWIG_arg_fail(1)) SWIG_fail
;
17223 arg2
= (int)(SWIG_As_int(obj1
));
17224 if (SWIG_arg_fail(2)) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17242 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
17252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17253 if (SWIG_arg_fail(1)) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_From_int((int)(result
));
17270 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17281 if (SWIG_arg_fail(1)) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17298 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17302 PyObject
* obj0
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17309 if (SWIG_arg_fail(1)) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17326 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17337 if (SWIG_arg_fail(1)) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17354 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17382 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17386 PyObject
* obj0
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17393 if (SWIG_arg_fail(1)) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17410 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
17420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17421 if (SWIG_arg_fail(1)) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17438 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17442 PyObject
* obj0
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
17448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17449 if (SWIG_arg_fail(1)) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17466 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "self", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
17476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17477 if (SWIG_arg_fail(1)) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17494 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
;
17496 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
17504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17505 if (SWIG_arg_fail(1)) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17522 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17526 PyObject
* obj0
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
17532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17533 if (SWIG_arg_fail(1)) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17550 static PyObject
*_wrap_MouseEvent_RightUp(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_RightUp",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
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17578 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17582 PyObject
* obj0
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
17588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17589 if (SWIG_arg_fail(1)) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17606 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17610 PyObject
* obj0
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "self", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17617 if (SWIG_arg_fail(1)) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17634 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17638 PyObject
* obj0
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "self", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17645 if (SWIG_arg_fail(1)) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17662 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17673 if (SWIG_arg_fail(1)) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= (bool)(arg1
)->LeftIsDown();
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17690 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
;
17692 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 char *kwnames
[] = {
17696 (char *) "self", NULL
17699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17701 if (SWIG_arg_fail(1)) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= (bool)(arg1
)->MiddleIsDown();
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17718 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17729 if (SWIG_arg_fail(1)) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= (bool)(arg1
)->RightIsDown();
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17746 static PyObject
*_wrap_MouseEvent_Dragging(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_Dragging",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
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17774 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17785 if (SWIG_arg_fail(1)) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17802 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
;
17804 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17813 if (SWIG_arg_fail(1)) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17830 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17841 if (SWIG_arg_fail(1)) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17858 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17869 if (SWIG_arg_fail(1)) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (arg1
)->GetPosition();
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 wxPoint
* resultptr
;
17879 resultptr
= new wxPoint((wxPoint
&)(result
));
17880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17888 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17891 long *arg2
= (long *) 0 ;
17892 long *arg3
= (long *) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self", NULL
17902 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17903 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17906 if (SWIG_arg_fail(1)) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 (arg1
)->GetPosition(arg2
,arg3
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 Py_INCREF(Py_None
); resultobj
= Py_None
;
17915 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17916 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17917 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17918 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17925 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "self",(char *) "dc", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17938 if (SWIG_arg_fail(1)) SWIG_fail
;
17940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17941 if (SWIG_arg_fail(2)) SWIG_fail
;
17942 if (arg2
== NULL
) {
17943 SWIG_null_ref("wxDC");
17945 if (SWIG_arg_fail(2)) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17955 wxPoint
* resultptr
;
17956 resultptr
= new wxPoint((wxPoint
&)(result
));
17957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17965 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17976 if (SWIG_arg_fail(1)) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= SWIG_From_int((int)(result
));
17993 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
18003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18004 if (SWIG_arg_fail(1)) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_From_int((int)(result
));
18021 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
18031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18032 if (SWIG_arg_fail(1)) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_From_int((int)(result
));
18049 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
18059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18060 if (SWIG_arg_fail(1)) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= SWIG_From_int((int)(result
));
18077 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
18087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18088 if (SWIG_arg_fail(1)) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= SWIG_From_int((int)(result
));
18105 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
18115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18116 if (SWIG_arg_fail(1)) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18133 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 PyObject
* obj1
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self",(char *) "m_x", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18145 if (SWIG_arg_fail(1)) SWIG_fail
;
18147 arg2
= (int)(SWIG_As_int(obj1
));
18148 if (SWIG_arg_fail(2)) SWIG_fail
;
18150 if (arg1
) (arg1
)->m_x
= arg2
;
18152 Py_INCREF(Py_None
); resultobj
= Py_None
;
18159 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18170 if (SWIG_arg_fail(1)) SWIG_fail
;
18171 result
= (int) ((arg1
)->m_x
);
18174 resultobj
= SWIG_From_int((int)(result
));
18182 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 PyObject
* obj1
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self",(char *) "m_y", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18194 if (SWIG_arg_fail(1)) SWIG_fail
;
18196 arg2
= (int)(SWIG_As_int(obj1
));
18197 if (SWIG_arg_fail(2)) SWIG_fail
;
18199 if (arg1
) (arg1
)->m_y
= arg2
;
18201 Py_INCREF(Py_None
); resultobj
= Py_None
;
18208 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18212 PyObject
* obj0
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "self", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18219 if (SWIG_arg_fail(1)) SWIG_fail
;
18220 result
= (int) ((arg1
)->m_y
);
18223 resultobj
= SWIG_From_int((int)(result
));
18231 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self",(char *) "m_leftDown", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18243 if (SWIG_arg_fail(1)) SWIG_fail
;
18245 arg2
= (bool)(SWIG_As_bool(obj1
));
18246 if (SWIG_arg_fail(2)) SWIG_fail
;
18248 if (arg1
) (arg1
)->m_leftDown
= arg2
;
18250 Py_INCREF(Py_None
); resultobj
= Py_None
;
18257 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
18267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18268 if (SWIG_arg_fail(1)) SWIG_fail
;
18269 result
= (bool) ((arg1
)->m_leftDown
);
18272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18280 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self",(char *) "m_middleDown", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18292 if (SWIG_arg_fail(1)) SWIG_fail
;
18294 arg2
= (bool)(SWIG_As_bool(obj1
));
18295 if (SWIG_arg_fail(2)) SWIG_fail
;
18297 if (arg1
) (arg1
)->m_middleDown
= arg2
;
18299 Py_INCREF(Py_None
); resultobj
= Py_None
;
18306 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
;
18308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18310 PyObject
* obj0
= 0 ;
18311 char *kwnames
[] = {
18312 (char *) "self", NULL
18315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
18316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18317 if (SWIG_arg_fail(1)) SWIG_fail
;
18318 result
= (bool) ((arg1
)->m_middleDown
);
18321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18329 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "self",(char *) "m_rightDown", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18341 if (SWIG_arg_fail(1)) SWIG_fail
;
18343 arg2
= (bool)(SWIG_As_bool(obj1
));
18344 if (SWIG_arg_fail(2)) SWIG_fail
;
18346 if (arg1
) (arg1
)->m_rightDown
= arg2
;
18348 Py_INCREF(Py_None
); resultobj
= Py_None
;
18355 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
;
18357 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18359 PyObject
* obj0
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
18365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18366 if (SWIG_arg_fail(1)) SWIG_fail
;
18367 result
= (bool) ((arg1
)->m_rightDown
);
18370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18378 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 PyObject
* obj1
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self",(char *) "m_controlDown", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18390 if (SWIG_arg_fail(1)) SWIG_fail
;
18392 arg2
= (bool)(SWIG_As_bool(obj1
));
18393 if (SWIG_arg_fail(2)) SWIG_fail
;
18395 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18397 Py_INCREF(Py_None
); resultobj
= Py_None
;
18404 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18408 PyObject
* obj0
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18415 if (SWIG_arg_fail(1)) SWIG_fail
;
18416 result
= (bool) ((arg1
)->m_controlDown
);
18419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18427 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "m_shiftDown", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18439 if (SWIG_arg_fail(1)) SWIG_fail
;
18441 arg2
= (bool)(SWIG_As_bool(obj1
));
18442 if (SWIG_arg_fail(2)) SWIG_fail
;
18444 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail
;
18465 result
= (bool) ((arg1
)->m_shiftDown
);
18468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18476 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 PyObject
* obj1
= 0 ;
18482 char *kwnames
[] = {
18483 (char *) "self",(char *) "m_altDown", NULL
18486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18488 if (SWIG_arg_fail(1)) SWIG_fail
;
18490 arg2
= (bool)(SWIG_As_bool(obj1
));
18491 if (SWIG_arg_fail(2)) SWIG_fail
;
18493 if (arg1
) (arg1
)->m_altDown
= arg2
;
18495 Py_INCREF(Py_None
); resultobj
= Py_None
;
18502 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18513 if (SWIG_arg_fail(1)) SWIG_fail
;
18514 result
= (bool) ((arg1
)->m_altDown
);
18517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18525 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self",(char *) "m_metaDown", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18537 if (SWIG_arg_fail(1)) SWIG_fail
;
18539 arg2
= (bool)(SWIG_As_bool(obj1
));
18540 if (SWIG_arg_fail(2)) SWIG_fail
;
18542 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18544 Py_INCREF(Py_None
); resultobj
= Py_None
;
18551 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18562 if (SWIG_arg_fail(1)) SWIG_fail
;
18563 result
= (bool) ((arg1
)->m_metaDown
);
18566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18574 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self",(char *) "m_wheelRotation", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18586 if (SWIG_arg_fail(1)) SWIG_fail
;
18588 arg2
= (int)(SWIG_As_int(obj1
));
18589 if (SWIG_arg_fail(2)) SWIG_fail
;
18591 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
18593 Py_INCREF(Py_None
); resultobj
= Py_None
;
18600 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail
;
18612 result
= (int) ((arg1
)->m_wheelRotation
);
18615 resultobj
= SWIG_From_int((int)(result
));
18623 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18627 PyObject
* obj0
= 0 ;
18628 PyObject
* obj1
= 0 ;
18629 char *kwnames
[] = {
18630 (char *) "self",(char *) "m_wheelDelta", NULL
18633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18635 if (SWIG_arg_fail(1)) SWIG_fail
;
18637 arg2
= (int)(SWIG_As_int(obj1
));
18638 if (SWIG_arg_fail(2)) SWIG_fail
;
18640 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18642 Py_INCREF(Py_None
); resultobj
= Py_None
;
18649 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18660 if (SWIG_arg_fail(1)) SWIG_fail
;
18661 result
= (int) ((arg1
)->m_wheelDelta
);
18664 resultobj
= SWIG_From_int((int)(result
));
18672 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18676 PyObject
* obj0
= 0 ;
18677 PyObject
* obj1
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self",(char *) "m_linesPerAction", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18684 if (SWIG_arg_fail(1)) SWIG_fail
;
18686 arg2
= (int)(SWIG_As_int(obj1
));
18687 if (SWIG_arg_fail(2)) SWIG_fail
;
18689 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18691 Py_INCREF(Py_None
); resultobj
= Py_None
;
18698 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18709 if (SWIG_arg_fail(1)) SWIG_fail
;
18710 result
= (int) ((arg1
)->m_linesPerAction
);
18713 resultobj
= SWIG_From_int((int)(result
));
18721 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18724 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18726 return Py_BuildValue((char *)"");
18728 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 int arg1
= (int) 0 ;
18731 int arg2
= (int) 0 ;
18732 wxSetCursorEvent
*result
;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "x",(char *) "y", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18742 arg1
= (int)(SWIG_As_int(obj0
));
18743 if (SWIG_arg_fail(1)) SWIG_fail
;
18748 arg2
= (int)(SWIG_As_int(obj1
));
18749 if (SWIG_arg_fail(2)) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18766 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18777 if (SWIG_arg_fail(1)) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_From_int((int)(result
));
18794 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
;
18796 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18805 if (SWIG_arg_fail(1)) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= SWIG_From_int((int)(result
));
18822 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18825 wxCursor
*arg2
= 0 ;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self",(char *) "cursor", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail
;
18836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18837 if (SWIG_arg_fail(2)) SWIG_fail
;
18838 if (arg2
== NULL
) {
18839 SWIG_null_ref("wxCursor");
18841 if (SWIG_arg_fail(2)) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 Py_INCREF(Py_None
); resultobj
= Py_None
;
18857 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18861 PyObject
* obj0
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18868 if (SWIG_arg_fail(1)) SWIG_fail
;
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18873 result
= (wxCursor
*) &_result_ref
;
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 wxCursor
* resultptr
= new wxCursor(*result
);
18881 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18889 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18900 if (SWIG_arg_fail(1)) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18917 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18920 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18922 return Py_BuildValue((char *)"");
18924 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18927 wxKeyEvent
*result
;
18928 PyObject
* obj0
= 0 ;
18929 char *kwnames
[] = {
18930 (char *) "eventType", NULL
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18936 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18937 if (SWIG_arg_fail(1)) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18954 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18965 if (SWIG_arg_fail(1)) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18982 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18993 if (SWIG_arg_fail(1)) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19010 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
19020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19021 if (SWIG_arg_fail(1)) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19038 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
19048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19049 if (SWIG_arg_fail(1)) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19066 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
19076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19077 if (SWIG_arg_fail(1)) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19094 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
;
19096 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19098 PyObject
* obj0
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
19104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19105 if (SWIG_arg_fail(1)) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19122 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19133 if (SWIG_arg_fail(1)) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19142 resultobj
= SWIG_From_int((int)(result
));
19150 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19154 PyObject
* obj0
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
19160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19161 if (SWIG_arg_fail(1)) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= SWIG_From_int((int)(result
));
19178 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19181 unsigned int result
;
19182 PyObject
* obj0
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
19188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19189 if (SWIG_arg_fail(1)) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19206 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19209 unsigned int result
;
19210 PyObject
* obj0
= 0 ;
19211 char *kwnames
[] = {
19212 (char *) "self", NULL
19215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
19216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19217 if (SWIG_arg_fail(1)) SWIG_fail
;
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19234 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19238 PyObject
* obj0
= 0 ;
19239 char *kwnames
[] = {
19240 (char *) "self", NULL
19243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19245 if (SWIG_arg_fail(1)) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (arg1
)->GetPosition();
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19254 wxPoint
* resultptr
;
19255 resultptr
= new wxPoint((wxPoint
&)(result
));
19256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19264 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19267 long *arg2
= (long *) 0 ;
19268 long *arg3
= (long *) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self", NULL
19278 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19279 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19282 if (SWIG_arg_fail(1)) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 (arg1
)->GetPosition(arg2
,arg3
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 Py_INCREF(Py_None
); resultobj
= Py_None
;
19291 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19292 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
19293 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19294 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
19301 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19305 PyObject
* obj0
= 0 ;
19306 char *kwnames
[] = {
19307 (char *) "self", NULL
19310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
19311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19312 if (SWIG_arg_fail(1)) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= SWIG_From_int((int)(result
));
19329 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
;
19331 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19333 PyObject
* obj0
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
19339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19340 if (SWIG_arg_fail(1)) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19349 resultobj
= SWIG_From_int((int)(result
));
19357 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19361 PyObject
* obj0
= 0 ;
19362 PyObject
* obj1
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self",(char *) "m_x", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19369 if (SWIG_arg_fail(1)) SWIG_fail
;
19371 arg2
= (int)(SWIG_As_int(obj1
));
19372 if (SWIG_arg_fail(2)) SWIG_fail
;
19374 if (arg1
) (arg1
)->m_x
= arg2
;
19376 Py_INCREF(Py_None
); resultobj
= Py_None
;
19383 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
19393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19394 if (SWIG_arg_fail(1)) SWIG_fail
;
19395 result
= (int) ((arg1
)->m_x
);
19398 resultobj
= SWIG_From_int((int)(result
));
19406 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self",(char *) "m_y", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19418 if (SWIG_arg_fail(1)) SWIG_fail
;
19420 arg2
= (int)(SWIG_As_int(obj1
));
19421 if (SWIG_arg_fail(2)) SWIG_fail
;
19423 if (arg1
) (arg1
)->m_y
= arg2
;
19425 Py_INCREF(Py_None
); resultobj
= Py_None
;
19432 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19436 PyObject
* obj0
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "self", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
19442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19443 if (SWIG_arg_fail(1)) SWIG_fail
;
19444 result
= (int) ((arg1
)->m_y
);
19447 resultobj
= SWIG_From_int((int)(result
));
19455 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self",(char *) "m_keyCode", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19467 if (SWIG_arg_fail(1)) SWIG_fail
;
19469 arg2
= (long)(SWIG_As_long(obj1
));
19470 if (SWIG_arg_fail(2)) SWIG_fail
;
19472 if (arg1
) (arg1
)->m_keyCode
= arg2
;
19474 Py_INCREF(Py_None
); resultobj
= Py_None
;
19481 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19483 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19485 PyObject
* obj0
= 0 ;
19486 char *kwnames
[] = {
19487 (char *) "self", NULL
19490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
19491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19492 if (SWIG_arg_fail(1)) SWIG_fail
;
19493 result
= (long) ((arg1
)->m_keyCode
);
19496 resultobj
= SWIG_From_long((long)(result
));
19504 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "m_controlDown", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19516 if (SWIG_arg_fail(1)) SWIG_fail
;
19518 arg2
= (bool)(SWIG_As_bool(obj1
));
19519 if (SWIG_arg_fail(2)) SWIG_fail
;
19521 if (arg1
) (arg1
)->m_controlDown
= arg2
;
19523 Py_INCREF(Py_None
); resultobj
= Py_None
;
19530 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 char *kwnames
[] = {
19536 (char *) "self", NULL
19539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
19540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19541 if (SWIG_arg_fail(1)) SWIG_fail
;
19542 result
= (bool) ((arg1
)->m_controlDown
);
19545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19553 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
;
19555 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19557 PyObject
* obj0
= 0 ;
19558 PyObject
* obj1
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self",(char *) "m_shiftDown", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19565 if (SWIG_arg_fail(1)) SWIG_fail
;
19567 arg2
= (bool)(SWIG_As_bool(obj1
));
19568 if (SWIG_arg_fail(2)) SWIG_fail
;
19570 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
19572 Py_INCREF(Py_None
); resultobj
= Py_None
;
19579 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
;
19581 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19583 PyObject
* obj0
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "self", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
19589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19590 if (SWIG_arg_fail(1)) SWIG_fail
;
19591 result
= (bool) ((arg1
)->m_shiftDown
);
19594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19602 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "m_altDown", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19614 if (SWIG_arg_fail(1)) SWIG_fail
;
19616 arg2
= (bool)(SWIG_As_bool(obj1
));
19617 if (SWIG_arg_fail(2)) SWIG_fail
;
19619 if (arg1
) (arg1
)->m_altDown
= arg2
;
19621 Py_INCREF(Py_None
); resultobj
= Py_None
;
19628 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19639 if (SWIG_arg_fail(1)) SWIG_fail
;
19640 result
= (bool) ((arg1
)->m_altDown
);
19643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19651 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19655 PyObject
* obj0
= 0 ;
19656 PyObject
* obj1
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self",(char *) "m_metaDown", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19663 if (SWIG_arg_fail(1)) SWIG_fail
;
19665 arg2
= (bool)(SWIG_As_bool(obj1
));
19666 if (SWIG_arg_fail(2)) SWIG_fail
;
19668 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19670 Py_INCREF(Py_None
); resultobj
= Py_None
;
19677 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19688 if (SWIG_arg_fail(1)) SWIG_fail
;
19689 result
= (bool) ((arg1
)->m_metaDown
);
19692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19700 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self",(char *) "m_scanCode", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19712 if (SWIG_arg_fail(1)) SWIG_fail
;
19714 arg2
= (bool)(SWIG_As_bool(obj1
));
19715 if (SWIG_arg_fail(2)) SWIG_fail
;
19717 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19719 Py_INCREF(Py_None
); resultobj
= Py_None
;
19726 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19730 PyObject
* obj0
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19737 if (SWIG_arg_fail(1)) SWIG_fail
;
19738 result
= (bool) ((arg1
)->m_scanCode
);
19741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19749 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19752 unsigned int arg2
;
19753 PyObject
* obj0
= 0 ;
19754 PyObject
* obj1
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self",(char *) "m_rawCode", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19761 if (SWIG_arg_fail(1)) SWIG_fail
;
19763 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19764 if (SWIG_arg_fail(2)) SWIG_fail
;
19766 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19768 Py_INCREF(Py_None
); resultobj
= Py_None
;
19775 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19778 unsigned int result
;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19786 if (SWIG_arg_fail(1)) SWIG_fail
;
19787 result
= (unsigned int) ((arg1
)->m_rawCode
);
19790 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19798 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
;
19800 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19801 unsigned int arg2
;
19802 PyObject
* obj0
= 0 ;
19803 PyObject
* obj1
= 0 ;
19804 char *kwnames
[] = {
19805 (char *) "self",(char *) "m_rawFlags", NULL
19808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19810 if (SWIG_arg_fail(1)) SWIG_fail
;
19812 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19813 if (SWIG_arg_fail(2)) SWIG_fail
;
19815 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19817 Py_INCREF(Py_None
); resultobj
= Py_None
;
19824 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
;
19826 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19827 unsigned int result
;
19828 PyObject
* obj0
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19835 if (SWIG_arg_fail(1)) SWIG_fail
;
19836 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19839 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19847 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19850 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19852 return Py_BuildValue((char *)"");
19854 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19857 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19858 int arg2
= (int) 0 ;
19859 wxSizeEvent
*result
;
19861 PyObject
* obj0
= 0 ;
19862 PyObject
* obj1
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "sz",(char *) "winid", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19871 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19876 arg2
= (int)(SWIG_As_int(obj1
));
19877 if (SWIG_arg_fail(2)) SWIG_fail
;
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19894 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
;
19896 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19898 PyObject
* obj0
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19905 if (SWIG_arg_fail(1)) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19914 wxSize
* resultptr
;
19915 resultptr
= new wxSize((wxSize
&)(result
));
19916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19924 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19928 PyObject
* obj0
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19935 if (SWIG_arg_fail(1)) SWIG_fail
;
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19944 wxRect
* resultptr
;
19945 resultptr
= new wxRect((wxRect
&)(result
));
19946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19954 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19956 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self",(char *) "rect", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19966 if (SWIG_arg_fail(1)) SWIG_fail
;
19969 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19970 if (SWIG_arg_fail(2)) SWIG_fail
;
19971 if (argp
== NULL
) {
19972 SWIG_null_ref("wxRect");
19974 if (SWIG_arg_fail(2)) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 (arg1
)->SetRect(arg2
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 Py_INCREF(Py_None
); resultobj
= Py_None
;
19991 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self",(char *) "size", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20003 if (SWIG_arg_fail(1)) SWIG_fail
;
20006 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
20007 if (SWIG_arg_fail(2)) SWIG_fail
;
20008 if (argp
== NULL
) {
20009 SWIG_null_ref("wxSize");
20011 if (SWIG_arg_fail(2)) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 wxSizeEvent_SetSize(arg1
,arg2
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 Py_INCREF(Py_None
); resultobj
= Py_None
;
20028 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20031 wxSize
*arg2
= (wxSize
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "self",(char *) "m_size", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20040 if (SWIG_arg_fail(1)) SWIG_fail
;
20041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
20042 if (SWIG_arg_fail(2)) SWIG_fail
;
20043 if (arg1
) (arg1
)->m_size
= *arg2
;
20045 Py_INCREF(Py_None
); resultobj
= Py_None
;
20052 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20056 PyObject
* obj0
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
20062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20063 if (SWIG_arg_fail(1)) SWIG_fail
;
20064 result
= (wxSize
*)& ((arg1
)->m_size
);
20066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20073 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20076 wxRect
*arg2
= (wxRect
*) 0 ;
20077 PyObject
* obj0
= 0 ;
20078 PyObject
* obj1
= 0 ;
20079 char *kwnames
[] = {
20080 (char *) "self",(char *) "m_rect", NULL
20083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20085 if (SWIG_arg_fail(1)) SWIG_fail
;
20086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
20087 if (SWIG_arg_fail(2)) SWIG_fail
;
20088 if (arg1
) (arg1
)->m_rect
= *arg2
;
20090 Py_INCREF(Py_None
); resultobj
= Py_None
;
20097 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20101 PyObject
* obj0
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
20107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20108 if (SWIG_arg_fail(1)) SWIG_fail
;
20109 result
= (wxRect
*)& ((arg1
)->m_rect
);
20111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
20118 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20121 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
20123 return Py_BuildValue((char *)"");
20125 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
20128 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
20129 int arg2
= (int) 0 ;
20130 wxMoveEvent
*result
;
20132 PyObject
* obj0
= 0 ;
20133 PyObject
* obj1
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "pos",(char *) "winid", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20142 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
20147 arg2
= (int)(SWIG_As_int(obj1
));
20148 if (SWIG_arg_fail(2)) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
20165 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20176 if (SWIG_arg_fail(1)) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20185 wxPoint
* resultptr
;
20186 resultptr
= new wxPoint((wxPoint
&)(result
));
20187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20195 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20199 PyObject
* obj0
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
20205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20206 if (SWIG_arg_fail(1)) SWIG_fail
;
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20215 wxRect
* resultptr
;
20216 resultptr
= new wxRect((wxRect
&)(result
));
20217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20225 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20230 PyObject
* obj0
= 0 ;
20231 PyObject
* obj1
= 0 ;
20232 char *kwnames
[] = {
20233 (char *) "self",(char *) "rect", NULL
20236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
20237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20238 if (SWIG_arg_fail(1)) SWIG_fail
;
20241 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 (arg1
)->SetRect((wxRect
const &)*arg2
);
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 Py_INCREF(Py_None
); resultobj
= Py_None
;
20257 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20259 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20260 wxPoint
*arg2
= 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self",(char *) "pos", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20270 if (SWIG_arg_fail(1)) SWIG_fail
;
20273 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 Py_INCREF(Py_None
); resultobj
= Py_None
;
20289 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
20291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20292 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
20294 return Py_BuildValue((char *)"");
20296 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 int arg1
= (int) 0 ;
20299 wxPaintEvent
*result
;
20300 PyObject
* obj0
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "Id", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
20308 arg1
= (int)(SWIG_As_int(obj0
));
20309 if (SWIG_arg_fail(1)) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
20326 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
20328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20329 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
20331 return Py_BuildValue((char *)"");
20333 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 int arg1
= (int) 0 ;
20336 wxNcPaintEvent
*result
;
20337 PyObject
* obj0
= 0 ;
20338 char *kwnames
[] = {
20339 (char *) "winid", NULL
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
20345 arg1
= (int)(SWIG_As_int(obj0
));
20346 if (SWIG_arg_fail(1)) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
20363 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
20365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20366 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
20368 return Py_BuildValue((char *)"");
20370 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
;
20372 int arg1
= (int) 0 ;
20373 wxDC
*arg2
= (wxDC
*) NULL
;
20374 wxEraseEvent
*result
;
20375 PyObject
* obj0
= 0 ;
20376 PyObject
* obj1
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "Id",(char *) "dc", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20384 arg1
= (int)(SWIG_As_int(obj0
));
20385 if (SWIG_arg_fail(1)) SWIG_fail
;
20389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20390 if (SWIG_arg_fail(2)) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
20406 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
20416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20417 if (SWIG_arg_fail(1)) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= wxPyMake_wxObject(result
, 0);
20434 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
20436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20437 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
20439 return Py_BuildValue((char *)"");
20441 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20444 int arg2
= (int) 0 ;
20445 wxFocusEvent
*result
;
20446 PyObject
* obj0
= 0 ;
20447 PyObject
* obj1
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "type",(char *) "winid", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20455 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20456 if (SWIG_arg_fail(1)) SWIG_fail
;
20461 arg2
= (int)(SWIG_As_int(obj1
));
20462 if (SWIG_arg_fail(2)) SWIG_fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
20479 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
20483 PyObject
* obj0
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
20489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= wxPyMake_wxObject(result
, 0);
20507 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
;
20509 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
20510 wxWindow
*arg2
= (wxWindow
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 PyObject
* obj1
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self",(char *) "win", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20519 if (SWIG_arg_fail(1)) SWIG_fail
;
20520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20521 if (SWIG_arg_fail(2)) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 (arg1
)->SetWindow(arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 Py_INCREF(Py_None
); resultobj
= Py_None
;
20536 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20539 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
20541 return Py_BuildValue((char *)"");
20543 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20545 wxWindow
*arg1
= (wxWindow
*) NULL
;
20546 wxChildFocusEvent
*result
;
20547 PyObject
* obj0
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "win", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
20554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20555 if (SWIG_arg_fail(1)) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
20571 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 char *kwnames
[] = {
20577 (char *) "self", NULL
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
20581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20582 if (SWIG_arg_fail(1)) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20591 resultobj
= wxPyMake_wxObject(result
, 0);
20599 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20602 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
20604 return Py_BuildValue((char *)"");
20606 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20609 bool arg2
= (bool) true ;
20610 int arg3
= (int) 0 ;
20611 wxActivateEvent
*result
;
20612 PyObject
* obj0
= 0 ;
20613 PyObject
* obj1
= 0 ;
20614 PyObject
* obj2
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "type",(char *) "active",(char *) "Id", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20622 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20623 if (SWIG_arg_fail(1)) SWIG_fail
;
20628 arg2
= (bool)(SWIG_As_bool(obj1
));
20629 if (SWIG_arg_fail(2)) SWIG_fail
;
20634 arg3
= (int)(SWIG_As_int(obj2
));
20635 if (SWIG_arg_fail(3)) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20652 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 char *kwnames
[] = {
20658 (char *) "self", NULL
20661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20663 if (SWIG_arg_fail(1)) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20680 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20683 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20685 return Py_BuildValue((char *)"");
20687 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 int arg1
= (int) 0 ;
20690 wxInitDialogEvent
*result
;
20691 PyObject
* obj0
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "Id", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20699 arg1
= (int)(SWIG_As_int(obj0
));
20700 if (SWIG_arg_fail(1)) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20717 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20720 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20722 return Py_BuildValue((char *)"");
20724 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20727 int arg2
= (int) 0 ;
20728 wxMenu
*arg3
= (wxMenu
*) NULL
;
20729 wxMenuEvent
*result
;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 PyObject
* obj2
= 0 ;
20733 char *kwnames
[] = {
20734 (char *) "type",(char *) "winid",(char *) "menu", NULL
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20740 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20741 if (SWIG_arg_fail(1)) SWIG_fail
;
20746 arg2
= (int)(SWIG_As_int(obj1
));
20747 if (SWIG_arg_fail(2)) SWIG_fail
;
20751 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20752 if (SWIG_arg_fail(3)) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20768 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20772 PyObject
* obj0
= 0 ;
20773 char *kwnames
[] = {
20774 (char *) "self", NULL
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20779 if (SWIG_arg_fail(1)) SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20788 resultobj
= SWIG_From_int((int)(result
));
20796 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20800 PyObject
* obj0
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20807 if (SWIG_arg_fail(1)) SWIG_fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20824 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20826 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20828 PyObject
* obj0
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "self", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20835 if (SWIG_arg_fail(1)) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= wxPyMake_wxObject(result
, 0);
20852 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20855 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20857 return Py_BuildValue((char *)"");
20859 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20862 int arg2
= (int) 0 ;
20863 wxCloseEvent
*result
;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "type",(char *) "winid", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20873 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20874 if (SWIG_arg_fail(1)) SWIG_fail
;
20879 arg2
= (int)(SWIG_As_int(obj1
));
20880 if (SWIG_arg_fail(2)) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20897 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20901 PyObject
* obj0
= 0 ;
20902 PyObject
* obj1
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self",(char *) "logOff", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20909 if (SWIG_arg_fail(1)) SWIG_fail
;
20911 arg2
= (bool)(SWIG_As_bool(obj1
));
20912 if (SWIG_arg_fail(2)) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 (arg1
)->SetLoggingOff(arg2
);
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 Py_INCREF(Py_None
); resultobj
= Py_None
;
20928 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20932 PyObject
* obj0
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "self", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20939 if (SWIG_arg_fail(1)) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20956 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20959 bool arg2
= (bool) true ;
20960 PyObject
* obj0
= 0 ;
20961 PyObject
* obj1
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self",(char *) "veto", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20968 if (SWIG_arg_fail(1)) SWIG_fail
;
20971 arg2
= (bool)(SWIG_As_bool(obj1
));
20972 if (SWIG_arg_fail(2)) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 (arg1
)->Veto(arg2
);
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 Py_INCREF(Py_None
); resultobj
= Py_None
;
20989 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
;
20991 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20993 PyObject
* obj0
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "self", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
21000 if (SWIG_arg_fail(1)) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21017 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
;
21019 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self",(char *) "canVeto", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
21028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
21029 if (SWIG_arg_fail(1)) SWIG_fail
;
21031 arg2
= (bool)(SWIG_As_bool(obj1
));
21032 if (SWIG_arg_fail(2)) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 (arg1
)->SetCanVeto(arg2
);
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 Py_INCREF(Py_None
); resultobj
= Py_None
;
21048 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
21058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
21059 if (SWIG_arg_fail(1)) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21076 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
21078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21079 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
21081 return Py_BuildValue((char *)"");
21083 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 int arg1
= (int) 0 ;
21086 bool arg2
= (bool) false ;
21087 wxShowEvent
*result
;
21088 PyObject
* obj0
= 0 ;
21089 PyObject
* obj1
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "winid",(char *) "show", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21097 arg1
= (int)(SWIG_As_int(obj0
));
21098 if (SWIG_arg_fail(1)) SWIG_fail
;
21103 arg2
= (bool)(SWIG_As_bool(obj1
));
21104 if (SWIG_arg_fail(2)) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
21121 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self",(char *) "show", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
21132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
21133 if (SWIG_arg_fail(1)) SWIG_fail
;
21135 arg2
= (bool)(SWIG_As_bool(obj1
));
21136 if (SWIG_arg_fail(2)) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 (arg1
)->SetShow(arg2
);
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 Py_INCREF(Py_None
); resultobj
= Py_None
;
21152 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
21162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
21163 if (SWIG_arg_fail(1)) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21180 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
21182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21183 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
21185 return Py_BuildValue((char *)"");
21187 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 int arg1
= (int) 0 ;
21190 bool arg2
= (bool) true ;
21191 wxIconizeEvent
*result
;
21192 PyObject
* obj0
= 0 ;
21193 PyObject
* obj1
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "id",(char *) "iconized", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21201 arg1
= (int)(SWIG_As_int(obj0
));
21202 if (SWIG_arg_fail(1)) SWIG_fail
;
21207 arg2
= (bool)(SWIG_As_bool(obj1
));
21208 if (SWIG_arg_fail(2)) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
21225 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
21235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
21236 if (SWIG_arg_fail(1)) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= (bool)(arg1
)->Iconized();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21253 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
21255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21256 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
21258 return Py_BuildValue((char *)"");
21260 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
;
21262 int arg1
= (int) 0 ;
21263 wxMaximizeEvent
*result
;
21264 PyObject
* obj0
= 0 ;
21265 char *kwnames
[] = {
21266 (char *) "id", NULL
21269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
21272 arg1
= (int)(SWIG_As_int(obj0
));
21273 if (SWIG_arg_fail(1)) SWIG_fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
21290 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
21292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21293 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
21295 return Py_BuildValue((char *)"");
21297 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21299 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "self", NULL
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21308 if (SWIG_arg_fail(1)) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 result
= (arg1
)->GetPosition();
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 wxPoint
* resultptr
;
21318 resultptr
= new wxPoint((wxPoint
&)(result
));
21319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21327 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21331 PyObject
* obj0
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
21337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= (int)(arg1
)->GetNumberOfFiles();
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= SWIG_From_int((int)(result
));
21355 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21359 PyObject
* obj0
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
21365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21366 if (SWIG_arg_fail(1)) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= result
;
21381 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
21383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21384 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
21386 return Py_BuildValue((char *)"");
21388 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 int arg1
= (int) 0 ;
21391 wxUpdateUIEvent
*result
;
21392 PyObject
* obj0
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "commandId", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
21400 arg1
= (int)(SWIG_As_int(obj0
));
21401 if (SWIG_arg_fail(1)) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
21418 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
21428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21429 if (SWIG_arg_fail(1)) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21446 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
21456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21457 if (SWIG_arg_fail(1)) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21474 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
21484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21485 if (SWIG_arg_fail(1)) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21506 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 char *kwnames
[] = {
21512 (char *) "self", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
21516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21517 if (SWIG_arg_fail(1)) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21534 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21538 PyObject
* obj0
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
21544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21562 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21566 PyObject
* obj0
= 0 ;
21567 char *kwnames
[] = {
21568 (char *) "self", NULL
21571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
21572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21573 if (SWIG_arg_fail(1)) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21590 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self",(char *) "check", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
21601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail
;
21604 arg2
= (bool)(SWIG_As_bool(obj1
));
21605 if (SWIG_arg_fail(2)) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 (arg1
)->Check(arg2
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 Py_INCREF(Py_None
); resultobj
= Py_None
;
21621 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
;
21623 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21625 PyObject
* obj0
= 0 ;
21626 PyObject
* obj1
= 0 ;
21627 char *kwnames
[] = {
21628 (char *) "self",(char *) "enable", NULL
21631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21633 if (SWIG_arg_fail(1)) SWIG_fail
;
21635 arg2
= (bool)(SWIG_As_bool(obj1
));
21636 if (SWIG_arg_fail(2)) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 (arg1
)->Enable(arg2
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 Py_INCREF(Py_None
); resultobj
= Py_None
;
21652 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21655 wxString
*arg2
= 0 ;
21656 bool temp2
= false ;
21657 PyObject
* obj0
= 0 ;
21658 PyObject
* obj1
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "self",(char *) "text", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21665 if (SWIG_arg_fail(1)) SWIG_fail
;
21667 arg2
= wxString_in_helper(obj1
);
21668 if (arg2
== NULL
) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 (arg1
)->SetText((wxString
const &)*arg2
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 Py_INCREF(Py_None
); resultobj
= Py_None
;
21693 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
;
21696 PyObject
* obj0
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "updateInterval", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21703 arg1
= (long)(SWIG_As_long(obj0
));
21704 if (SWIG_arg_fail(1)) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 Py_INCREF(Py_None
); resultobj
= Py_None
;
21720 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21723 char *kwnames
[] = {
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= SWIG_From_long((long)(result
));
21744 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21746 wxWindow
*arg1
= (wxWindow
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 char *kwnames
[] = {
21750 (char *) "win", NULL
21753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21755 if (SWIG_arg_fail(1)) SWIG_fail
;
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21772 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 char *kwnames
[] = {
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 wxUpdateUIEvent::ResetUpdateTime();
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 Py_INCREF(Py_None
); resultobj
= Py_None
;
21793 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxUpdateUIMode arg1
;
21796 PyObject
* obj0
= 0 ;
21797 char *kwnames
[] = {
21798 (char *) "mode", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21803 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21804 if (SWIG_arg_fail(1)) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 Py_INCREF(Py_None
); resultobj
= Py_None
;
21820 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxUpdateUIMode result
;
21823 char *kwnames
[] = {
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= SWIG_From_int((result
));
21842 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21845 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21847 return Py_BuildValue((char *)"");
21849 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxSysColourChangedEvent
*result
;
21852 char *kwnames
[] = {
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21871 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21874 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21876 return Py_BuildValue((char *)"");
21878 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21880 int arg1
= (int) 0 ;
21881 wxWindow
*arg2
= (wxWindow
*) NULL
;
21882 wxMouseCaptureChangedEvent
*result
;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "winid",(char *) "gainedCapture", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21892 arg1
= (int)(SWIG_As_int(obj0
));
21893 if (SWIG_arg_fail(1)) SWIG_fail
;
21897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21898 if (SWIG_arg_fail(2)) SWIG_fail
;
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21914 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 char *kwnames
[] = {
21920 (char *) "self", NULL
21923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21925 if (SWIG_arg_fail(1)) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21934 resultobj
= wxPyMake_wxObject(result
, 0);
21942 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21945 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21947 return Py_BuildValue((char *)"");
21949 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
;
21951 wxDisplayChangedEvent
*result
;
21952 char *kwnames
[] = {
21956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21971 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21974 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21976 return Py_BuildValue((char *)"");
21978 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 int arg1
= (int) 0 ;
21981 wxPaletteChangedEvent
*result
;
21982 PyObject
* obj0
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "id", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21990 arg1
= (int)(SWIG_As_int(obj0
));
21991 if (SWIG_arg_fail(1)) SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
22008 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22009 PyObject
*resultobj
;
22010 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
22011 wxWindow
*arg2
= (wxWindow
*) 0 ;
22012 PyObject
* obj0
= 0 ;
22013 PyObject
* obj1
= 0 ;
22014 char *kwnames
[] = {
22015 (char *) "self",(char *) "win", NULL
22018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
22020 if (SWIG_arg_fail(1)) SWIG_fail
;
22021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22022 if (SWIG_arg_fail(2)) SWIG_fail
;
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 (arg1
)->SetChangedWindow(arg2
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 Py_INCREF(Py_None
); resultobj
= Py_None
;
22037 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22038 PyObject
*resultobj
;
22039 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
22041 PyObject
* obj0
= 0 ;
22042 char *kwnames
[] = {
22043 (char *) "self", NULL
22046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
22047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
22048 if (SWIG_arg_fail(1)) SWIG_fail
;
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22057 resultobj
= wxPyMake_wxObject(result
, 0);
22065 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
22067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22068 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
22070 return Py_BuildValue((char *)"");
22072 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 int arg1
= (int) 0 ;
22075 wxQueryNewPaletteEvent
*result
;
22076 PyObject
* obj0
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "winid", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
22084 arg1
= (int)(SWIG_As_int(obj0
));
22085 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
22102 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "realized", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
22113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
22114 if (SWIG_arg_fail(1)) SWIG_fail
;
22116 arg2
= (bool)(SWIG_As_bool(obj1
));
22117 if (SWIG_arg_fail(2)) SWIG_fail
;
22120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22121 (arg1
)->SetPaletteRealized(arg2
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 Py_INCREF(Py_None
); resultobj
= Py_None
;
22133 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
;
22135 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
22137 PyObject
* obj0
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
22143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
22144 if (SWIG_arg_fail(1)) SWIG_fail
;
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22161 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
22163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22164 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
22166 return Py_BuildValue((char *)"");
22168 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
;
22170 wxNavigationKeyEvent
*result
;
22171 char *kwnames
[] = {
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
22190 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
22200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22201 if (SWIG_arg_fail(1)) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22218 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self",(char *) "forward", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
22229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22230 if (SWIG_arg_fail(1)) SWIG_fail
;
22232 arg2
= (bool)(SWIG_As_bool(obj1
));
22233 if (SWIG_arg_fail(2)) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 (arg1
)->SetDirection(arg2
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 Py_INCREF(Py_None
); resultobj
= Py_None
;
22249 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22253 PyObject
* obj0
= 0 ;
22254 char *kwnames
[] = {
22255 (char *) "self", NULL
22258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
22259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22260 if (SWIG_arg_fail(1)) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22277 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self",(char *) "ischange", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
22288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22289 if (SWIG_arg_fail(1)) SWIG_fail
;
22291 arg2
= (bool)(SWIG_As_bool(obj1
));
22292 if (SWIG_arg_fail(2)) SWIG_fail
;
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 (arg1
)->SetWindowChange(arg2
);
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22301 Py_INCREF(Py_None
); resultobj
= Py_None
;
22308 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22309 PyObject
*resultobj
;
22310 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
22318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22319 if (SWIG_arg_fail(1)) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22336 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self",(char *) "bIs", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
22347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22348 if (SWIG_arg_fail(1)) SWIG_fail
;
22350 arg2
= (bool)(SWIG_As_bool(obj1
));
22351 if (SWIG_arg_fail(2)) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 (arg1
)->SetFromTab(arg2
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 Py_INCREF(Py_None
); resultobj
= Py_None
;
22367 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 PyObject
* obj1
= 0 ;
22373 char *kwnames
[] = {
22374 (char *) "self",(char *) "flags", NULL
22377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
22378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22379 if (SWIG_arg_fail(1)) SWIG_fail
;
22381 arg2
= (long)(SWIG_As_long(obj1
));
22382 if (SWIG_arg_fail(2)) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 (arg1
)->SetFlags(arg2
);
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 Py_INCREF(Py_None
); resultobj
= Py_None
;
22398 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
22408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22409 if (SWIG_arg_fail(1)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= wxPyMake_wxObject(result
, 0);
22426 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22429 wxWindow
*arg2
= (wxWindow
*) 0 ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self",(char *) "win", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
22437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail
;
22439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22440 if (SWIG_arg_fail(2)) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 (arg1
)->SetCurrentFocus(arg2
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 Py_INCREF(Py_None
); resultobj
= Py_None
;
22455 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
22457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22458 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
22460 return Py_BuildValue((char *)"");
22462 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxWindow
*arg1
= (wxWindow
*) NULL
;
22465 wxWindowCreateEvent
*result
;
22466 PyObject
* obj0
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "win", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
22473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
22490 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
22500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22501 if (SWIG_arg_fail(1)) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= wxPyMake_wxObject(result
, 0);
22518 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
22520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22521 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
22523 return Py_BuildValue((char *)"");
22525 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxWindow
*arg1
= (wxWindow
*) NULL
;
22528 wxWindowDestroyEvent
*result
;
22529 PyObject
* obj0
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "win", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
22536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22537 if (SWIG_arg_fail(1)) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
22553 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
22557 PyObject
* obj0
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
22563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22564 if (SWIG_arg_fail(1)) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= wxPyMake_wxObject(result
, 0);
22581 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
22583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22584 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
22586 return Py_BuildValue((char *)"");
22588 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
;
22590 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22591 int arg2
= (int) 0 ;
22592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22594 wxContextMenuEvent
*result
;
22596 PyObject
* obj0
= 0 ;
22597 PyObject
* obj1
= 0 ;
22598 PyObject
* obj2
= 0 ;
22599 char *kwnames
[] = {
22600 (char *) "type",(char *) "winid",(char *) "pt", NULL
22603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22606 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22607 if (SWIG_arg_fail(1)) SWIG_fail
;
22612 arg2
= (int)(SWIG_As_int(obj1
));
22613 if (SWIG_arg_fail(2)) SWIG_fail
;
22619 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22636 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22647 if (SWIG_arg_fail(1)) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22652 result
= (wxPoint
*) &_result_ref
;
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22665 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22668 wxPoint
*arg2
= 0 ;
22670 PyObject
* obj0
= 0 ;
22671 PyObject
* obj1
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self",(char *) "pos", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22678 if (SWIG_arg_fail(1)) SWIG_fail
;
22681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 Py_INCREF(Py_None
); resultobj
= Py_None
;
22697 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22700 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22702 return Py_BuildValue((char *)"");
22704 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
;
22706 wxIdleEvent
*result
;
22707 char *kwnames
[] = {
22711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= (wxIdleEvent
*)new wxIdleEvent();
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22726 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22728 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22729 bool arg2
= (bool) true ;
22730 PyObject
* obj0
= 0 ;
22731 PyObject
* obj1
= 0 ;
22732 char *kwnames
[] = {
22733 (char *) "self",(char *) "needMore", NULL
22736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22738 if (SWIG_arg_fail(1)) SWIG_fail
;
22741 arg2
= (bool)(SWIG_As_bool(obj1
));
22742 if (SWIG_arg_fail(2)) SWIG_fail
;
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 (arg1
)->RequestMore(arg2
);
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22752 Py_INCREF(Py_None
); resultobj
= Py_None
;
22759 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22760 PyObject
*resultobj
;
22761 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "self", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22770 if (SWIG_arg_fail(1)) SWIG_fail
;
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22787 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22790 PyObject
* obj0
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "mode", NULL
22795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22797 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22798 if (SWIG_arg_fail(1)) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22814 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22817 char *kwnames
[] = {
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 resultobj
= SWIG_From_int((result
));
22836 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxWindow
*arg1
= (wxWindow
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "win", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22847 if (SWIG_arg_fail(1)) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 result
= (bool)wxIdleEvent::CanSend(arg1
);
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22864 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22867 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22869 return Py_BuildValue((char *)"");
22871 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 int arg1
= (int) 0 ;
22874 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "winid",(char *) "eventType", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22885 arg1
= (int)(SWIG_As_int(obj0
));
22886 if (SWIG_arg_fail(1)) SWIG_fail
;
22891 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22892 if (SWIG_arg_fail(2)) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22909 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22912 PyObject
* obj0
= 0 ;
22913 char *kwnames
[] = {
22914 (char *) "self", NULL
22917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22919 if (SWIG_arg_fail(1)) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 Py_INCREF(Py_None
); resultobj
= Py_None
;
22934 static PyObject
*_wrap_PyEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22937 PyObject
*arg2
= (PyObject
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 PyObject
* obj1
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self",(char *) "self", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22946 if (SWIG_arg_fail(1)) SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->SetSelf(arg2
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 Py_INCREF(Py_None
); resultobj
= Py_None
;
22962 static PyObject
*_wrap_PyEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22966 PyObject
* obj0
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22973 if (SWIG_arg_fail(1)) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= (PyObject
*)(arg1
)->GetSelf();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= result
;
22988 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22991 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22993 return Py_BuildValue((char *)"");
22995 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22998 int arg2
= (int) 0 ;
22999 wxPyCommandEvent
*result
;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "eventType",(char *) "id", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23009 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23010 if (SWIG_arg_fail(1)) SWIG_fail
;
23015 arg2
= (int)(SWIG_As_int(obj1
));
23016 if (SWIG_arg_fail(2)) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
23033 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
;
23035 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
23042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
23043 if (SWIG_arg_fail(1)) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 Py_INCREF(Py_None
); resultobj
= Py_None
;
23058 static PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
23061 PyObject
*arg2
= (PyObject
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 PyObject
* obj1
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self",(char *) "self", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
23069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
23070 if (SWIG_arg_fail(1)) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 (arg1
)->SetSelf(arg2
);
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 Py_INCREF(Py_None
); resultobj
= Py_None
;
23086 static PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
23096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
23097 if (SWIG_arg_fail(1)) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 result
= (PyObject
*)(arg1
)->GetSelf();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= result
;
23112 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
23114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23115 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
23117 return Py_BuildValue((char *)"");
23119 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
;
23121 wxWindow
*arg1
= (wxWindow
*) 0 ;
23122 wxDateTime
*arg2
= 0 ;
23124 wxDateEvent
*result
;
23125 PyObject
* obj0
= 0 ;
23126 PyObject
* obj1
= 0 ;
23127 PyObject
* obj2
= 0 ;
23128 char *kwnames
[] = {
23129 (char *) "win",(char *) "dt",(char *) "type", NULL
23132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23134 if (SWIG_arg_fail(1)) SWIG_fail
;
23136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23137 if (SWIG_arg_fail(2)) SWIG_fail
;
23138 if (arg2
== NULL
) {
23139 SWIG_null_ref("wxDateTime");
23141 if (SWIG_arg_fail(2)) SWIG_fail
;
23144 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
23145 if (SWIG_arg_fail(3)) SWIG_fail
;
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
23161 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
23164 wxDateTime
*result
;
23165 PyObject
* obj0
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
23171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
23172 if (SWIG_arg_fail(1)) SWIG_fail
;
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
23177 result
= (wxDateTime
*) &_result_ref
;
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23190 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
23193 wxDateTime
*arg2
= 0 ;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "date", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
23202 if (SWIG_arg_fail(1)) SWIG_fail
;
23204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23205 if (SWIG_arg_fail(2)) SWIG_fail
;
23206 if (arg2
== NULL
) {
23207 SWIG_null_ref("wxDateTime");
23209 if (SWIG_arg_fail(2)) SWIG_fail
;
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 Py_INCREF(Py_None
); resultobj
= Py_None
;
23225 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
23227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23228 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
23230 return Py_BuildValue((char *)"");
23232 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23235 char *kwnames
[] = {
23239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= (wxPyApp
*)new_wxPyApp();
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
23254 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
23263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23264 if (SWIG_arg_fail(1)) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23282 PyObject
*arg2
= (PyObject
*) 0 ;
23283 PyObject
*arg3
= (PyObject
*) 0 ;
23285 PyObject
* obj0
= 0 ;
23286 PyObject
* obj1
= 0 ;
23287 PyObject
* obj2
= 0 ;
23288 PyObject
* obj3
= 0 ;
23289 char *kwnames
[] = {
23290 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23295 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 arg4
= (bool)(SWIG_As_bool(obj3
));
23300 if (SWIG_arg_fail(4)) SWIG_fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 Py_INCREF(Py_None
); resultobj
= Py_None
;
23316 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23317 PyObject
*resultobj
;
23318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23320 PyObject
* obj0
= 0 ;
23321 char *kwnames
[] = {
23322 (char *) "self", NULL
23325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
23326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23327 if (SWIG_arg_fail(1)) SWIG_fail
;
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 result
= ((wxPyApp
const *)arg1
)->GetAppName();
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23348 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23351 wxString
*arg2
= 0 ;
23352 bool temp2
= false ;
23353 PyObject
* obj0
= 0 ;
23354 PyObject
* obj1
= 0 ;
23355 char *kwnames
[] = {
23356 (char *) "self",(char *) "name", NULL
23359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
23360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23361 if (SWIG_arg_fail(1)) SWIG_fail
;
23363 arg2
= wxString_in_helper(obj1
);
23364 if (arg2
== NULL
) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 (arg1
)->SetAppName((wxString
const &)*arg2
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 Py_INCREF(Py_None
); resultobj
= Py_None
;
23389 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23393 PyObject
* obj0
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
23399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23400 if (SWIG_arg_fail(1)) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= ((wxPyApp
const *)arg1
)->GetClassName();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23421 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23424 wxString
*arg2
= 0 ;
23425 bool temp2
= false ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self",(char *) "name", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
23433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23434 if (SWIG_arg_fail(1)) SWIG_fail
;
23436 arg2
= wxString_in_helper(obj1
);
23437 if (arg2
== NULL
) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 (arg1
)->SetClassName((wxString
const &)*arg2
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 Py_INCREF(Py_None
); resultobj
= Py_None
;
23462 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23464 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23466 PyObject
* obj0
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
23472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23473 if (SWIG_arg_fail(1)) SWIG_fail
;
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
23478 result
= (wxString
*) &_result_ref
;
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23488 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23497 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23499 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23500 wxString
*arg2
= 0 ;
23501 bool temp2
= false ;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 char *kwnames
[] = {
23505 (char *) "self",(char *) "name", NULL
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
23509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23510 if (SWIG_arg_fail(1)) SWIG_fail
;
23512 arg2
= wxString_in_helper(obj1
);
23513 if (arg2
== NULL
) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 (arg1
)->SetVendorName((wxString
const &)*arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 Py_INCREF(Py_None
); resultobj
= Py_None
;
23538 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23541 wxAppTraits
*result
;
23542 PyObject
* obj0
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
23548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23549 if (SWIG_arg_fail(1)) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (wxAppTraits
*)(arg1
)->GetTraits();
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
23564 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
;
23566 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
23573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23574 if (SWIG_arg_fail(1)) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 (arg1
)->ProcessPendingEvents();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 Py_INCREF(Py_None
); resultobj
= Py_None
;
23589 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
;
23591 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23592 bool arg2
= (bool) false ;
23594 PyObject
* obj0
= 0 ;
23595 PyObject
* obj1
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self",(char *) "onlyIfNeeded", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
23601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23602 if (SWIG_arg_fail(1)) SWIG_fail
;
23605 arg2
= (bool)(SWIG_As_bool(obj1
));
23606 if (SWIG_arg_fail(2)) SWIG_fail
;
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 result
= (bool)(arg1
)->Yield(arg2
);
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23625 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23627 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23628 PyObject
* obj0
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23635 if (SWIG_arg_fail(1)) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 (arg1
)->WakeUpIdle();
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 Py_INCREF(Py_None
); resultobj
= Py_None
;
23650 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
;
23653 char *kwnames
[] = {
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 result
= (bool)wxPyApp::IsMainLoopRunning();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23674 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23676 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23678 PyObject
* obj0
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23685 if (SWIG_arg_fail(1)) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= (int)(arg1
)->MainLoop();
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_From_int((int)(result
));
23702 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23705 PyObject
* obj0
= 0 ;
23706 char *kwnames
[] = {
23707 (char *) "self", NULL
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23712 if (SWIG_arg_fail(1)) SWIG_fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 Py_INCREF(Py_None
); resultobj
= Py_None
;
23727 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23729 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23730 PyObject
* obj0
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23737 if (SWIG_arg_fail(1)) SWIG_fail
;
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 (arg1
)->ExitMainLoop();
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 Py_INCREF(Py_None
); resultobj
= Py_None
;
23752 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23756 PyObject
* obj0
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23763 if (SWIG_arg_fail(1)) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (bool)(arg1
)->Pending();
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23780 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23782 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23784 PyObject
* obj0
= 0 ;
23785 char *kwnames
[] = {
23786 (char *) "self", NULL
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23791 if (SWIG_arg_fail(1)) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 result
= (bool)(arg1
)->Dispatch();
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23808 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23810 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23812 PyObject
* obj0
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23819 if (SWIG_arg_fail(1)) SWIG_fail
;
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (bool)(arg1
)->ProcessIdle();
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23836 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23839 wxWindow
*arg2
= (wxWindow
*) 0 ;
23840 wxIdleEvent
*arg3
= 0 ;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 PyObject
* obj2
= 0 ;
23845 char *kwnames
[] = {
23846 (char *) "self",(char *) "win",(char *) "event", NULL
23849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23851 if (SWIG_arg_fail(1)) SWIG_fail
;
23852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23853 if (SWIG_arg_fail(2)) SWIG_fail
;
23855 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23856 if (SWIG_arg_fail(3)) SWIG_fail
;
23857 if (arg3
== NULL
) {
23858 SWIG_null_ref("wxIdleEvent");
23860 if (SWIG_arg_fail(3)) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23878 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23882 PyObject
* obj0
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23889 if (SWIG_arg_fail(1)) SWIG_fail
;
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23894 wxPyEndAllowThreads(__tstate
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23906 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23909 wxWindow
*arg2
= (wxWindow
*) 0 ;
23910 PyObject
* obj0
= 0 ;
23911 PyObject
* obj1
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self",(char *) "win", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23918 if (SWIG_arg_fail(1)) SWIG_fail
;
23919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23920 if (SWIG_arg_fail(2)) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 (arg1
)->SetTopWindow(arg2
);
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 Py_INCREF(Py_None
); resultobj
= Py_None
;
23935 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 char *kwnames
[] = {
23941 (char *) "self", NULL
23944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23946 if (SWIG_arg_fail(1)) SWIG_fail
;
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= wxPyMake_wxObject(result
, 0);
23963 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
;
23965 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23967 PyObject
* obj0
= 0 ;
23968 PyObject
* obj1
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self",(char *) "flag", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23975 if (SWIG_arg_fail(1)) SWIG_fail
;
23977 arg2
= (bool)(SWIG_As_bool(obj1
));
23978 if (SWIG_arg_fail(2)) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 (arg1
)->SetExitOnFrameDelete(arg2
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 Py_INCREF(Py_None
); resultobj
= Py_None
;
23994 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23998 PyObject
* obj0
= 0 ;
23999 char *kwnames
[] = {
24000 (char *) "self", NULL
24003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
24004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24005 if (SWIG_arg_fail(1)) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24022 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24026 PyObject
* obj0
= 0 ;
24027 PyObject
* obj1
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "self",(char *) "flag", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
24033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24034 if (SWIG_arg_fail(1)) SWIG_fail
;
24036 arg2
= (bool)(SWIG_As_bool(obj1
));
24037 if (SWIG_arg_fail(2)) SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 (arg1
)->SetUseBestVisual(arg2
);
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24046 Py_INCREF(Py_None
); resultobj
= Py_None
;
24053 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
;
24055 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24057 PyObject
* obj0
= 0 ;
24058 char *kwnames
[] = {
24059 (char *) "self", NULL
24062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
24063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24064 if (SWIG_arg_fail(1)) SWIG_fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24081 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
;
24083 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24085 PyObject
* obj0
= 0 ;
24086 PyObject
* obj1
= 0 ;
24087 char *kwnames
[] = {
24088 (char *) "self",(char *) "mode", NULL
24091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
24092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24093 if (SWIG_arg_fail(1)) SWIG_fail
;
24095 arg2
= (int)(SWIG_As_int(obj1
));
24096 if (SWIG_arg_fail(2)) SWIG_fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 (arg1
)->SetPrintMode(arg2
);
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 Py_INCREF(Py_None
); resultobj
= Py_None
;
24112 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24114 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24116 PyObject
* obj0
= 0 ;
24117 char *kwnames
[] = {
24118 (char *) "self", NULL
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
24122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24123 if (SWIG_arg_fail(1)) SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= SWIG_From_int((int)(result
));
24140 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24144 PyObject
* obj0
= 0 ;
24145 PyObject
* obj1
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "self",(char *) "mode", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
24151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24152 if (SWIG_arg_fail(1)) SWIG_fail
;
24154 arg2
= (int)(SWIG_As_int(obj1
));
24155 if (SWIG_arg_fail(2)) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 (arg1
)->SetAssertMode(arg2
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 Py_INCREF(Py_None
); resultobj
= Py_None
;
24171 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24175 PyObject
* obj0
= 0 ;
24176 char *kwnames
[] = {
24177 (char *) "self", NULL
24180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
24181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24182 if (SWIG_arg_fail(1)) SWIG_fail
;
24184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 result
= (int)(arg1
)->GetAssertMode();
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_From_int((int)(result
));
24199 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
;
24202 char *kwnames
[] = {
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24223 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24226 char *kwnames
[] = {
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (long)wxPyApp::GetMacAboutMenuItemId();
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_From_long((long)(result
));
24247 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24250 char *kwnames
[] = {
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= SWIG_From_long((long)(result
));
24271 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
;
24274 char *kwnames
[] = {
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (long)wxPyApp::GetMacExitMenuItemId();
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= SWIG_From_long((long)(result
));
24295 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24298 char *kwnames
[] = {
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= wxPyApp::GetMacHelpMenuTitleName();
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24323 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
;
24326 PyObject
* obj0
= 0 ;
24327 char *kwnames
[] = {
24328 (char *) "val", NULL
24331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
24333 arg1
= (bool)(SWIG_As_bool(obj0
));
24334 if (SWIG_arg_fail(1)) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 Py_INCREF(Py_None
); resultobj
= Py_None
;
24350 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
;
24353 PyObject
* obj0
= 0 ;
24354 char *kwnames
[] = {
24355 (char *) "val", NULL
24358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
24360 arg1
= (long)(SWIG_As_long(obj0
));
24361 if (SWIG_arg_fail(1)) SWIG_fail
;
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 wxPyApp::SetMacAboutMenuItemId(arg1
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 Py_INCREF(Py_None
); resultobj
= Py_None
;
24377 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
;
24380 PyObject
* obj0
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "val", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
24387 arg1
= (long)(SWIG_As_long(obj0
));
24388 if (SWIG_arg_fail(1)) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 Py_INCREF(Py_None
); resultobj
= Py_None
;
24404 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24407 PyObject
* obj0
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "val", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
24414 arg1
= (long)(SWIG_As_long(obj0
));
24415 if (SWIG_arg_fail(1)) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 wxPyApp::SetMacExitMenuItemId(arg1
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 Py_INCREF(Py_None
); resultobj
= Py_None
;
24431 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxString
*arg1
= 0 ;
24434 bool temp1
= false ;
24435 PyObject
* obj0
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "val", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
24442 arg1
= wxString_in_helper(obj0
);
24443 if (arg1
== NULL
) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 Py_INCREF(Py_None
); resultobj
= Py_None
;
24468 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
;
24470 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24471 PyObject
* obj0
= 0 ;
24472 char *kwnames
[] = {
24473 (char *) "self", NULL
24476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
24477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24478 if (SWIG_arg_fail(1)) SWIG_fail
;
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 (arg1
)->_BootstrapApp();
24483 wxPyEndAllowThreads(__tstate
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24486 Py_INCREF(Py_None
); resultobj
= Py_None
;
24493 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
;
24496 char *kwnames
[] = {
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (int)PyApp_GetComCtl32Version();
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= SWIG_From_int((int)(result
));
24517 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
24519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24520 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
24522 return Py_BuildValue((char *)"");
24524 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
;
24526 char *kwnames
[] = {
24530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 Py_INCREF(Py_None
); resultobj
= Py_None
;
24545 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
;
24548 char *kwnames
[] = {
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (bool)wxYield();
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24569 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24572 char *kwnames
[] = {
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 result
= (bool)wxYieldIfNeeded();
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24593 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxWindow
*arg1
= (wxWindow
*) NULL
;
24596 bool arg2
= (bool) false ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "win",(char *) "onlyIfNeeded", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
24606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24607 if (SWIG_arg_fail(1)) SWIG_fail
;
24611 arg2
= (bool)(SWIG_As_bool(obj1
));
24612 if (SWIG_arg_fail(2)) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (bool)wxSafeYield(arg1
,arg2
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24631 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 char *kwnames
[] = {
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 Py_INCREF(Py_None
); resultobj
= Py_None
;
24652 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24655 wxEvent
*arg2
= 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "dest",(char *) "event", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24664 if (SWIG_arg_fail(1)) SWIG_fail
;
24666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24667 if (SWIG_arg_fail(2)) SWIG_fail
;
24668 if (arg2
== NULL
) {
24669 SWIG_null_ref("wxEvent");
24671 if (SWIG_arg_fail(2)) SWIG_fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 wxPostEvent(arg1
,*arg2
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 Py_INCREF(Py_None
); resultobj
= Py_None
;
24687 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
;
24689 char *kwnames
[] = {
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 Py_INCREF(Py_None
); resultobj
= Py_None
;
24708 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24711 char *kwnames
[] = {
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (wxPyApp
*)wxPyGetApp();
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= wxPyMake_wxObject(result
, 0);
24732 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 char *arg1
= (char *) 0 ;
24735 PyObject
* obj0
= 0 ;
24736 char *kwnames
[] = {
24737 (char *) "encoding", NULL
24740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24741 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24742 SWIG_arg_fail(1);SWIG_fail
;
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 wxSetDefaultPyEncoding((char const *)arg1
);
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24751 Py_INCREF(Py_None
); resultobj
= Py_None
;
24758 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
;
24761 char *kwnames
[] = {
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 result
= (char *)wxGetDefaultPyEncoding();
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= SWIG_FromCharPtr(result
);
24780 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24782 wxEventLoop
*result
;
24783 char *kwnames
[] = {
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 result
= (wxEventLoop
*)new wxEventLoop();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24802 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
;
24804 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 char *kwnames
[] = {
24807 (char *) "self", NULL
24810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24812 if (SWIG_arg_fail(1)) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 Py_INCREF(Py_None
); resultobj
= Py_None
;
24827 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 char *kwnames
[] = {
24833 (char *) "self", NULL
24836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24838 if (SWIG_arg_fail(1)) SWIG_fail
;
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (int)(arg1
)->Run();
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24847 resultobj
= SWIG_From_int((int)(result
));
24855 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
;
24857 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24858 int arg2
= (int) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 PyObject
* obj1
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self",(char *) "rc", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24867 if (SWIG_arg_fail(1)) SWIG_fail
;
24870 arg2
= (int)(SWIG_As_int(obj1
));
24871 if (SWIG_arg_fail(2)) SWIG_fail
;
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 (arg1
)->Exit(arg2
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 Py_INCREF(Py_None
); resultobj
= Py_None
;
24888 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 char *kwnames
[] = {
24894 (char *) "self", NULL
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24899 if (SWIG_arg_fail(1)) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24916 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24927 if (SWIG_arg_fail(1)) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (bool)(arg1
)->Dispatch();
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24944 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24948 PyObject
* obj0
= 0 ;
24949 char *kwnames
[] = {
24950 (char *) "self", NULL
24953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24955 if (SWIG_arg_fail(1)) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24972 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxEventLoop
*result
;
24975 char *kwnames
[] = {
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24994 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24997 PyObject
* obj0
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "loop", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
25003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
25004 if (SWIG_arg_fail(1)) SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 wxEventLoop::SetActive(arg1
);
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 Py_INCREF(Py_None
); resultobj
= Py_None
;
25019 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
25021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25022 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
25024 return Py_BuildValue((char *)"");
25026 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
;
25028 int arg1
= (int) 0 ;
25029 int arg2
= (int) 0 ;
25030 int arg3
= (int) 0 ;
25031 wxAcceleratorEntry
*result
;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 PyObject
* obj2
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25042 arg1
= (int)(SWIG_As_int(obj0
));
25043 if (SWIG_arg_fail(1)) SWIG_fail
;
25048 arg2
= (int)(SWIG_As_int(obj1
));
25049 if (SWIG_arg_fail(2)) SWIG_fail
;
25054 arg3
= (int)(SWIG_As_int(obj2
));
25055 if (SWIG_arg_fail(3)) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
25072 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 char *kwnames
[] = {
25077 (char *) "self", NULL
25080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
25081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25082 if (SWIG_arg_fail(1)) SWIG_fail
;
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 Py_INCREF(Py_None
); resultobj
= Py_None
;
25097 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25103 PyObject
* obj0
= 0 ;
25104 PyObject
* obj1
= 0 ;
25105 PyObject
* obj2
= 0 ;
25106 PyObject
* obj3
= 0 ;
25107 char *kwnames
[] = {
25108 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
25111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25113 if (SWIG_arg_fail(1)) SWIG_fail
;
25115 arg2
= (int)(SWIG_As_int(obj1
));
25116 if (SWIG_arg_fail(2)) SWIG_fail
;
25119 arg3
= (int)(SWIG_As_int(obj2
));
25120 if (SWIG_arg_fail(3)) SWIG_fail
;
25123 arg4
= (int)(SWIG_As_int(obj3
));
25124 if (SWIG_arg_fail(4)) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 (arg1
)->Set(arg2
,arg3
,arg4
);
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 Py_INCREF(Py_None
); resultobj
= Py_None
;
25140 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25144 PyObject
* obj0
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "self", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
25150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25151 if (SWIG_arg_fail(1)) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 result
= (int)(arg1
)->GetFlags();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= SWIG_From_int((int)(result
));
25168 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25172 PyObject
* obj0
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25179 if (SWIG_arg_fail(1)) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (int)(arg1
)->GetKeyCode();
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_From_int((int)(result
));
25196 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25200 PyObject
* obj0
= 0 ;
25201 char *kwnames
[] = {
25202 (char *) "self", NULL
25205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
25206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25207 if (SWIG_arg_fail(1)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 result
= (int)(arg1
)->GetCommand();
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= SWIG_From_int((int)(result
));
25224 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
25226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25227 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
25229 return Py_BuildValue((char *)"");
25231 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25234 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
25235 wxAcceleratorTable
*result
;
25236 PyObject
* obj0
= 0 ;
25237 char *kwnames
[] = {
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
25243 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
25244 if (arg2
) arg1
= PyList_Size(obj0
);
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
25267 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
;
25269 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
25270 PyObject
* obj0
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
25276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
25277 if (SWIG_arg_fail(1)) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 Py_INCREF(Py_None
); resultobj
= Py_None
;
25292 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
25296 PyObject
* obj0
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
25302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
25303 if (SWIG_arg_fail(1)) SWIG_fail
;
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25320 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
25322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25323 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
25325 return Py_BuildValue((char *)"");
25327 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
25328 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
25333 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
25336 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25341 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
;
25343 wxString
*arg1
= 0 ;
25344 wxAcceleratorEntry
*result
;
25345 bool temp1
= false ;
25346 PyObject
* obj0
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "label", NULL
25351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
25353 arg1
= wxString_in_helper(obj0
);
25354 if (arg1
== NULL
) SWIG_fail
;
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
25379 static int _wrap_PanelNameStr_set(PyObject
*) {
25380 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
25385 static PyObject
*_wrap_PanelNameStr_get(void) {
25390 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
25392 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
25399 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxVisualAttributes
*result
;
25402 char *kwnames
[] = {
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
25421 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25424 PyObject
* obj0
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
25430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25431 if (SWIG_arg_fail(1)) SWIG_fail
;
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 delete_wxVisualAttributes(arg1
);
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 Py_INCREF(Py_None
); resultobj
= Py_None
;
25446 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
;
25448 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25449 wxFont
*arg2
= (wxFont
*) 0 ;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "font", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25458 if (SWIG_arg_fail(1)) SWIG_fail
;
25459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
25460 if (SWIG_arg_fail(2)) SWIG_fail
;
25461 if (arg1
) (arg1
)->font
= *arg2
;
25463 Py_INCREF(Py_None
); resultobj
= Py_None
;
25470 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
;
25472 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25474 PyObject
* obj0
= 0 ;
25475 char *kwnames
[] = {
25476 (char *) "self", NULL
25479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
25480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25481 if (SWIG_arg_fail(1)) SWIG_fail
;
25482 result
= (wxFont
*)& ((arg1
)->font
);
25484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
25491 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25494 wxColour
*arg2
= (wxColour
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 PyObject
* obj1
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self",(char *) "colFg", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25503 if (SWIG_arg_fail(1)) SWIG_fail
;
25504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
25505 if (SWIG_arg_fail(2)) SWIG_fail
;
25506 if (arg1
) (arg1
)->colFg
= *arg2
;
25508 Py_INCREF(Py_None
); resultobj
= Py_None
;
25515 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25519 PyObject
* obj0
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
25525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25526 if (SWIG_arg_fail(1)) SWIG_fail
;
25527 result
= (wxColour
*)& ((arg1
)->colFg
);
25529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
25536 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
;
25538 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25539 wxColour
*arg2
= (wxColour
*) 0 ;
25540 PyObject
* obj0
= 0 ;
25541 PyObject
* obj1
= 0 ;
25542 char *kwnames
[] = {
25543 (char *) "self",(char *) "colBg", NULL
25546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25548 if (SWIG_arg_fail(1)) SWIG_fail
;
25549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
25550 if (SWIG_arg_fail(2)) SWIG_fail
;
25551 if (arg1
) (arg1
)->colBg
= *arg2
;
25553 Py_INCREF(Py_None
); resultobj
= Py_None
;
25560 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25564 PyObject
* obj0
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "self", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
25570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25571 if (SWIG_arg_fail(1)) SWIG_fail
;
25572 result
= (wxColour
*)& ((arg1
)->colBg
);
25574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
25581 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
25583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25584 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
25586 return Py_BuildValue((char *)"");
25588 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25590 wxWindow
*arg1
= (wxWindow
*) 0 ;
25591 int arg2
= (int) (int)-1 ;
25592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25596 long arg5
= (long) 0 ;
25597 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25602 bool temp6
= false ;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 PyObject
* obj2
= 0 ;
25606 PyObject
* obj3
= 0 ;
25607 PyObject
* obj4
= 0 ;
25608 PyObject
* obj5
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25615 if (SWIG_arg_fail(1)) SWIG_fail
;
25618 arg2
= (int const)(SWIG_As_int(obj1
));
25619 if (SWIG_arg_fail(2)) SWIG_fail
;
25625 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25631 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25636 arg5
= (long)(SWIG_As_long(obj4
));
25637 if (SWIG_arg_fail(5)) SWIG_fail
;
25642 arg6
= wxString_in_helper(obj5
);
25643 if (arg6
== NULL
) SWIG_fail
;
25648 if (!wxPyCheckForApp()) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25670 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
;
25673 char *kwnames
[] = {
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25679 if (!wxPyCheckForApp()) SWIG_fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (wxWindow
*)new wxWindow();
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25693 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25695 wxWindow
*arg1
= (wxWindow
*) 0 ;
25696 wxWindow
*arg2
= (wxWindow
*) 0 ;
25697 int arg3
= (int) (int)-1 ;
25698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25702 long arg6
= (long) 0 ;
25703 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25708 bool temp7
= false ;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 PyObject
* obj2
= 0 ;
25712 PyObject
* obj3
= 0 ;
25713 PyObject
* obj4
= 0 ;
25714 PyObject
* obj5
= 0 ;
25715 PyObject
* obj6
= 0 ;
25716 char *kwnames
[] = {
25717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25722 if (SWIG_arg_fail(1)) SWIG_fail
;
25723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25724 if (SWIG_arg_fail(2)) SWIG_fail
;
25727 arg3
= (int const)(SWIG_As_int(obj2
));
25728 if (SWIG_arg_fail(3)) SWIG_fail
;
25734 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25740 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25745 arg6
= (long)(SWIG_As_long(obj5
));
25746 if (SWIG_arg_fail(6)) SWIG_fail
;
25751 arg7
= wxString_in_helper(obj6
);
25752 if (arg7
== NULL
) SWIG_fail
;
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25780 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxWindow
*arg1
= (wxWindow
*) 0 ;
25783 bool arg2
= (bool) false ;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self",(char *) "force", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25793 if (SWIG_arg_fail(1)) SWIG_fail
;
25796 arg2
= (bool)(SWIG_As_bool(obj1
));
25797 if (SWIG_arg_fail(2)) SWIG_fail
;
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 result
= (bool)(arg1
)->Close(arg2
);
25804 wxPyEndAllowThreads(__tstate
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25816 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
;
25818 wxWindow
*arg1
= (wxWindow
*) 0 ;
25820 PyObject
* obj0
= 0 ;
25821 char *kwnames
[] = {
25822 (char *) "self", NULL
25825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25827 if (SWIG_arg_fail(1)) SWIG_fail
;
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 result
= (bool)(arg1
)->Destroy();
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25844 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxWindow
*arg1
= (wxWindow
*) 0 ;
25848 PyObject
* obj0
= 0 ;
25849 char *kwnames
[] = {
25850 (char *) "self", NULL
25853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail
;
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 result
= (bool)(arg1
)->DestroyChildren();
25860 wxPyEndAllowThreads(__tstate
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25872 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
;
25874 wxWindow
*arg1
= (wxWindow
*) 0 ;
25876 PyObject
* obj0
= 0 ;
25877 char *kwnames
[] = {
25878 (char *) "self", NULL
25881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25883 if (SWIG_arg_fail(1)) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25900 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
;
25902 wxWindow
*arg1
= (wxWindow
*) 0 ;
25903 wxString
*arg2
= 0 ;
25904 bool temp2
= false ;
25905 PyObject
* obj0
= 0 ;
25906 PyObject
* obj1
= 0 ;
25907 char *kwnames
[] = {
25908 (char *) "self",(char *) "label", NULL
25911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail
;
25915 arg2
= wxString_in_helper(obj1
);
25916 if (arg2
== NULL
) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 (arg1
)->SetLabel((wxString
const &)*arg2
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 Py_INCREF(Py_None
); resultobj
= Py_None
;
25941 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxWindow
*arg1
= (wxWindow
*) 0 ;
25945 PyObject
* obj0
= 0 ;
25946 char *kwnames
[] = {
25947 (char *) "self", NULL
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25952 if (SWIG_arg_fail(1)) SWIG_fail
;
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 result
= ((wxWindow
const *)arg1
)->GetLabel();
25957 wxPyEndAllowThreads(__tstate
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25973 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxWindow
*arg1
= (wxWindow
*) 0 ;
25976 wxString
*arg2
= 0 ;
25977 bool temp2
= false ;
25978 PyObject
* obj0
= 0 ;
25979 PyObject
* obj1
= 0 ;
25980 char *kwnames
[] = {
25981 (char *) "self",(char *) "name", NULL
25984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25986 if (SWIG_arg_fail(1)) SWIG_fail
;
25988 arg2
= wxString_in_helper(obj1
);
25989 if (arg2
== NULL
) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 (arg1
)->SetName((wxString
const &)*arg2
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 Py_INCREF(Py_None
); resultobj
= Py_None
;
26014 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
;
26016 wxWindow
*arg1
= (wxWindow
*) 0 ;
26018 PyObject
* obj0
= 0 ;
26019 char *kwnames
[] = {
26020 (char *) "self", NULL
26023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
26024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26025 if (SWIG_arg_fail(1)) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 result
= ((wxWindow
const *)arg1
)->GetName();
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26046 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxWindow
*arg1
= (wxWindow
*) 0 ;
26049 wxWindowVariant arg2
;
26050 PyObject
* obj0
= 0 ;
26051 PyObject
* obj1
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self",(char *) "variant", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
26057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26058 if (SWIG_arg_fail(1)) SWIG_fail
;
26060 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
26061 if (SWIG_arg_fail(2)) SWIG_fail
;
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 Py_INCREF(Py_None
); resultobj
= Py_None
;
26077 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26078 PyObject
*resultobj
;
26079 wxWindow
*arg1
= (wxWindow
*) 0 ;
26080 wxWindowVariant result
;
26081 PyObject
* obj0
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
26087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26088 if (SWIG_arg_fail(1)) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= SWIG_From_int((result
));
26103 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26104 PyObject
*resultobj
;
26105 wxWindow
*arg1
= (wxWindow
*) 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 char *kwnames
[] = {
26110 (char *) "self",(char *) "winid", NULL
26113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26115 if (SWIG_arg_fail(1)) SWIG_fail
;
26117 arg2
= (int)(SWIG_As_int(obj1
));
26118 if (SWIG_arg_fail(2)) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 (arg1
)->SetId(arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 Py_INCREF(Py_None
); resultobj
= Py_None
;
26134 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxWindow
*arg1
= (wxWindow
*) 0 ;
26138 PyObject
* obj0
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
26144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26145 if (SWIG_arg_fail(1)) SWIG_fail
;
26147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26148 result
= (int)((wxWindow
const *)arg1
)->GetId();
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= SWIG_From_int((int)(result
));
26162 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
;
26165 char *kwnames
[] = {
26169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= (int)wxWindow::NewControlId();
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= SWIG_From_int((int)(result
));
26186 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26190 PyObject
* obj0
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "winid", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
26197 arg1
= (int)(SWIG_As_int(obj0
));
26198 if (SWIG_arg_fail(1)) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (int)wxWindow::NextControlId(arg1
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26208 resultobj
= SWIG_From_int((int)(result
));
26216 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26220 PyObject
* obj0
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "winid", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
26227 arg1
= (int)(SWIG_As_int(obj0
));
26228 if (SWIG_arg_fail(1)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= (int)wxWindow::PrevControlId(arg1
);
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_From_int((int)(result
));
26246 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxWindow
*arg1
= (wxWindow
*) 0 ;
26251 PyObject
* obj0
= 0 ;
26252 PyObject
* obj1
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self",(char *) "size", NULL
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26259 if (SWIG_arg_fail(1)) SWIG_fail
;
26262 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 (arg1
)->SetSize((wxSize
const &)*arg2
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 Py_INCREF(Py_None
); resultobj
= Py_None
;
26278 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxWindow
*arg1
= (wxWindow
*) 0 ;
26285 int arg6
= (int) wxSIZE_AUTO
;
26286 PyObject
* obj0
= 0 ;
26287 PyObject
* obj1
= 0 ;
26288 PyObject
* obj2
= 0 ;
26289 PyObject
* obj3
= 0 ;
26290 PyObject
* obj4
= 0 ;
26291 PyObject
* obj5
= 0 ;
26292 char *kwnames
[] = {
26293 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
26296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26298 if (SWIG_arg_fail(1)) SWIG_fail
;
26300 arg2
= (int)(SWIG_As_int(obj1
));
26301 if (SWIG_arg_fail(2)) SWIG_fail
;
26304 arg3
= (int)(SWIG_As_int(obj2
));
26305 if (SWIG_arg_fail(3)) SWIG_fail
;
26308 arg4
= (int)(SWIG_As_int(obj3
));
26309 if (SWIG_arg_fail(4)) SWIG_fail
;
26312 arg5
= (int)(SWIG_As_int(obj4
));
26313 if (SWIG_arg_fail(5)) SWIG_fail
;
26317 arg6
= (int)(SWIG_As_int(obj5
));
26318 if (SWIG_arg_fail(6)) SWIG_fail
;
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26328 Py_INCREF(Py_None
); resultobj
= Py_None
;
26335 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26336 PyObject
*resultobj
;
26337 wxWindow
*arg1
= (wxWindow
*) 0 ;
26339 int arg3
= (int) wxSIZE_AUTO
;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 PyObject
* obj2
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26350 if (SWIG_arg_fail(1)) SWIG_fail
;
26353 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26357 arg3
= (int)(SWIG_As_int(obj2
));
26358 if (SWIG_arg_fail(3)) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 Py_INCREF(Py_None
); resultobj
= Py_None
;
26375 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxWindow
*arg1
= (wxWindow
*) 0 ;
26380 PyObject
* obj0
= 0 ;
26381 PyObject
* obj1
= 0 ;
26382 PyObject
* obj2
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self",(char *) "width",(char *) "height", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
26392 if (SWIG_arg_fail(2)) SWIG_fail
;
26395 arg3
= (int)(SWIG_As_int(obj2
));
26396 if (SWIG_arg_fail(3)) SWIG_fail
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 (arg1
)->SetSize(arg2
,arg3
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 Py_INCREF(Py_None
); resultobj
= Py_None
;
26412 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxWindow
*arg1
= (wxWindow
*) 0 ;
26415 wxPoint
*arg2
= 0 ;
26416 int arg3
= (int) wxSIZE_USE_EXISTING
;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 PyObject
* obj2
= 0 ;
26421 char *kwnames
[] = {
26422 (char *) "self",(char *) "pt",(char *) "flags", NULL
26425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26427 if (SWIG_arg_fail(1)) SWIG_fail
;
26430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26434 arg3
= (int)(SWIG_As_int(obj2
));
26435 if (SWIG_arg_fail(3)) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 Py_INCREF(Py_None
); resultobj
= Py_None
;
26452 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxWindow
*arg1
= (wxWindow
*) 0 ;
26457 int arg4
= (int) wxSIZE_USE_EXISTING
;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 PyObject
* obj2
= 0 ;
26461 PyObject
* obj3
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26468 if (SWIG_arg_fail(1)) SWIG_fail
;
26470 arg2
= (int)(SWIG_As_int(obj1
));
26471 if (SWIG_arg_fail(2)) SWIG_fail
;
26474 arg3
= (int)(SWIG_As_int(obj2
));
26475 if (SWIG_arg_fail(3)) SWIG_fail
;
26479 arg4
= (int)(SWIG_As_int(obj3
));
26480 if (SWIG_arg_fail(4)) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 (arg1
)->Move(arg2
,arg3
,arg4
);
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26490 Py_INCREF(Py_None
); resultobj
= Py_None
;
26497 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26498 PyObject
*resultobj
;
26499 wxWindow
*arg1
= (wxWindow
*) 0 ;
26500 wxSize
const &arg2_defvalue
= wxDefaultSize
;
26501 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 char *kwnames
[] = {
26506 (char *) "self",(char *) "size", NULL
26509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26511 if (SWIG_arg_fail(1)) SWIG_fail
;
26515 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 Py_INCREF(Py_None
); resultobj
= Py_None
;
26532 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
;
26534 wxWindow
*arg1
= (wxWindow
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26542 if (SWIG_arg_fail(1)) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 Py_INCREF(Py_None
); resultobj
= Py_None
;
26557 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxWindow
*arg1
= (wxWindow
*) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26567 if (SWIG_arg_fail(1)) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 Py_INCREF(Py_None
); resultobj
= Py_None
;
26582 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
;
26584 wxWindow
*arg1
= (wxWindow
*) 0 ;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 char *kwnames
[] = {
26590 (char *) "self",(char *) "size", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26595 if (SWIG_arg_fail(1)) SWIG_fail
;
26598 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26607 Py_INCREF(Py_None
); resultobj
= Py_None
;
26614 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26615 PyObject
*resultobj
;
26616 wxWindow
*arg1
= (wxWindow
*) 0 ;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 PyObject
* obj2
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self",(char *) "width",(char *) "height", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26628 if (SWIG_arg_fail(1)) SWIG_fail
;
26630 arg2
= (int)(SWIG_As_int(obj1
));
26631 if (SWIG_arg_fail(2)) SWIG_fail
;
26634 arg3
= (int)(SWIG_As_int(obj2
));
26635 if (SWIG_arg_fail(3)) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 (arg1
)->SetClientSize(arg2
,arg3
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 Py_INCREF(Py_None
); resultobj
= Py_None
;
26651 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
;
26653 wxWindow
*arg1
= (wxWindow
*) 0 ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 char *kwnames
[] = {
26659 (char *) "self",(char *) "rect", NULL
26662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26664 if (SWIG_arg_fail(1)) SWIG_fail
;
26667 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 Py_INCREF(Py_None
); resultobj
= Py_None
;
26683 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxWindow
*arg1
= (wxWindow
*) 0 ;
26687 PyObject
* obj0
= 0 ;
26688 char *kwnames
[] = {
26689 (char *) "self", NULL
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26694 if (SWIG_arg_fail(1)) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 result
= (arg1
)->GetPosition();
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26703 wxPoint
* resultptr
;
26704 resultptr
= new wxPoint((wxPoint
&)(result
));
26705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26713 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
;
26715 wxWindow
*arg1
= (wxWindow
*) 0 ;
26716 int *arg2
= (int *) 0 ;
26717 int *arg3
= (int *) 0 ;
26722 PyObject
* obj0
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self", NULL
26727 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26728 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26731 if (SWIG_arg_fail(1)) SWIG_fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 (arg1
)->GetPosition(arg2
,arg3
);
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 Py_INCREF(Py_None
); resultobj
= Py_None
;
26740 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26741 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26742 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26743 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26750 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
;
26752 wxWindow
*arg1
= (wxWindow
*) 0 ;
26754 PyObject
* obj0
= 0 ;
26755 char *kwnames
[] = {
26756 (char *) "self", NULL
26759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 result
= ((wxWindow
const *)arg1
)->GetSize();
26766 wxPyEndAllowThreads(__tstate
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26770 wxSize
* resultptr
;
26771 resultptr
= new wxSize((wxSize
&)(result
));
26772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26780 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
;
26782 wxWindow
*arg1
= (wxWindow
*) 0 ;
26783 int *arg2
= (int *) 0 ;
26784 int *arg3
= (int *) 0 ;
26789 PyObject
* obj0
= 0 ;
26790 char *kwnames
[] = {
26791 (char *) "self", NULL
26794 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26795 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26798 if (SWIG_arg_fail(1)) SWIG_fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 Py_INCREF(Py_None
); resultobj
= Py_None
;
26807 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26808 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26809 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26810 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26817 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxWindow
*arg1
= (wxWindow
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "self", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26828 if (SWIG_arg_fail(1)) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= ((wxWindow
const *)arg1
)->GetRect();
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26837 wxRect
* resultptr
;
26838 resultptr
= new wxRect((wxRect
&)(result
));
26839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26847 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26848 PyObject
*resultobj
;
26849 wxWindow
*arg1
= (wxWindow
*) 0 ;
26851 PyObject
* obj0
= 0 ;
26852 char *kwnames
[] = {
26853 (char *) "self", NULL
26856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26858 if (SWIG_arg_fail(1)) SWIG_fail
;
26860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26861 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26867 wxSize
* resultptr
;
26868 resultptr
= new wxSize((wxSize
&)(result
));
26869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26877 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
;
26879 wxWindow
*arg1
= (wxWindow
*) 0 ;
26880 int *arg2
= (int *) 0 ;
26881 int *arg3
= (int *) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self", NULL
26891 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26892 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26895 if (SWIG_arg_fail(1)) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 Py_INCREF(Py_None
); resultobj
= Py_None
;
26904 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26905 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26906 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26907 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26914 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxWindow
*arg1
= (wxWindow
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 char *kwnames
[] = {
26920 (char *) "self", NULL
26923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26925 if (SWIG_arg_fail(1)) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26934 wxPoint
* resultptr
;
26935 resultptr
= new wxPoint((wxPoint
&)(result
));
26936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26944 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
;
26946 wxWindow
*arg1
= (wxWindow
*) 0 ;
26948 PyObject
* obj0
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26955 if (SWIG_arg_fail(1)) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26964 wxRect
* resultptr
;
26965 resultptr
= new wxRect((wxRect
&)(result
));
26966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26974 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
;
26976 wxWindow
*arg1
= (wxWindow
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26985 if (SWIG_arg_fail(1)) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26994 wxSize
* resultptr
;
26995 resultptr
= new wxSize((wxSize
&)(result
));
26996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27004 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxWindow
*arg1
= (wxWindow
*) 0 ;
27007 int *arg2
= (int *) 0 ;
27008 int *arg3
= (int *) 0 ;
27013 PyObject
* obj0
= 0 ;
27014 char *kwnames
[] = {
27015 (char *) "self", NULL
27018 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27019 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
27021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27022 if (SWIG_arg_fail(1)) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 Py_INCREF(Py_None
); resultobj
= Py_None
;
27031 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27032 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27033 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27034 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27041 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
;
27043 wxWindow
*arg1
= (wxWindow
*) 0 ;
27044 PyObject
* obj0
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
27050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27051 if (SWIG_arg_fail(1)) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 (arg1
)->InvalidateBestSize();
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 Py_INCREF(Py_None
); resultobj
= Py_None
;
27066 static PyObject
*_wrap_Window_CacheBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
;
27068 wxWindow
*arg1
= (wxWindow
*) 0 ;
27071 PyObject
* obj0
= 0 ;
27072 PyObject
* obj1
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self",(char *) "size", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27079 if (SWIG_arg_fail(1)) SWIG_fail
;
27082 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27091 Py_INCREF(Py_None
); resultobj
= Py_None
;
27098 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27099 PyObject
*resultobj
;
27100 wxWindow
*arg1
= (wxWindow
*) 0 ;
27102 PyObject
* obj0
= 0 ;
27103 char *kwnames
[] = {
27104 (char *) "self", NULL
27107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
27108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27109 if (SWIG_arg_fail(1)) SWIG_fail
;
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27118 wxSize
* resultptr
;
27119 resultptr
= new wxSize((wxSize
&)(result
));
27120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27128 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxWindow
*arg1
= (wxWindow
*) 0 ;
27132 PyObject
* obj0
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
27138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27139 if (SWIG_arg_fail(1)) SWIG_fail
;
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27142 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27148 wxSize
* resultptr
;
27149 resultptr
= new wxSize((wxSize
&)(result
));
27150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27158 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27160 wxWindow
*arg1
= (wxWindow
*) 0 ;
27161 int arg2
= (int) wxBOTH
;
27162 PyObject
* obj0
= 0 ;
27163 PyObject
* obj1
= 0 ;
27164 char *kwnames
[] = {
27165 (char *) "self",(char *) "direction", NULL
27168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
27169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27170 if (SWIG_arg_fail(1)) SWIG_fail
;
27173 arg2
= (int)(SWIG_As_int(obj1
));
27174 if (SWIG_arg_fail(2)) SWIG_fail
;
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 (arg1
)->Center(arg2
);
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27184 Py_INCREF(Py_None
); resultobj
= Py_None
;
27191 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27192 PyObject
*resultobj
;
27193 wxWindow
*arg1
= (wxWindow
*) 0 ;
27194 int arg2
= (int) wxBOTH
;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self",(char *) "dir", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27203 if (SWIG_arg_fail(1)) SWIG_fail
;
27206 arg2
= (int)(SWIG_As_int(obj1
));
27207 if (SWIG_arg_fail(2)) SWIG_fail
;
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 (arg1
)->CenterOnScreen(arg2
);
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27217 Py_INCREF(Py_None
); resultobj
= Py_None
;
27224 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
;
27226 wxWindow
*arg1
= (wxWindow
*) 0 ;
27227 int arg2
= (int) wxBOTH
;
27228 PyObject
* obj0
= 0 ;
27229 PyObject
* obj1
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self",(char *) "dir", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
27235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27236 if (SWIG_arg_fail(1)) SWIG_fail
;
27239 arg2
= (int)(SWIG_As_int(obj1
));
27240 if (SWIG_arg_fail(2)) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 (arg1
)->CenterOnParent(arg2
);
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 Py_INCREF(Py_None
); resultobj
= Py_None
;
27257 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxWindow
*arg1
= (wxWindow
*) 0 ;
27260 PyObject
* obj0
= 0 ;
27261 char *kwnames
[] = {
27262 (char *) "self", NULL
27265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
27266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27267 if (SWIG_arg_fail(1)) SWIG_fail
;
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 Py_INCREF(Py_None
); resultobj
= Py_None
;
27282 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxWindow
*arg1
= (wxWindow
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 char *kwnames
[] = {
27287 (char *) "self", NULL
27290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
27291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27292 if (SWIG_arg_fail(1)) SWIG_fail
;
27294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27295 (arg1
)->FitInside();
27297 wxPyEndAllowThreads(__tstate
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27300 Py_INCREF(Py_None
); resultobj
= Py_None
;
27307 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27308 PyObject
*resultobj
;
27309 wxWindow
*arg1
= (wxWindow
*) 0 ;
27312 int arg4
= (int) -1 ;
27313 int arg5
= (int) -1 ;
27314 int arg6
= (int) -1 ;
27315 int arg7
= (int) -1 ;
27316 PyObject
* obj0
= 0 ;
27317 PyObject
* obj1
= 0 ;
27318 PyObject
* obj2
= 0 ;
27319 PyObject
* obj3
= 0 ;
27320 PyObject
* obj4
= 0 ;
27321 PyObject
* obj5
= 0 ;
27322 PyObject
* obj6
= 0 ;
27323 char *kwnames
[] = {
27324 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
27327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27329 if (SWIG_arg_fail(1)) SWIG_fail
;
27331 arg2
= (int)(SWIG_As_int(obj1
));
27332 if (SWIG_arg_fail(2)) SWIG_fail
;
27335 arg3
= (int)(SWIG_As_int(obj2
));
27336 if (SWIG_arg_fail(3)) SWIG_fail
;
27340 arg4
= (int)(SWIG_As_int(obj3
));
27341 if (SWIG_arg_fail(4)) SWIG_fail
;
27346 arg5
= (int)(SWIG_As_int(obj4
));
27347 if (SWIG_arg_fail(5)) SWIG_fail
;
27352 arg6
= (int)(SWIG_As_int(obj5
));
27353 if (SWIG_arg_fail(6)) SWIG_fail
;
27358 arg7
= (int)(SWIG_As_int(obj6
));
27359 if (SWIG_arg_fail(7)) SWIG_fail
;
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 Py_INCREF(Py_None
); resultobj
= Py_None
;
27376 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
;
27378 wxWindow
*arg1
= (wxWindow
*) 0 ;
27380 wxSize
const &arg3_defvalue
= wxDefaultSize
;
27381 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
27382 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27383 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27387 PyObject
* obj0
= 0 ;
27388 PyObject
* obj1
= 0 ;
27389 PyObject
* obj2
= 0 ;
27390 PyObject
* obj3
= 0 ;
27391 char *kwnames
[] = {
27392 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27397 if (SWIG_arg_fail(1)) SWIG_fail
;
27400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27405 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27411 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 Py_INCREF(Py_None
); resultobj
= Py_None
;
27428 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxWindow
*arg1
= (wxWindow
*) 0 ;
27433 int arg4
= (int) -1 ;
27434 int arg5
= (int) -1 ;
27435 PyObject
* obj0
= 0 ;
27436 PyObject
* obj1
= 0 ;
27437 PyObject
* obj2
= 0 ;
27438 PyObject
* obj3
= 0 ;
27439 PyObject
* obj4
= 0 ;
27440 char *kwnames
[] = {
27441 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
27444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27446 if (SWIG_arg_fail(1)) SWIG_fail
;
27448 arg2
= (int)(SWIG_As_int(obj1
));
27449 if (SWIG_arg_fail(2)) SWIG_fail
;
27452 arg3
= (int)(SWIG_As_int(obj2
));
27453 if (SWIG_arg_fail(3)) SWIG_fail
;
27457 arg4
= (int)(SWIG_As_int(obj3
));
27458 if (SWIG_arg_fail(4)) SWIG_fail
;
27463 arg5
= (int)(SWIG_As_int(obj4
));
27464 if (SWIG_arg_fail(5)) SWIG_fail
;
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 Py_INCREF(Py_None
); resultobj
= Py_None
;
27481 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxWindow
*arg1
= (wxWindow
*) 0 ;
27485 wxSize
const &arg3_defvalue
= wxDefaultSize
;
27486 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
27489 PyObject
* obj0
= 0 ;
27490 PyObject
* obj1
= 0 ;
27491 PyObject
* obj2
= 0 ;
27492 char *kwnames
[] = {
27493 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
27496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27498 if (SWIG_arg_fail(1)) SWIG_fail
;
27501 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27506 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27511 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 Py_INCREF(Py_None
); resultobj
= Py_None
;
27523 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
;
27525 wxWindow
*arg1
= (wxWindow
*) 0 ;
27527 PyObject
* obj0
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27534 if (SWIG_arg_fail(1)) SWIG_fail
;
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27543 wxSize
* resultptr
;
27544 resultptr
= new wxSize((wxSize
&)(result
));
27545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27553 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
;
27555 wxWindow
*arg1
= (wxWindow
*) 0 ;
27557 PyObject
* obj0
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27564 if (SWIG_arg_fail(1)) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27573 wxSize
* resultptr
;
27574 resultptr
= new wxSize((wxSize
&)(result
));
27575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27583 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27584 PyObject
*resultobj
;
27585 wxWindow
*arg1
= (wxWindow
*) 0 ;
27588 PyObject
* obj0
= 0 ;
27589 PyObject
* obj1
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self",(char *) "minSize", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27596 if (SWIG_arg_fail(1)) SWIG_fail
;
27599 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 Py_INCREF(Py_None
); resultobj
= Py_None
;
27615 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
;
27617 wxWindow
*arg1
= (wxWindow
*) 0 ;
27620 PyObject
* obj0
= 0 ;
27621 PyObject
* obj1
= 0 ;
27622 char *kwnames
[] = {
27623 (char *) "self",(char *) "maxSize", NULL
27626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27628 if (SWIG_arg_fail(1)) SWIG_fail
;
27631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 Py_INCREF(Py_None
); resultobj
= Py_None
;
27647 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxWindow
*arg1
= (wxWindow
*) 0 ;
27651 PyObject
* obj0
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27658 if (SWIG_arg_fail(1)) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27667 resultobj
= SWIG_From_int((int)(result
));
27675 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxWindow
*arg1
= (wxWindow
*) 0 ;
27679 PyObject
* obj0
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "self", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27686 if (SWIG_arg_fail(1)) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= SWIG_From_int((int)(result
));
27703 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxWindow
*arg1
= (wxWindow
*) 0 ;
27707 PyObject
* obj0
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27714 if (SWIG_arg_fail(1)) SWIG_fail
;
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= SWIG_From_int((int)(result
));
27731 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27732 PyObject
*resultobj
;
27733 wxWindow
*arg1
= (wxWindow
*) 0 ;
27735 PyObject
* obj0
= 0 ;
27736 char *kwnames
[] = {
27737 (char *) "self", NULL
27740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27742 if (SWIG_arg_fail(1)) SWIG_fail
;
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27747 wxPyEndAllowThreads(__tstate
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27751 resultobj
= SWIG_From_int((int)(result
));
27759 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 wxWindow
*arg1
= (wxWindow
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 PyObject
* obj1
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self",(char *) "size", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27772 if (SWIG_arg_fail(1)) SWIG_fail
;
27775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27784 Py_INCREF(Py_None
); resultobj
= Py_None
;
27791 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
;
27793 wxWindow
*arg1
= (wxWindow
*) 0 ;
27796 PyObject
* obj0
= 0 ;
27797 PyObject
* obj1
= 0 ;
27798 PyObject
* obj2
= 0 ;
27799 char *kwnames
[] = {
27800 (char *) "self",(char *) "w",(char *) "h", NULL
27803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27805 if (SWIG_arg_fail(1)) SWIG_fail
;
27807 arg2
= (int)(SWIG_As_int(obj1
));
27808 if (SWIG_arg_fail(2)) SWIG_fail
;
27811 arg3
= (int)(SWIG_As_int(obj2
));
27812 if (SWIG_arg_fail(3)) SWIG_fail
;
27815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27816 (arg1
)->SetVirtualSize(arg2
,arg3
);
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 Py_INCREF(Py_None
); resultobj
= Py_None
;
27828 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27829 PyObject
*resultobj
;
27830 wxWindow
*arg1
= (wxWindow
*) 0 ;
27832 PyObject
* obj0
= 0 ;
27833 char *kwnames
[] = {
27834 (char *) "self", NULL
27837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27839 if (SWIG_arg_fail(1)) SWIG_fail
;
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27848 wxSize
* resultptr
;
27849 resultptr
= new wxSize((wxSize
&)(result
));
27850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27858 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxWindow
*arg1
= (wxWindow
*) 0 ;
27861 int *arg2
= (int *) 0 ;
27862 int *arg3
= (int *) 0 ;
27867 PyObject
* obj0
= 0 ;
27868 char *kwnames
[] = {
27869 (char *) "self", NULL
27872 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27873 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27876 if (SWIG_arg_fail(1)) SWIG_fail
;
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27884 Py_INCREF(Py_None
); resultobj
= Py_None
;
27885 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27886 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27887 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27888 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27895 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
;
27897 wxWindow
*arg1
= (wxWindow
*) 0 ;
27899 PyObject
* obj0
= 0 ;
27900 char *kwnames
[] = {
27901 (char *) "self", NULL
27904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27906 if (SWIG_arg_fail(1)) SWIG_fail
;
27908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27909 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27915 wxSize
* resultptr
;
27916 resultptr
= new wxSize((wxSize
&)(result
));
27917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27925 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
;
27927 wxWindow
*arg1
= (wxWindow
*) 0 ;
27928 bool arg2
= (bool) true ;
27930 PyObject
* obj0
= 0 ;
27931 PyObject
* obj1
= 0 ;
27932 char *kwnames
[] = {
27933 (char *) "self",(char *) "show", NULL
27936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27938 if (SWIG_arg_fail(1)) SWIG_fail
;
27941 arg2
= (bool)(SWIG_As_bool(obj1
));
27942 if (SWIG_arg_fail(2)) SWIG_fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 result
= (bool)(arg1
)->Show(arg2
);
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27961 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxWindow
*arg1
= (wxWindow
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "self", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27972 if (SWIG_arg_fail(1)) SWIG_fail
;
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 result
= (bool)(arg1
)->Hide();
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27989 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27990 PyObject
*resultobj
;
27991 wxWindow
*arg1
= (wxWindow
*) 0 ;
27992 bool arg2
= (bool) true ;
27994 PyObject
* obj0
= 0 ;
27995 PyObject
* obj1
= 0 ;
27996 char *kwnames
[] = {
27997 (char *) "self",(char *) "enable", NULL
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
28001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28002 if (SWIG_arg_fail(1)) SWIG_fail
;
28005 arg2
= (bool)(SWIG_As_bool(obj1
));
28006 if (SWIG_arg_fail(2)) SWIG_fail
;
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 result
= (bool)(arg1
)->Enable(arg2
);
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28025 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
;
28027 wxWindow
*arg1
= (wxWindow
*) 0 ;
28029 PyObject
* obj0
= 0 ;
28030 char *kwnames
[] = {
28031 (char *) "self", NULL
28034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
28035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28036 if (SWIG_arg_fail(1)) SWIG_fail
;
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 result
= (bool)(arg1
)->Disable();
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28053 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxWindow
*arg1
= (wxWindow
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
28063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28064 if (SWIG_arg_fail(1)) SWIG_fail
;
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
28069 wxPyEndAllowThreads(__tstate
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28081 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28082 PyObject
*resultobj
;
28083 wxWindow
*arg1
= (wxWindow
*) 0 ;
28085 PyObject
* obj0
= 0 ;
28086 char *kwnames
[] = {
28087 (char *) "self", NULL
28090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
28091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28092 if (SWIG_arg_fail(1)) SWIG_fail
;
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28109 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
;
28111 wxWindow
*arg1
= (wxWindow
*) 0 ;
28113 PyObject
* obj0
= 0 ;
28114 PyObject
* obj1
= 0 ;
28115 char *kwnames
[] = {
28116 (char *) "self",(char *) "style", NULL
28119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
28120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28121 if (SWIG_arg_fail(1)) SWIG_fail
;
28123 arg2
= (long)(SWIG_As_long(obj1
));
28124 if (SWIG_arg_fail(2)) SWIG_fail
;
28127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28128 (arg1
)->SetWindowStyleFlag(arg2
);
28130 wxPyEndAllowThreads(__tstate
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28133 Py_INCREF(Py_None
); resultobj
= Py_None
;
28140 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxWindow
*arg1
= (wxWindow
*) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 char *kwnames
[] = {
28146 (char *) "self", NULL
28149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
28150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28151 if (SWIG_arg_fail(1)) SWIG_fail
;
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
28156 wxPyEndAllowThreads(__tstate
);
28157 if (PyErr_Occurred()) SWIG_fail
;
28160 resultobj
= SWIG_From_long((long)(result
));
28168 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
;
28170 wxWindow
*arg1
= (wxWindow
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 PyObject
* obj1
= 0 ;
28175 char *kwnames
[] = {
28176 (char *) "self",(char *) "flag", NULL
28179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
28180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28181 if (SWIG_arg_fail(1)) SWIG_fail
;
28183 arg2
= (int)(SWIG_As_int(obj1
));
28184 if (SWIG_arg_fail(2)) SWIG_fail
;
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28202 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
;
28204 wxWindow
*arg1
= (wxWindow
*) 0 ;
28206 PyObject
* obj0
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
28212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28230 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxWindow
*arg1
= (wxWindow
*) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 PyObject
* obj1
= 0 ;
28236 char *kwnames
[] = {
28237 (char *) "self",(char *) "exStyle", NULL
28240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
28241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28242 if (SWIG_arg_fail(1)) SWIG_fail
;
28244 arg2
= (long)(SWIG_As_long(obj1
));
28245 if (SWIG_arg_fail(2)) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 (arg1
)->SetExtraStyle(arg2
);
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 Py_INCREF(Py_None
); resultobj
= Py_None
;
28261 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
;
28263 wxWindow
*arg1
= (wxWindow
*) 0 ;
28265 PyObject
* obj0
= 0 ;
28266 char *kwnames
[] = {
28267 (char *) "self", NULL
28270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
28271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28272 if (SWIG_arg_fail(1)) SWIG_fail
;
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28281 resultobj
= SWIG_From_long((long)(result
));
28289 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
;
28291 wxWindow
*arg1
= (wxWindow
*) 0 ;
28292 bool arg2
= (bool) true ;
28293 PyObject
* obj0
= 0 ;
28294 PyObject
* obj1
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self",(char *) "modal", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
28300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail
;
28304 arg2
= (bool)(SWIG_As_bool(obj1
));
28305 if (SWIG_arg_fail(2)) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 (arg1
)->MakeModal(arg2
);
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28315 Py_INCREF(Py_None
); resultobj
= Py_None
;
28322 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28323 PyObject
*resultobj
;
28324 wxWindow
*arg1
= (wxWindow
*) 0 ;
28326 PyObject
* obj0
= 0 ;
28327 PyObject
* obj1
= 0 ;
28328 char *kwnames
[] = {
28329 (char *) "self",(char *) "enableTheme", NULL
28332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28334 if (SWIG_arg_fail(1)) SWIG_fail
;
28336 arg2
= (bool)(SWIG_As_bool(obj1
));
28337 if (SWIG_arg_fail(2)) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 (arg1
)->SetThemeEnabled(arg2
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 Py_INCREF(Py_None
); resultobj
= Py_None
;
28353 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
;
28355 wxWindow
*arg1
= (wxWindow
*) 0 ;
28357 PyObject
* obj0
= 0 ;
28358 char *kwnames
[] = {
28359 (char *) "self", NULL
28362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
28363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28364 if (SWIG_arg_fail(1)) SWIG_fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28381 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 wxWindow
*arg1
= (wxWindow
*) 0 ;
28384 PyObject
* obj0
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "self", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
28390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28391 if (SWIG_arg_fail(1)) SWIG_fail
;
28393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28394 (arg1
)->SetFocus();
28396 wxPyEndAllowThreads(__tstate
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28399 Py_INCREF(Py_None
); resultobj
= Py_None
;
28406 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
;
28408 wxWindow
*arg1
= (wxWindow
*) 0 ;
28409 PyObject
* obj0
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",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 (arg1
)->SetFocusFromKbd();
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28424 Py_INCREF(Py_None
); resultobj
= Py_None
;
28431 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28434 char *kwnames
[] = {
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
28440 if (!wxPyCheckForApp()) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 result
= (wxWindow
*)wxWindow::FindFocus();
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28448 resultobj
= wxPyMake_wxObject(result
, 0);
28456 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
;
28458 wxWindow
*arg1
= (wxWindow
*) 0 ;
28460 PyObject
* obj0
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28484 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
;
28486 wxWindow
*arg1
= (wxWindow
*) 0 ;
28488 PyObject
* obj0
= 0 ;
28489 char *kwnames
[] = {
28490 (char *) "self", NULL
28493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28495 if (SWIG_arg_fail(1)) SWIG_fail
;
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28498 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
28500 wxPyEndAllowThreads(__tstate
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28512 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28513 PyObject
*resultobj
;
28514 wxWindow
*arg1
= (wxWindow
*) 0 ;
28516 PyObject
* obj0
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "self", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
28522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28523 if (SWIG_arg_fail(1)) SWIG_fail
;
28525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28526 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
28528 wxPyEndAllowThreads(__tstate
);
28529 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= wxPyMake_wxObject(result
, 0);
28540 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxWindow
*arg1
= (wxWindow
*) 0 ;
28543 wxWindow
*arg2
= (wxWindow
*) 0 ;
28545 PyObject
* obj0
= 0 ;
28546 PyObject
* obj1
= 0 ;
28547 char *kwnames
[] = {
28548 (char *) "self",(char *) "child", NULL
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28553 if (SWIG_arg_fail(1)) SWIG_fail
;
28554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28555 if (SWIG_arg_fail(2)) SWIG_fail
;
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28558 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= wxPyMake_wxObject(result
, 0);
28572 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxWindow
*arg1
= (wxWindow
*) 0 ;
28575 wxWindow
*arg2
= (wxWindow
*) 0 ;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "self",(char *) "win", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28584 if (SWIG_arg_fail(1)) SWIG_fail
;
28585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28586 if (SWIG_arg_fail(2)) SWIG_fail
;
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 (arg1
)->SetTmpDefaultItem(arg2
);
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 Py_INCREF(Py_None
); resultobj
= Py_None
;
28601 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxWindow
*arg1
= (wxWindow
*) 0 ;
28604 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28606 PyObject
* obj0
= 0 ;
28607 PyObject
* obj1
= 0 ;
28608 char *kwnames
[] = {
28609 (char *) "self",(char *) "flags", NULL
28612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28614 if (SWIG_arg_fail(1)) SWIG_fail
;
28617 arg2
= (int)(SWIG_As_int(obj1
));
28618 if (SWIG_arg_fail(2)) SWIG_fail
;
28622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28623 result
= (bool)(arg1
)->Navigate(arg2
);
28625 wxPyEndAllowThreads(__tstate
);
28626 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28637 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28638 PyObject
*resultobj
;
28639 wxWindow
*arg1
= (wxWindow
*) 0 ;
28640 wxWindow
*arg2
= (wxWindow
*) 0 ;
28641 PyObject
* obj0
= 0 ;
28642 PyObject
* obj1
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "self",(char *) "win", NULL
28647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28649 if (SWIG_arg_fail(1)) SWIG_fail
;
28650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28651 if (SWIG_arg_fail(2)) SWIG_fail
;
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 (arg1
)->MoveAfterInTabOrder(arg2
);
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 Py_INCREF(Py_None
); resultobj
= Py_None
;
28666 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28667 PyObject
*resultobj
;
28668 wxWindow
*arg1
= (wxWindow
*) 0 ;
28669 wxWindow
*arg2
= (wxWindow
*) 0 ;
28670 PyObject
* obj0
= 0 ;
28671 PyObject
* obj1
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self",(char *) "win", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28678 if (SWIG_arg_fail(1)) SWIG_fail
;
28679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28680 if (SWIG_arg_fail(2)) SWIG_fail
;
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 (arg1
)->MoveBeforeInTabOrder(arg2
);
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28688 Py_INCREF(Py_None
); resultobj
= Py_None
;
28695 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28696 PyObject
*resultobj
;
28697 wxWindow
*arg1
= (wxWindow
*) 0 ;
28699 PyObject
* obj0
= 0 ;
28700 char *kwnames
[] = {
28701 (char *) "self", NULL
28704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28706 if (SWIG_arg_fail(1)) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28714 resultobj
= result
;
28721 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28722 PyObject
*resultobj
;
28723 wxWindow
*arg1
= (wxWindow
*) 0 ;
28725 PyObject
* obj0
= 0 ;
28726 char *kwnames
[] = {
28727 (char *) "self", NULL
28730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28732 if (SWIG_arg_fail(1)) SWIG_fail
;
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28741 resultobj
= wxPyMake_wxObject(result
, 0);
28749 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28750 PyObject
*resultobj
;
28751 wxWindow
*arg1
= (wxWindow
*) 0 ;
28753 PyObject
* obj0
= 0 ;
28754 char *kwnames
[] = {
28755 (char *) "self", NULL
28758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28760 if (SWIG_arg_fail(1)) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28769 resultobj
= wxPyMake_wxObject(result
, 0);
28777 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28778 PyObject
*resultobj
;
28779 wxWindow
*arg1
= (wxWindow
*) 0 ;
28781 PyObject
* obj0
= 0 ;
28782 char *kwnames
[] = {
28783 (char *) "self", NULL
28786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28788 if (SWIG_arg_fail(1)) SWIG_fail
;
28790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28793 wxPyEndAllowThreads(__tstate
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28805 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28806 PyObject
*resultobj
;
28807 wxWindow
*arg1
= (wxWindow
*) 0 ;
28808 wxWindow
*arg2
= (wxWindow
*) 0 ;
28810 PyObject
* obj0
= 0 ;
28811 PyObject
* obj1
= 0 ;
28812 char *kwnames
[] = {
28813 (char *) "self",(char *) "newParent", NULL
28816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28818 if (SWIG_arg_fail(1)) SWIG_fail
;
28819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28820 if (SWIG_arg_fail(2)) SWIG_fail
;
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28823 result
= (bool)(arg1
)->Reparent(arg2
);
28825 wxPyEndAllowThreads(__tstate
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28837 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28838 PyObject
*resultobj
;
28839 wxWindow
*arg1
= (wxWindow
*) 0 ;
28840 wxWindow
*arg2
= (wxWindow
*) 0 ;
28841 PyObject
* obj0
= 0 ;
28842 PyObject
* obj1
= 0 ;
28843 char *kwnames
[] = {
28844 (char *) "self",(char *) "child", NULL
28847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28849 if (SWIG_arg_fail(1)) SWIG_fail
;
28850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28851 if (SWIG_arg_fail(2)) SWIG_fail
;
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 (arg1
)->AddChild(arg2
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28859 Py_INCREF(Py_None
); resultobj
= Py_None
;
28866 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28867 PyObject
*resultobj
;
28868 wxWindow
*arg1
= (wxWindow
*) 0 ;
28869 wxWindow
*arg2
= (wxWindow
*) 0 ;
28870 PyObject
* obj0
= 0 ;
28871 PyObject
* obj1
= 0 ;
28872 char *kwnames
[] = {
28873 (char *) "self",(char *) "child", NULL
28876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28878 if (SWIG_arg_fail(1)) SWIG_fail
;
28879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28880 if (SWIG_arg_fail(2)) SWIG_fail
;
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 (arg1
)->RemoveChild(arg2
);
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28888 Py_INCREF(Py_None
); resultobj
= Py_None
;
28895 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28896 PyObject
*resultobj
;
28897 wxWindow
*arg1
= (wxWindow
*) 0 ;
28900 PyObject
* obj0
= 0 ;
28901 PyObject
* obj1
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "self",(char *) "winid", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28908 if (SWIG_arg_fail(1)) SWIG_fail
;
28910 arg2
= (long)(SWIG_As_long(obj1
));
28911 if (SWIG_arg_fail(2)) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28921 resultobj
= wxPyMake_wxObject(result
, 0);
28929 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28930 PyObject
*resultobj
;
28931 wxWindow
*arg1
= (wxWindow
*) 0 ;
28932 wxString
*arg2
= 0 ;
28934 bool temp2
= false ;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self",(char *) "name", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28943 if (SWIG_arg_fail(1)) SWIG_fail
;
28945 arg2
= wxString_in_helper(obj1
);
28946 if (arg2
== NULL
) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= wxPyMake_wxObject(result
, 0);
28973 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxWindow
*arg1
= (wxWindow
*) 0 ;
28976 wxEvtHandler
*result
;
28977 PyObject
* obj0
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "self", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28984 if (SWIG_arg_fail(1)) SWIG_fail
;
28986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28987 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28989 wxPyEndAllowThreads(__tstate
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28993 resultobj
= wxPyMake_wxObject(result
, 0);
29001 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxWindow
*arg1
= (wxWindow
*) 0 ;
29004 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self",(char *) "handler", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29013 if (SWIG_arg_fail(1)) SWIG_fail
;
29014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
29015 if (SWIG_arg_fail(2)) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 (arg1
)->SetEventHandler(arg2
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 Py_INCREF(Py_None
); resultobj
= Py_None
;
29030 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
;
29032 wxWindow
*arg1
= (wxWindow
*) 0 ;
29033 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29034 PyObject
* obj0
= 0 ;
29035 PyObject
* obj1
= 0 ;
29036 char *kwnames
[] = {
29037 (char *) "self",(char *) "handler", NULL
29040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29042 if (SWIG_arg_fail(1)) SWIG_fail
;
29043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
29044 if (SWIG_arg_fail(2)) SWIG_fail
;
29046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 (arg1
)->PushEventHandler(arg2
);
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 Py_INCREF(Py_None
); resultobj
= Py_None
;
29059 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29060 PyObject
*resultobj
;
29061 wxWindow
*arg1
= (wxWindow
*) 0 ;
29062 bool arg2
= (bool) false ;
29063 wxEvtHandler
*result
;
29064 PyObject
* obj0
= 0 ;
29065 PyObject
* obj1
= 0 ;
29066 char *kwnames
[] = {
29067 (char *) "self",(char *) "deleteHandler", NULL
29070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29072 if (SWIG_arg_fail(1)) SWIG_fail
;
29075 arg2
= (bool)(SWIG_As_bool(obj1
));
29076 if (SWIG_arg_fail(2)) SWIG_fail
;
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= wxPyMake_wxObject(result
, 0);
29095 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29096 PyObject
*resultobj
;
29097 wxWindow
*arg1
= (wxWindow
*) 0 ;
29098 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29100 PyObject
* obj0
= 0 ;
29101 PyObject
* obj1
= 0 ;
29102 char *kwnames
[] = {
29103 (char *) "self",(char *) "handler", NULL
29106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29108 if (SWIG_arg_fail(1)) SWIG_fail
;
29109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
29110 if (SWIG_arg_fail(2)) SWIG_fail
;
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29113 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
29115 wxPyEndAllowThreads(__tstate
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29127 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29128 PyObject
*resultobj
;
29129 wxWindow
*arg1
= (wxWindow
*) 0 ;
29130 wxValidator
*arg2
= 0 ;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 char *kwnames
[] = {
29134 (char *) "self",(char *) "validator", NULL
29137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
29138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29139 if (SWIG_arg_fail(1)) SWIG_fail
;
29141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29142 if (SWIG_arg_fail(2)) SWIG_fail
;
29143 if (arg2
== NULL
) {
29144 SWIG_null_ref("wxValidator");
29146 if (SWIG_arg_fail(2)) SWIG_fail
;
29149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 Py_INCREF(Py_None
); resultobj
= Py_None
;
29162 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
;
29164 wxWindow
*arg1
= (wxWindow
*) 0 ;
29165 wxValidator
*result
;
29166 PyObject
* obj0
= 0 ;
29167 char *kwnames
[] = {
29168 (char *) "self", NULL
29171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
29172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29173 if (SWIG_arg_fail(1)) SWIG_fail
;
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 result
= (wxValidator
*)(arg1
)->GetValidator();
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= wxPyMake_wxObject(result
, 0);
29190 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
;
29192 wxWindow
*arg1
= (wxWindow
*) 0 ;
29194 PyObject
* obj0
= 0 ;
29195 char *kwnames
[] = {
29196 (char *) "self", NULL
29199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
29200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29201 if (SWIG_arg_fail(1)) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (bool)(arg1
)->Validate();
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29218 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
;
29220 wxWindow
*arg1
= (wxWindow
*) 0 ;
29222 PyObject
* obj0
= 0 ;
29223 char *kwnames
[] = {
29224 (char *) "self", NULL
29227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29229 if (SWIG_arg_fail(1)) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 result
= (bool)(arg1
)->TransferDataToWindow();
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29246 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxWindow
*arg1
= (wxWindow
*) 0 ;
29250 PyObject
* obj0
= 0 ;
29251 char *kwnames
[] = {
29252 (char *) "self", NULL
29255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29257 if (SWIG_arg_fail(1)) SWIG_fail
;
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 result
= (bool)(arg1
)->TransferDataFromWindow();
29262 wxPyEndAllowThreads(__tstate
);
29263 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29274 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
;
29276 wxWindow
*arg1
= (wxWindow
*) 0 ;
29277 PyObject
* obj0
= 0 ;
29278 char *kwnames
[] = {
29279 (char *) "self", NULL
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
29283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29284 if (SWIG_arg_fail(1)) SWIG_fail
;
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 (arg1
)->InitDialog();
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 Py_INCREF(Py_None
); resultobj
= Py_None
;
29299 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
;
29301 wxWindow
*arg1
= (wxWindow
*) 0 ;
29302 wxAcceleratorTable
*arg2
= 0 ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self",(char *) "accel", NULL
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
29310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29311 if (SWIG_arg_fail(1)) SWIG_fail
;
29313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
29314 if (SWIG_arg_fail(2)) SWIG_fail
;
29315 if (arg2
== NULL
) {
29316 SWIG_null_ref("wxAcceleratorTable");
29318 if (SWIG_arg_fail(2)) SWIG_fail
;
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29327 Py_INCREF(Py_None
); resultobj
= Py_None
;
29334 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29335 PyObject
*resultobj
;
29336 wxWindow
*arg1
= (wxWindow
*) 0 ;
29337 wxAcceleratorTable
*result
;
29338 PyObject
* obj0
= 0 ;
29339 char *kwnames
[] = {
29340 (char *) "self", NULL
29343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
29344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29345 if (SWIG_arg_fail(1)) SWIG_fail
;
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
29360 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
;
29362 wxWindow
*arg1
= (wxWindow
*) 0 ;
29367 PyObject
* obj0
= 0 ;
29368 PyObject
* obj1
= 0 ;
29369 PyObject
* obj2
= 0 ;
29370 PyObject
* obj3
= 0 ;
29371 char *kwnames
[] = {
29372 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
29375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29377 if (SWIG_arg_fail(1)) SWIG_fail
;
29379 arg2
= (int)(SWIG_As_int(obj1
));
29380 if (SWIG_arg_fail(2)) SWIG_fail
;
29383 arg3
= (int)(SWIG_As_int(obj2
));
29384 if (SWIG_arg_fail(3)) SWIG_fail
;
29387 arg4
= (int)(SWIG_As_int(obj3
));
29388 if (SWIG_arg_fail(4)) SWIG_fail
;
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29406 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxWindow
*arg1
= (wxWindow
*) 0 ;
29411 PyObject
* obj0
= 0 ;
29412 PyObject
* obj1
= 0 ;
29413 char *kwnames
[] = {
29414 (char *) "self",(char *) "hotkeyId", NULL
29417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
29418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29419 if (SWIG_arg_fail(1)) SWIG_fail
;
29421 arg2
= (int)(SWIG_As_int(obj1
));
29422 if (SWIG_arg_fail(2)) SWIG_fail
;
29425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29426 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
29428 wxPyEndAllowThreads(__tstate
);
29429 if (PyErr_Occurred()) SWIG_fail
;
29432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29440 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29441 PyObject
*resultobj
;
29442 wxWindow
*arg1
= (wxWindow
*) 0 ;
29443 wxPoint
*arg2
= 0 ;
29446 PyObject
* obj0
= 0 ;
29447 PyObject
* obj1
= 0 ;
29448 char *kwnames
[] = {
29449 (char *) "self",(char *) "pt", NULL
29452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
29453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29454 if (SWIG_arg_fail(1)) SWIG_fail
;
29457 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29467 wxPoint
* resultptr
;
29468 resultptr
= new wxPoint((wxPoint
&)(result
));
29469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29477 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
;
29479 wxWindow
*arg1
= (wxWindow
*) 0 ;
29483 PyObject
* obj0
= 0 ;
29484 PyObject
* obj1
= 0 ;
29485 char *kwnames
[] = {
29486 (char *) "self",(char *) "sz", NULL
29489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
29490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29491 if (SWIG_arg_fail(1)) SWIG_fail
;
29494 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29500 wxPyEndAllowThreads(__tstate
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29504 wxSize
* resultptr
;
29505 resultptr
= new wxSize((wxSize
&)(result
));
29506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29514 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29515 PyObject
*resultobj
;
29516 wxWindow
*arg1
= (wxWindow
*) 0 ;
29517 wxPoint
*arg2
= 0 ;
29520 PyObject
* obj0
= 0 ;
29521 PyObject
* obj1
= 0 ;
29522 char *kwnames
[] = {
29523 (char *) "self",(char *) "pt", NULL
29526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
29527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29528 if (SWIG_arg_fail(1)) SWIG_fail
;
29531 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29535 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29537 wxPyEndAllowThreads(__tstate
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29541 wxPoint
* resultptr
;
29542 resultptr
= new wxPoint((wxPoint
&)(result
));
29543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29551 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
;
29553 wxWindow
*arg1
= (wxWindow
*) 0 ;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 char *kwnames
[] = {
29560 (char *) "self",(char *) "sz", NULL
29563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29565 if (SWIG_arg_fail(1)) SWIG_fail
;
29568 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29574 wxPyEndAllowThreads(__tstate
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29578 wxSize
* resultptr
;
29579 resultptr
= new wxSize((wxSize
&)(result
));
29580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29588 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29589 PyObject
*resultobj
;
29590 wxWindow
*arg1
= (wxWindow
*) 0 ;
29591 wxPoint
*arg2
= 0 ;
29594 PyObject
* obj0
= 0 ;
29595 PyObject
* obj1
= 0 ;
29596 char *kwnames
[] = {
29597 (char *) "self",(char *) "pt", NULL
29600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29602 if (SWIG_arg_fail(1)) SWIG_fail
;
29605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29615 wxPoint
* resultptr
;
29616 resultptr
= new wxPoint((wxPoint
&)(result
));
29617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29625 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
;
29627 wxWindow
*arg1
= (wxWindow
*) 0 ;
29631 PyObject
* obj0
= 0 ;
29632 PyObject
* obj1
= 0 ;
29633 char *kwnames
[] = {
29634 (char *) "self",(char *) "sz", NULL
29637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29639 if (SWIG_arg_fail(1)) SWIG_fail
;
29642 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29646 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29648 wxPyEndAllowThreads(__tstate
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29652 wxSize
* resultptr
;
29653 resultptr
= new wxSize((wxSize
&)(result
));
29654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29662 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29663 PyObject
*resultobj
;
29664 wxWindow
*arg1
= (wxWindow
*) 0 ;
29667 PyObject
* obj0
= 0 ;
29668 PyObject
* obj1
= 0 ;
29669 PyObject
* obj2
= 0 ;
29670 char *kwnames
[] = {
29671 (char *) "self",(char *) "x",(char *) "y", NULL
29674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail
;
29678 arg2
= (int)(SWIG_As_int(obj1
));
29679 if (SWIG_arg_fail(2)) SWIG_fail
;
29682 arg3
= (int)(SWIG_As_int(obj2
));
29683 if (SWIG_arg_fail(3)) SWIG_fail
;
29686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29687 (arg1
)->WarpPointer(arg2
,arg3
);
29689 wxPyEndAllowThreads(__tstate
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29692 Py_INCREF(Py_None
); resultobj
= Py_None
;
29699 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29700 PyObject
*resultobj
;
29701 wxWindow
*arg1
= (wxWindow
*) 0 ;
29702 PyObject
* obj0
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29709 if (SWIG_arg_fail(1)) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 (arg1
)->CaptureMouse();
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29717 Py_INCREF(Py_None
); resultobj
= Py_None
;
29724 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
;
29726 wxWindow
*arg1
= (wxWindow
*) 0 ;
29727 PyObject
* obj0
= 0 ;
29728 char *kwnames
[] = {
29729 (char *) "self", NULL
29732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29734 if (SWIG_arg_fail(1)) SWIG_fail
;
29736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29737 (arg1
)->ReleaseMouse();
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29742 Py_INCREF(Py_None
); resultobj
= Py_None
;
29749 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
;
29752 char *kwnames
[] = {
29756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29758 if (!wxPyCheckForApp()) SWIG_fail
;
29759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29760 result
= (wxWindow
*)wxWindow::GetCapture();
29762 wxPyEndAllowThreads(__tstate
);
29763 if (PyErr_Occurred()) SWIG_fail
;
29766 resultobj
= wxPyMake_wxObject(result
, 0);
29774 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29775 PyObject
*resultobj
;
29776 wxWindow
*arg1
= (wxWindow
*) 0 ;
29778 PyObject
* obj0
= 0 ;
29779 char *kwnames
[] = {
29780 (char *) "self", NULL
29783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29785 if (SWIG_arg_fail(1)) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29802 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
;
29804 wxWindow
*arg1
= (wxWindow
*) 0 ;
29805 bool arg2
= (bool) true ;
29806 wxRect
*arg3
= (wxRect
*) NULL
;
29807 PyObject
* obj0
= 0 ;
29808 PyObject
* obj1
= 0 ;
29809 PyObject
* obj2
= 0 ;
29810 char *kwnames
[] = {
29811 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29816 if (SWIG_arg_fail(1)) SWIG_fail
;
29819 arg2
= (bool)(SWIG_As_bool(obj1
));
29820 if (SWIG_arg_fail(2)) SWIG_fail
;
29824 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29825 if (SWIG_arg_fail(3)) SWIG_fail
;
29828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29829 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29831 wxPyEndAllowThreads(__tstate
);
29832 if (PyErr_Occurred()) SWIG_fail
;
29834 Py_INCREF(Py_None
); resultobj
= Py_None
;
29841 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29842 PyObject
*resultobj
;
29843 wxWindow
*arg1
= (wxWindow
*) 0 ;
29845 bool arg3
= (bool) true ;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 PyObject
* obj2
= 0 ;
29850 char *kwnames
[] = {
29851 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29856 if (SWIG_arg_fail(1)) SWIG_fail
;
29859 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29863 arg3
= (bool)(SWIG_As_bool(obj2
));
29864 if (SWIG_arg_fail(3)) SWIG_fail
;
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29874 Py_INCREF(Py_None
); resultobj
= Py_None
;
29881 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29882 PyObject
*resultobj
;
29883 wxWindow
*arg1
= (wxWindow
*) 0 ;
29884 PyObject
* obj0
= 0 ;
29885 char *kwnames
[] = {
29886 (char *) "self", NULL
29889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29891 if (SWIG_arg_fail(1)) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29899 Py_INCREF(Py_None
); resultobj
= Py_None
;
29906 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
;
29908 wxWindow
*arg1
= (wxWindow
*) 0 ;
29909 PyObject
* obj0
= 0 ;
29910 char *kwnames
[] = {
29911 (char *) "self", NULL
29914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29916 if (SWIG_arg_fail(1)) SWIG_fail
;
29918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29919 (arg1
)->ClearBackground();
29921 wxPyEndAllowThreads(__tstate
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29924 Py_INCREF(Py_None
); resultobj
= Py_None
;
29931 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29932 PyObject
*resultobj
;
29933 wxWindow
*arg1
= (wxWindow
*) 0 ;
29934 PyObject
* obj0
= 0 ;
29935 char *kwnames
[] = {
29936 (char *) "self", NULL
29939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29941 if (SWIG_arg_fail(1)) SWIG_fail
;
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29946 wxPyEndAllowThreads(__tstate
);
29947 if (PyErr_Occurred()) SWIG_fail
;
29949 Py_INCREF(Py_None
); resultobj
= Py_None
;
29956 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
;
29958 wxWindow
*arg1
= (wxWindow
*) 0 ;
29959 PyObject
* obj0
= 0 ;
29960 char *kwnames
[] = {
29961 (char *) "self", NULL
29964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29966 if (SWIG_arg_fail(1)) SWIG_fail
;
29968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 wxPyEndAllowThreads(__tstate
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 Py_INCREF(Py_None
); resultobj
= Py_None
;
29981 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
;
29983 wxWindow
*arg1
= (wxWindow
*) 0 ;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "self",(char *) "dc", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29996 if (SWIG_arg_fail(2)) SWIG_fail
;
29997 if (arg2
== NULL
) {
29998 SWIG_null_ref("wxDC");
30000 if (SWIG_arg_fail(2)) SWIG_fail
;
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 (arg1
)->PrepareDC(*arg2
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30009 Py_INCREF(Py_None
); resultobj
= Py_None
;
30016 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
;
30018 wxWindow
*arg1
= (wxWindow
*) 0 ;
30020 PyObject
* obj0
= 0 ;
30021 char *kwnames
[] = {
30022 (char *) "self", NULL
30025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
30026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30027 if (SWIG_arg_fail(1)) SWIG_fail
;
30029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30031 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
30032 result
= (wxRegion
*) &_result_ref
;
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
30045 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
;
30047 wxWindow
*arg1
= (wxWindow
*) 0 ;
30049 PyObject
* obj0
= 0 ;
30050 char *kwnames
[] = {
30051 (char *) "self", NULL
30054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
30055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30056 if (SWIG_arg_fail(1)) SWIG_fail
;
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30059 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
30061 wxPyEndAllowThreads(__tstate
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30065 wxRect
* resultptr
;
30066 resultptr
= new wxRect((wxRect
&)(result
));
30067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30075 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30076 PyObject
*resultobj
;
30077 wxWindow
*arg1
= (wxWindow
*) 0 ;
30080 int arg4
= (int) 1 ;
30081 int arg5
= (int) 1 ;
30083 PyObject
* obj0
= 0 ;
30084 PyObject
* obj1
= 0 ;
30085 PyObject
* obj2
= 0 ;
30086 PyObject
* obj3
= 0 ;
30087 PyObject
* obj4
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30094 if (SWIG_arg_fail(1)) SWIG_fail
;
30096 arg2
= (int)(SWIG_As_int(obj1
));
30097 if (SWIG_arg_fail(2)) SWIG_fail
;
30100 arg3
= (int)(SWIG_As_int(obj2
));
30101 if (SWIG_arg_fail(3)) SWIG_fail
;
30105 arg4
= (int)(SWIG_As_int(obj3
));
30106 if (SWIG_arg_fail(4)) SWIG_fail
;
30111 arg5
= (int)(SWIG_As_int(obj4
));
30112 if (SWIG_arg_fail(5)) SWIG_fail
;
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30131 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
;
30133 wxWindow
*arg1
= (wxWindow
*) 0 ;
30134 wxPoint
*arg2
= 0 ;
30137 PyObject
* obj0
= 0 ;
30138 PyObject
* obj1
= 0 ;
30139 char *kwnames
[] = {
30140 (char *) "self",(char *) "pt", NULL
30143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
30144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30145 if (SWIG_arg_fail(1)) SWIG_fail
;
30148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30152 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30166 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
;
30168 wxWindow
*arg1
= (wxWindow
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self",(char *) "rect", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30180 if (SWIG_arg_fail(1)) SWIG_fail
;
30183 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30201 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30202 PyObject
*resultobj
;
30203 wxWindow
*arg1
= (wxWindow
*) 0 ;
30204 wxVisualAttributes result
;
30205 PyObject
* obj0
= 0 ;
30206 char *kwnames
[] = {
30207 (char *) "self", NULL
30210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30212 if (SWIG_arg_fail(1)) SWIG_fail
;
30214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30215 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
30217 wxPyEndAllowThreads(__tstate
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30221 wxVisualAttributes
* resultptr
;
30222 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30231 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30232 PyObject
*resultobj
;
30233 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30234 wxVisualAttributes result
;
30235 PyObject
* obj0
= 0 ;
30236 char *kwnames
[] = {
30237 (char *) "variant", NULL
30240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30243 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30244 if (SWIG_arg_fail(1)) SWIG_fail
;
30248 if (!wxPyCheckForApp()) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30256 wxVisualAttributes
* resultptr
;
30257 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30266 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxWindow
*arg1
= (wxWindow
*) 0 ;
30269 wxColour
*arg2
= 0 ;
30272 PyObject
* obj0
= 0 ;
30273 PyObject
* obj1
= 0 ;
30274 char *kwnames
[] = {
30275 (char *) "self",(char *) "colour", NULL
30278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30280 if (SWIG_arg_fail(1)) SWIG_fail
;
30283 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30301 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
;
30303 wxWindow
*arg1
= (wxWindow
*) 0 ;
30304 wxColour
*arg2
= 0 ;
30306 PyObject
* obj0
= 0 ;
30307 PyObject
* obj1
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self",(char *) "colour", NULL
30312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30314 if (SWIG_arg_fail(1)) SWIG_fail
;
30317 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30321 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 Py_INCREF(Py_None
); resultobj
= Py_None
;
30333 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
;
30335 wxWindow
*arg1
= (wxWindow
*) 0 ;
30336 wxColour
*arg2
= 0 ;
30339 PyObject
* obj0
= 0 ;
30340 PyObject
* obj1
= 0 ;
30341 char *kwnames
[] = {
30342 (char *) "self",(char *) "colour", NULL
30345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30347 if (SWIG_arg_fail(1)) SWIG_fail
;
30350 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30354 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30368 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
;
30370 wxWindow
*arg1
= (wxWindow
*) 0 ;
30371 wxColour
*arg2
= 0 ;
30373 PyObject
* obj0
= 0 ;
30374 PyObject
* obj1
= 0 ;
30375 char *kwnames
[] = {
30376 (char *) "self",(char *) "colour", NULL
30379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30381 if (SWIG_arg_fail(1)) SWIG_fail
;
30384 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 Py_INCREF(Py_None
); resultobj
= Py_None
;
30400 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
;
30402 wxWindow
*arg1
= (wxWindow
*) 0 ;
30404 PyObject
* obj0
= 0 ;
30405 char *kwnames
[] = {
30406 (char *) "self", NULL
30409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
30410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30411 if (SWIG_arg_fail(1)) SWIG_fail
;
30413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30414 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
30416 wxPyEndAllowThreads(__tstate
);
30417 if (PyErr_Occurred()) SWIG_fail
;
30420 wxColour
* resultptr
;
30421 resultptr
= new wxColour((wxColour
&)(result
));
30422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30430 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
;
30432 wxWindow
*arg1
= (wxWindow
*) 0 ;
30434 PyObject
* obj0
= 0 ;
30435 char *kwnames
[] = {
30436 (char *) "self", NULL
30439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
30440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30441 if (SWIG_arg_fail(1)) SWIG_fail
;
30443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30444 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30450 wxColour
* resultptr
;
30451 resultptr
= new wxColour((wxColour
&)(result
));
30452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30460 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
;
30462 wxWindow
*arg1
= (wxWindow
*) 0 ;
30464 PyObject
* obj0
= 0 ;
30465 char *kwnames
[] = {
30466 (char *) "self", NULL
30469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
30470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30471 if (SWIG_arg_fail(1)) SWIG_fail
;
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30488 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxWindow
*arg1
= (wxWindow
*) 0 ;
30492 PyObject
* obj0
= 0 ;
30493 char *kwnames
[] = {
30494 (char *) "self", NULL
30497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
30498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30499 if (SWIG_arg_fail(1)) SWIG_fail
;
30501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30502 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
30504 wxPyEndAllowThreads(__tstate
);
30505 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30516 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30517 PyObject
*resultobj
;
30518 wxWindow
*arg1
= (wxWindow
*) 0 ;
30519 wxBackgroundStyle arg2
;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 char *kwnames
[] = {
30524 (char *) "self",(char *) "style", NULL
30527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
30528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30529 if (SWIG_arg_fail(1)) SWIG_fail
;
30531 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
30532 if (SWIG_arg_fail(2)) SWIG_fail
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30550 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30551 PyObject
*resultobj
;
30552 wxWindow
*arg1
= (wxWindow
*) 0 ;
30553 wxBackgroundStyle result
;
30554 PyObject
* obj0
= 0 ;
30555 char *kwnames
[] = {
30556 (char *) "self", NULL
30559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
30560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30561 if (SWIG_arg_fail(1)) SWIG_fail
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 resultobj
= SWIG_From_int((result
));
30576 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxWindow
*arg1
= (wxWindow
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 char *kwnames
[] = {
30582 (char *) "self", NULL
30585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30587 if (SWIG_arg_fail(1)) SWIG_fail
;
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 result
= (bool)(arg1
)->HasTransparentBackground();
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30604 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
;
30606 wxWindow
*arg1
= (wxWindow
*) 0 ;
30607 wxCursor
*arg2
= 0 ;
30609 PyObject
* obj0
= 0 ;
30610 PyObject
* obj1
= 0 ;
30611 char *kwnames
[] = {
30612 (char *) "self",(char *) "cursor", NULL
30615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30617 if (SWIG_arg_fail(1)) SWIG_fail
;
30619 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30620 if (SWIG_arg_fail(2)) SWIG_fail
;
30621 if (arg2
== NULL
) {
30622 SWIG_null_ref("wxCursor");
30624 if (SWIG_arg_fail(2)) SWIG_fail
;
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30628 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30630 wxPyEndAllowThreads(__tstate
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30642 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
;
30644 wxWindow
*arg1
= (wxWindow
*) 0 ;
30646 PyObject
* obj0
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30653 if (SWIG_arg_fail(1)) SWIG_fail
;
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 result
= (arg1
)->GetCursor();
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30662 wxCursor
* resultptr
;
30663 resultptr
= new wxCursor((wxCursor
&)(result
));
30664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30672 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
;
30674 wxWindow
*arg1
= (wxWindow
*) 0 ;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 char *kwnames
[] = {
30680 (char *) "self",(char *) "font", NULL
30683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30685 if (SWIG_arg_fail(1)) SWIG_fail
;
30687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30688 if (SWIG_arg_fail(2)) SWIG_fail
;
30689 if (arg2
== NULL
) {
30690 SWIG_null_ref("wxFont");
30692 if (SWIG_arg_fail(2)) SWIG_fail
;
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30696 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30710 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
;
30712 wxWindow
*arg1
= (wxWindow
*) 0 ;
30714 PyObject
* obj0
= 0 ;
30715 PyObject
* obj1
= 0 ;
30716 char *kwnames
[] = {
30717 (char *) "self",(char *) "font", NULL
30720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30722 if (SWIG_arg_fail(1)) SWIG_fail
;
30724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30725 if (SWIG_arg_fail(2)) SWIG_fail
;
30726 if (arg2
== NULL
) {
30727 SWIG_null_ref("wxFont");
30729 if (SWIG_arg_fail(2)) SWIG_fail
;
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30738 Py_INCREF(Py_None
); resultobj
= Py_None
;
30745 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30746 PyObject
*resultobj
;
30747 wxWindow
*arg1
= (wxWindow
*) 0 ;
30749 PyObject
* obj0
= 0 ;
30750 char *kwnames
[] = {
30751 (char *) "self", NULL
30754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30756 if (SWIG_arg_fail(1)) SWIG_fail
;
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 result
= (arg1
)->GetFont();
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30765 wxFont
* resultptr
;
30766 resultptr
= new wxFont((wxFont
&)(result
));
30767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30775 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
;
30777 wxWindow
*arg1
= (wxWindow
*) 0 ;
30778 wxCaret
*arg2
= (wxCaret
*) 0 ;
30779 PyObject
* obj0
= 0 ;
30780 PyObject
* obj1
= 0 ;
30781 char *kwnames
[] = {
30782 (char *) "self",(char *) "caret", NULL
30785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30787 if (SWIG_arg_fail(1)) SWIG_fail
;
30788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30789 if (SWIG_arg_fail(2)) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 (arg1
)->SetCaret(arg2
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 Py_INCREF(Py_None
); resultobj
= Py_None
;
30804 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxWindow
*arg1
= (wxWindow
*) 0 ;
30808 PyObject
* obj0
= 0 ;
30809 char *kwnames
[] = {
30810 (char *) "self", NULL
30813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30815 if (SWIG_arg_fail(1)) SWIG_fail
;
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30830 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
;
30832 wxWindow
*arg1
= (wxWindow
*) 0 ;
30834 PyObject
* obj0
= 0 ;
30835 char *kwnames
[] = {
30836 (char *) "self", NULL
30839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30841 if (SWIG_arg_fail(1)) SWIG_fail
;
30843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30844 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30846 wxPyEndAllowThreads(__tstate
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= SWIG_From_int((int)(result
));
30858 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
;
30860 wxWindow
*arg1
= (wxWindow
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 char *kwnames
[] = {
30864 (char *) "self", NULL
30867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30869 if (SWIG_arg_fail(1)) SWIG_fail
;
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30878 resultobj
= SWIG_From_int((int)(result
));
30886 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30887 PyObject
*resultobj
;
30888 wxWindow
*arg1
= (wxWindow
*) 0 ;
30889 wxString
*arg2
= 0 ;
30890 int *arg3
= (int *) 0 ;
30891 int *arg4
= (int *) 0 ;
30892 bool temp2
= false ;
30897 PyObject
* obj0
= 0 ;
30898 PyObject
* obj1
= 0 ;
30899 char *kwnames
[] = {
30900 (char *) "self",(char *) "string", NULL
30903 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30904 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30907 if (SWIG_arg_fail(1)) SWIG_fail
;
30909 arg2
= wxString_in_helper(obj1
);
30910 if (arg2
== NULL
) SWIG_fail
;
30914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30915 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30920 Py_INCREF(Py_None
); resultobj
= Py_None
;
30921 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30922 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30923 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30924 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30939 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
;
30941 wxWindow
*arg1
= (wxWindow
*) 0 ;
30942 wxString
*arg2
= 0 ;
30943 int *arg3
= (int *) 0 ;
30944 int *arg4
= (int *) 0 ;
30945 int *arg5
= (int *) 0 ;
30946 int *arg6
= (int *) 0 ;
30947 wxFont
*arg7
= (wxFont
*) NULL
;
30948 bool temp2
= false ;
30957 PyObject
* obj0
= 0 ;
30958 PyObject
* obj1
= 0 ;
30959 PyObject
* obj2
= 0 ;
30960 char *kwnames
[] = {
30961 (char *) "self",(char *) "string",(char *) "font", NULL
30964 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30965 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30966 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30967 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30970 if (SWIG_arg_fail(1)) SWIG_fail
;
30972 arg2
= wxString_in_helper(obj1
);
30973 if (arg2
== NULL
) SWIG_fail
;
30977 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30978 if (SWIG_arg_fail(7)) SWIG_fail
;
30981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30982 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 Py_INCREF(Py_None
); resultobj
= Py_None
;
30988 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30989 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30990 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30991 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30992 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30993 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30994 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30995 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
31010 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31011 PyObject
*resultobj
;
31012 wxWindow
*arg1
= (wxWindow
*) 0 ;
31013 int *arg2
= (int *) 0 ;
31014 int *arg3
= (int *) 0 ;
31019 PyObject
* obj0
= 0 ;
31020 PyObject
* obj1
= 0 ;
31021 PyObject
* obj2
= 0 ;
31022 char *kwnames
[] = {
31023 (char *) "self",(char *) "x",(char *) "y", NULL
31026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31028 if (SWIG_arg_fail(1)) SWIG_fail
;
31030 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
31031 temp2
= SWIG_As_int(obj1
);
31032 if (SWIG_arg_fail(2)) SWIG_fail
;
31034 res2
= SWIG_NEWOBJ
;
31038 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
31039 temp3
= SWIG_As_int(obj2
);
31040 if (SWIG_arg_fail(3)) SWIG_fail
;
31042 res3
= SWIG_NEWOBJ
;
31046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31047 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
31049 wxPyEndAllowThreads(__tstate
);
31050 if (PyErr_Occurred()) SWIG_fail
;
31052 Py_INCREF(Py_None
); resultobj
= Py_None
;
31053 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
31054 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
31055 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31056 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31063 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31064 PyObject
*resultobj
;
31065 wxWindow
*arg1
= (wxWindow
*) 0 ;
31066 int *arg2
= (int *) 0 ;
31067 int *arg3
= (int *) 0 ;
31072 PyObject
* obj0
= 0 ;
31073 PyObject
* obj1
= 0 ;
31074 PyObject
* obj2
= 0 ;
31075 char *kwnames
[] = {
31076 (char *) "self",(char *) "x",(char *) "y", NULL
31079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31081 if (SWIG_arg_fail(1)) SWIG_fail
;
31083 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
31084 temp2
= SWIG_As_int(obj1
);
31085 if (SWIG_arg_fail(2)) SWIG_fail
;
31087 res2
= SWIG_NEWOBJ
;
31091 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
31092 temp3
= SWIG_As_int(obj2
);
31093 if (SWIG_arg_fail(3)) SWIG_fail
;
31095 res3
= SWIG_NEWOBJ
;
31099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31100 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
31102 wxPyEndAllowThreads(__tstate
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31105 Py_INCREF(Py_None
); resultobj
= Py_None
;
31106 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
31107 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
31108 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31109 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31116 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31117 PyObject
*resultobj
;
31118 wxWindow
*arg1
= (wxWindow
*) 0 ;
31119 wxPoint
*arg2
= 0 ;
31122 PyObject
* obj0
= 0 ;
31123 PyObject
* obj1
= 0 ;
31124 char *kwnames
[] = {
31125 (char *) "self",(char *) "pt", NULL
31128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
31129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31130 if (SWIG_arg_fail(1)) SWIG_fail
;
31133 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
31139 wxPyEndAllowThreads(__tstate
);
31140 if (PyErr_Occurred()) SWIG_fail
;
31143 wxPoint
* resultptr
;
31144 resultptr
= new wxPoint((wxPoint
&)(result
));
31145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
31153 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31154 PyObject
*resultobj
;
31155 wxWindow
*arg1
= (wxWindow
*) 0 ;
31156 wxPoint
*arg2
= 0 ;
31159 PyObject
* obj0
= 0 ;
31160 PyObject
* obj1
= 0 ;
31161 char *kwnames
[] = {
31162 (char *) "self",(char *) "pt", NULL
31165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
31166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31167 if (SWIG_arg_fail(1)) SWIG_fail
;
31170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31180 wxPoint
* resultptr
;
31181 resultptr
= new wxPoint((wxPoint
&)(result
));
31182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
31190 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31191 PyObject
*resultobj
;
31192 wxWindow
*arg1
= (wxWindow
*) 0 ;
31196 PyObject
* obj0
= 0 ;
31197 PyObject
* obj1
= 0 ;
31198 PyObject
* obj2
= 0 ;
31199 char *kwnames
[] = {
31200 (char *) "self",(char *) "x",(char *) "y", NULL
31203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31205 if (SWIG_arg_fail(1)) SWIG_fail
;
31207 arg2
= (int)(SWIG_As_int(obj1
));
31208 if (SWIG_arg_fail(2)) SWIG_fail
;
31211 arg3
= (int)(SWIG_As_int(obj2
));
31212 if (SWIG_arg_fail(3)) SWIG_fail
;
31215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31216 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31221 resultobj
= SWIG_From_int((result
));
31228 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31229 PyObject
*resultobj
;
31230 wxWindow
*arg1
= (wxWindow
*) 0 ;
31231 wxPoint
*arg2
= 0 ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 char *kwnames
[] = {
31237 (char *) "self",(char *) "pt", NULL
31240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
31241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31242 if (SWIG_arg_fail(1)) SWIG_fail
;
31245 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31249 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
31251 wxPyEndAllowThreads(__tstate
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31254 resultobj
= SWIG_From_int((result
));
31261 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
31262 PyObject
*resultobj
;
31263 wxWindow
*arg1
= (wxWindow
*) 0 ;
31266 PyObject
* obj0
= 0 ;
31267 PyObject
* obj1
= 0 ;
31269 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
31270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31271 if (SWIG_arg_fail(1)) SWIG_fail
;
31273 arg2
= (long)(SWIG_As_long(obj1
));
31274 if (SWIG_arg_fail(2)) SWIG_fail
;
31277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31278 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
31280 wxPyEndAllowThreads(__tstate
);
31281 if (PyErr_Occurred()) SWIG_fail
;
31283 resultobj
= SWIG_From_int((result
));
31290 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
31291 PyObject
*resultobj
;
31292 wxWindow
*arg1
= (wxWindow
*) 0 ;
31294 PyObject
* obj0
= 0 ;
31296 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
31297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31298 if (SWIG_arg_fail(1)) SWIG_fail
;
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
31303 wxPyEndAllowThreads(__tstate
);
31304 if (PyErr_Occurred()) SWIG_fail
;
31306 resultobj
= SWIG_From_int((result
));
31313 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
31318 argc
= PyObject_Length(args
);
31319 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
31320 argv
[ii
] = PyTuple_GetItem(args
,ii
);
31326 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
31334 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
31341 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
31349 _v
= SWIG_Check_long(argv
[1]);
31351 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
31356 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
31361 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
;
31363 wxWindow
*arg1
= (wxWindow
*) 0 ;
31364 long arg2
= (long) wxUPDATE_UI_NONE
;
31365 PyObject
* obj0
= 0 ;
31366 PyObject
* obj1
= 0 ;
31367 char *kwnames
[] = {
31368 (char *) "self",(char *) "flags", NULL
31371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31373 if (SWIG_arg_fail(1)) SWIG_fail
;
31376 arg2
= (long)(SWIG_As_long(obj1
));
31377 if (SWIG_arg_fail(2)) SWIG_fail
;
31381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31382 (arg1
)->UpdateWindowUI(arg2
);
31384 wxPyEndAllowThreads(__tstate
);
31385 if (PyErr_Occurred()) SWIG_fail
;
31387 Py_INCREF(Py_None
); resultobj
= Py_None
;
31394 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31395 PyObject
*resultobj
;
31396 wxWindow
*arg1
= (wxWindow
*) 0 ;
31397 wxMenu
*arg2
= (wxMenu
*) 0 ;
31398 int arg3
= (int) -1 ;
31399 int arg4
= (int) -1 ;
31401 PyObject
* obj0
= 0 ;
31402 PyObject
* obj1
= 0 ;
31403 PyObject
* obj2
= 0 ;
31404 PyObject
* obj3
= 0 ;
31405 char *kwnames
[] = {
31406 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
31409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31411 if (SWIG_arg_fail(1)) SWIG_fail
;
31412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31413 if (SWIG_arg_fail(2)) SWIG_fail
;
31416 arg3
= (int)(SWIG_As_int(obj2
));
31417 if (SWIG_arg_fail(3)) SWIG_fail
;
31422 arg4
= (int)(SWIG_As_int(obj3
));
31423 if (SWIG_arg_fail(4)) SWIG_fail
;
31427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31428 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
31430 wxPyEndAllowThreads(__tstate
);
31431 if (PyErr_Occurred()) SWIG_fail
;
31434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31442 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31443 PyObject
*resultobj
;
31444 wxWindow
*arg1
= (wxWindow
*) 0 ;
31445 wxMenu
*arg2
= (wxMenu
*) 0 ;
31446 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31447 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31450 PyObject
* obj0
= 0 ;
31451 PyObject
* obj1
= 0 ;
31452 PyObject
* obj2
= 0 ;
31453 char *kwnames
[] = {
31454 (char *) "self",(char *) "menu",(char *) "pos", NULL
31457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31459 if (SWIG_arg_fail(1)) SWIG_fail
;
31460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31461 if (SWIG_arg_fail(2)) SWIG_fail
;
31465 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31484 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxWindow
*arg1
= (wxWindow
*) 0 ;
31488 PyObject
* obj0
= 0 ;
31489 char *kwnames
[] = {
31490 (char *) "self", NULL
31493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
31494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31495 if (SWIG_arg_fail(1)) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 result
= (long)wxWindow_GetHandle(arg1
);
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_From_long((long)(result
));
31512 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31513 PyObject
*resultobj
;
31514 wxWindow
*arg1
= (wxWindow
*) 0 ;
31516 PyObject
* obj0
= 0 ;
31517 PyObject
* obj1
= 0 ;
31518 char *kwnames
[] = {
31519 (char *) "self",(char *) "handle", NULL
31522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
31523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31524 if (SWIG_arg_fail(1)) SWIG_fail
;
31526 arg2
= (long)(SWIG_As_long(obj1
));
31527 if (SWIG_arg_fail(2)) SWIG_fail
;
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 wxWindow_AssociateHandle(arg1
,arg2
);
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31536 Py_INCREF(Py_None
); resultobj
= Py_None
;
31543 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31544 PyObject
*resultobj
;
31545 wxWindow
*arg1
= (wxWindow
*) 0 ;
31546 PyObject
* obj0
= 0 ;
31547 char *kwnames
[] = {
31548 (char *) "self", NULL
31551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
31552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31553 if (SWIG_arg_fail(1)) SWIG_fail
;
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 (arg1
)->DissociateHandle();
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31561 Py_INCREF(Py_None
); resultobj
= Py_None
;
31568 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
;
31570 wxWindow
*arg1
= (wxWindow
*) 0 ;
31573 PyObject
* obj0
= 0 ;
31574 PyObject
* obj1
= 0 ;
31575 char *kwnames
[] = {
31576 (char *) "self",(char *) "orient", NULL
31579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31581 if (SWIG_arg_fail(1)) SWIG_fail
;
31583 arg2
= (int)(SWIG_As_int(obj1
));
31584 if (SWIG_arg_fail(2)) SWIG_fail
;
31587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31588 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31590 wxPyEndAllowThreads(__tstate
);
31591 if (PyErr_Occurred()) SWIG_fail
;
31594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31602 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31603 PyObject
*resultobj
;
31604 wxWindow
*arg1
= (wxWindow
*) 0 ;
31609 bool arg6
= (bool) true ;
31610 PyObject
* obj0
= 0 ;
31611 PyObject
* obj1
= 0 ;
31612 PyObject
* obj2
= 0 ;
31613 PyObject
* obj3
= 0 ;
31614 PyObject
* obj4
= 0 ;
31615 PyObject
* obj5
= 0 ;
31616 char *kwnames
[] = {
31617 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31622 if (SWIG_arg_fail(1)) SWIG_fail
;
31624 arg2
= (int)(SWIG_As_int(obj1
));
31625 if (SWIG_arg_fail(2)) SWIG_fail
;
31628 arg3
= (int)(SWIG_As_int(obj2
));
31629 if (SWIG_arg_fail(3)) SWIG_fail
;
31632 arg4
= (int)(SWIG_As_int(obj3
));
31633 if (SWIG_arg_fail(4)) SWIG_fail
;
31636 arg5
= (int)(SWIG_As_int(obj4
));
31637 if (SWIG_arg_fail(5)) SWIG_fail
;
31641 arg6
= (bool)(SWIG_As_bool(obj5
));
31642 if (SWIG_arg_fail(6)) SWIG_fail
;
31646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31647 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31649 wxPyEndAllowThreads(__tstate
);
31650 if (PyErr_Occurred()) SWIG_fail
;
31652 Py_INCREF(Py_None
); resultobj
= Py_None
;
31659 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31660 PyObject
*resultobj
;
31661 wxWindow
*arg1
= (wxWindow
*) 0 ;
31664 bool arg4
= (bool) true ;
31665 PyObject
* obj0
= 0 ;
31666 PyObject
* obj1
= 0 ;
31667 PyObject
* obj2
= 0 ;
31668 PyObject
* obj3
= 0 ;
31669 char *kwnames
[] = {
31670 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31675 if (SWIG_arg_fail(1)) SWIG_fail
;
31677 arg2
= (int)(SWIG_As_int(obj1
));
31678 if (SWIG_arg_fail(2)) SWIG_fail
;
31681 arg3
= (int)(SWIG_As_int(obj2
));
31682 if (SWIG_arg_fail(3)) SWIG_fail
;
31686 arg4
= (bool)(SWIG_As_bool(obj3
));
31687 if (SWIG_arg_fail(4)) SWIG_fail
;
31691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31692 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31694 wxPyEndAllowThreads(__tstate
);
31695 if (PyErr_Occurred()) SWIG_fail
;
31697 Py_INCREF(Py_None
); resultobj
= Py_None
;
31704 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31705 PyObject
*resultobj
;
31706 wxWindow
*arg1
= (wxWindow
*) 0 ;
31709 PyObject
* obj0
= 0 ;
31710 PyObject
* obj1
= 0 ;
31711 char *kwnames
[] = {
31712 (char *) "self",(char *) "orientation", NULL
31715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31717 if (SWIG_arg_fail(1)) SWIG_fail
;
31719 arg2
= (int)(SWIG_As_int(obj1
));
31720 if (SWIG_arg_fail(2)) SWIG_fail
;
31723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31724 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31726 wxPyEndAllowThreads(__tstate
);
31727 if (PyErr_Occurred()) SWIG_fail
;
31730 resultobj
= SWIG_From_int((int)(result
));
31738 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31739 PyObject
*resultobj
;
31740 wxWindow
*arg1
= (wxWindow
*) 0 ;
31743 PyObject
* obj0
= 0 ;
31744 PyObject
* obj1
= 0 ;
31745 char *kwnames
[] = {
31746 (char *) "self",(char *) "orientation", NULL
31749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31751 if (SWIG_arg_fail(1)) SWIG_fail
;
31753 arg2
= (int)(SWIG_As_int(obj1
));
31754 if (SWIG_arg_fail(2)) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= SWIG_From_int((int)(result
));
31772 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31773 PyObject
*resultobj
;
31774 wxWindow
*arg1
= (wxWindow
*) 0 ;
31777 PyObject
* obj0
= 0 ;
31778 PyObject
* obj1
= 0 ;
31779 char *kwnames
[] = {
31780 (char *) "self",(char *) "orientation", NULL
31783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31785 if (SWIG_arg_fail(1)) SWIG_fail
;
31787 arg2
= (int)(SWIG_As_int(obj1
));
31788 if (SWIG_arg_fail(2)) SWIG_fail
;
31791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31792 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31794 wxPyEndAllowThreads(__tstate
);
31795 if (PyErr_Occurred()) SWIG_fail
;
31798 resultobj
= SWIG_From_int((int)(result
));
31806 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31807 PyObject
*resultobj
;
31808 wxWindow
*arg1
= (wxWindow
*) 0 ;
31811 wxRect
*arg4
= (wxRect
*) NULL
;
31812 PyObject
* obj0
= 0 ;
31813 PyObject
* obj1
= 0 ;
31814 PyObject
* obj2
= 0 ;
31815 PyObject
* obj3
= 0 ;
31816 char *kwnames
[] = {
31817 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31822 if (SWIG_arg_fail(1)) SWIG_fail
;
31824 arg2
= (int)(SWIG_As_int(obj1
));
31825 if (SWIG_arg_fail(2)) SWIG_fail
;
31828 arg3
= (int)(SWIG_As_int(obj2
));
31829 if (SWIG_arg_fail(3)) SWIG_fail
;
31832 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31833 if (SWIG_arg_fail(4)) SWIG_fail
;
31836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31837 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31839 wxPyEndAllowThreads(__tstate
);
31840 if (PyErr_Occurred()) SWIG_fail
;
31842 Py_INCREF(Py_None
); resultobj
= Py_None
;
31849 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31850 PyObject
*resultobj
;
31851 wxWindow
*arg1
= (wxWindow
*) 0 ;
31854 PyObject
* obj0
= 0 ;
31855 PyObject
* obj1
= 0 ;
31856 char *kwnames
[] = {
31857 (char *) "self",(char *) "lines", NULL
31860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31862 if (SWIG_arg_fail(1)) SWIG_fail
;
31864 arg2
= (int)(SWIG_As_int(obj1
));
31865 if (SWIG_arg_fail(2)) SWIG_fail
;
31868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31869 result
= (bool)(arg1
)->ScrollLines(arg2
);
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31883 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
;
31885 wxWindow
*arg1
= (wxWindow
*) 0 ;
31888 PyObject
* obj0
= 0 ;
31889 PyObject
* obj1
= 0 ;
31890 char *kwnames
[] = {
31891 (char *) "self",(char *) "pages", NULL
31894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31896 if (SWIG_arg_fail(1)) SWIG_fail
;
31898 arg2
= (int)(SWIG_As_int(obj1
));
31899 if (SWIG_arg_fail(2)) SWIG_fail
;
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= (bool)(arg1
)->ScrollPages(arg2
);
31905 wxPyEndAllowThreads(__tstate
);
31906 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31917 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31918 PyObject
*resultobj
;
31919 wxWindow
*arg1
= (wxWindow
*) 0 ;
31921 PyObject
* obj0
= 0 ;
31922 char *kwnames
[] = {
31923 (char *) "self", NULL
31926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31928 if (SWIG_arg_fail(1)) SWIG_fail
;
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 result
= (bool)(arg1
)->LineUp();
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31945 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31946 PyObject
*resultobj
;
31947 wxWindow
*arg1
= (wxWindow
*) 0 ;
31949 PyObject
* obj0
= 0 ;
31950 char *kwnames
[] = {
31951 (char *) "self", NULL
31954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31956 if (SWIG_arg_fail(1)) SWIG_fail
;
31958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31959 result
= (bool)(arg1
)->LineDown();
31961 wxPyEndAllowThreads(__tstate
);
31962 if (PyErr_Occurred()) SWIG_fail
;
31965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31973 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31974 PyObject
*resultobj
;
31975 wxWindow
*arg1
= (wxWindow
*) 0 ;
31977 PyObject
* obj0
= 0 ;
31978 char *kwnames
[] = {
31979 (char *) "self", NULL
31982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31984 if (SWIG_arg_fail(1)) SWIG_fail
;
31986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 result
= (bool)(arg1
)->PageUp();
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32001 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32002 PyObject
*resultobj
;
32003 wxWindow
*arg1
= (wxWindow
*) 0 ;
32005 PyObject
* obj0
= 0 ;
32006 char *kwnames
[] = {
32007 (char *) "self", NULL
32010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
32011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32012 if (SWIG_arg_fail(1)) SWIG_fail
;
32014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32015 result
= (bool)(arg1
)->PageDown();
32017 wxPyEndAllowThreads(__tstate
);
32018 if (PyErr_Occurred()) SWIG_fail
;
32021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32029 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32030 PyObject
*resultobj
;
32031 wxWindow
*arg1
= (wxWindow
*) 0 ;
32032 wxString
*arg2
= 0 ;
32033 bool temp2
= false ;
32034 PyObject
* obj0
= 0 ;
32035 PyObject
* obj1
= 0 ;
32036 char *kwnames
[] = {
32037 (char *) "self",(char *) "text", NULL
32040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
32041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32042 if (SWIG_arg_fail(1)) SWIG_fail
;
32044 arg2
= wxString_in_helper(obj1
);
32045 if (arg2
== NULL
) SWIG_fail
;
32049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32050 (arg1
)->SetHelpText((wxString
const &)*arg2
);
32052 wxPyEndAllowThreads(__tstate
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 Py_INCREF(Py_None
); resultobj
= Py_None
;
32070 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
;
32072 wxWindow
*arg1
= (wxWindow
*) 0 ;
32073 wxString
*arg2
= 0 ;
32074 bool temp2
= false ;
32075 PyObject
* obj0
= 0 ;
32076 PyObject
* obj1
= 0 ;
32077 char *kwnames
[] = {
32078 (char *) "self",(char *) "text", NULL
32081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
32082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32083 if (SWIG_arg_fail(1)) SWIG_fail
;
32085 arg2
= wxString_in_helper(obj1
);
32086 if (arg2
== NULL
) SWIG_fail
;
32090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32091 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
32093 wxPyEndAllowThreads(__tstate
);
32094 if (PyErr_Occurred()) SWIG_fail
;
32096 Py_INCREF(Py_None
); resultobj
= Py_None
;
32111 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32112 PyObject
*resultobj
;
32113 wxWindow
*arg1
= (wxWindow
*) 0 ;
32115 PyObject
* obj0
= 0 ;
32116 char *kwnames
[] = {
32117 (char *) "self", NULL
32120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
32121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32122 if (SWIG_arg_fail(1)) SWIG_fail
;
32124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32125 result
= ((wxWindow
const *)arg1
)->GetHelpText();
32127 wxPyEndAllowThreads(__tstate
);
32128 if (PyErr_Occurred()) SWIG_fail
;
32132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32143 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32144 PyObject
*resultobj
;
32145 wxWindow
*arg1
= (wxWindow
*) 0 ;
32146 wxString
*arg2
= 0 ;
32147 bool temp2
= false ;
32148 PyObject
* obj0
= 0 ;
32149 PyObject
* obj1
= 0 ;
32150 char *kwnames
[] = {
32151 (char *) "self",(char *) "tip", NULL
32154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
32155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32156 if (SWIG_arg_fail(1)) SWIG_fail
;
32158 arg2
= wxString_in_helper(obj1
);
32159 if (arg2
== NULL
) SWIG_fail
;
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 (arg1
)->SetToolTip((wxString
const &)*arg2
);
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32169 Py_INCREF(Py_None
); resultobj
= Py_None
;
32184 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
;
32186 wxWindow
*arg1
= (wxWindow
*) 0 ;
32187 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
32188 PyObject
* obj0
= 0 ;
32189 PyObject
* obj1
= 0 ;
32190 char *kwnames
[] = {
32191 (char *) "self",(char *) "tip", NULL
32194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
32195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32196 if (SWIG_arg_fail(1)) SWIG_fail
;
32197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
32198 if (SWIG_arg_fail(2)) SWIG_fail
;
32200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32201 (arg1
)->SetToolTip(arg2
);
32203 wxPyEndAllowThreads(__tstate
);
32204 if (PyErr_Occurred()) SWIG_fail
;
32206 Py_INCREF(Py_None
); resultobj
= Py_None
;
32213 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
;
32215 wxWindow
*arg1
= (wxWindow
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 char *kwnames
[] = {
32219 (char *) "self", NULL
32222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
32223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32224 if (SWIG_arg_fail(1)) SWIG_fail
;
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
32229 wxPyEndAllowThreads(__tstate
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32233 resultobj
= wxPyMake_wxObject(result
, 0);
32241 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32242 PyObject
*resultobj
;
32243 wxWindow
*arg1
= (wxWindow
*) 0 ;
32244 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
32245 PyObject
* obj0
= 0 ;
32246 PyObject
* obj1
= 0 ;
32247 char *kwnames
[] = {
32248 (char *) "self",(char *) "dropTarget", NULL
32251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
32252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32253 if (SWIG_arg_fail(1)) SWIG_fail
;
32254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
32255 if (SWIG_arg_fail(2)) SWIG_fail
;
32257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32258 (arg1
)->SetDropTarget(arg2
);
32260 wxPyEndAllowThreads(__tstate
);
32261 if (PyErr_Occurred()) SWIG_fail
;
32263 Py_INCREF(Py_None
); resultobj
= Py_None
;
32270 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32271 PyObject
*resultobj
;
32272 wxWindow
*arg1
= (wxWindow
*) 0 ;
32273 wxPyDropTarget
*result
;
32274 PyObject
* obj0
= 0 ;
32275 char *kwnames
[] = {
32276 (char *) "self", NULL
32279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
32280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32281 if (SWIG_arg_fail(1)) SWIG_fail
;
32283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32284 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
32286 wxPyEndAllowThreads(__tstate
);
32287 if (PyErr_Occurred()) SWIG_fail
;
32289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
32296 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32297 PyObject
*resultobj
;
32298 wxWindow
*arg1
= (wxWindow
*) 0 ;
32300 PyObject
* obj0
= 0 ;
32301 PyObject
* obj1
= 0 ;
32302 char *kwnames
[] = {
32303 (char *) "self",(char *) "accept", NULL
32306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
32307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32308 if (SWIG_arg_fail(1)) SWIG_fail
;
32310 arg2
= (bool)(SWIG_As_bool(obj1
));
32311 if (SWIG_arg_fail(2)) SWIG_fail
;
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 wxWindow_DragAcceptFiles(arg1
,arg2
);
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 Py_INCREF(Py_None
); resultobj
= Py_None
;
32327 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
;
32329 wxWindow
*arg1
= (wxWindow
*) 0 ;
32330 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
32331 PyObject
* obj0
= 0 ;
32332 PyObject
* obj1
= 0 ;
32333 char *kwnames
[] = {
32334 (char *) "self",(char *) "constraints", NULL
32337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
32338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32339 if (SWIG_arg_fail(1)) SWIG_fail
;
32340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
32341 if (SWIG_arg_fail(2)) SWIG_fail
;
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 (arg1
)->SetConstraints(arg2
);
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32349 Py_INCREF(Py_None
); resultobj
= Py_None
;
32356 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
;
32358 wxWindow
*arg1
= (wxWindow
*) 0 ;
32359 wxLayoutConstraints
*result
;
32360 PyObject
* obj0
= 0 ;
32361 char *kwnames
[] = {
32362 (char *) "self", NULL
32365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
32366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32367 if (SWIG_arg_fail(1)) SWIG_fail
;
32369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32370 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
32372 wxPyEndAllowThreads(__tstate
);
32373 if (PyErr_Occurred()) SWIG_fail
;
32375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
32382 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32383 PyObject
*resultobj
;
32384 wxWindow
*arg1
= (wxWindow
*) 0 ;
32386 PyObject
* obj0
= 0 ;
32387 PyObject
* obj1
= 0 ;
32388 char *kwnames
[] = {
32389 (char *) "self",(char *) "autoLayout", NULL
32392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
32393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32394 if (SWIG_arg_fail(1)) SWIG_fail
;
32396 arg2
= (bool)(SWIG_As_bool(obj1
));
32397 if (SWIG_arg_fail(2)) SWIG_fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->SetAutoLayout(arg2
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 Py_INCREF(Py_None
); resultobj
= Py_None
;
32413 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
;
32415 wxWindow
*arg1
= (wxWindow
*) 0 ;
32417 PyObject
* obj0
= 0 ;
32418 char *kwnames
[] = {
32419 (char *) "self", NULL
32422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
32423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32424 if (SWIG_arg_fail(1)) SWIG_fail
;
32426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
32429 wxPyEndAllowThreads(__tstate
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32441 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
;
32443 wxWindow
*arg1
= (wxWindow
*) 0 ;
32445 PyObject
* obj0
= 0 ;
32446 char *kwnames
[] = {
32447 (char *) "self", NULL
32450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
32451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32452 if (SWIG_arg_fail(1)) SWIG_fail
;
32454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32455 result
= (bool)(arg1
)->Layout();
32457 wxPyEndAllowThreads(__tstate
);
32458 if (PyErr_Occurred()) SWIG_fail
;
32461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32469 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32470 PyObject
*resultobj
;
32471 wxWindow
*arg1
= (wxWindow
*) 0 ;
32472 wxSizer
*arg2
= (wxSizer
*) 0 ;
32473 bool arg3
= (bool) true ;
32474 PyObject
* obj0
= 0 ;
32475 PyObject
* obj1
= 0 ;
32476 PyObject
* obj2
= 0 ;
32477 char *kwnames
[] = {
32478 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32483 if (SWIG_arg_fail(1)) SWIG_fail
;
32484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32485 if (SWIG_arg_fail(2)) SWIG_fail
;
32488 arg3
= (bool)(SWIG_As_bool(obj2
));
32489 if (SWIG_arg_fail(3)) SWIG_fail
;
32493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32494 (arg1
)->SetSizer(arg2
,arg3
);
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32499 Py_INCREF(Py_None
); resultobj
= Py_None
;
32506 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32507 PyObject
*resultobj
;
32508 wxWindow
*arg1
= (wxWindow
*) 0 ;
32509 wxSizer
*arg2
= (wxSizer
*) 0 ;
32510 bool arg3
= (bool) true ;
32511 PyObject
* obj0
= 0 ;
32512 PyObject
* obj1
= 0 ;
32513 PyObject
* obj2
= 0 ;
32514 char *kwnames
[] = {
32515 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32520 if (SWIG_arg_fail(1)) SWIG_fail
;
32521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32522 if (SWIG_arg_fail(2)) SWIG_fail
;
32525 arg3
= (bool)(SWIG_As_bool(obj2
));
32526 if (SWIG_arg_fail(3)) SWIG_fail
;
32530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32531 (arg1
)->SetSizerAndFit(arg2
,arg3
);
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32536 Py_INCREF(Py_None
); resultobj
= Py_None
;
32543 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32544 PyObject
*resultobj
;
32545 wxWindow
*arg1
= (wxWindow
*) 0 ;
32547 PyObject
* obj0
= 0 ;
32548 char *kwnames
[] = {
32549 (char *) "self", NULL
32552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32554 if (SWIG_arg_fail(1)) SWIG_fail
;
32556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32557 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32563 resultobj
= wxPyMake_wxObject(result
, 0);
32571 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32572 PyObject
*resultobj
;
32573 wxWindow
*arg1
= (wxWindow
*) 0 ;
32574 wxSizer
*arg2
= (wxSizer
*) 0 ;
32575 PyObject
* obj0
= 0 ;
32576 PyObject
* obj1
= 0 ;
32577 char *kwnames
[] = {
32578 (char *) "self",(char *) "sizer", NULL
32581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32583 if (SWIG_arg_fail(1)) SWIG_fail
;
32584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32585 if (SWIG_arg_fail(2)) SWIG_fail
;
32587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32588 (arg1
)->SetContainingSizer(arg2
);
32590 wxPyEndAllowThreads(__tstate
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32593 Py_INCREF(Py_None
); resultobj
= Py_None
;
32600 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32601 PyObject
*resultobj
;
32602 wxWindow
*arg1
= (wxWindow
*) 0 ;
32604 PyObject
* obj0
= 0 ;
32605 char *kwnames
[] = {
32606 (char *) "self", NULL
32609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32611 if (SWIG_arg_fail(1)) SWIG_fail
;
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32616 wxPyEndAllowThreads(__tstate
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32620 resultobj
= wxPyMake_wxObject(result
, 0);
32628 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32629 PyObject
*resultobj
;
32630 wxWindow
*arg1
= (wxWindow
*) 0 ;
32631 PyObject
* obj0
= 0 ;
32632 char *kwnames
[] = {
32633 (char *) "self", NULL
32636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32638 if (SWIG_arg_fail(1)) SWIG_fail
;
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 (arg1
)->InheritAttributes();
32643 wxPyEndAllowThreads(__tstate
);
32644 if (PyErr_Occurred()) SWIG_fail
;
32646 Py_INCREF(Py_None
); resultobj
= Py_None
;
32653 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32654 PyObject
*resultobj
;
32655 wxWindow
*arg1
= (wxWindow
*) 0 ;
32657 PyObject
* obj0
= 0 ;
32658 char *kwnames
[] = {
32659 (char *) "self", NULL
32662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32664 if (SWIG_arg_fail(1)) SWIG_fail
;
32666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32667 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32669 wxPyEndAllowThreads(__tstate
);
32670 if (PyErr_Occurred()) SWIG_fail
;
32673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32681 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32684 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32686 return Py_BuildValue((char *)"");
32688 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32689 PyObject
*resultobj
;
32691 wxWindow
*arg2
= (wxWindow
*) NULL
;
32693 PyObject
* obj0
= 0 ;
32694 PyObject
* obj1
= 0 ;
32695 char *kwnames
[] = {
32696 (char *) "id",(char *) "parent", NULL
32699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32701 arg1
= (long)(SWIG_As_long(obj0
));
32702 if (SWIG_arg_fail(1)) SWIG_fail
;
32705 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32706 if (SWIG_arg_fail(2)) SWIG_fail
;
32709 if (!wxPyCheckForApp()) SWIG_fail
;
32710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32711 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32717 resultobj
= wxPyMake_wxObject(result
, 0);
32725 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32726 PyObject
*resultobj
;
32727 wxString
*arg1
= 0 ;
32728 wxWindow
*arg2
= (wxWindow
*) NULL
;
32730 bool temp1
= false ;
32731 PyObject
* obj0
= 0 ;
32732 PyObject
* obj1
= 0 ;
32733 char *kwnames
[] = {
32734 (char *) "name",(char *) "parent", NULL
32737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32739 arg1
= wxString_in_helper(obj0
);
32740 if (arg1
== NULL
) SWIG_fail
;
32744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32745 if (SWIG_arg_fail(2)) SWIG_fail
;
32748 if (!wxPyCheckForApp()) SWIG_fail
;
32749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32750 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32756 resultobj
= wxPyMake_wxObject(result
, 0);
32772 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32773 PyObject
*resultobj
;
32774 wxString
*arg1
= 0 ;
32775 wxWindow
*arg2
= (wxWindow
*) NULL
;
32777 bool temp1
= false ;
32778 PyObject
* obj0
= 0 ;
32779 PyObject
* obj1
= 0 ;
32780 char *kwnames
[] = {
32781 (char *) "label",(char *) "parent", NULL
32784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32786 arg1
= wxString_in_helper(obj0
);
32787 if (arg1
== NULL
) SWIG_fail
;
32791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32792 if (SWIG_arg_fail(2)) SWIG_fail
;
32795 if (!wxPyCheckForApp()) SWIG_fail
;
32796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32797 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32799 wxPyEndAllowThreads(__tstate
);
32800 if (PyErr_Occurred()) SWIG_fail
;
32803 resultobj
= wxPyMake_wxObject(result
, 0);
32819 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32820 PyObject
*resultobj
;
32821 wxWindow
*arg1
= (wxWindow
*) 0 ;
32822 unsigned long arg2
;
32824 PyObject
* obj0
= 0 ;
32825 PyObject
* obj1
= 0 ;
32826 char *kwnames
[] = {
32827 (char *) "parent",(char *) "_hWnd", NULL
32830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32832 if (SWIG_arg_fail(1)) SWIG_fail
;
32834 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32835 if (SWIG_arg_fail(2)) SWIG_fail
;
32838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32839 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32845 resultobj
= wxPyMake_wxObject(result
, 0);
32853 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32854 PyObject
*resultobj
;
32856 char *kwnames
[] = {
32860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32863 result
= (PyObject
*)GetTopLevelWindows();
32865 wxPyEndAllowThreads(__tstate
);
32866 if (PyErr_Occurred()) SWIG_fail
;
32868 resultobj
= result
;
32875 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32876 PyObject
*resultobj
;
32877 wxValidator
*result
;
32878 char *kwnames
[] = {
32882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= (wxValidator
*)new wxValidator();
32887 wxPyEndAllowThreads(__tstate
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32897 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32898 PyObject
*resultobj
;
32899 wxValidator
*arg1
= (wxValidator
*) 0 ;
32900 wxValidator
*result
;
32901 PyObject
* obj0
= 0 ;
32902 char *kwnames
[] = {
32903 (char *) "self", NULL
32906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32908 if (SWIG_arg_fail(1)) SWIG_fail
;
32910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32911 result
= (wxValidator
*)(arg1
)->Clone();
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32917 resultobj
= wxPyMake_wxObject(result
, 0);
32925 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32926 PyObject
*resultobj
;
32927 wxValidator
*arg1
= (wxValidator
*) 0 ;
32928 wxWindow
*arg2
= (wxWindow
*) 0 ;
32930 PyObject
* obj0
= 0 ;
32931 PyObject
* obj1
= 0 ;
32932 char *kwnames
[] = {
32933 (char *) "self",(char *) "parent", NULL
32936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32938 if (SWIG_arg_fail(1)) SWIG_fail
;
32939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32940 if (SWIG_arg_fail(2)) SWIG_fail
;
32942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32943 result
= (bool)(arg1
)->Validate(arg2
);
32945 wxPyEndAllowThreads(__tstate
);
32946 if (PyErr_Occurred()) SWIG_fail
;
32949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32957 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32958 PyObject
*resultobj
;
32959 wxValidator
*arg1
= (wxValidator
*) 0 ;
32961 PyObject
* obj0
= 0 ;
32962 char *kwnames
[] = {
32963 (char *) "self", NULL
32966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32968 if (SWIG_arg_fail(1)) SWIG_fail
;
32970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 result
= (bool)(arg1
)->TransferToWindow();
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32985 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32986 PyObject
*resultobj
;
32987 wxValidator
*arg1
= (wxValidator
*) 0 ;
32989 PyObject
* obj0
= 0 ;
32990 char *kwnames
[] = {
32991 (char *) "self", NULL
32994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32996 if (SWIG_arg_fail(1)) SWIG_fail
;
32998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32999 result
= (bool)(arg1
)->TransferFromWindow();
33001 wxPyEndAllowThreads(__tstate
);
33002 if (PyErr_Occurred()) SWIG_fail
;
33005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33013 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33014 PyObject
*resultobj
;
33015 wxValidator
*arg1
= (wxValidator
*) 0 ;
33017 PyObject
* obj0
= 0 ;
33018 char *kwnames
[] = {
33019 (char *) "self", NULL
33022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
33023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33024 if (SWIG_arg_fail(1)) SWIG_fail
;
33026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33027 result
= (wxWindow
*)(arg1
)->GetWindow();
33029 wxPyEndAllowThreads(__tstate
);
33030 if (PyErr_Occurred()) SWIG_fail
;
33033 resultobj
= wxPyMake_wxObject(result
, 0);
33041 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33042 PyObject
*resultobj
;
33043 wxValidator
*arg1
= (wxValidator
*) 0 ;
33044 wxWindow
*arg2
= (wxWindow
*) 0 ;
33045 PyObject
* obj0
= 0 ;
33046 PyObject
* obj1
= 0 ;
33047 char *kwnames
[] = {
33048 (char *) "self",(char *) "window", NULL
33051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
33053 if (SWIG_arg_fail(1)) SWIG_fail
;
33054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33055 if (SWIG_arg_fail(2)) SWIG_fail
;
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 (arg1
)->SetWindow(arg2
);
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33063 Py_INCREF(Py_None
); resultobj
= Py_None
;
33070 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33071 PyObject
*resultobj
;
33073 char *kwnames
[] = {
33077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
33079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33080 result
= (bool)wxValidator::IsSilent();
33082 wxPyEndAllowThreads(__tstate
);
33083 if (PyErr_Occurred()) SWIG_fail
;
33086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33094 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33095 PyObject
*resultobj
;
33096 int arg1
= (int) true ;
33097 PyObject
* obj0
= 0 ;
33098 char *kwnames
[] = {
33099 (char *) "doIt", NULL
33102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
33105 arg1
= (int)(SWIG_As_int(obj0
));
33106 if (SWIG_arg_fail(1)) SWIG_fail
;
33110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33111 wxValidator::SetBellOnError(arg1
);
33113 wxPyEndAllowThreads(__tstate
);
33114 if (PyErr_Occurred()) SWIG_fail
;
33116 Py_INCREF(Py_None
); resultobj
= Py_None
;
33123 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
33125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33126 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
33128 return Py_BuildValue((char *)"");
33130 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33131 PyObject
*resultobj
;
33132 wxPyValidator
*result
;
33133 char *kwnames
[] = {
33137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
33139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33140 result
= (wxPyValidator
*)new wxPyValidator();
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
33152 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33153 PyObject
*resultobj
;
33154 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
33155 PyObject
*arg2
= (PyObject
*) 0 ;
33156 PyObject
*arg3
= (PyObject
*) 0 ;
33157 int arg4
= (int) true ;
33158 PyObject
* obj0
= 0 ;
33159 PyObject
* obj1
= 0 ;
33160 PyObject
* obj2
= 0 ;
33161 PyObject
* obj3
= 0 ;
33162 char *kwnames
[] = {
33163 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
33168 if (SWIG_arg_fail(1)) SWIG_fail
;
33173 arg4
= (int)(SWIG_As_int(obj3
));
33174 if (SWIG_arg_fail(4)) SWIG_fail
;
33178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33179 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33181 wxPyEndAllowThreads(__tstate
);
33182 if (PyErr_Occurred()) SWIG_fail
;
33184 Py_INCREF(Py_None
); resultobj
= Py_None
;
33191 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
33193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33194 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
33196 return Py_BuildValue((char *)"");
33198 static int _wrap_DefaultValidator_set(PyObject
*) {
33199 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
33204 static PyObject
*_wrap_DefaultValidator_get(void) {
33207 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
33212 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33213 PyObject
*resultobj
;
33214 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33215 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33216 long arg2
= (long) 0 ;
33218 bool temp1
= false ;
33219 PyObject
* obj0
= 0 ;
33220 PyObject
* obj1
= 0 ;
33221 char *kwnames
[] = {
33222 (char *) "title",(char *) "style", NULL
33225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
33228 arg1
= wxString_in_helper(obj0
);
33229 if (arg1
== NULL
) SWIG_fail
;
33235 arg2
= (long)(SWIG_As_long(obj1
));
33236 if (SWIG_arg_fail(2)) SWIG_fail
;
33240 if (!wxPyCheckForApp()) SWIG_fail
;
33241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33242 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
33262 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33263 PyObject
*resultobj
;
33264 wxMenu
*arg1
= (wxMenu
*) 0 ;
33266 wxString
*arg3
= 0 ;
33267 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33268 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33269 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33270 wxMenuItem
*result
;
33271 bool temp3
= false ;
33272 bool temp4
= false ;
33273 PyObject
* obj0
= 0 ;
33274 PyObject
* obj1
= 0 ;
33275 PyObject
* obj2
= 0 ;
33276 PyObject
* obj3
= 0 ;
33277 PyObject
* obj4
= 0 ;
33278 char *kwnames
[] = {
33279 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33284 if (SWIG_arg_fail(1)) SWIG_fail
;
33286 arg2
= (int)(SWIG_As_int(obj1
));
33287 if (SWIG_arg_fail(2)) SWIG_fail
;
33290 arg3
= wxString_in_helper(obj2
);
33291 if (arg3
== NULL
) SWIG_fail
;
33296 arg4
= wxString_in_helper(obj3
);
33297 if (arg4
== NULL
) SWIG_fail
;
33303 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33304 if (SWIG_arg_fail(5)) SWIG_fail
;
33308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33309 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33315 resultobj
= wxPyMake_wxObject(result
, 0);
33339 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33340 PyObject
*resultobj
;
33341 wxMenu
*arg1
= (wxMenu
*) 0 ;
33342 wxMenuItem
*result
;
33343 PyObject
* obj0
= 0 ;
33344 char *kwnames
[] = {
33345 (char *) "self", NULL
33348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
33349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33350 if (SWIG_arg_fail(1)) SWIG_fail
;
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33359 resultobj
= wxPyMake_wxObject(result
, 0);
33367 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33368 PyObject
*resultobj
;
33369 wxMenu
*arg1
= (wxMenu
*) 0 ;
33371 wxString
*arg3
= 0 ;
33372 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33373 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33374 wxMenuItem
*result
;
33375 bool temp3
= false ;
33376 bool temp4
= false ;
33377 PyObject
* obj0
= 0 ;
33378 PyObject
* obj1
= 0 ;
33379 PyObject
* obj2
= 0 ;
33380 PyObject
* obj3
= 0 ;
33381 char *kwnames
[] = {
33382 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33387 if (SWIG_arg_fail(1)) SWIG_fail
;
33389 arg2
= (int)(SWIG_As_int(obj1
));
33390 if (SWIG_arg_fail(2)) SWIG_fail
;
33393 arg3
= wxString_in_helper(obj2
);
33394 if (arg3
== NULL
) SWIG_fail
;
33399 arg4
= wxString_in_helper(obj3
);
33400 if (arg4
== NULL
) SWIG_fail
;
33405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33406 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33408 wxPyEndAllowThreads(__tstate
);
33409 if (PyErr_Occurred()) SWIG_fail
;
33412 resultobj
= wxPyMake_wxObject(result
, 0);
33436 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33437 PyObject
*resultobj
;
33438 wxMenu
*arg1
= (wxMenu
*) 0 ;
33440 wxString
*arg3
= 0 ;
33441 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33442 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33443 wxMenuItem
*result
;
33444 bool temp3
= false ;
33445 bool temp4
= false ;
33446 PyObject
* obj0
= 0 ;
33447 PyObject
* obj1
= 0 ;
33448 PyObject
* obj2
= 0 ;
33449 PyObject
* obj3
= 0 ;
33450 char *kwnames
[] = {
33451 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33456 if (SWIG_arg_fail(1)) SWIG_fail
;
33458 arg2
= (int)(SWIG_As_int(obj1
));
33459 if (SWIG_arg_fail(2)) SWIG_fail
;
33462 arg3
= wxString_in_helper(obj2
);
33463 if (arg3
== NULL
) SWIG_fail
;
33468 arg4
= wxString_in_helper(obj3
);
33469 if (arg4
== NULL
) SWIG_fail
;
33474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33475 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33477 wxPyEndAllowThreads(__tstate
);
33478 if (PyErr_Occurred()) SWIG_fail
;
33481 resultobj
= wxPyMake_wxObject(result
, 0);
33505 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33506 PyObject
*resultobj
;
33507 wxMenu
*arg1
= (wxMenu
*) 0 ;
33509 wxString
*arg3
= 0 ;
33510 wxMenu
*arg4
= (wxMenu
*) 0 ;
33511 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33512 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33513 wxMenuItem
*result
;
33514 bool temp3
= false ;
33515 bool temp5
= false ;
33516 PyObject
* obj0
= 0 ;
33517 PyObject
* obj1
= 0 ;
33518 PyObject
* obj2
= 0 ;
33519 PyObject
* obj3
= 0 ;
33520 PyObject
* obj4
= 0 ;
33521 char *kwnames
[] = {
33522 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33527 if (SWIG_arg_fail(1)) SWIG_fail
;
33529 arg2
= (int)(SWIG_As_int(obj1
));
33530 if (SWIG_arg_fail(2)) SWIG_fail
;
33533 arg3
= wxString_in_helper(obj2
);
33534 if (arg3
== NULL
) SWIG_fail
;
33537 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33538 if (SWIG_arg_fail(4)) SWIG_fail
;
33541 arg5
= wxString_in_helper(obj4
);
33542 if (arg5
== NULL
) SWIG_fail
;
33547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33548 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33550 wxPyEndAllowThreads(__tstate
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33554 resultobj
= wxPyMake_wxObject(result
, 0);
33578 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33579 PyObject
*resultobj
;
33580 wxMenu
*arg1
= (wxMenu
*) 0 ;
33581 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33582 wxMenuItem
*result
;
33583 PyObject
* obj0
= 0 ;
33584 PyObject
* obj1
= 0 ;
33585 char *kwnames
[] = {
33586 (char *) "self",(char *) "item", NULL
33589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33591 if (SWIG_arg_fail(1)) SWIG_fail
;
33592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33593 if (SWIG_arg_fail(2)) SWIG_fail
;
33595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33596 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33598 wxPyEndAllowThreads(__tstate
);
33599 if (PyErr_Occurred()) SWIG_fail
;
33602 resultobj
= wxPyMake_wxObject(result
, 0);
33610 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33611 PyObject
*resultobj
;
33612 wxMenu
*arg1
= (wxMenu
*) 0 ;
33613 PyObject
* obj0
= 0 ;
33614 char *kwnames
[] = {
33615 (char *) "self", NULL
33618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33620 if (SWIG_arg_fail(1)) SWIG_fail
;
33622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33625 wxPyEndAllowThreads(__tstate
);
33626 if (PyErr_Occurred()) SWIG_fail
;
33628 Py_INCREF(Py_None
); resultobj
= Py_None
;
33635 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33636 PyObject
*resultobj
;
33637 wxMenu
*arg1
= (wxMenu
*) 0 ;
33639 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33640 wxMenuItem
*result
;
33641 PyObject
* obj0
= 0 ;
33642 PyObject
* obj1
= 0 ;
33643 PyObject
* obj2
= 0 ;
33644 char *kwnames
[] = {
33645 (char *) "self",(char *) "pos",(char *) "item", NULL
33648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33650 if (SWIG_arg_fail(1)) SWIG_fail
;
33652 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33653 if (SWIG_arg_fail(2)) SWIG_fail
;
33655 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33656 if (SWIG_arg_fail(3)) SWIG_fail
;
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33665 resultobj
= wxPyMake_wxObject(result
, 0);
33673 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33674 PyObject
*resultobj
;
33675 wxMenu
*arg1
= (wxMenu
*) 0 ;
33678 wxString
*arg4
= 0 ;
33679 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33680 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33681 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33682 wxMenuItem
*result
;
33683 bool temp4
= false ;
33684 bool temp5
= false ;
33685 PyObject
* obj0
= 0 ;
33686 PyObject
* obj1
= 0 ;
33687 PyObject
* obj2
= 0 ;
33688 PyObject
* obj3
= 0 ;
33689 PyObject
* obj4
= 0 ;
33690 PyObject
* obj5
= 0 ;
33691 char *kwnames
[] = {
33692 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33697 if (SWIG_arg_fail(1)) SWIG_fail
;
33699 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33700 if (SWIG_arg_fail(2)) SWIG_fail
;
33703 arg3
= (int)(SWIG_As_int(obj2
));
33704 if (SWIG_arg_fail(3)) SWIG_fail
;
33707 arg4
= wxString_in_helper(obj3
);
33708 if (arg4
== NULL
) SWIG_fail
;
33713 arg5
= wxString_in_helper(obj4
);
33714 if (arg5
== NULL
) SWIG_fail
;
33720 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33721 if (SWIG_arg_fail(6)) SWIG_fail
;
33725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33726 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33728 wxPyEndAllowThreads(__tstate
);
33729 if (PyErr_Occurred()) SWIG_fail
;
33732 resultobj
= wxPyMake_wxObject(result
, 0);
33756 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33757 PyObject
*resultobj
;
33758 wxMenu
*arg1
= (wxMenu
*) 0 ;
33760 wxMenuItem
*result
;
33761 PyObject
* obj0
= 0 ;
33762 PyObject
* obj1
= 0 ;
33763 char *kwnames
[] = {
33764 (char *) "self",(char *) "pos", NULL
33767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33769 if (SWIG_arg_fail(1)) SWIG_fail
;
33771 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33772 if (SWIG_arg_fail(2)) SWIG_fail
;
33775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33776 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33778 wxPyEndAllowThreads(__tstate
);
33779 if (PyErr_Occurred()) SWIG_fail
;
33782 resultobj
= wxPyMake_wxObject(result
, 0);
33790 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33791 PyObject
*resultobj
;
33792 wxMenu
*arg1
= (wxMenu
*) 0 ;
33795 wxString
*arg4
= 0 ;
33796 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33797 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33798 wxMenuItem
*result
;
33799 bool temp4
= false ;
33800 bool temp5
= false ;
33801 PyObject
* obj0
= 0 ;
33802 PyObject
* obj1
= 0 ;
33803 PyObject
* obj2
= 0 ;
33804 PyObject
* obj3
= 0 ;
33805 PyObject
* obj4
= 0 ;
33806 char *kwnames
[] = {
33807 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33812 if (SWIG_arg_fail(1)) SWIG_fail
;
33814 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33815 if (SWIG_arg_fail(2)) SWIG_fail
;
33818 arg3
= (int)(SWIG_As_int(obj2
));
33819 if (SWIG_arg_fail(3)) SWIG_fail
;
33822 arg4
= wxString_in_helper(obj3
);
33823 if (arg4
== NULL
) SWIG_fail
;
33828 arg5
= wxString_in_helper(obj4
);
33829 if (arg5
== NULL
) SWIG_fail
;
33834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33835 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33837 wxPyEndAllowThreads(__tstate
);
33838 if (PyErr_Occurred()) SWIG_fail
;
33841 resultobj
= wxPyMake_wxObject(result
, 0);
33865 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33866 PyObject
*resultobj
;
33867 wxMenu
*arg1
= (wxMenu
*) 0 ;
33870 wxString
*arg4
= 0 ;
33871 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33872 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33873 wxMenuItem
*result
;
33874 bool temp4
= false ;
33875 bool temp5
= false ;
33876 PyObject
* obj0
= 0 ;
33877 PyObject
* obj1
= 0 ;
33878 PyObject
* obj2
= 0 ;
33879 PyObject
* obj3
= 0 ;
33880 PyObject
* obj4
= 0 ;
33881 char *kwnames
[] = {
33882 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33887 if (SWIG_arg_fail(1)) SWIG_fail
;
33889 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33890 if (SWIG_arg_fail(2)) SWIG_fail
;
33893 arg3
= (int)(SWIG_As_int(obj2
));
33894 if (SWIG_arg_fail(3)) SWIG_fail
;
33897 arg4
= wxString_in_helper(obj3
);
33898 if (arg4
== NULL
) SWIG_fail
;
33903 arg5
= wxString_in_helper(obj4
);
33904 if (arg5
== NULL
) SWIG_fail
;
33909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33910 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33912 wxPyEndAllowThreads(__tstate
);
33913 if (PyErr_Occurred()) SWIG_fail
;
33916 resultobj
= wxPyMake_wxObject(result
, 0);
33940 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33941 PyObject
*resultobj
;
33942 wxMenu
*arg1
= (wxMenu
*) 0 ;
33945 wxString
*arg4
= 0 ;
33946 wxMenu
*arg5
= (wxMenu
*) 0 ;
33947 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33948 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33949 wxMenuItem
*result
;
33950 bool temp4
= false ;
33951 bool temp6
= false ;
33952 PyObject
* obj0
= 0 ;
33953 PyObject
* obj1
= 0 ;
33954 PyObject
* obj2
= 0 ;
33955 PyObject
* obj3
= 0 ;
33956 PyObject
* obj4
= 0 ;
33957 PyObject
* obj5
= 0 ;
33958 char *kwnames
[] = {
33959 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33964 if (SWIG_arg_fail(1)) SWIG_fail
;
33966 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33967 if (SWIG_arg_fail(2)) SWIG_fail
;
33970 arg3
= (int)(SWIG_As_int(obj2
));
33971 if (SWIG_arg_fail(3)) SWIG_fail
;
33974 arg4
= wxString_in_helper(obj3
);
33975 if (arg4
== NULL
) SWIG_fail
;
33978 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33979 if (SWIG_arg_fail(5)) SWIG_fail
;
33982 arg6
= wxString_in_helper(obj5
);
33983 if (arg6
== NULL
) SWIG_fail
;
33988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33989 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33995 resultobj
= wxPyMake_wxObject(result
, 0);
34019 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34020 PyObject
*resultobj
;
34021 wxMenu
*arg1
= (wxMenu
*) 0 ;
34022 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34023 wxMenuItem
*result
;
34024 PyObject
* obj0
= 0 ;
34025 PyObject
* obj1
= 0 ;
34026 char *kwnames
[] = {
34027 (char *) "self",(char *) "item", NULL
34030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34032 if (SWIG_arg_fail(1)) SWIG_fail
;
34033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34034 if (SWIG_arg_fail(2)) SWIG_fail
;
34036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34037 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
34039 wxPyEndAllowThreads(__tstate
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34043 resultobj
= wxPyMake_wxObject(result
, 0);
34051 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34052 PyObject
*resultobj
;
34053 wxMenu
*arg1
= (wxMenu
*) 0 ;
34055 wxString
*arg3
= 0 ;
34056 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34057 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34058 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
34059 wxMenuItem
*result
;
34060 bool temp3
= false ;
34061 bool temp4
= false ;
34062 PyObject
* obj0
= 0 ;
34063 PyObject
* obj1
= 0 ;
34064 PyObject
* obj2
= 0 ;
34065 PyObject
* obj3
= 0 ;
34066 PyObject
* obj4
= 0 ;
34067 char *kwnames
[] = {
34068 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
34071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34073 if (SWIG_arg_fail(1)) SWIG_fail
;
34075 arg2
= (int)(SWIG_As_int(obj1
));
34076 if (SWIG_arg_fail(2)) SWIG_fail
;
34079 arg3
= wxString_in_helper(obj2
);
34080 if (arg3
== NULL
) SWIG_fail
;
34085 arg4
= wxString_in_helper(obj3
);
34086 if (arg4
== NULL
) SWIG_fail
;
34092 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
34093 if (SWIG_arg_fail(5)) SWIG_fail
;
34097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34098 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
34100 wxPyEndAllowThreads(__tstate
);
34101 if (PyErr_Occurred()) SWIG_fail
;
34104 resultobj
= wxPyMake_wxObject(result
, 0);
34128 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34129 PyObject
*resultobj
;
34130 wxMenu
*arg1
= (wxMenu
*) 0 ;
34131 wxMenuItem
*result
;
34132 PyObject
* obj0
= 0 ;
34133 char *kwnames
[] = {
34134 (char *) "self", NULL
34137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
34138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34139 if (SWIG_arg_fail(1)) SWIG_fail
;
34141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34142 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
34144 wxPyEndAllowThreads(__tstate
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34148 resultobj
= wxPyMake_wxObject(result
, 0);
34156 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34157 PyObject
*resultobj
;
34158 wxMenu
*arg1
= (wxMenu
*) 0 ;
34160 wxString
*arg3
= 0 ;
34161 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34162 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34163 wxMenuItem
*result
;
34164 bool temp3
= false ;
34165 bool temp4
= false ;
34166 PyObject
* obj0
= 0 ;
34167 PyObject
* obj1
= 0 ;
34168 PyObject
* obj2
= 0 ;
34169 PyObject
* obj3
= 0 ;
34170 char *kwnames
[] = {
34171 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
34174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34176 if (SWIG_arg_fail(1)) SWIG_fail
;
34178 arg2
= (int)(SWIG_As_int(obj1
));
34179 if (SWIG_arg_fail(2)) SWIG_fail
;
34182 arg3
= wxString_in_helper(obj2
);
34183 if (arg3
== NULL
) SWIG_fail
;
34188 arg4
= wxString_in_helper(obj3
);
34189 if (arg4
== NULL
) SWIG_fail
;
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
34197 wxPyEndAllowThreads(__tstate
);
34198 if (PyErr_Occurred()) SWIG_fail
;
34201 resultobj
= wxPyMake_wxObject(result
, 0);
34225 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34226 PyObject
*resultobj
;
34227 wxMenu
*arg1
= (wxMenu
*) 0 ;
34229 wxString
*arg3
= 0 ;
34230 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34231 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34232 wxMenuItem
*result
;
34233 bool temp3
= false ;
34234 bool temp4
= false ;
34235 PyObject
* obj0
= 0 ;
34236 PyObject
* obj1
= 0 ;
34237 PyObject
* obj2
= 0 ;
34238 PyObject
* obj3
= 0 ;
34239 char *kwnames
[] = {
34240 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
34243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34245 if (SWIG_arg_fail(1)) SWIG_fail
;
34247 arg2
= (int)(SWIG_As_int(obj1
));
34248 if (SWIG_arg_fail(2)) SWIG_fail
;
34251 arg3
= wxString_in_helper(obj2
);
34252 if (arg3
== NULL
) SWIG_fail
;
34257 arg4
= wxString_in_helper(obj3
);
34258 if (arg4
== NULL
) SWIG_fail
;
34263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34264 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34270 resultobj
= wxPyMake_wxObject(result
, 0);
34294 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
;
34296 wxMenu
*arg1
= (wxMenu
*) 0 ;
34298 wxString
*arg3
= 0 ;
34299 wxMenu
*arg4
= (wxMenu
*) 0 ;
34300 wxString
const &arg5_defvalue
= wxPyEmptyString
;
34301 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
34302 wxMenuItem
*result
;
34303 bool temp3
= false ;
34304 bool temp5
= false ;
34305 PyObject
* obj0
= 0 ;
34306 PyObject
* obj1
= 0 ;
34307 PyObject
* obj2
= 0 ;
34308 PyObject
* obj3
= 0 ;
34309 PyObject
* obj4
= 0 ;
34310 char *kwnames
[] = {
34311 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
34314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34316 if (SWIG_arg_fail(1)) SWIG_fail
;
34318 arg2
= (int)(SWIG_As_int(obj1
));
34319 if (SWIG_arg_fail(2)) SWIG_fail
;
34322 arg3
= wxString_in_helper(obj2
);
34323 if (arg3
== NULL
) SWIG_fail
;
34326 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34327 if (SWIG_arg_fail(4)) SWIG_fail
;
34330 arg5
= wxString_in_helper(obj4
);
34331 if (arg5
== NULL
) SWIG_fail
;
34336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34337 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
34339 wxPyEndAllowThreads(__tstate
);
34340 if (PyErr_Occurred()) SWIG_fail
;
34343 resultobj
= wxPyMake_wxObject(result
, 0);
34367 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34368 PyObject
*resultobj
;
34369 wxMenu
*arg1
= (wxMenu
*) 0 ;
34371 wxMenuItem
*result
;
34372 PyObject
* obj0
= 0 ;
34373 PyObject
* obj1
= 0 ;
34374 char *kwnames
[] = {
34375 (char *) "self",(char *) "id", NULL
34378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34387 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
34389 wxPyEndAllowThreads(__tstate
);
34390 if (PyErr_Occurred()) SWIG_fail
;
34393 resultobj
= wxPyMake_wxObject(result
, 0);
34401 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34402 PyObject
*resultobj
;
34403 wxMenu
*arg1
= (wxMenu
*) 0 ;
34404 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34405 wxMenuItem
*result
;
34406 PyObject
* obj0
= 0 ;
34407 PyObject
* obj1
= 0 ;
34408 char *kwnames
[] = {
34409 (char *) "self",(char *) "item", NULL
34412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34414 if (SWIG_arg_fail(1)) SWIG_fail
;
34415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34416 if (SWIG_arg_fail(2)) SWIG_fail
;
34418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34419 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
34421 wxPyEndAllowThreads(__tstate
);
34422 if (PyErr_Occurred()) SWIG_fail
;
34425 resultobj
= wxPyMake_wxObject(result
, 0);
34433 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34434 PyObject
*resultobj
;
34435 wxMenu
*arg1
= (wxMenu
*) 0 ;
34438 PyObject
* obj0
= 0 ;
34439 PyObject
* obj1
= 0 ;
34440 char *kwnames
[] = {
34441 (char *) "self",(char *) "id", NULL
34444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34446 if (SWIG_arg_fail(1)) SWIG_fail
;
34448 arg2
= (int)(SWIG_As_int(obj1
));
34449 if (SWIG_arg_fail(2)) SWIG_fail
;
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34453 result
= (bool)(arg1
)->Delete(arg2
);
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34467 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
;
34469 wxMenu
*arg1
= (wxMenu
*) 0 ;
34470 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34472 PyObject
* obj0
= 0 ;
34473 PyObject
* obj1
= 0 ;
34474 char *kwnames
[] = {
34475 (char *) "self",(char *) "item", NULL
34478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34480 if (SWIG_arg_fail(1)) SWIG_fail
;
34481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34482 if (SWIG_arg_fail(2)) SWIG_fail
;
34484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34485 result
= (bool)(arg1
)->Delete(arg2
);
34487 wxPyEndAllowThreads(__tstate
);
34488 if (PyErr_Occurred()) SWIG_fail
;
34491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34499 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34500 PyObject
*resultobj
;
34501 wxMenu
*arg1
= (wxMenu
*) 0 ;
34502 PyObject
* obj0
= 0 ;
34503 char *kwnames
[] = {
34504 (char *) "self", NULL
34507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
34508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34509 if (SWIG_arg_fail(1)) SWIG_fail
;
34511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34512 wxMenu_Destroy(arg1
);
34514 wxPyEndAllowThreads(__tstate
);
34515 if (PyErr_Occurred()) SWIG_fail
;
34517 Py_INCREF(Py_None
); resultobj
= Py_None
;
34524 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34525 PyObject
*resultobj
;
34526 wxMenu
*arg1
= (wxMenu
*) 0 ;
34529 PyObject
* obj0
= 0 ;
34530 PyObject
* obj1
= 0 ;
34531 char *kwnames
[] = {
34532 (char *) "self",(char *) "id", NULL
34535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
34536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34537 if (SWIG_arg_fail(1)) SWIG_fail
;
34539 arg2
= (int)(SWIG_As_int(obj1
));
34540 if (SWIG_arg_fail(2)) SWIG_fail
;
34543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34544 result
= (bool)(arg1
)->Destroy(arg2
);
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34558 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34559 PyObject
*resultobj
;
34560 wxMenu
*arg1
= (wxMenu
*) 0 ;
34561 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34563 PyObject
* obj0
= 0 ;
34564 PyObject
* obj1
= 0 ;
34565 char *kwnames
[] = {
34566 (char *) "self",(char *) "item", NULL
34569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34571 if (SWIG_arg_fail(1)) SWIG_fail
;
34572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34573 if (SWIG_arg_fail(2)) SWIG_fail
;
34575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34576 result
= (bool)(arg1
)->Destroy(arg2
);
34578 wxPyEndAllowThreads(__tstate
);
34579 if (PyErr_Occurred()) SWIG_fail
;
34582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34590 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34591 PyObject
*resultobj
;
34592 wxMenu
*arg1
= (wxMenu
*) 0 ;
34594 PyObject
* obj0
= 0 ;
34595 char *kwnames
[] = {
34596 (char *) "self", NULL
34599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34601 if (SWIG_arg_fail(1)) SWIG_fail
;
34603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34604 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34606 wxPyEndAllowThreads(__tstate
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34610 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34618 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34619 PyObject
*resultobj
;
34620 wxMenu
*arg1
= (wxMenu
*) 0 ;
34622 PyObject
* obj0
= 0 ;
34623 char *kwnames
[] = {
34624 (char *) "self", NULL
34627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34629 if (SWIG_arg_fail(1)) SWIG_fail
;
34631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34632 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34634 wxPyEndAllowThreads(__tstate
);
34635 if (PyErr_Occurred()) SWIG_fail
;
34637 resultobj
= result
;
34644 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34645 PyObject
*resultobj
;
34646 wxMenu
*arg1
= (wxMenu
*) 0 ;
34647 wxString
*arg2
= 0 ;
34649 bool temp2
= false ;
34650 PyObject
* obj0
= 0 ;
34651 PyObject
* obj1
= 0 ;
34652 char *kwnames
[] = {
34653 (char *) "self",(char *) "item", NULL
34656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34658 if (SWIG_arg_fail(1)) SWIG_fail
;
34660 arg2
= wxString_in_helper(obj1
);
34661 if (arg2
== NULL
) SWIG_fail
;
34665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34666 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34668 wxPyEndAllowThreads(__tstate
);
34669 if (PyErr_Occurred()) SWIG_fail
;
34672 resultobj
= SWIG_From_int((int)(result
));
34688 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34689 PyObject
*resultobj
;
34690 wxMenu
*arg1
= (wxMenu
*) 0 ;
34692 wxMenuItem
*result
;
34693 PyObject
* obj0
= 0 ;
34694 PyObject
* obj1
= 0 ;
34695 char *kwnames
[] = {
34696 (char *) "self",(char *) "id", NULL
34699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34701 if (SWIG_arg_fail(1)) SWIG_fail
;
34703 arg2
= (int)(SWIG_As_int(obj1
));
34704 if (SWIG_arg_fail(2)) SWIG_fail
;
34707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34708 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34710 wxPyEndAllowThreads(__tstate
);
34711 if (PyErr_Occurred()) SWIG_fail
;
34714 resultobj
= wxPyMake_wxObject(result
, 0);
34722 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34723 PyObject
*resultobj
;
34724 wxMenu
*arg1
= (wxMenu
*) 0 ;
34726 wxMenuItem
*result
;
34727 PyObject
* obj0
= 0 ;
34728 PyObject
* obj1
= 0 ;
34729 char *kwnames
[] = {
34730 (char *) "self",(char *) "position", NULL
34733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34735 if (SWIG_arg_fail(1)) SWIG_fail
;
34737 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34738 if (SWIG_arg_fail(2)) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34748 resultobj
= wxPyMake_wxObject(result
, 0);
34756 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34757 PyObject
*resultobj
;
34758 wxMenu
*arg1
= (wxMenu
*) 0 ;
34761 PyObject
* obj0
= 0 ;
34762 PyObject
* obj1
= 0 ;
34763 PyObject
* obj2
= 0 ;
34764 char *kwnames
[] = {
34765 (char *) "self",(char *) "id",(char *) "enable", NULL
34768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34770 if (SWIG_arg_fail(1)) SWIG_fail
;
34772 arg2
= (int)(SWIG_As_int(obj1
));
34773 if (SWIG_arg_fail(2)) SWIG_fail
;
34776 arg3
= (bool)(SWIG_As_bool(obj2
));
34777 if (SWIG_arg_fail(3)) SWIG_fail
;
34780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34781 (arg1
)->Enable(arg2
,arg3
);
34783 wxPyEndAllowThreads(__tstate
);
34784 if (PyErr_Occurred()) SWIG_fail
;
34786 Py_INCREF(Py_None
); resultobj
= Py_None
;
34793 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34794 PyObject
*resultobj
;
34795 wxMenu
*arg1
= (wxMenu
*) 0 ;
34798 PyObject
* obj0
= 0 ;
34799 PyObject
* obj1
= 0 ;
34800 char *kwnames
[] = {
34801 (char *) "self",(char *) "id", NULL
34804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34806 if (SWIG_arg_fail(1)) SWIG_fail
;
34808 arg2
= (int)(SWIG_As_int(obj1
));
34809 if (SWIG_arg_fail(2)) SWIG_fail
;
34812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34813 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34815 wxPyEndAllowThreads(__tstate
);
34816 if (PyErr_Occurred()) SWIG_fail
;
34819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34827 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
;
34829 wxMenu
*arg1
= (wxMenu
*) 0 ;
34832 PyObject
* obj0
= 0 ;
34833 PyObject
* obj1
= 0 ;
34834 PyObject
* obj2
= 0 ;
34835 char *kwnames
[] = {
34836 (char *) "self",(char *) "id",(char *) "check", NULL
34839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34841 if (SWIG_arg_fail(1)) SWIG_fail
;
34843 arg2
= (int)(SWIG_As_int(obj1
));
34844 if (SWIG_arg_fail(2)) SWIG_fail
;
34847 arg3
= (bool)(SWIG_As_bool(obj2
));
34848 if (SWIG_arg_fail(3)) SWIG_fail
;
34851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 (arg1
)->Check(arg2
,arg3
);
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34857 Py_INCREF(Py_None
); resultobj
= Py_None
;
34864 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34865 PyObject
*resultobj
;
34866 wxMenu
*arg1
= (wxMenu
*) 0 ;
34869 PyObject
* obj0
= 0 ;
34870 PyObject
* obj1
= 0 ;
34871 char *kwnames
[] = {
34872 (char *) "self",(char *) "id", NULL
34875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34877 if (SWIG_arg_fail(1)) SWIG_fail
;
34879 arg2
= (int)(SWIG_As_int(obj1
));
34880 if (SWIG_arg_fail(2)) SWIG_fail
;
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34898 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34899 PyObject
*resultobj
;
34900 wxMenu
*arg1
= (wxMenu
*) 0 ;
34902 wxString
*arg3
= 0 ;
34903 bool temp3
= false ;
34904 PyObject
* obj0
= 0 ;
34905 PyObject
* obj1
= 0 ;
34906 PyObject
* obj2
= 0 ;
34907 char *kwnames
[] = {
34908 (char *) "self",(char *) "id",(char *) "label", NULL
34911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34913 if (SWIG_arg_fail(1)) SWIG_fail
;
34915 arg2
= (int)(SWIG_As_int(obj1
));
34916 if (SWIG_arg_fail(2)) SWIG_fail
;
34919 arg3
= wxString_in_helper(obj2
);
34920 if (arg3
== NULL
) SWIG_fail
;
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34930 Py_INCREF(Py_None
); resultobj
= Py_None
;
34945 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34946 PyObject
*resultobj
;
34947 wxMenu
*arg1
= (wxMenu
*) 0 ;
34950 PyObject
* obj0
= 0 ;
34951 PyObject
* obj1
= 0 ;
34952 char *kwnames
[] = {
34953 (char *) "self",(char *) "id", NULL
34956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34958 if (SWIG_arg_fail(1)) SWIG_fail
;
34960 arg2
= (int)(SWIG_As_int(obj1
));
34961 if (SWIG_arg_fail(2)) SWIG_fail
;
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34967 wxPyEndAllowThreads(__tstate
);
34968 if (PyErr_Occurred()) SWIG_fail
;
34972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34983 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34984 PyObject
*resultobj
;
34985 wxMenu
*arg1
= (wxMenu
*) 0 ;
34987 wxString
*arg3
= 0 ;
34988 bool temp3
= false ;
34989 PyObject
* obj0
= 0 ;
34990 PyObject
* obj1
= 0 ;
34991 PyObject
* obj2
= 0 ;
34992 char *kwnames
[] = {
34993 (char *) "self",(char *) "id",(char *) "helpString", NULL
34996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34998 if (SWIG_arg_fail(1)) SWIG_fail
;
35000 arg2
= (int)(SWIG_As_int(obj1
));
35001 if (SWIG_arg_fail(2)) SWIG_fail
;
35004 arg3
= wxString_in_helper(obj2
);
35005 if (arg3
== NULL
) SWIG_fail
;
35009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35010 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35012 wxPyEndAllowThreads(__tstate
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35015 Py_INCREF(Py_None
); resultobj
= Py_None
;
35030 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35031 PyObject
*resultobj
;
35032 wxMenu
*arg1
= (wxMenu
*) 0 ;
35035 PyObject
* obj0
= 0 ;
35036 PyObject
* obj1
= 0 ;
35037 char *kwnames
[] = {
35038 (char *) "self",(char *) "id", NULL
35041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35043 if (SWIG_arg_fail(1)) SWIG_fail
;
35045 arg2
= (int)(SWIG_As_int(obj1
));
35046 if (SWIG_arg_fail(2)) SWIG_fail
;
35049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35050 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
35052 wxPyEndAllowThreads(__tstate
);
35053 if (PyErr_Occurred()) SWIG_fail
;
35057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35068 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35069 PyObject
*resultobj
;
35070 wxMenu
*arg1
= (wxMenu
*) 0 ;
35071 wxString
*arg2
= 0 ;
35072 bool temp2
= false ;
35073 PyObject
* obj0
= 0 ;
35074 PyObject
* obj1
= 0 ;
35075 char *kwnames
[] = {
35076 (char *) "self",(char *) "title", NULL
35079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
35080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35081 if (SWIG_arg_fail(1)) SWIG_fail
;
35083 arg2
= wxString_in_helper(obj1
);
35084 if (arg2
== NULL
) SWIG_fail
;
35088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35089 (arg1
)->SetTitle((wxString
const &)*arg2
);
35091 wxPyEndAllowThreads(__tstate
);
35092 if (PyErr_Occurred()) SWIG_fail
;
35094 Py_INCREF(Py_None
); resultobj
= Py_None
;
35109 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35110 PyObject
*resultobj
;
35111 wxMenu
*arg1
= (wxMenu
*) 0 ;
35113 PyObject
* obj0
= 0 ;
35114 char *kwnames
[] = {
35115 (char *) "self", NULL
35118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
35119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35120 if (SWIG_arg_fail(1)) SWIG_fail
;
35122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35123 result
= ((wxMenu
const *)arg1
)->GetTitle();
35125 wxPyEndAllowThreads(__tstate
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35141 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35142 PyObject
*resultobj
;
35143 wxMenu
*arg1
= (wxMenu
*) 0 ;
35144 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
35145 PyObject
* obj0
= 0 ;
35146 PyObject
* obj1
= 0 ;
35147 char *kwnames
[] = {
35148 (char *) "self",(char *) "handler", NULL
35151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
35152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35153 if (SWIG_arg_fail(1)) SWIG_fail
;
35154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
35155 if (SWIG_arg_fail(2)) SWIG_fail
;
35157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35158 (arg1
)->SetEventHandler(arg2
);
35160 wxPyEndAllowThreads(__tstate
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35163 Py_INCREF(Py_None
); resultobj
= Py_None
;
35170 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35171 PyObject
*resultobj
;
35172 wxMenu
*arg1
= (wxMenu
*) 0 ;
35173 wxEvtHandler
*result
;
35174 PyObject
* obj0
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
35180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35181 if (SWIG_arg_fail(1)) SWIG_fail
;
35183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35184 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
35186 wxPyEndAllowThreads(__tstate
);
35187 if (PyErr_Occurred()) SWIG_fail
;
35190 resultobj
= wxPyMake_wxObject(result
, 0);
35198 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35199 PyObject
*resultobj
;
35200 wxMenu
*arg1
= (wxMenu
*) 0 ;
35201 wxWindow
*arg2
= (wxWindow
*) 0 ;
35202 PyObject
* obj0
= 0 ;
35203 PyObject
* obj1
= 0 ;
35204 char *kwnames
[] = {
35205 (char *) "self",(char *) "win", NULL
35208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35210 if (SWIG_arg_fail(1)) SWIG_fail
;
35211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35212 if (SWIG_arg_fail(2)) SWIG_fail
;
35214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35215 (arg1
)->SetInvokingWindow(arg2
);
35217 wxPyEndAllowThreads(__tstate
);
35218 if (PyErr_Occurred()) SWIG_fail
;
35220 Py_INCREF(Py_None
); resultobj
= Py_None
;
35227 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35228 PyObject
*resultobj
;
35229 wxMenu
*arg1
= (wxMenu
*) 0 ;
35231 PyObject
* obj0
= 0 ;
35232 char *kwnames
[] = {
35233 (char *) "self", NULL
35236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
35237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35238 if (SWIG_arg_fail(1)) SWIG_fail
;
35240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35241 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35247 resultobj
= wxPyMake_wxObject(result
, 0);
35255 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35256 PyObject
*resultobj
;
35257 wxMenu
*arg1
= (wxMenu
*) 0 ;
35259 PyObject
* obj0
= 0 ;
35260 char *kwnames
[] = {
35261 (char *) "self", NULL
35264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
35265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35266 if (SWIG_arg_fail(1)) SWIG_fail
;
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
35271 wxPyEndAllowThreads(__tstate
);
35272 if (PyErr_Occurred()) SWIG_fail
;
35275 resultobj
= SWIG_From_long((long)(result
));
35283 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35284 PyObject
*resultobj
;
35285 wxMenu
*arg1
= (wxMenu
*) 0 ;
35286 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
35287 PyObject
* obj0
= 0 ;
35288 PyObject
* obj1
= 0 ;
35289 char *kwnames
[] = {
35290 (char *) "self",(char *) "source", NULL
35293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
35294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35295 if (SWIG_arg_fail(1)) SWIG_fail
;
35297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
35298 if (SWIG_arg_fail(2)) SWIG_fail
;
35301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35302 (arg1
)->UpdateUI(arg2
);
35304 wxPyEndAllowThreads(__tstate
);
35305 if (PyErr_Occurred()) SWIG_fail
;
35307 Py_INCREF(Py_None
); resultobj
= Py_None
;
35314 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35315 PyObject
*resultobj
;
35316 wxMenu
*arg1
= (wxMenu
*) 0 ;
35318 PyObject
* obj0
= 0 ;
35319 char *kwnames
[] = {
35320 (char *) "self", NULL
35323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
35324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35325 if (SWIG_arg_fail(1)) SWIG_fail
;
35327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35328 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
35330 wxPyEndAllowThreads(__tstate
);
35331 if (PyErr_Occurred()) SWIG_fail
;
35334 resultobj
= wxPyMake_wxObject(result
, 0);
35342 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35343 PyObject
*resultobj
;
35344 wxMenu
*arg1
= (wxMenu
*) 0 ;
35345 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
35346 PyObject
* obj0
= 0 ;
35347 PyObject
* obj1
= 0 ;
35348 char *kwnames
[] = {
35349 (char *) "self",(char *) "menubar", NULL
35352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35354 if (SWIG_arg_fail(1)) SWIG_fail
;
35355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
35356 if (SWIG_arg_fail(2)) SWIG_fail
;
35358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35359 (arg1
)->Attach(arg2
);
35361 wxPyEndAllowThreads(__tstate
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35364 Py_INCREF(Py_None
); resultobj
= Py_None
;
35371 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35372 PyObject
*resultobj
;
35373 wxMenu
*arg1
= (wxMenu
*) 0 ;
35374 PyObject
* obj0
= 0 ;
35375 char *kwnames
[] = {
35376 (char *) "self", NULL
35379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
35380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35381 if (SWIG_arg_fail(1)) SWIG_fail
;
35383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35386 wxPyEndAllowThreads(__tstate
);
35387 if (PyErr_Occurred()) SWIG_fail
;
35389 Py_INCREF(Py_None
); resultobj
= Py_None
;
35396 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35397 PyObject
*resultobj
;
35398 wxMenu
*arg1
= (wxMenu
*) 0 ;
35400 PyObject
* obj0
= 0 ;
35401 char *kwnames
[] = {
35402 (char *) "self", NULL
35405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
35406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35407 if (SWIG_arg_fail(1)) SWIG_fail
;
35409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35410 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
35412 wxPyEndAllowThreads(__tstate
);
35413 if (PyErr_Occurred()) SWIG_fail
;
35416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35424 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35425 PyObject
*resultobj
;
35426 wxMenu
*arg1
= (wxMenu
*) 0 ;
35427 wxMenu
*arg2
= (wxMenu
*) 0 ;
35428 PyObject
* obj0
= 0 ;
35429 PyObject
* obj1
= 0 ;
35430 char *kwnames
[] = {
35431 (char *) "self",(char *) "parent", NULL
35434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
35435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35436 if (SWIG_arg_fail(1)) SWIG_fail
;
35437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35438 if (SWIG_arg_fail(2)) SWIG_fail
;
35440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35441 (arg1
)->SetParent(arg2
);
35443 wxPyEndAllowThreads(__tstate
);
35444 if (PyErr_Occurred()) SWIG_fail
;
35446 Py_INCREF(Py_None
); resultobj
= Py_None
;
35453 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35454 PyObject
*resultobj
;
35455 wxMenu
*arg1
= (wxMenu
*) 0 ;
35457 PyObject
* obj0
= 0 ;
35458 char *kwnames
[] = {
35459 (char *) "self", NULL
35462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
35463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35464 if (SWIG_arg_fail(1)) SWIG_fail
;
35466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35467 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
35469 wxPyEndAllowThreads(__tstate
);
35470 if (PyErr_Occurred()) SWIG_fail
;
35473 resultobj
= wxPyMake_wxObject(result
, 0);
35481 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
35483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35484 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
35486 return Py_BuildValue((char *)"");
35488 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35489 PyObject
*resultobj
;
35490 long arg1
= (long) 0 ;
35492 PyObject
* obj0
= 0 ;
35493 char *kwnames
[] = {
35494 (char *) "style", NULL
35497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
35500 arg1
= (long)(SWIG_As_long(obj0
));
35501 if (SWIG_arg_fail(1)) SWIG_fail
;
35505 if (!wxPyCheckForApp()) SWIG_fail
;
35506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35507 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
35509 wxPyEndAllowThreads(__tstate
);
35510 if (PyErr_Occurred()) SWIG_fail
;
35512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
35519 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35520 PyObject
*resultobj
;
35521 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35522 wxMenu
*arg2
= (wxMenu
*) 0 ;
35523 wxString
*arg3
= 0 ;
35525 bool temp3
= false ;
35526 PyObject
* obj0
= 0 ;
35527 PyObject
* obj1
= 0 ;
35528 PyObject
* obj2
= 0 ;
35529 char *kwnames
[] = {
35530 (char *) "self",(char *) "menu",(char *) "title", NULL
35533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35535 if (SWIG_arg_fail(1)) SWIG_fail
;
35536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35537 if (SWIG_arg_fail(2)) SWIG_fail
;
35539 arg3
= wxString_in_helper(obj2
);
35540 if (arg3
== NULL
) SWIG_fail
;
35544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35545 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35547 wxPyEndAllowThreads(__tstate
);
35548 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35567 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35568 PyObject
*resultobj
;
35569 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35571 wxMenu
*arg3
= (wxMenu
*) 0 ;
35572 wxString
*arg4
= 0 ;
35574 bool temp4
= false ;
35575 PyObject
* obj0
= 0 ;
35576 PyObject
* obj1
= 0 ;
35577 PyObject
* obj2
= 0 ;
35578 PyObject
* obj3
= 0 ;
35579 char *kwnames
[] = {
35580 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35585 if (SWIG_arg_fail(1)) SWIG_fail
;
35587 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35588 if (SWIG_arg_fail(2)) SWIG_fail
;
35590 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35591 if (SWIG_arg_fail(3)) SWIG_fail
;
35593 arg4
= wxString_in_helper(obj3
);
35594 if (arg4
== NULL
) SWIG_fail
;
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35601 wxPyEndAllowThreads(__tstate
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35621 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35622 PyObject
*resultobj
;
35623 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35625 PyObject
* obj0
= 0 ;
35626 char *kwnames
[] = {
35627 (char *) "self", NULL
35630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35632 if (SWIG_arg_fail(1)) SWIG_fail
;
35634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35635 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35637 wxPyEndAllowThreads(__tstate
);
35638 if (PyErr_Occurred()) SWIG_fail
;
35641 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35649 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35650 PyObject
*resultobj
;
35651 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35654 PyObject
* obj0
= 0 ;
35655 PyObject
* obj1
= 0 ;
35656 char *kwnames
[] = {
35657 (char *) "self",(char *) "pos", NULL
35660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35662 if (SWIG_arg_fail(1)) SWIG_fail
;
35664 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35665 if (SWIG_arg_fail(2)) SWIG_fail
;
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35669 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35671 wxPyEndAllowThreads(__tstate
);
35672 if (PyErr_Occurred()) SWIG_fail
;
35675 resultobj
= wxPyMake_wxObject(result
, 0);
35683 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35684 PyObject
*resultobj
;
35685 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35687 wxMenu
*arg3
= (wxMenu
*) 0 ;
35688 wxString
*arg4
= 0 ;
35690 bool temp4
= false ;
35691 PyObject
* obj0
= 0 ;
35692 PyObject
* obj1
= 0 ;
35693 PyObject
* obj2
= 0 ;
35694 PyObject
* obj3
= 0 ;
35695 char *kwnames
[] = {
35696 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35701 if (SWIG_arg_fail(1)) SWIG_fail
;
35703 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35704 if (SWIG_arg_fail(2)) SWIG_fail
;
35706 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35707 if (SWIG_arg_fail(3)) SWIG_fail
;
35709 arg4
= wxString_in_helper(obj3
);
35710 if (arg4
== NULL
) SWIG_fail
;
35714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35715 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35717 wxPyEndAllowThreads(__tstate
);
35718 if (PyErr_Occurred()) SWIG_fail
;
35721 resultobj
= wxPyMake_wxObject(result
, 0);
35737 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35738 PyObject
*resultobj
;
35739 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35742 PyObject
* obj0
= 0 ;
35743 PyObject
* obj1
= 0 ;
35744 char *kwnames
[] = {
35745 (char *) "self",(char *) "pos", NULL
35748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35750 if (SWIG_arg_fail(1)) SWIG_fail
;
35752 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35753 if (SWIG_arg_fail(2)) SWIG_fail
;
35756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35757 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35763 resultobj
= wxPyMake_wxObject(result
, 0);
35771 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35772 PyObject
*resultobj
;
35773 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35776 PyObject
* obj0
= 0 ;
35777 PyObject
* obj1
= 0 ;
35778 PyObject
* obj2
= 0 ;
35779 char *kwnames
[] = {
35780 (char *) "self",(char *) "pos",(char *) "enable", NULL
35783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35785 if (SWIG_arg_fail(1)) SWIG_fail
;
35787 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35788 if (SWIG_arg_fail(2)) SWIG_fail
;
35791 arg3
= (bool)(SWIG_As_bool(obj2
));
35792 if (SWIG_arg_fail(3)) SWIG_fail
;
35795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35796 (arg1
)->EnableTop(arg2
,arg3
);
35798 wxPyEndAllowThreads(__tstate
);
35799 if (PyErr_Occurred()) SWIG_fail
;
35801 Py_INCREF(Py_None
); resultobj
= Py_None
;
35808 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35809 PyObject
*resultobj
;
35810 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35813 PyObject
* obj0
= 0 ;
35814 PyObject
* obj1
= 0 ;
35815 char *kwnames
[] = {
35816 (char *) "self",(char *) "pos", NULL
35819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35821 if (SWIG_arg_fail(1)) SWIG_fail
;
35823 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35824 if (SWIG_arg_fail(2)) SWIG_fail
;
35827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35828 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35830 wxPyEndAllowThreads(__tstate
);
35831 if (PyErr_Occurred()) SWIG_fail
;
35834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35842 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35843 PyObject
*resultobj
;
35844 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35846 wxString
*arg3
= 0 ;
35847 bool temp3
= false ;
35848 PyObject
* obj0
= 0 ;
35849 PyObject
* obj1
= 0 ;
35850 PyObject
* obj2
= 0 ;
35851 char *kwnames
[] = {
35852 (char *) "self",(char *) "pos",(char *) "label", NULL
35855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35857 if (SWIG_arg_fail(1)) SWIG_fail
;
35859 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35860 if (SWIG_arg_fail(2)) SWIG_fail
;
35863 arg3
= wxString_in_helper(obj2
);
35864 if (arg3
== NULL
) SWIG_fail
;
35868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35869 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35871 wxPyEndAllowThreads(__tstate
);
35872 if (PyErr_Occurred()) SWIG_fail
;
35874 Py_INCREF(Py_None
); resultobj
= Py_None
;
35889 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35890 PyObject
*resultobj
;
35891 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35894 PyObject
* obj0
= 0 ;
35895 PyObject
* obj1
= 0 ;
35896 char *kwnames
[] = {
35897 (char *) "self",(char *) "pos", NULL
35900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35902 if (SWIG_arg_fail(1)) SWIG_fail
;
35904 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35905 if (SWIG_arg_fail(2)) SWIG_fail
;
35908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35909 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35911 wxPyEndAllowThreads(__tstate
);
35912 if (PyErr_Occurred()) SWIG_fail
;
35916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35927 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35928 PyObject
*resultobj
;
35929 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35930 wxString
*arg2
= 0 ;
35931 wxString
*arg3
= 0 ;
35933 bool temp2
= false ;
35934 bool temp3
= false ;
35935 PyObject
* obj0
= 0 ;
35936 PyObject
* obj1
= 0 ;
35937 PyObject
* obj2
= 0 ;
35938 char *kwnames
[] = {
35939 (char *) "self",(char *) "menu",(char *) "item", NULL
35942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35944 if (SWIG_arg_fail(1)) SWIG_fail
;
35946 arg2
= wxString_in_helper(obj1
);
35947 if (arg2
== NULL
) SWIG_fail
;
35951 arg3
= wxString_in_helper(obj2
);
35952 if (arg3
== NULL
) SWIG_fail
;
35956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35957 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35959 wxPyEndAllowThreads(__tstate
);
35960 if (PyErr_Occurred()) SWIG_fail
;
35963 resultobj
= SWIG_From_int((int)(result
));
35987 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35988 PyObject
*resultobj
;
35989 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35991 wxMenuItem
*result
;
35992 PyObject
* obj0
= 0 ;
35993 PyObject
* obj1
= 0 ;
35994 char *kwnames
[] = {
35995 (char *) "self",(char *) "id", NULL
35998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36000 if (SWIG_arg_fail(1)) SWIG_fail
;
36002 arg2
= (int)(SWIG_As_int(obj1
));
36003 if (SWIG_arg_fail(2)) SWIG_fail
;
36006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36007 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
36009 wxPyEndAllowThreads(__tstate
);
36010 if (PyErr_Occurred()) SWIG_fail
;
36013 resultobj
= wxPyMake_wxObject(result
, 0);
36021 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36022 PyObject
*resultobj
;
36023 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36024 wxString
*arg2
= 0 ;
36026 bool temp2
= false ;
36027 PyObject
* obj0
= 0 ;
36028 PyObject
* obj1
= 0 ;
36029 char *kwnames
[] = {
36030 (char *) "self",(char *) "title", NULL
36033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36035 if (SWIG_arg_fail(1)) SWIG_fail
;
36037 arg2
= wxString_in_helper(obj1
);
36038 if (arg2
== NULL
) SWIG_fail
;
36042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36043 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
36045 wxPyEndAllowThreads(__tstate
);
36046 if (PyErr_Occurred()) SWIG_fail
;
36049 resultobj
= SWIG_From_int((int)(result
));
36065 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36066 PyObject
*resultobj
;
36067 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36070 PyObject
* obj0
= 0 ;
36071 PyObject
* obj1
= 0 ;
36072 PyObject
* obj2
= 0 ;
36073 char *kwnames
[] = {
36074 (char *) "self",(char *) "id",(char *) "enable", NULL
36077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36079 if (SWIG_arg_fail(1)) SWIG_fail
;
36081 arg2
= (int)(SWIG_As_int(obj1
));
36082 if (SWIG_arg_fail(2)) SWIG_fail
;
36085 arg3
= (bool)(SWIG_As_bool(obj2
));
36086 if (SWIG_arg_fail(3)) SWIG_fail
;
36089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36090 (arg1
)->Enable(arg2
,arg3
);
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36095 Py_INCREF(Py_None
); resultobj
= Py_None
;
36102 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36103 PyObject
*resultobj
;
36104 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36107 PyObject
* obj0
= 0 ;
36108 PyObject
* obj1
= 0 ;
36109 PyObject
* obj2
= 0 ;
36110 char *kwnames
[] = {
36111 (char *) "self",(char *) "id",(char *) "check", NULL
36114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36116 if (SWIG_arg_fail(1)) SWIG_fail
;
36118 arg2
= (int)(SWIG_As_int(obj1
));
36119 if (SWIG_arg_fail(2)) SWIG_fail
;
36122 arg3
= (bool)(SWIG_As_bool(obj2
));
36123 if (SWIG_arg_fail(3)) SWIG_fail
;
36126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36127 (arg1
)->Check(arg2
,arg3
);
36129 wxPyEndAllowThreads(__tstate
);
36130 if (PyErr_Occurred()) SWIG_fail
;
36132 Py_INCREF(Py_None
); resultobj
= Py_None
;
36139 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36140 PyObject
*resultobj
;
36141 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36144 PyObject
* obj0
= 0 ;
36145 PyObject
* obj1
= 0 ;
36146 char *kwnames
[] = {
36147 (char *) "self",(char *) "id", NULL
36150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
36151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36152 if (SWIG_arg_fail(1)) SWIG_fail
;
36154 arg2
= (int)(SWIG_As_int(obj1
));
36155 if (SWIG_arg_fail(2)) SWIG_fail
;
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
36161 wxPyEndAllowThreads(__tstate
);
36162 if (PyErr_Occurred()) SWIG_fail
;
36165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36173 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36174 PyObject
*resultobj
;
36175 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36178 PyObject
* obj0
= 0 ;
36179 PyObject
* obj1
= 0 ;
36180 char *kwnames
[] = {
36181 (char *) "self",(char *) "id", NULL
36184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
36185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36186 if (SWIG_arg_fail(1)) SWIG_fail
;
36188 arg2
= (int)(SWIG_As_int(obj1
));
36189 if (SWIG_arg_fail(2)) SWIG_fail
;
36192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36193 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
36195 wxPyEndAllowThreads(__tstate
);
36196 if (PyErr_Occurred()) SWIG_fail
;
36199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36207 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36208 PyObject
*resultobj
;
36209 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36211 wxString
*arg3
= 0 ;
36212 bool temp3
= false ;
36213 PyObject
* obj0
= 0 ;
36214 PyObject
* obj1
= 0 ;
36215 PyObject
* obj2
= 0 ;
36216 char *kwnames
[] = {
36217 (char *) "self",(char *) "id",(char *) "label", NULL
36220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36222 if (SWIG_arg_fail(1)) SWIG_fail
;
36224 arg2
= (int)(SWIG_As_int(obj1
));
36225 if (SWIG_arg_fail(2)) SWIG_fail
;
36228 arg3
= wxString_in_helper(obj2
);
36229 if (arg3
== NULL
) SWIG_fail
;
36233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36234 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
36236 wxPyEndAllowThreads(__tstate
);
36237 if (PyErr_Occurred()) SWIG_fail
;
36239 Py_INCREF(Py_None
); resultobj
= Py_None
;
36254 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36255 PyObject
*resultobj
;
36256 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36259 PyObject
* obj0
= 0 ;
36260 PyObject
* obj1
= 0 ;
36261 char *kwnames
[] = {
36262 (char *) "self",(char *) "id", NULL
36265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36267 if (SWIG_arg_fail(1)) SWIG_fail
;
36269 arg2
= (int)(SWIG_As_int(obj1
));
36270 if (SWIG_arg_fail(2)) SWIG_fail
;
36273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36274 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
36276 wxPyEndAllowThreads(__tstate
);
36277 if (PyErr_Occurred()) SWIG_fail
;
36281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36292 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36293 PyObject
*resultobj
;
36294 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36296 wxString
*arg3
= 0 ;
36297 bool temp3
= false ;
36298 PyObject
* obj0
= 0 ;
36299 PyObject
* obj1
= 0 ;
36300 PyObject
* obj2
= 0 ;
36301 char *kwnames
[] = {
36302 (char *) "self",(char *) "id",(char *) "helpString", NULL
36305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36307 if (SWIG_arg_fail(1)) SWIG_fail
;
36309 arg2
= (int)(SWIG_As_int(obj1
));
36310 if (SWIG_arg_fail(2)) SWIG_fail
;
36313 arg3
= wxString_in_helper(obj2
);
36314 if (arg3
== NULL
) SWIG_fail
;
36318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36319 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
36321 wxPyEndAllowThreads(__tstate
);
36322 if (PyErr_Occurred()) SWIG_fail
;
36324 Py_INCREF(Py_None
); resultobj
= Py_None
;
36339 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36340 PyObject
*resultobj
;
36341 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36344 PyObject
* obj0
= 0 ;
36345 PyObject
* obj1
= 0 ;
36346 char *kwnames
[] = {
36347 (char *) "self",(char *) "id", NULL
36350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
36351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36352 if (SWIG_arg_fail(1)) SWIG_fail
;
36354 arg2
= (int)(SWIG_As_int(obj1
));
36355 if (SWIG_arg_fail(2)) SWIG_fail
;
36358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36359 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
36361 wxPyEndAllowThreads(__tstate
);
36362 if (PyErr_Occurred()) SWIG_fail
;
36366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36377 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36378 PyObject
*resultobj
;
36379 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36381 PyObject
* obj0
= 0 ;
36382 char *kwnames
[] = {
36383 (char *) "self", NULL
36386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
36387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36388 if (SWIG_arg_fail(1)) SWIG_fail
;
36390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36391 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
36393 wxPyEndAllowThreads(__tstate
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36397 resultobj
= wxPyMake_wxObject(result
, 0);
36405 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36406 PyObject
*resultobj
;
36407 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36409 PyObject
* obj0
= 0 ;
36410 char *kwnames
[] = {
36411 (char *) "self", NULL
36414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
36415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36416 if (SWIG_arg_fail(1)) SWIG_fail
;
36418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36419 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
36421 wxPyEndAllowThreads(__tstate
);
36422 if (PyErr_Occurred()) SWIG_fail
;
36425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36433 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36434 PyObject
*resultobj
;
36435 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36436 wxFrame
*arg2
= (wxFrame
*) 0 ;
36437 PyObject
* obj0
= 0 ;
36438 PyObject
* obj1
= 0 ;
36439 char *kwnames
[] = {
36440 (char *) "self",(char *) "frame", NULL
36443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
36444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36445 if (SWIG_arg_fail(1)) SWIG_fail
;
36446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
36447 if (SWIG_arg_fail(2)) SWIG_fail
;
36449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36450 (arg1
)->Attach(arg2
);
36452 wxPyEndAllowThreads(__tstate
);
36453 if (PyErr_Occurred()) SWIG_fail
;
36455 Py_INCREF(Py_None
); resultobj
= Py_None
;
36462 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36463 PyObject
*resultobj
;
36464 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36465 PyObject
* obj0
= 0 ;
36466 char *kwnames
[] = {
36467 (char *) "self", NULL
36470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
36471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36472 if (SWIG_arg_fail(1)) SWIG_fail
;
36474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36477 wxPyEndAllowThreads(__tstate
);
36478 if (PyErr_Occurred()) SWIG_fail
;
36480 Py_INCREF(Py_None
); resultobj
= Py_None
;
36487 static PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36488 PyObject
*resultobj
;
36490 PyObject
* obj0
= 0 ;
36491 char *kwnames
[] = {
36492 (char *) "enable", NULL
36495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) goto fail
;
36497 arg1
= (bool)(SWIG_As_bool(obj0
));
36498 if (SWIG_arg_fail(1)) SWIG_fail
;
36501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36502 wxMenuBar::SetAutoWindowMenu(arg1
);
36504 wxPyEndAllowThreads(__tstate
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36507 Py_INCREF(Py_None
); resultobj
= Py_None
;
36514 static PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36515 PyObject
*resultobj
;
36517 char *kwnames
[] = {
36521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuBar_GetAutoWindowMenu",kwnames
)) goto fail
;
36523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36524 result
= (bool)wxMenuBar::GetAutoWindowMenu();
36526 wxPyEndAllowThreads(__tstate
);
36527 if (PyErr_Occurred()) SWIG_fail
;
36530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36538 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
36540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36541 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
36543 return Py_BuildValue((char *)"");
36545 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36546 PyObject
*resultobj
;
36547 wxMenu
*arg1
= (wxMenu
*) NULL
;
36548 int arg2
= (int) wxID_ANY
;
36549 wxString
const &arg3_defvalue
= wxPyEmptyString
;
36550 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36551 wxString
const &arg4_defvalue
= wxPyEmptyString
;
36552 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36553 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
36554 wxMenu
*arg6
= (wxMenu
*) NULL
;
36555 wxMenuItem
*result
;
36556 bool temp3
= false ;
36557 bool temp4
= false ;
36558 PyObject
* obj0
= 0 ;
36559 PyObject
* obj1
= 0 ;
36560 PyObject
* obj2
= 0 ;
36561 PyObject
* obj3
= 0 ;
36562 PyObject
* obj4
= 0 ;
36563 PyObject
* obj5
= 0 ;
36564 char *kwnames
[] = {
36565 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
36568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36571 if (SWIG_arg_fail(1)) SWIG_fail
;
36575 arg2
= (int)(SWIG_As_int(obj1
));
36576 if (SWIG_arg_fail(2)) SWIG_fail
;
36581 arg3
= wxString_in_helper(obj2
);
36582 if (arg3
== NULL
) SWIG_fail
;
36588 arg4
= wxString_in_helper(obj3
);
36589 if (arg4
== NULL
) SWIG_fail
;
36595 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36596 if (SWIG_arg_fail(5)) SWIG_fail
;
36600 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36601 if (SWIG_arg_fail(6)) SWIG_fail
;
36604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36605 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36607 wxPyEndAllowThreads(__tstate
);
36608 if (PyErr_Occurred()) SWIG_fail
;
36611 resultobj
= wxPyMake_wxObject(result
, 1);
36635 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36636 PyObject
*resultobj
;
36637 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36639 PyObject
* obj0
= 0 ;
36640 char *kwnames
[] = {
36641 (char *) "self", NULL
36644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36646 if (SWIG_arg_fail(1)) SWIG_fail
;
36648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36649 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36651 wxPyEndAllowThreads(__tstate
);
36652 if (PyErr_Occurred()) SWIG_fail
;
36655 resultobj
= wxPyMake_wxObject(result
, 0);
36663 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36664 PyObject
*resultobj
;
36665 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36666 wxMenu
*arg2
= (wxMenu
*) 0 ;
36667 PyObject
* obj0
= 0 ;
36668 PyObject
* obj1
= 0 ;
36669 char *kwnames
[] = {
36670 (char *) "self",(char *) "menu", NULL
36673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36675 if (SWIG_arg_fail(1)) SWIG_fail
;
36676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36677 if (SWIG_arg_fail(2)) SWIG_fail
;
36679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36680 (arg1
)->SetMenu(arg2
);
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36685 Py_INCREF(Py_None
); resultobj
= Py_None
;
36692 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36693 PyObject
*resultobj
;
36694 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36696 PyObject
* obj0
= 0 ;
36697 PyObject
* obj1
= 0 ;
36698 char *kwnames
[] = {
36699 (char *) "self",(char *) "id", NULL
36702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36704 if (SWIG_arg_fail(1)) SWIG_fail
;
36706 arg2
= (int)(SWIG_As_int(obj1
));
36707 if (SWIG_arg_fail(2)) SWIG_fail
;
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 (arg1
)->SetId(arg2
);
36713 wxPyEndAllowThreads(__tstate
);
36714 if (PyErr_Occurred()) SWIG_fail
;
36716 Py_INCREF(Py_None
); resultobj
= Py_None
;
36723 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36724 PyObject
*resultobj
;
36725 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36727 PyObject
* obj0
= 0 ;
36728 char *kwnames
[] = {
36729 (char *) "self", NULL
36732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36734 if (SWIG_arg_fail(1)) SWIG_fail
;
36736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36737 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36739 wxPyEndAllowThreads(__tstate
);
36740 if (PyErr_Occurred()) SWIG_fail
;
36743 resultobj
= SWIG_From_int((int)(result
));
36751 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36752 PyObject
*resultobj
;
36753 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36755 PyObject
* obj0
= 0 ;
36756 char *kwnames
[] = {
36757 (char *) "self", NULL
36760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36762 if (SWIG_arg_fail(1)) SWIG_fail
;
36764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36765 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36767 wxPyEndAllowThreads(__tstate
);
36768 if (PyErr_Occurred()) SWIG_fail
;
36771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36779 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36780 PyObject
*resultobj
;
36781 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36782 wxString
*arg2
= 0 ;
36783 bool temp2
= false ;
36784 PyObject
* obj0
= 0 ;
36785 PyObject
* obj1
= 0 ;
36786 char *kwnames
[] = {
36787 (char *) "self",(char *) "str", NULL
36790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36792 if (SWIG_arg_fail(1)) SWIG_fail
;
36794 arg2
= wxString_in_helper(obj1
);
36795 if (arg2
== NULL
) SWIG_fail
;
36799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36800 (arg1
)->SetText((wxString
const &)*arg2
);
36802 wxPyEndAllowThreads(__tstate
);
36803 if (PyErr_Occurred()) SWIG_fail
;
36805 Py_INCREF(Py_None
); resultobj
= Py_None
;
36820 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36821 PyObject
*resultobj
;
36822 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36824 PyObject
* obj0
= 0 ;
36825 char *kwnames
[] = {
36826 (char *) "self", NULL
36829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36831 if (SWIG_arg_fail(1)) SWIG_fail
;
36833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36834 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36836 wxPyEndAllowThreads(__tstate
);
36837 if (PyErr_Occurred()) SWIG_fail
;
36841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36852 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36853 PyObject
*resultobj
;
36854 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36856 PyObject
* obj0
= 0 ;
36857 char *kwnames
[] = {
36858 (char *) "self", NULL
36861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36863 if (SWIG_arg_fail(1)) SWIG_fail
;
36865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36867 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36868 result
= (wxString
*) &_result_ref
;
36871 wxPyEndAllowThreads(__tstate
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36878 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36887 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36888 PyObject
*resultobj
;
36889 wxString
*arg1
= 0 ;
36891 bool temp1
= false ;
36892 PyObject
* obj0
= 0 ;
36893 char *kwnames
[] = {
36894 (char *) "text", NULL
36897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36899 arg1
= wxString_in_helper(obj0
);
36900 if (arg1
== NULL
) SWIG_fail
;
36904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36905 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36907 wxPyEndAllowThreads(__tstate
);
36908 if (PyErr_Occurred()) SWIG_fail
;
36912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36931 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36932 PyObject
*resultobj
;
36933 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36935 PyObject
* obj0
= 0 ;
36936 char *kwnames
[] = {
36937 (char *) "self", NULL
36940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36942 if (SWIG_arg_fail(1)) SWIG_fail
;
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36947 wxPyEndAllowThreads(__tstate
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36950 resultobj
= SWIG_From_int((result
));
36957 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36958 PyObject
*resultobj
;
36959 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36961 PyObject
* obj0
= 0 ;
36962 PyObject
* obj1
= 0 ;
36963 char *kwnames
[] = {
36964 (char *) "self",(char *) "kind", NULL
36967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36969 if (SWIG_arg_fail(1)) SWIG_fail
;
36971 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36972 if (SWIG_arg_fail(2)) SWIG_fail
;
36975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36976 (arg1
)->SetKind((wxItemKind
)arg2
);
36978 wxPyEndAllowThreads(__tstate
);
36979 if (PyErr_Occurred()) SWIG_fail
;
36981 Py_INCREF(Py_None
); resultobj
= Py_None
;
36988 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36989 PyObject
*resultobj
;
36990 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36992 PyObject
* obj0
= 0 ;
36993 PyObject
* obj1
= 0 ;
36994 char *kwnames
[] = {
36995 (char *) "self",(char *) "checkable", NULL
36998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37000 if (SWIG_arg_fail(1)) SWIG_fail
;
37002 arg2
= (bool)(SWIG_As_bool(obj1
));
37003 if (SWIG_arg_fail(2)) SWIG_fail
;
37006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37007 (arg1
)->SetCheckable(arg2
);
37009 wxPyEndAllowThreads(__tstate
);
37010 if (PyErr_Occurred()) SWIG_fail
;
37012 Py_INCREF(Py_None
); resultobj
= Py_None
;
37019 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37020 PyObject
*resultobj
;
37021 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37023 PyObject
* obj0
= 0 ;
37024 char *kwnames
[] = {
37025 (char *) "self", NULL
37028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37033 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
37035 wxPyEndAllowThreads(__tstate
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37047 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37048 PyObject
*resultobj
;
37049 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37051 PyObject
* obj0
= 0 ;
37052 char *kwnames
[] = {
37053 (char *) "self", NULL
37056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
37057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37058 if (SWIG_arg_fail(1)) SWIG_fail
;
37060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37061 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
37063 wxPyEndAllowThreads(__tstate
);
37064 if (PyErr_Occurred()) SWIG_fail
;
37067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37075 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37076 PyObject
*resultobj
;
37077 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37078 wxMenu
*arg2
= (wxMenu
*) 0 ;
37079 PyObject
* obj0
= 0 ;
37080 PyObject
* obj1
= 0 ;
37081 char *kwnames
[] = {
37082 (char *) "self",(char *) "menu", NULL
37085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
37086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37087 if (SWIG_arg_fail(1)) SWIG_fail
;
37088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
37089 if (SWIG_arg_fail(2)) SWIG_fail
;
37091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 (arg1
)->SetSubMenu(arg2
);
37094 wxPyEndAllowThreads(__tstate
);
37095 if (PyErr_Occurred()) SWIG_fail
;
37097 Py_INCREF(Py_None
); resultobj
= Py_None
;
37104 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37105 PyObject
*resultobj
;
37106 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37108 PyObject
* obj0
= 0 ;
37109 char *kwnames
[] = {
37110 (char *) "self", NULL
37113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
37114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37115 if (SWIG_arg_fail(1)) SWIG_fail
;
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
37120 wxPyEndAllowThreads(__tstate
);
37121 if (PyErr_Occurred()) SWIG_fail
;
37124 resultobj
= wxPyMake_wxObject(result
, 0);
37132 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37133 PyObject
*resultobj
;
37134 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37135 bool arg2
= (bool) true ;
37136 PyObject
* obj0
= 0 ;
37137 PyObject
* obj1
= 0 ;
37138 char *kwnames
[] = {
37139 (char *) "self",(char *) "enable", NULL
37142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
37143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37144 if (SWIG_arg_fail(1)) SWIG_fail
;
37147 arg2
= (bool)(SWIG_As_bool(obj1
));
37148 if (SWIG_arg_fail(2)) SWIG_fail
;
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 (arg1
)->Enable(arg2
);
37155 wxPyEndAllowThreads(__tstate
);
37156 if (PyErr_Occurred()) SWIG_fail
;
37158 Py_INCREF(Py_None
); resultobj
= Py_None
;
37165 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37166 PyObject
*resultobj
;
37167 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37169 PyObject
* obj0
= 0 ;
37170 char *kwnames
[] = {
37171 (char *) "self", NULL
37174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
37175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37176 if (SWIG_arg_fail(1)) SWIG_fail
;
37178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37179 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37193 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37194 PyObject
*resultobj
;
37195 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37196 bool arg2
= (bool) true ;
37197 PyObject
* obj0
= 0 ;
37198 PyObject
* obj1
= 0 ;
37199 char *kwnames
[] = {
37200 (char *) "self",(char *) "check", NULL
37203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
37204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37205 if (SWIG_arg_fail(1)) SWIG_fail
;
37208 arg2
= (bool)(SWIG_As_bool(obj1
));
37209 if (SWIG_arg_fail(2)) SWIG_fail
;
37213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37214 (arg1
)->Check(arg2
);
37216 wxPyEndAllowThreads(__tstate
);
37217 if (PyErr_Occurred()) SWIG_fail
;
37219 Py_INCREF(Py_None
); resultobj
= Py_None
;
37226 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37227 PyObject
*resultobj
;
37228 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37230 PyObject
* obj0
= 0 ;
37231 char *kwnames
[] = {
37232 (char *) "self", NULL
37235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
37236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37237 if (SWIG_arg_fail(1)) SWIG_fail
;
37239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37240 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
37242 wxPyEndAllowThreads(__tstate
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37254 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37255 PyObject
*resultobj
;
37256 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37257 PyObject
* obj0
= 0 ;
37258 char *kwnames
[] = {
37259 (char *) "self", NULL
37262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
37263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37264 if (SWIG_arg_fail(1)) SWIG_fail
;
37266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37269 wxPyEndAllowThreads(__tstate
);
37270 if (PyErr_Occurred()) SWIG_fail
;
37272 Py_INCREF(Py_None
); resultobj
= Py_None
;
37279 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37280 PyObject
*resultobj
;
37281 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37282 wxString
*arg2
= 0 ;
37283 bool temp2
= false ;
37284 PyObject
* obj0
= 0 ;
37285 PyObject
* obj1
= 0 ;
37286 char *kwnames
[] = {
37287 (char *) "self",(char *) "str", NULL
37290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
37291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37292 if (SWIG_arg_fail(1)) SWIG_fail
;
37294 arg2
= wxString_in_helper(obj1
);
37295 if (arg2
== NULL
) SWIG_fail
;
37299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37300 (arg1
)->SetHelp((wxString
const &)*arg2
);
37302 wxPyEndAllowThreads(__tstate
);
37303 if (PyErr_Occurred()) SWIG_fail
;
37305 Py_INCREF(Py_None
); resultobj
= Py_None
;
37320 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37321 PyObject
*resultobj
;
37322 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37324 PyObject
* obj0
= 0 ;
37325 char *kwnames
[] = {
37326 (char *) "self", NULL
37329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
37330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37331 if (SWIG_arg_fail(1)) SWIG_fail
;
37333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37335 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
37336 result
= (wxString
*) &_result_ref
;
37339 wxPyEndAllowThreads(__tstate
);
37340 if (PyErr_Occurred()) SWIG_fail
;
37344 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
37346 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
37355 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37356 PyObject
*resultobj
;
37357 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37358 wxAcceleratorEntry
*result
;
37359 PyObject
* obj0
= 0 ;
37360 char *kwnames
[] = {
37361 (char *) "self", NULL
37364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
37365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37366 if (SWIG_arg_fail(1)) SWIG_fail
;
37368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37369 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
37371 wxPyEndAllowThreads(__tstate
);
37372 if (PyErr_Occurred()) SWIG_fail
;
37374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
37381 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37382 PyObject
*resultobj
;
37383 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37384 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
37385 PyObject
* obj0
= 0 ;
37386 PyObject
* obj1
= 0 ;
37387 char *kwnames
[] = {
37388 (char *) "self",(char *) "accel", NULL
37391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
37392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37393 if (SWIG_arg_fail(1)) SWIG_fail
;
37394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
37395 if (SWIG_arg_fail(2)) SWIG_fail
;
37397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37398 (arg1
)->SetAccel(arg2
);
37400 wxPyEndAllowThreads(__tstate
);
37401 if (PyErr_Occurred()) SWIG_fail
;
37403 Py_INCREF(Py_None
); resultobj
= Py_None
;
37410 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37411 PyObject
*resultobj
;
37412 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37414 PyObject
* obj0
= 0 ;
37415 PyObject
* obj1
= 0 ;
37416 char *kwnames
[] = {
37417 (char *) "self",(char *) "font", NULL
37420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
37421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37422 if (SWIG_arg_fail(1)) SWIG_fail
;
37424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
37425 if (SWIG_arg_fail(2)) SWIG_fail
;
37426 if (arg2
== NULL
) {
37427 SWIG_null_ref("wxFont");
37429 if (SWIG_arg_fail(2)) SWIG_fail
;
37432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37433 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
37435 wxPyEndAllowThreads(__tstate
);
37436 if (PyErr_Occurred()) SWIG_fail
;
37438 Py_INCREF(Py_None
); resultobj
= Py_None
;
37445 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37446 PyObject
*resultobj
;
37447 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37449 PyObject
* obj0
= 0 ;
37450 char *kwnames
[] = {
37451 (char *) "self", NULL
37454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
37455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37456 if (SWIG_arg_fail(1)) SWIG_fail
;
37458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37459 result
= wxMenuItem_GetFont(arg1
);
37461 wxPyEndAllowThreads(__tstate
);
37462 if (PyErr_Occurred()) SWIG_fail
;
37465 wxFont
* resultptr
;
37466 resultptr
= new wxFont((wxFont
&)(result
));
37467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
37475 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37476 PyObject
*resultobj
;
37477 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37478 wxColour
*arg2
= 0 ;
37480 PyObject
* obj0
= 0 ;
37481 PyObject
* obj1
= 0 ;
37482 char *kwnames
[] = {
37483 (char *) "self",(char *) "colText", NULL
37486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
37487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37488 if (SWIG_arg_fail(1)) SWIG_fail
;
37491 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37495 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
37497 wxPyEndAllowThreads(__tstate
);
37498 if (PyErr_Occurred()) SWIG_fail
;
37500 Py_INCREF(Py_None
); resultobj
= Py_None
;
37507 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37508 PyObject
*resultobj
;
37509 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37511 PyObject
* obj0
= 0 ;
37512 char *kwnames
[] = {
37513 (char *) "self", NULL
37516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
37517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37518 if (SWIG_arg_fail(1)) SWIG_fail
;
37520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37521 result
= wxMenuItem_GetTextColour(arg1
);
37523 wxPyEndAllowThreads(__tstate
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37527 wxColour
* resultptr
;
37528 resultptr
= new wxColour((wxColour
&)(result
));
37529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37537 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37538 PyObject
*resultobj
;
37539 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37540 wxColour
*arg2
= 0 ;
37542 PyObject
* obj0
= 0 ;
37543 PyObject
* obj1
= 0 ;
37544 char *kwnames
[] = {
37545 (char *) "self",(char *) "colBack", NULL
37548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
37549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37550 if (SWIG_arg_fail(1)) SWIG_fail
;
37553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37557 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
37559 wxPyEndAllowThreads(__tstate
);
37560 if (PyErr_Occurred()) SWIG_fail
;
37562 Py_INCREF(Py_None
); resultobj
= Py_None
;
37569 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37570 PyObject
*resultobj
;
37571 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37573 PyObject
* obj0
= 0 ;
37574 char *kwnames
[] = {
37575 (char *) "self", NULL
37578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
37579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37580 if (SWIG_arg_fail(1)) SWIG_fail
;
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 result
= wxMenuItem_GetBackgroundColour(arg1
);
37585 wxPyEndAllowThreads(__tstate
);
37586 if (PyErr_Occurred()) SWIG_fail
;
37589 wxColour
* resultptr
;
37590 resultptr
= new wxColour((wxColour
&)(result
));
37591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37599 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37600 PyObject
*resultobj
;
37601 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37602 wxBitmap
*arg2
= 0 ;
37603 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37604 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37605 PyObject
* obj0
= 0 ;
37606 PyObject
* obj1
= 0 ;
37607 PyObject
* obj2
= 0 ;
37608 char *kwnames
[] = {
37609 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37614 if (SWIG_arg_fail(1)) SWIG_fail
;
37616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37617 if (SWIG_arg_fail(2)) SWIG_fail
;
37618 if (arg2
== NULL
) {
37619 SWIG_null_ref("wxBitmap");
37621 if (SWIG_arg_fail(2)) SWIG_fail
;
37625 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37626 if (SWIG_arg_fail(3)) SWIG_fail
;
37627 if (arg3
== NULL
) {
37628 SWIG_null_ref("wxBitmap");
37630 if (SWIG_arg_fail(3)) SWIG_fail
;
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37637 wxPyEndAllowThreads(__tstate
);
37638 if (PyErr_Occurred()) SWIG_fail
;
37640 Py_INCREF(Py_None
); resultobj
= Py_None
;
37647 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37648 PyObject
*resultobj
;
37649 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37650 wxBitmap
*arg2
= 0 ;
37651 PyObject
* obj0
= 0 ;
37652 PyObject
* obj1
= 0 ;
37653 char *kwnames
[] = {
37654 (char *) "self",(char *) "bmpDisabled", NULL
37657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37659 if (SWIG_arg_fail(1)) SWIG_fail
;
37661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37662 if (SWIG_arg_fail(2)) SWIG_fail
;
37663 if (arg2
== NULL
) {
37664 SWIG_null_ref("wxBitmap");
37666 if (SWIG_arg_fail(2)) SWIG_fail
;
37669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37670 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
37672 wxPyEndAllowThreads(__tstate
);
37673 if (PyErr_Occurred()) SWIG_fail
;
37675 Py_INCREF(Py_None
); resultobj
= Py_None
;
37682 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37683 PyObject
*resultobj
;
37684 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37686 PyObject
* obj0
= 0 ;
37687 char *kwnames
[] = {
37688 (char *) "self", NULL
37691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37693 if (SWIG_arg_fail(1)) SWIG_fail
;
37695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37697 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37698 result
= (wxBitmap
*) &_result_ref
;
37701 wxPyEndAllowThreads(__tstate
);
37702 if (PyErr_Occurred()) SWIG_fail
;
37705 wxBitmap
* resultptr
= new wxBitmap(*result
);
37706 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37714 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37715 PyObject
*resultobj
;
37716 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37718 PyObject
* obj0
= 0 ;
37719 PyObject
* obj1
= 0 ;
37720 char *kwnames
[] = {
37721 (char *) "self",(char *) "nWidth", NULL
37724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37726 if (SWIG_arg_fail(1)) SWIG_fail
;
37728 arg2
= (int)(SWIG_As_int(obj1
));
37729 if (SWIG_arg_fail(2)) SWIG_fail
;
37732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37733 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37735 wxPyEndAllowThreads(__tstate
);
37736 if (PyErr_Occurred()) SWIG_fail
;
37738 Py_INCREF(Py_None
); resultobj
= Py_None
;
37745 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37746 PyObject
*resultobj
;
37747 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37749 PyObject
* obj0
= 0 ;
37750 char *kwnames
[] = {
37751 (char *) "self", NULL
37754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37756 if (SWIG_arg_fail(1)) SWIG_fail
;
37758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37759 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37761 wxPyEndAllowThreads(__tstate
);
37762 if (PyErr_Occurred()) SWIG_fail
;
37765 resultobj
= SWIG_From_int((int)(result
));
37773 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37774 PyObject
*resultobj
;
37776 char *kwnames
[] = {
37780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37783 result
= (int)MenuItem_GetDefaultMarginWidth();
37785 wxPyEndAllowThreads(__tstate
);
37786 if (PyErr_Occurred()) SWIG_fail
;
37789 resultobj
= SWIG_From_int((int)(result
));
37797 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37798 PyObject
*resultobj
;
37799 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37801 PyObject
* obj0
= 0 ;
37802 char *kwnames
[] = {
37803 (char *) "self", NULL
37806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37808 if (SWIG_arg_fail(1)) SWIG_fail
;
37810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37811 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37813 wxPyEndAllowThreads(__tstate
);
37814 if (PyErr_Occurred()) SWIG_fail
;
37817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37825 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37826 PyObject
*resultobj
;
37827 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37828 bool arg2
= (bool) true ;
37829 PyObject
* obj0
= 0 ;
37830 PyObject
* obj1
= 0 ;
37831 char *kwnames
[] = {
37832 (char *) "self",(char *) "ownerDrawn", NULL
37835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37837 if (SWIG_arg_fail(1)) SWIG_fail
;
37840 arg2
= (bool)(SWIG_As_bool(obj1
));
37841 if (SWIG_arg_fail(2)) SWIG_fail
;
37845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37846 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37848 wxPyEndAllowThreads(__tstate
);
37849 if (PyErr_Occurred()) SWIG_fail
;
37851 Py_INCREF(Py_None
); resultobj
= Py_None
;
37858 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37859 PyObject
*resultobj
;
37860 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37861 PyObject
* obj0
= 0 ;
37862 char *kwnames
[] = {
37863 (char *) "self", NULL
37866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37868 if (SWIG_arg_fail(1)) SWIG_fail
;
37870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37871 wxMenuItem_ResetOwnerDrawn(arg1
);
37873 wxPyEndAllowThreads(__tstate
);
37874 if (PyErr_Occurred()) SWIG_fail
;
37876 Py_INCREF(Py_None
); resultobj
= Py_None
;
37883 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37884 PyObject
*resultobj
;
37885 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37886 wxBitmap
*arg2
= 0 ;
37887 PyObject
* obj0
= 0 ;
37888 PyObject
* obj1
= 0 ;
37889 char *kwnames
[] = {
37890 (char *) "self",(char *) "bitmap", NULL
37893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37895 if (SWIG_arg_fail(1)) SWIG_fail
;
37897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37898 if (SWIG_arg_fail(2)) SWIG_fail
;
37899 if (arg2
== NULL
) {
37900 SWIG_null_ref("wxBitmap");
37902 if (SWIG_arg_fail(2)) SWIG_fail
;
37905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37906 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37908 wxPyEndAllowThreads(__tstate
);
37909 if (PyErr_Occurred()) SWIG_fail
;
37911 Py_INCREF(Py_None
); resultobj
= Py_None
;
37918 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37919 PyObject
*resultobj
;
37920 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37922 PyObject
* obj0
= 0 ;
37923 char *kwnames
[] = {
37924 (char *) "self", NULL
37927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37929 if (SWIG_arg_fail(1)) SWIG_fail
;
37931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37933 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37934 result
= (wxBitmap
*) &_result_ref
;
37937 wxPyEndAllowThreads(__tstate
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37941 wxBitmap
* resultptr
= new wxBitmap(*result
);
37942 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37950 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37953 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37955 return Py_BuildValue((char *)"");
37957 static int _wrap_ControlNameStr_set(PyObject
*) {
37958 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37963 static PyObject
*_wrap_ControlNameStr_get(void) {
37968 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37970 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37977 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37978 PyObject
*resultobj
;
37979 wxWindow
*arg1
= (wxWindow
*) 0 ;
37980 int arg2
= (int) -1 ;
37981 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37982 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37983 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37984 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37985 long arg5
= (long) 0 ;
37986 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37987 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37988 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37989 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37993 bool temp7
= false ;
37994 PyObject
* obj0
= 0 ;
37995 PyObject
* obj1
= 0 ;
37996 PyObject
* obj2
= 0 ;
37997 PyObject
* obj3
= 0 ;
37998 PyObject
* obj4
= 0 ;
37999 PyObject
* obj5
= 0 ;
38000 PyObject
* obj6
= 0 ;
38001 char *kwnames
[] = {
38002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38007 if (SWIG_arg_fail(1)) SWIG_fail
;
38010 arg2
= (int)(SWIG_As_int(obj1
));
38011 if (SWIG_arg_fail(2)) SWIG_fail
;
38017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38023 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38028 arg5
= (long)(SWIG_As_long(obj4
));
38029 if (SWIG_arg_fail(5)) SWIG_fail
;
38034 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
38035 if (SWIG_arg_fail(6)) SWIG_fail
;
38036 if (arg6
== NULL
) {
38037 SWIG_null_ref("wxValidator");
38039 if (SWIG_arg_fail(6)) SWIG_fail
;
38044 arg7
= wxString_in_helper(obj6
);
38045 if (arg7
== NULL
) SWIG_fail
;
38050 if (!wxPyCheckForApp()) SWIG_fail
;
38051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38052 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38054 wxPyEndAllowThreads(__tstate
);
38055 if (PyErr_Occurred()) SWIG_fail
;
38057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
38072 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38073 PyObject
*resultobj
;
38075 char *kwnames
[] = {
38079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
38081 if (!wxPyCheckForApp()) SWIG_fail
;
38082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38083 result
= (wxControl
*)new wxControl();
38085 wxPyEndAllowThreads(__tstate
);
38086 if (PyErr_Occurred()) SWIG_fail
;
38088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
38095 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38096 PyObject
*resultobj
;
38097 wxControl
*arg1
= (wxControl
*) 0 ;
38098 wxWindow
*arg2
= (wxWindow
*) 0 ;
38099 int arg3
= (int) -1 ;
38100 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38101 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38102 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38103 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38104 long arg6
= (long) 0 ;
38105 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
38106 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
38107 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
38108 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
38112 bool temp8
= false ;
38113 PyObject
* obj0
= 0 ;
38114 PyObject
* obj1
= 0 ;
38115 PyObject
* obj2
= 0 ;
38116 PyObject
* obj3
= 0 ;
38117 PyObject
* obj4
= 0 ;
38118 PyObject
* obj5
= 0 ;
38119 PyObject
* obj6
= 0 ;
38120 PyObject
* obj7
= 0 ;
38121 char *kwnames
[] = {
38122 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
38126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38127 if (SWIG_arg_fail(1)) SWIG_fail
;
38128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38129 if (SWIG_arg_fail(2)) SWIG_fail
;
38132 arg3
= (int)(SWIG_As_int(obj2
));
38133 if (SWIG_arg_fail(3)) SWIG_fail
;
38139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38150 arg6
= (long)(SWIG_As_long(obj5
));
38151 if (SWIG_arg_fail(6)) SWIG_fail
;
38156 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
38157 if (SWIG_arg_fail(7)) SWIG_fail
;
38158 if (arg7
== NULL
) {
38159 SWIG_null_ref("wxValidator");
38161 if (SWIG_arg_fail(7)) SWIG_fail
;
38166 arg8
= wxString_in_helper(obj7
);
38167 if (arg8
== NULL
) SWIG_fail
;
38172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38173 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
38175 wxPyEndAllowThreads(__tstate
);
38176 if (PyErr_Occurred()) SWIG_fail
;
38179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38195 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38196 PyObject
*resultobj
;
38197 wxControl
*arg1
= (wxControl
*) 0 ;
38198 wxCommandEvent
*arg2
= 0 ;
38199 PyObject
* obj0
= 0 ;
38200 PyObject
* obj1
= 0 ;
38201 char *kwnames
[] = {
38202 (char *) "self",(char *) "event", NULL
38205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
38206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38207 if (SWIG_arg_fail(1)) SWIG_fail
;
38209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
38210 if (SWIG_arg_fail(2)) SWIG_fail
;
38211 if (arg2
== NULL
) {
38212 SWIG_null_ref("wxCommandEvent");
38214 if (SWIG_arg_fail(2)) SWIG_fail
;
38217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38218 (arg1
)->Command(*arg2
);
38220 wxPyEndAllowThreads(__tstate
);
38221 if (PyErr_Occurred()) SWIG_fail
;
38223 Py_INCREF(Py_None
); resultobj
= Py_None
;
38230 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38231 PyObject
*resultobj
;
38232 wxControl
*arg1
= (wxControl
*) 0 ;
38234 PyObject
* obj0
= 0 ;
38235 char *kwnames
[] = {
38236 (char *) "self", NULL
38239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
38240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38241 if (SWIG_arg_fail(1)) SWIG_fail
;
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 result
= (arg1
)->GetLabel();
38246 wxPyEndAllowThreads(__tstate
);
38247 if (PyErr_Occurred()) SWIG_fail
;
38251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38262 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38263 PyObject
*resultobj
;
38264 wxControl
*arg1
= (wxControl
*) 0 ;
38265 wxString
*arg2
= 0 ;
38266 bool temp2
= false ;
38267 PyObject
* obj0
= 0 ;
38268 PyObject
* obj1
= 0 ;
38269 char *kwnames
[] = {
38270 (char *) "self",(char *) "label", NULL
38273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
38274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38275 if (SWIG_arg_fail(1)) SWIG_fail
;
38277 arg2
= wxString_in_helper(obj1
);
38278 if (arg2
== NULL
) SWIG_fail
;
38282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38283 (arg1
)->SetLabel((wxString
const &)*arg2
);
38285 wxPyEndAllowThreads(__tstate
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38288 Py_INCREF(Py_None
); resultobj
= Py_None
;
38303 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38304 PyObject
*resultobj
;
38305 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
38306 wxVisualAttributes result
;
38307 PyObject
* obj0
= 0 ;
38308 char *kwnames
[] = {
38309 (char *) "variant", NULL
38312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
38315 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
38316 if (SWIG_arg_fail(1)) SWIG_fail
;
38320 if (!wxPyCheckForApp()) SWIG_fail
;
38321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38322 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
38324 wxPyEndAllowThreads(__tstate
);
38325 if (PyErr_Occurred()) SWIG_fail
;
38328 wxVisualAttributes
* resultptr
;
38329 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
38330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
38338 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
38340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38341 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
38343 return Py_BuildValue((char *)"");
38345 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38346 PyObject
*resultobj
;
38347 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38348 wxString
*arg2
= 0 ;
38349 PyObject
*arg3
= (PyObject
*) NULL
;
38351 bool temp2
= false ;
38352 PyObject
* obj0
= 0 ;
38353 PyObject
* obj1
= 0 ;
38354 PyObject
* obj2
= 0 ;
38355 char *kwnames
[] = {
38356 (char *) "self",(char *) "item",(char *) "clientData", NULL
38359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38361 if (SWIG_arg_fail(1)) SWIG_fail
;
38363 arg2
= wxString_in_helper(obj1
);
38364 if (arg2
== NULL
) SWIG_fail
;
38371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38372 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
38374 wxPyEndAllowThreads(__tstate
);
38375 if (PyErr_Occurred()) SWIG_fail
;
38378 resultobj
= SWIG_From_int((int)(result
));
38394 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38395 PyObject
*resultobj
;
38396 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38397 wxArrayString
*arg2
= 0 ;
38398 bool temp2
= false ;
38399 PyObject
* obj0
= 0 ;
38400 PyObject
* obj1
= 0 ;
38401 char *kwnames
[] = {
38402 (char *) "self",(char *) "strings", NULL
38405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
38406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38407 if (SWIG_arg_fail(1)) SWIG_fail
;
38409 if (! PySequence_Check(obj1
)) {
38410 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38413 arg2
= new wxArrayString
;
38415 int i
, len
=PySequence_Length(obj1
);
38416 for (i
=0; i
<len
; i
++) {
38417 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38418 wxString
* s
= wxString_in_helper(item
);
38419 if (PyErr_Occurred()) SWIG_fail
;
38426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38427 (arg1
)->Append((wxArrayString
const &)*arg2
);
38429 wxPyEndAllowThreads(__tstate
);
38430 if (PyErr_Occurred()) SWIG_fail
;
38432 Py_INCREF(Py_None
); resultobj
= Py_None
;
38434 if (temp2
) delete arg2
;
38439 if (temp2
) delete arg2
;
38445 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38446 PyObject
*resultobj
;
38447 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38448 wxString
*arg2
= 0 ;
38450 PyObject
*arg4
= (PyObject
*) NULL
;
38452 bool temp2
= false ;
38453 PyObject
* obj0
= 0 ;
38454 PyObject
* obj1
= 0 ;
38455 PyObject
* obj2
= 0 ;
38456 PyObject
* obj3
= 0 ;
38457 char *kwnames
[] = {
38458 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
38461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38463 if (SWIG_arg_fail(1)) SWIG_fail
;
38465 arg2
= wxString_in_helper(obj1
);
38466 if (arg2
== NULL
) SWIG_fail
;
38470 arg3
= (int)(SWIG_As_int(obj2
));
38471 if (SWIG_arg_fail(3)) SWIG_fail
;
38477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38478 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
38480 wxPyEndAllowThreads(__tstate
);
38481 if (PyErr_Occurred()) SWIG_fail
;
38484 resultobj
= SWIG_From_int((int)(result
));
38500 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38501 PyObject
*resultobj
;
38502 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38503 PyObject
* obj0
= 0 ;
38504 char *kwnames
[] = {
38505 (char *) "self", NULL
38508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
38509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38510 if (SWIG_arg_fail(1)) SWIG_fail
;
38512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38515 wxPyEndAllowThreads(__tstate
);
38516 if (PyErr_Occurred()) SWIG_fail
;
38518 Py_INCREF(Py_None
); resultobj
= Py_None
;
38525 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38526 PyObject
*resultobj
;
38527 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38529 PyObject
* obj0
= 0 ;
38530 PyObject
* obj1
= 0 ;
38531 char *kwnames
[] = {
38532 (char *) "self",(char *) "n", NULL
38535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
38536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38537 if (SWIG_arg_fail(1)) SWIG_fail
;
38539 arg2
= (int)(SWIG_As_int(obj1
));
38540 if (SWIG_arg_fail(2)) SWIG_fail
;
38543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38544 (arg1
)->Delete(arg2
);
38546 wxPyEndAllowThreads(__tstate
);
38547 if (PyErr_Occurred()) SWIG_fail
;
38549 Py_INCREF(Py_None
); resultobj
= Py_None
;
38556 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38557 PyObject
*resultobj
;
38558 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38561 PyObject
* obj0
= 0 ;
38562 PyObject
* obj1
= 0 ;
38563 char *kwnames
[] = {
38564 (char *) "self",(char *) "n", NULL
38567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
38568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38569 if (SWIG_arg_fail(1)) SWIG_fail
;
38571 arg2
= (int)(SWIG_As_int(obj1
));
38572 if (SWIG_arg_fail(2)) SWIG_fail
;
38575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38576 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
38578 wxPyEndAllowThreads(__tstate
);
38579 if (PyErr_Occurred()) SWIG_fail
;
38581 resultobj
= result
;
38588 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38589 PyObject
*resultobj
;
38590 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38592 PyObject
*arg3
= (PyObject
*) 0 ;
38593 PyObject
* obj0
= 0 ;
38594 PyObject
* obj1
= 0 ;
38595 PyObject
* obj2
= 0 ;
38596 char *kwnames
[] = {
38597 (char *) "self",(char *) "n",(char *) "clientData", NULL
38600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38602 if (SWIG_arg_fail(1)) SWIG_fail
;
38604 arg2
= (int)(SWIG_As_int(obj1
));
38605 if (SWIG_arg_fail(2)) SWIG_fail
;
38609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38610 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38612 wxPyEndAllowThreads(__tstate
);
38613 if (PyErr_Occurred()) SWIG_fail
;
38615 Py_INCREF(Py_None
); resultobj
= Py_None
;
38622 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38623 PyObject
*resultobj
;
38624 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38626 PyObject
* obj0
= 0 ;
38627 char *kwnames
[] = {
38628 (char *) "self", NULL
38631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38633 if (SWIG_arg_fail(1)) SWIG_fail
;
38635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38636 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38642 resultobj
= SWIG_From_int((int)(result
));
38650 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38651 PyObject
*resultobj
;
38652 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38654 PyObject
* obj0
= 0 ;
38655 char *kwnames
[] = {
38656 (char *) "self", NULL
38659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38661 if (SWIG_arg_fail(1)) SWIG_fail
;
38663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38664 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38666 wxPyEndAllowThreads(__tstate
);
38667 if (PyErr_Occurred()) SWIG_fail
;
38670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38678 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38679 PyObject
*resultobj
;
38680 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38683 PyObject
* obj0
= 0 ;
38684 PyObject
* obj1
= 0 ;
38685 char *kwnames
[] = {
38686 (char *) "self",(char *) "n", NULL
38689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38691 if (SWIG_arg_fail(1)) SWIG_fail
;
38693 arg2
= (int)(SWIG_As_int(obj1
));
38694 if (SWIG_arg_fail(2)) SWIG_fail
;
38697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38698 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38700 wxPyEndAllowThreads(__tstate
);
38701 if (PyErr_Occurred()) SWIG_fail
;
38705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38716 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38717 PyObject
*resultobj
;
38718 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38719 wxArrayString result
;
38720 PyObject
* obj0
= 0 ;
38721 char *kwnames
[] = {
38722 (char *) "self", NULL
38725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38727 if (SWIG_arg_fail(1)) SWIG_fail
;
38729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38732 wxPyEndAllowThreads(__tstate
);
38733 if (PyErr_Occurred()) SWIG_fail
;
38736 resultobj
= wxArrayString2PyList_helper(result
);
38744 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38745 PyObject
*resultobj
;
38746 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38748 wxString
*arg3
= 0 ;
38749 bool temp3
= false ;
38750 PyObject
* obj0
= 0 ;
38751 PyObject
* obj1
= 0 ;
38752 PyObject
* obj2
= 0 ;
38753 char *kwnames
[] = {
38754 (char *) "self",(char *) "n",(char *) "s", NULL
38757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38759 if (SWIG_arg_fail(1)) SWIG_fail
;
38761 arg2
= (int)(SWIG_As_int(obj1
));
38762 if (SWIG_arg_fail(2)) SWIG_fail
;
38765 arg3
= wxString_in_helper(obj2
);
38766 if (arg3
== NULL
) SWIG_fail
;
38770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38771 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38773 wxPyEndAllowThreads(__tstate
);
38774 if (PyErr_Occurred()) SWIG_fail
;
38776 Py_INCREF(Py_None
); resultobj
= Py_None
;
38791 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38792 PyObject
*resultobj
;
38793 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38794 wxString
*arg2
= 0 ;
38796 bool temp2
= false ;
38797 PyObject
* obj0
= 0 ;
38798 PyObject
* obj1
= 0 ;
38799 char *kwnames
[] = {
38800 (char *) "self",(char *) "s", NULL
38803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38805 if (SWIG_arg_fail(1)) SWIG_fail
;
38807 arg2
= wxString_in_helper(obj1
);
38808 if (arg2
== NULL
) SWIG_fail
;
38812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38813 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38815 wxPyEndAllowThreads(__tstate
);
38816 if (PyErr_Occurred()) SWIG_fail
;
38819 resultobj
= SWIG_From_int((int)(result
));
38835 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38836 PyObject
*resultobj
;
38837 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38839 PyObject
* obj0
= 0 ;
38840 PyObject
* obj1
= 0 ;
38841 char *kwnames
[] = {
38842 (char *) "self",(char *) "n", NULL
38845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38847 if (SWIG_arg_fail(1)) SWIG_fail
;
38849 arg2
= (int)(SWIG_As_int(obj1
));
38850 if (SWIG_arg_fail(2)) SWIG_fail
;
38853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38854 (arg1
)->SetSelection(arg2
);
38856 wxPyEndAllowThreads(__tstate
);
38857 if (PyErr_Occurred()) SWIG_fail
;
38859 Py_INCREF(Py_None
); resultobj
= Py_None
;
38866 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38867 PyObject
*resultobj
;
38868 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38870 PyObject
* obj0
= 0 ;
38871 char *kwnames
[] = {
38872 (char *) "self", NULL
38875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38877 if (SWIG_arg_fail(1)) SWIG_fail
;
38879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38880 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38882 wxPyEndAllowThreads(__tstate
);
38883 if (PyErr_Occurred()) SWIG_fail
;
38886 resultobj
= SWIG_From_int((int)(result
));
38894 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38895 PyObject
*resultobj
;
38896 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38897 wxString
*arg2
= 0 ;
38899 bool temp2
= false ;
38900 PyObject
* obj0
= 0 ;
38901 PyObject
* obj1
= 0 ;
38902 char *kwnames
[] = {
38903 (char *) "self",(char *) "s", NULL
38906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38908 if (SWIG_arg_fail(1)) SWIG_fail
;
38910 arg2
= wxString_in_helper(obj1
);
38911 if (arg2
== NULL
) SWIG_fail
;
38915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38916 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38918 wxPyEndAllowThreads(__tstate
);
38919 if (PyErr_Occurred()) SWIG_fail
;
38922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38938 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38939 PyObject
*resultobj
;
38940 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38942 PyObject
* obj0
= 0 ;
38943 char *kwnames
[] = {
38944 (char *) "self", NULL
38947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38949 if (SWIG_arg_fail(1)) SWIG_fail
;
38951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38952 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38954 wxPyEndAllowThreads(__tstate
);
38955 if (PyErr_Occurred()) SWIG_fail
;
38959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38970 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38971 PyObject
*resultobj
;
38972 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38974 PyObject
* obj0
= 0 ;
38975 PyObject
* obj1
= 0 ;
38976 char *kwnames
[] = {
38977 (char *) "self",(char *) "n", NULL
38980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38982 if (SWIG_arg_fail(1)) SWIG_fail
;
38984 arg2
= (int)(SWIG_As_int(obj1
));
38985 if (SWIG_arg_fail(2)) SWIG_fail
;
38988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38989 (arg1
)->Select(arg2
);
38991 wxPyEndAllowThreads(__tstate
);
38992 if (PyErr_Occurred()) SWIG_fail
;
38994 Py_INCREF(Py_None
); resultobj
= Py_None
;
39001 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
39003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39004 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
39006 return Py_BuildValue((char *)"");
39008 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
39010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39011 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
39013 return Py_BuildValue((char *)"");
39015 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39016 PyObject
*resultobj
;
39017 wxSizerItem
*result
;
39018 char *kwnames
[] = {
39022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
39024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39025 result
= (wxSizerItem
*)new wxSizerItem();
39027 wxPyEndAllowThreads(__tstate
);
39028 if (PyErr_Occurred()) SWIG_fail
;
39030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39037 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39038 PyObject
*resultobj
;
39039 wxWindow
*arg1
= (wxWindow
*) 0 ;
39043 PyObject
*arg5
= (PyObject
*) NULL
;
39044 wxSizerItem
*result
;
39045 PyObject
* obj0
= 0 ;
39046 PyObject
* obj1
= 0 ;
39047 PyObject
* obj2
= 0 ;
39048 PyObject
* obj3
= 0 ;
39049 PyObject
* obj4
= 0 ;
39050 char *kwnames
[] = {
39051 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39056 if (SWIG_arg_fail(1)) SWIG_fail
;
39058 arg2
= (int)(SWIG_As_int(obj1
));
39059 if (SWIG_arg_fail(2)) SWIG_fail
;
39062 arg3
= (int)(SWIG_As_int(obj2
));
39063 if (SWIG_arg_fail(3)) SWIG_fail
;
39066 arg4
= (int)(SWIG_As_int(obj3
));
39067 if (SWIG_arg_fail(4)) SWIG_fail
;
39073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39074 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
39076 wxPyEndAllowThreads(__tstate
);
39077 if (PyErr_Occurred()) SWIG_fail
;
39079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39086 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39087 PyObject
*resultobj
;
39093 PyObject
*arg6
= (PyObject
*) NULL
;
39094 wxSizerItem
*result
;
39095 PyObject
* obj0
= 0 ;
39096 PyObject
* obj1
= 0 ;
39097 PyObject
* obj2
= 0 ;
39098 PyObject
* obj3
= 0 ;
39099 PyObject
* obj4
= 0 ;
39100 PyObject
* obj5
= 0 ;
39101 char *kwnames
[] = {
39102 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39107 arg1
= (int)(SWIG_As_int(obj0
));
39108 if (SWIG_arg_fail(1)) SWIG_fail
;
39111 arg2
= (int)(SWIG_As_int(obj1
));
39112 if (SWIG_arg_fail(2)) SWIG_fail
;
39115 arg3
= (int)(SWIG_As_int(obj2
));
39116 if (SWIG_arg_fail(3)) SWIG_fail
;
39119 arg4
= (int)(SWIG_As_int(obj3
));
39120 if (SWIG_arg_fail(4)) SWIG_fail
;
39123 arg5
= (int)(SWIG_As_int(obj4
));
39124 if (SWIG_arg_fail(5)) SWIG_fail
;
39130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39131 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39133 wxPyEndAllowThreads(__tstate
);
39134 if (PyErr_Occurred()) SWIG_fail
;
39136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39143 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39144 PyObject
*resultobj
;
39145 wxSizer
*arg1
= (wxSizer
*) 0 ;
39149 PyObject
*arg5
= (PyObject
*) NULL
;
39150 wxSizerItem
*result
;
39151 PyObject
* obj0
= 0 ;
39152 PyObject
* obj1
= 0 ;
39153 PyObject
* obj2
= 0 ;
39154 PyObject
* obj3
= 0 ;
39155 PyObject
* obj4
= 0 ;
39156 char *kwnames
[] = {
39157 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39162 if (SWIG_arg_fail(1)) SWIG_fail
;
39164 arg2
= (int)(SWIG_As_int(obj1
));
39165 if (SWIG_arg_fail(2)) SWIG_fail
;
39168 arg3
= (int)(SWIG_As_int(obj2
));
39169 if (SWIG_arg_fail(3)) SWIG_fail
;
39172 arg4
= (int)(SWIG_As_int(obj3
));
39173 if (SWIG_arg_fail(4)) SWIG_fail
;
39179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39180 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
39182 wxPyEndAllowThreads(__tstate
);
39183 if (PyErr_Occurred()) SWIG_fail
;
39185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39192 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39193 PyObject
*resultobj
;
39194 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39195 PyObject
* obj0
= 0 ;
39196 char *kwnames
[] = {
39197 (char *) "self", NULL
39200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39202 if (SWIG_arg_fail(1)) SWIG_fail
;
39204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39205 (arg1
)->DeleteWindows();
39207 wxPyEndAllowThreads(__tstate
);
39208 if (PyErr_Occurred()) SWIG_fail
;
39210 Py_INCREF(Py_None
); resultobj
= Py_None
;
39217 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39218 PyObject
*resultobj
;
39219 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39220 PyObject
* obj0
= 0 ;
39221 char *kwnames
[] = {
39222 (char *) "self", NULL
39225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
39226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39227 if (SWIG_arg_fail(1)) SWIG_fail
;
39229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39230 (arg1
)->DetachSizer();
39232 wxPyEndAllowThreads(__tstate
);
39233 if (PyErr_Occurred()) SWIG_fail
;
39235 Py_INCREF(Py_None
); resultobj
= Py_None
;
39242 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39243 PyObject
*resultobj
;
39244 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39246 PyObject
* obj0
= 0 ;
39247 char *kwnames
[] = {
39248 (char *) "self", NULL
39251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
39252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39253 if (SWIG_arg_fail(1)) SWIG_fail
;
39255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39256 result
= (arg1
)->GetSize();
39258 wxPyEndAllowThreads(__tstate
);
39259 if (PyErr_Occurred()) SWIG_fail
;
39262 wxSize
* resultptr
;
39263 resultptr
= new wxSize((wxSize
&)(result
));
39264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39272 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39273 PyObject
*resultobj
;
39274 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39276 PyObject
* obj0
= 0 ;
39277 char *kwnames
[] = {
39278 (char *) "self", NULL
39281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
39282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39283 if (SWIG_arg_fail(1)) SWIG_fail
;
39285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39286 result
= (arg1
)->CalcMin();
39288 wxPyEndAllowThreads(__tstate
);
39289 if (PyErr_Occurred()) SWIG_fail
;
39292 wxSize
* resultptr
;
39293 resultptr
= new wxSize((wxSize
&)(result
));
39294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39302 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39303 PyObject
*resultobj
;
39304 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39307 PyObject
* obj0
= 0 ;
39308 PyObject
* obj1
= 0 ;
39309 PyObject
* obj2
= 0 ;
39310 char *kwnames
[] = {
39311 (char *) "self",(char *) "pos",(char *) "size", NULL
39314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39316 if (SWIG_arg_fail(1)) SWIG_fail
;
39319 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
39320 if (SWIG_arg_fail(2)) SWIG_fail
;
39321 if (argp
== NULL
) {
39322 SWIG_null_ref("wxPoint");
39324 if (SWIG_arg_fail(2)) SWIG_fail
;
39329 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
39330 if (SWIG_arg_fail(3)) SWIG_fail
;
39331 if (argp
== NULL
) {
39332 SWIG_null_ref("wxSize");
39334 if (SWIG_arg_fail(3)) SWIG_fail
;
39338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39339 (arg1
)->SetDimension(arg2
,arg3
);
39341 wxPyEndAllowThreads(__tstate
);
39342 if (PyErr_Occurred()) SWIG_fail
;
39344 Py_INCREF(Py_None
); resultobj
= Py_None
;
39351 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39352 PyObject
*resultobj
;
39353 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39355 PyObject
* obj0
= 0 ;
39356 char *kwnames
[] = {
39357 (char *) "self", NULL
39360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
39361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39362 if (SWIG_arg_fail(1)) SWIG_fail
;
39364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39365 result
= (arg1
)->GetMinSize();
39367 wxPyEndAllowThreads(__tstate
);
39368 if (PyErr_Occurred()) SWIG_fail
;
39371 wxSize
* resultptr
;
39372 resultptr
= new wxSize((wxSize
&)(result
));
39373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39381 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39382 PyObject
*resultobj
;
39383 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39385 PyObject
* obj0
= 0 ;
39386 char *kwnames
[] = {
39387 (char *) "self", NULL
39390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
39391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39392 if (SWIG_arg_fail(1)) SWIG_fail
;
39394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39395 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
39397 wxPyEndAllowThreads(__tstate
);
39398 if (PyErr_Occurred()) SWIG_fail
;
39401 wxSize
* resultptr
;
39402 resultptr
= new wxSize((wxSize
&)(result
));
39403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39411 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39412 PyObject
*resultobj
;
39413 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39416 PyObject
* obj0
= 0 ;
39417 PyObject
* obj1
= 0 ;
39418 PyObject
* obj2
= 0 ;
39419 char *kwnames
[] = {
39420 (char *) "self",(char *) "x",(char *) "y", NULL
39423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39425 if (SWIG_arg_fail(1)) SWIG_fail
;
39427 arg2
= (int)(SWIG_As_int(obj1
));
39428 if (SWIG_arg_fail(2)) SWIG_fail
;
39431 arg3
= (int)(SWIG_As_int(obj2
));
39432 if (SWIG_arg_fail(3)) SWIG_fail
;
39435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39436 (arg1
)->SetInitSize(arg2
,arg3
);
39438 wxPyEndAllowThreads(__tstate
);
39439 if (PyErr_Occurred()) SWIG_fail
;
39441 Py_INCREF(Py_None
); resultobj
= Py_None
;
39448 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39449 PyObject
*resultobj
;
39450 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39453 PyObject
* obj0
= 0 ;
39454 PyObject
* obj1
= 0 ;
39455 PyObject
* obj2
= 0 ;
39456 char *kwnames
[] = {
39457 (char *) "self",(char *) "width",(char *) "height", NULL
39460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39462 if (SWIG_arg_fail(1)) SWIG_fail
;
39464 arg2
= (int)(SWIG_As_int(obj1
));
39465 if (SWIG_arg_fail(2)) SWIG_fail
;
39468 arg3
= (int)(SWIG_As_int(obj2
));
39469 if (SWIG_arg_fail(3)) SWIG_fail
;
39472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39473 (arg1
)->SetRatio(arg2
,arg3
);
39475 wxPyEndAllowThreads(__tstate
);
39476 if (PyErr_Occurred()) SWIG_fail
;
39478 Py_INCREF(Py_None
); resultobj
= Py_None
;
39485 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39486 PyObject
*resultobj
;
39487 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39490 PyObject
* obj0
= 0 ;
39491 PyObject
* obj1
= 0 ;
39492 char *kwnames
[] = {
39493 (char *) "self",(char *) "size", NULL
39496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39498 if (SWIG_arg_fail(1)) SWIG_fail
;
39501 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39505 (arg1
)->SetRatio((wxSize
const &)*arg2
);
39507 wxPyEndAllowThreads(__tstate
);
39508 if (PyErr_Occurred()) SWIG_fail
;
39510 Py_INCREF(Py_None
); resultobj
= Py_None
;
39517 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39518 PyObject
*resultobj
;
39519 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39521 PyObject
* obj0
= 0 ;
39522 PyObject
* obj1
= 0 ;
39523 char *kwnames
[] = {
39524 (char *) "self",(char *) "ratio", NULL
39527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
39528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39529 if (SWIG_arg_fail(1)) SWIG_fail
;
39531 arg2
= (float)(SWIG_As_float(obj1
));
39532 if (SWIG_arg_fail(2)) SWIG_fail
;
39535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39536 (arg1
)->SetRatio(arg2
);
39538 wxPyEndAllowThreads(__tstate
);
39539 if (PyErr_Occurred()) SWIG_fail
;
39541 Py_INCREF(Py_None
); resultobj
= Py_None
;
39548 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39549 PyObject
*resultobj
;
39550 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39552 PyObject
* obj0
= 0 ;
39553 char *kwnames
[] = {
39554 (char *) "self", NULL
39557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
39558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39559 if (SWIG_arg_fail(1)) SWIG_fail
;
39561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39562 result
= (float)(arg1
)->GetRatio();
39564 wxPyEndAllowThreads(__tstate
);
39565 if (PyErr_Occurred()) SWIG_fail
;
39568 resultobj
= SWIG_From_float((float)(result
));
39576 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39577 PyObject
*resultobj
;
39578 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39580 PyObject
* obj0
= 0 ;
39581 char *kwnames
[] = {
39582 (char *) "self", NULL
39585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
39586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39587 if (SWIG_arg_fail(1)) SWIG_fail
;
39589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39590 result
= (arg1
)->GetRect();
39592 wxPyEndAllowThreads(__tstate
);
39593 if (PyErr_Occurred()) SWIG_fail
;
39596 wxRect
* resultptr
;
39597 resultptr
= new wxRect((wxRect
&)(result
));
39598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39606 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39607 PyObject
*resultobj
;
39608 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39610 PyObject
* obj0
= 0 ;
39611 char *kwnames
[] = {
39612 (char *) "self", NULL
39615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39617 if (SWIG_arg_fail(1)) SWIG_fail
;
39619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39620 result
= (bool)(arg1
)->IsWindow();
39622 wxPyEndAllowThreads(__tstate
);
39623 if (PyErr_Occurred()) SWIG_fail
;
39626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39634 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39635 PyObject
*resultobj
;
39636 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39638 PyObject
* obj0
= 0 ;
39639 char *kwnames
[] = {
39640 (char *) "self", NULL
39643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39645 if (SWIG_arg_fail(1)) SWIG_fail
;
39647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39648 result
= (bool)(arg1
)->IsSizer();
39650 wxPyEndAllowThreads(__tstate
);
39651 if (PyErr_Occurred()) SWIG_fail
;
39654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39662 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39663 PyObject
*resultobj
;
39664 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39666 PyObject
* obj0
= 0 ;
39667 char *kwnames
[] = {
39668 (char *) "self", NULL
39671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39673 if (SWIG_arg_fail(1)) SWIG_fail
;
39675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39676 result
= (bool)(arg1
)->IsSpacer();
39678 wxPyEndAllowThreads(__tstate
);
39679 if (PyErr_Occurred()) SWIG_fail
;
39682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39690 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39691 PyObject
*resultobj
;
39692 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39694 PyObject
* obj0
= 0 ;
39695 PyObject
* obj1
= 0 ;
39696 char *kwnames
[] = {
39697 (char *) "self",(char *) "proportion", NULL
39700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39702 if (SWIG_arg_fail(1)) SWIG_fail
;
39704 arg2
= (int)(SWIG_As_int(obj1
));
39705 if (SWIG_arg_fail(2)) SWIG_fail
;
39708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39709 (arg1
)->SetProportion(arg2
);
39711 wxPyEndAllowThreads(__tstate
);
39712 if (PyErr_Occurred()) SWIG_fail
;
39714 Py_INCREF(Py_None
); resultobj
= Py_None
;
39721 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39722 PyObject
*resultobj
;
39723 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39725 PyObject
* obj0
= 0 ;
39726 char *kwnames
[] = {
39727 (char *) "self", NULL
39730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39732 if (SWIG_arg_fail(1)) SWIG_fail
;
39734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39735 result
= (int)(arg1
)->GetProportion();
39737 wxPyEndAllowThreads(__tstate
);
39738 if (PyErr_Occurred()) SWIG_fail
;
39741 resultobj
= SWIG_From_int((int)(result
));
39749 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39750 PyObject
*resultobj
;
39751 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39753 PyObject
* obj0
= 0 ;
39754 PyObject
* obj1
= 0 ;
39755 char *kwnames
[] = {
39756 (char *) "self",(char *) "flag", NULL
39759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39761 if (SWIG_arg_fail(1)) SWIG_fail
;
39763 arg2
= (int)(SWIG_As_int(obj1
));
39764 if (SWIG_arg_fail(2)) SWIG_fail
;
39767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39768 (arg1
)->SetFlag(arg2
);
39770 wxPyEndAllowThreads(__tstate
);
39771 if (PyErr_Occurred()) SWIG_fail
;
39773 Py_INCREF(Py_None
); resultobj
= Py_None
;
39780 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39781 PyObject
*resultobj
;
39782 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39784 PyObject
* obj0
= 0 ;
39785 char *kwnames
[] = {
39786 (char *) "self", NULL
39789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39791 if (SWIG_arg_fail(1)) SWIG_fail
;
39793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39794 result
= (int)(arg1
)->GetFlag();
39796 wxPyEndAllowThreads(__tstate
);
39797 if (PyErr_Occurred()) SWIG_fail
;
39800 resultobj
= SWIG_From_int((int)(result
));
39808 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39809 PyObject
*resultobj
;
39810 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39812 PyObject
* obj0
= 0 ;
39813 PyObject
* obj1
= 0 ;
39814 char *kwnames
[] = {
39815 (char *) "self",(char *) "border", NULL
39818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39820 if (SWIG_arg_fail(1)) SWIG_fail
;
39822 arg2
= (int)(SWIG_As_int(obj1
));
39823 if (SWIG_arg_fail(2)) SWIG_fail
;
39826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39827 (arg1
)->SetBorder(arg2
);
39829 wxPyEndAllowThreads(__tstate
);
39830 if (PyErr_Occurred()) SWIG_fail
;
39832 Py_INCREF(Py_None
); resultobj
= Py_None
;
39839 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39840 PyObject
*resultobj
;
39841 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39843 PyObject
* obj0
= 0 ;
39844 char *kwnames
[] = {
39845 (char *) "self", NULL
39848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39850 if (SWIG_arg_fail(1)) SWIG_fail
;
39852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39853 result
= (int)(arg1
)->GetBorder();
39855 wxPyEndAllowThreads(__tstate
);
39856 if (PyErr_Occurred()) SWIG_fail
;
39859 resultobj
= SWIG_From_int((int)(result
));
39867 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39868 PyObject
*resultobj
;
39869 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39871 PyObject
* obj0
= 0 ;
39872 char *kwnames
[] = {
39873 (char *) "self", NULL
39876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39878 if (SWIG_arg_fail(1)) SWIG_fail
;
39880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39881 result
= (wxWindow
*)(arg1
)->GetWindow();
39883 wxPyEndAllowThreads(__tstate
);
39884 if (PyErr_Occurred()) SWIG_fail
;
39887 resultobj
= wxPyMake_wxObject(result
, 0);
39895 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39896 PyObject
*resultobj
;
39897 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39898 wxWindow
*arg2
= (wxWindow
*) 0 ;
39899 PyObject
* obj0
= 0 ;
39900 PyObject
* obj1
= 0 ;
39901 char *kwnames
[] = {
39902 (char *) "self",(char *) "window", NULL
39905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39907 if (SWIG_arg_fail(1)) SWIG_fail
;
39908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39909 if (SWIG_arg_fail(2)) SWIG_fail
;
39911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39912 (arg1
)->SetWindow(arg2
);
39914 wxPyEndAllowThreads(__tstate
);
39915 if (PyErr_Occurred()) SWIG_fail
;
39917 Py_INCREF(Py_None
); resultobj
= Py_None
;
39924 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39925 PyObject
*resultobj
;
39926 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39928 PyObject
* obj0
= 0 ;
39929 char *kwnames
[] = {
39930 (char *) "self", NULL
39933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39935 if (SWIG_arg_fail(1)) SWIG_fail
;
39937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39938 result
= (wxSizer
*)(arg1
)->GetSizer();
39940 wxPyEndAllowThreads(__tstate
);
39941 if (PyErr_Occurred()) SWIG_fail
;
39944 resultobj
= wxPyMake_wxObject(result
, 0);
39952 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39953 PyObject
*resultobj
;
39954 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39955 wxSizer
*arg2
= (wxSizer
*) 0 ;
39956 PyObject
* obj0
= 0 ;
39957 PyObject
* obj1
= 0 ;
39958 char *kwnames
[] = {
39959 (char *) "self",(char *) "sizer", NULL
39962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39964 if (SWIG_arg_fail(1)) SWIG_fail
;
39965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39966 if (SWIG_arg_fail(2)) SWIG_fail
;
39968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39969 (arg1
)->SetSizer(arg2
);
39971 wxPyEndAllowThreads(__tstate
);
39972 if (PyErr_Occurred()) SWIG_fail
;
39974 Py_INCREF(Py_None
); resultobj
= Py_None
;
39981 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39982 PyObject
*resultobj
;
39983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39985 PyObject
* obj0
= 0 ;
39986 char *kwnames
[] = {
39987 (char *) "self", NULL
39990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39992 if (SWIG_arg_fail(1)) SWIG_fail
;
39994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39996 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39997 result
= (wxSize
*) &_result_ref
;
40000 wxPyEndAllowThreads(__tstate
);
40001 if (PyErr_Occurred()) SWIG_fail
;
40003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
40010 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40011 PyObject
*resultobj
;
40012 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40015 PyObject
* obj0
= 0 ;
40016 PyObject
* obj1
= 0 ;
40017 char *kwnames
[] = {
40018 (char *) "self",(char *) "size", NULL
40021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
40022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40023 if (SWIG_arg_fail(1)) SWIG_fail
;
40026 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 Py_INCREF(Py_None
); resultobj
= Py_None
;
40042 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
;
40044 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40046 PyObject
* obj0
= 0 ;
40047 PyObject
* obj1
= 0 ;
40048 char *kwnames
[] = {
40049 (char *) "self",(char *) "show", NULL
40052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
40053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40054 if (SWIG_arg_fail(1)) SWIG_fail
;
40056 arg2
= (bool)(SWIG_As_bool(obj1
));
40057 if (SWIG_arg_fail(2)) SWIG_fail
;
40060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40061 (arg1
)->Show(arg2
);
40063 wxPyEndAllowThreads(__tstate
);
40064 if (PyErr_Occurred()) SWIG_fail
;
40066 Py_INCREF(Py_None
); resultobj
= Py_None
;
40073 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40074 PyObject
*resultobj
;
40075 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40077 PyObject
* obj0
= 0 ;
40078 char *kwnames
[] = {
40079 (char *) "self", NULL
40082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
40083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40084 if (SWIG_arg_fail(1)) SWIG_fail
;
40086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40087 result
= (bool)(arg1
)->IsShown();
40089 wxPyEndAllowThreads(__tstate
);
40090 if (PyErr_Occurred()) SWIG_fail
;
40093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40101 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40102 PyObject
*resultobj
;
40103 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40105 PyObject
* obj0
= 0 ;
40106 char *kwnames
[] = {
40107 (char *) "self", NULL
40110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
40111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40112 if (SWIG_arg_fail(1)) SWIG_fail
;
40114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40115 result
= (arg1
)->GetPosition();
40117 wxPyEndAllowThreads(__tstate
);
40118 if (PyErr_Occurred()) SWIG_fail
;
40121 wxPoint
* resultptr
;
40122 resultptr
= new wxPoint((wxPoint
&)(result
));
40123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40131 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40132 PyObject
*resultobj
;
40133 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40135 PyObject
* obj0
= 0 ;
40136 char *kwnames
[] = {
40137 (char *) "self", NULL
40140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
40141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40142 if (SWIG_arg_fail(1)) SWIG_fail
;
40144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40145 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
40147 wxPyEndAllowThreads(__tstate
);
40148 if (PyErr_Occurred()) SWIG_fail
;
40150 resultobj
= result
;
40157 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
40159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40160 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
40162 return Py_BuildValue((char *)"");
40164 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40165 PyObject
*resultobj
;
40166 wxSizer
*arg1
= (wxSizer
*) 0 ;
40167 PyObject
*arg2
= (PyObject
*) 0 ;
40168 PyObject
* obj0
= 0 ;
40169 PyObject
* obj1
= 0 ;
40170 char *kwnames
[] = {
40171 (char *) "self",(char *) "_self", NULL
40174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
40175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40176 if (SWIG_arg_fail(1)) SWIG_fail
;
40179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40180 wxSizer__setOORInfo(arg1
,arg2
);
40182 wxPyEndAllowThreads(__tstate
);
40183 if (PyErr_Occurred()) SWIG_fail
;
40185 Py_INCREF(Py_None
); resultobj
= Py_None
;
40192 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40193 PyObject
*resultobj
;
40194 wxSizer
*arg1
= (wxSizer
*) 0 ;
40195 PyObject
*arg2
= (PyObject
*) 0 ;
40196 int arg3
= (int) 0 ;
40197 int arg4
= (int) 0 ;
40198 int arg5
= (int) 0 ;
40199 PyObject
*arg6
= (PyObject
*) NULL
;
40200 wxSizerItem
*result
;
40201 PyObject
* obj0
= 0 ;
40202 PyObject
* obj1
= 0 ;
40203 PyObject
* obj2
= 0 ;
40204 PyObject
* obj3
= 0 ;
40205 PyObject
* obj4
= 0 ;
40206 PyObject
* obj5
= 0 ;
40207 char *kwnames
[] = {
40208 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40213 if (SWIG_arg_fail(1)) SWIG_fail
;
40217 arg3
= (int)(SWIG_As_int(obj2
));
40218 if (SWIG_arg_fail(3)) SWIG_fail
;
40223 arg4
= (int)(SWIG_As_int(obj3
));
40224 if (SWIG_arg_fail(4)) SWIG_fail
;
40229 arg5
= (int)(SWIG_As_int(obj4
));
40230 if (SWIG_arg_fail(5)) SWIG_fail
;
40237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40238 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
40240 wxPyEndAllowThreads(__tstate
);
40241 if (PyErr_Occurred()) SWIG_fail
;
40243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40250 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40251 PyObject
*resultobj
;
40252 wxSizer
*arg1
= (wxSizer
*) 0 ;
40254 PyObject
*arg3
= (PyObject
*) 0 ;
40255 int arg4
= (int) 0 ;
40256 int arg5
= (int) 0 ;
40257 int arg6
= (int) 0 ;
40258 PyObject
*arg7
= (PyObject
*) NULL
;
40259 wxSizerItem
*result
;
40260 PyObject
* obj0
= 0 ;
40261 PyObject
* obj1
= 0 ;
40262 PyObject
* obj2
= 0 ;
40263 PyObject
* obj3
= 0 ;
40264 PyObject
* obj4
= 0 ;
40265 PyObject
* obj5
= 0 ;
40266 PyObject
* obj6
= 0 ;
40267 char *kwnames
[] = {
40268 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
40272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40273 if (SWIG_arg_fail(1)) SWIG_fail
;
40275 arg2
= (int)(SWIG_As_int(obj1
));
40276 if (SWIG_arg_fail(2)) SWIG_fail
;
40281 arg4
= (int)(SWIG_As_int(obj3
));
40282 if (SWIG_arg_fail(4)) SWIG_fail
;
40287 arg5
= (int)(SWIG_As_int(obj4
));
40288 if (SWIG_arg_fail(5)) SWIG_fail
;
40293 arg6
= (int)(SWIG_As_int(obj5
));
40294 if (SWIG_arg_fail(6)) SWIG_fail
;
40301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40302 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
40304 wxPyEndAllowThreads(__tstate
);
40305 if (PyErr_Occurred()) SWIG_fail
;
40307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40314 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40315 PyObject
*resultobj
;
40316 wxSizer
*arg1
= (wxSizer
*) 0 ;
40317 PyObject
*arg2
= (PyObject
*) 0 ;
40318 int arg3
= (int) 0 ;
40319 int arg4
= (int) 0 ;
40320 int arg5
= (int) 0 ;
40321 PyObject
*arg6
= (PyObject
*) NULL
;
40322 wxSizerItem
*result
;
40323 PyObject
* obj0
= 0 ;
40324 PyObject
* obj1
= 0 ;
40325 PyObject
* obj2
= 0 ;
40326 PyObject
* obj3
= 0 ;
40327 PyObject
* obj4
= 0 ;
40328 PyObject
* obj5
= 0 ;
40329 char *kwnames
[] = {
40330 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40335 if (SWIG_arg_fail(1)) SWIG_fail
;
40339 arg3
= (int)(SWIG_As_int(obj2
));
40340 if (SWIG_arg_fail(3)) SWIG_fail
;
40345 arg4
= (int)(SWIG_As_int(obj3
));
40346 if (SWIG_arg_fail(4)) SWIG_fail
;
40351 arg5
= (int)(SWIG_As_int(obj4
));
40352 if (SWIG_arg_fail(5)) SWIG_fail
;
40359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40360 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
40362 wxPyEndAllowThreads(__tstate
);
40363 if (PyErr_Occurred()) SWIG_fail
;
40365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40372 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40373 PyObject
*resultobj
;
40374 wxSizer
*arg1
= (wxSizer
*) 0 ;
40375 PyObject
*arg2
= (PyObject
*) 0 ;
40377 PyObject
* obj0
= 0 ;
40378 PyObject
* obj1
= 0 ;
40379 char *kwnames
[] = {
40380 (char *) "self",(char *) "item", NULL
40383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
40384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40385 if (SWIG_arg_fail(1)) SWIG_fail
;
40388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40389 result
= (bool)wxSizer_Remove(arg1
,arg2
);
40391 wxPyEndAllowThreads(__tstate
);
40392 if (PyErr_Occurred()) SWIG_fail
;
40395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40403 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40404 PyObject
*resultobj
;
40405 wxSizer
*arg1
= (wxSizer
*) 0 ;
40406 PyObject
*arg2
= (PyObject
*) 0 ;
40408 PyObject
* obj0
= 0 ;
40409 PyObject
* obj1
= 0 ;
40410 char *kwnames
[] = {
40411 (char *) "self",(char *) "item", NULL
40414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
40415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40416 if (SWIG_arg_fail(1)) SWIG_fail
;
40419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40420 result
= (bool)wxSizer_Detach(arg1
,arg2
);
40422 wxPyEndAllowThreads(__tstate
);
40423 if (PyErr_Occurred()) SWIG_fail
;
40426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40434 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40435 PyObject
*resultobj
;
40436 wxSizer
*arg1
= (wxSizer
*) 0 ;
40437 PyObject
*arg2
= (PyObject
*) 0 ;
40438 wxSizerItem
*result
;
40439 PyObject
* obj0
= 0 ;
40440 PyObject
* obj1
= 0 ;
40441 char *kwnames
[] = {
40442 (char *) "self",(char *) "item", NULL
40445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40447 if (SWIG_arg_fail(1)) SWIG_fail
;
40450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40451 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
40453 wxPyEndAllowThreads(__tstate
);
40454 if (PyErr_Occurred()) SWIG_fail
;
40456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40463 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40464 PyObject
*resultobj
;
40465 wxSizer
*arg1
= (wxSizer
*) 0 ;
40466 PyObject
*arg2
= (PyObject
*) 0 ;
40469 PyObject
* obj0
= 0 ;
40470 PyObject
* obj1
= 0 ;
40471 PyObject
* obj2
= 0 ;
40472 char *kwnames
[] = {
40473 (char *) "self",(char *) "item",(char *) "size", NULL
40476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40478 if (SWIG_arg_fail(1)) SWIG_fail
;
40482 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
40485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40486 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
40488 wxPyEndAllowThreads(__tstate
);
40489 if (PyErr_Occurred()) SWIG_fail
;
40491 Py_INCREF(Py_None
); resultobj
= Py_None
;
40498 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40499 PyObject
*resultobj
;
40500 wxSizer
*arg1
= (wxSizer
*) 0 ;
40501 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40502 wxSizerItem
*result
;
40503 PyObject
* obj0
= 0 ;
40504 PyObject
* obj1
= 0 ;
40505 char *kwnames
[] = {
40506 (char *) "self",(char *) "item", NULL
40509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40511 if (SWIG_arg_fail(1)) SWIG_fail
;
40512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40513 if (SWIG_arg_fail(2)) SWIG_fail
;
40515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40516 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
40518 wxPyEndAllowThreads(__tstate
);
40519 if (PyErr_Occurred()) SWIG_fail
;
40521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40528 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40529 PyObject
*resultobj
;
40530 wxSizer
*arg1
= (wxSizer
*) 0 ;
40532 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
40533 wxSizerItem
*result
;
40534 PyObject
* obj0
= 0 ;
40535 PyObject
* obj1
= 0 ;
40536 PyObject
* obj2
= 0 ;
40537 char *kwnames
[] = {
40538 (char *) "self",(char *) "index",(char *) "item", NULL
40541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40543 if (SWIG_arg_fail(1)) SWIG_fail
;
40545 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40546 if (SWIG_arg_fail(2)) SWIG_fail
;
40548 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40549 if (SWIG_arg_fail(3)) SWIG_fail
;
40551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40552 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
40554 wxPyEndAllowThreads(__tstate
);
40555 if (PyErr_Occurred()) SWIG_fail
;
40557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40564 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40565 PyObject
*resultobj
;
40566 wxSizer
*arg1
= (wxSizer
*) 0 ;
40567 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40568 wxSizerItem
*result
;
40569 PyObject
* obj0
= 0 ;
40570 PyObject
* obj1
= 0 ;
40571 char *kwnames
[] = {
40572 (char *) "self",(char *) "item", NULL
40575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40577 if (SWIG_arg_fail(1)) SWIG_fail
;
40578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40579 if (SWIG_arg_fail(2)) SWIG_fail
;
40581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40582 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
40584 wxPyEndAllowThreads(__tstate
);
40585 if (PyErr_Occurred()) SWIG_fail
;
40587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40594 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40595 PyObject
*resultobj
;
40596 wxSizer
*arg1
= (wxSizer
*) 0 ;
40601 PyObject
* obj0
= 0 ;
40602 PyObject
* obj1
= 0 ;
40603 PyObject
* obj2
= 0 ;
40604 PyObject
* obj3
= 0 ;
40605 PyObject
* obj4
= 0 ;
40606 char *kwnames
[] = {
40607 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40612 if (SWIG_arg_fail(1)) SWIG_fail
;
40614 arg2
= (int)(SWIG_As_int(obj1
));
40615 if (SWIG_arg_fail(2)) SWIG_fail
;
40618 arg3
= (int)(SWIG_As_int(obj2
));
40619 if (SWIG_arg_fail(3)) SWIG_fail
;
40622 arg4
= (int)(SWIG_As_int(obj3
));
40623 if (SWIG_arg_fail(4)) SWIG_fail
;
40626 arg5
= (int)(SWIG_As_int(obj4
));
40627 if (SWIG_arg_fail(5)) SWIG_fail
;
40630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40631 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40633 wxPyEndAllowThreads(__tstate
);
40634 if (PyErr_Occurred()) SWIG_fail
;
40636 Py_INCREF(Py_None
); resultobj
= Py_None
;
40643 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40644 PyObject
*resultobj
;
40645 wxSizer
*arg1
= (wxSizer
*) 0 ;
40648 PyObject
* obj0
= 0 ;
40649 PyObject
* obj1
= 0 ;
40650 char *kwnames
[] = {
40651 (char *) "self",(char *) "size", NULL
40654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40656 if (SWIG_arg_fail(1)) SWIG_fail
;
40659 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40663 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40665 wxPyEndAllowThreads(__tstate
);
40666 if (PyErr_Occurred()) SWIG_fail
;
40668 Py_INCREF(Py_None
); resultobj
= Py_None
;
40675 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40676 PyObject
*resultobj
;
40677 wxSizer
*arg1
= (wxSizer
*) 0 ;
40679 PyObject
* obj0
= 0 ;
40680 char *kwnames
[] = {
40681 (char *) "self", NULL
40684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40686 if (SWIG_arg_fail(1)) SWIG_fail
;
40688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40689 result
= (arg1
)->GetSize();
40691 wxPyEndAllowThreads(__tstate
);
40692 if (PyErr_Occurred()) SWIG_fail
;
40695 wxSize
* resultptr
;
40696 resultptr
= new wxSize((wxSize
&)(result
));
40697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40705 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40706 PyObject
*resultobj
;
40707 wxSizer
*arg1
= (wxSizer
*) 0 ;
40709 PyObject
* obj0
= 0 ;
40710 char *kwnames
[] = {
40711 (char *) "self", NULL
40714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40716 if (SWIG_arg_fail(1)) SWIG_fail
;
40718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40719 result
= (arg1
)->GetPosition();
40721 wxPyEndAllowThreads(__tstate
);
40722 if (PyErr_Occurred()) SWIG_fail
;
40725 wxPoint
* resultptr
;
40726 resultptr
= new wxPoint((wxPoint
&)(result
));
40727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40735 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40736 PyObject
*resultobj
;
40737 wxSizer
*arg1
= (wxSizer
*) 0 ;
40739 PyObject
* obj0
= 0 ;
40740 char *kwnames
[] = {
40741 (char *) "self", NULL
40744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40746 if (SWIG_arg_fail(1)) SWIG_fail
;
40748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40749 result
= (arg1
)->GetMinSize();
40751 wxPyEndAllowThreads(__tstate
);
40752 if (PyErr_Occurred()) SWIG_fail
;
40755 wxSize
* resultptr
;
40756 resultptr
= new wxSize((wxSize
&)(result
));
40757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40765 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40766 PyObject
*resultobj
;
40767 wxSizer
*arg1
= (wxSizer
*) 0 ;
40768 PyObject
* obj0
= 0 ;
40769 char *kwnames
[] = {
40770 (char *) "self", NULL
40773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40775 if (SWIG_arg_fail(1)) SWIG_fail
;
40777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40778 (arg1
)->RecalcSizes();
40780 wxPyEndAllowThreads(__tstate
);
40781 if (PyErr_Occurred()) SWIG_fail
;
40783 Py_INCREF(Py_None
); resultobj
= Py_None
;
40790 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40791 PyObject
*resultobj
;
40792 wxSizer
*arg1
= (wxSizer
*) 0 ;
40794 PyObject
* obj0
= 0 ;
40795 char *kwnames
[] = {
40796 (char *) "self", NULL
40799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40801 if (SWIG_arg_fail(1)) SWIG_fail
;
40803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40804 result
= (arg1
)->CalcMin();
40806 wxPyEndAllowThreads(__tstate
);
40807 if (PyErr_Occurred()) SWIG_fail
;
40810 wxSize
* resultptr
;
40811 resultptr
= new wxSize((wxSize
&)(result
));
40812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40820 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40821 PyObject
*resultobj
;
40822 wxSizer
*arg1
= (wxSizer
*) 0 ;
40823 PyObject
* obj0
= 0 ;
40824 char *kwnames
[] = {
40825 (char *) "self", NULL
40828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40830 if (SWIG_arg_fail(1)) SWIG_fail
;
40832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40835 wxPyEndAllowThreads(__tstate
);
40836 if (PyErr_Occurred()) SWIG_fail
;
40838 Py_INCREF(Py_None
); resultobj
= Py_None
;
40845 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40846 PyObject
*resultobj
;
40847 wxSizer
*arg1
= (wxSizer
*) 0 ;
40848 wxWindow
*arg2
= (wxWindow
*) 0 ;
40850 PyObject
* obj0
= 0 ;
40851 PyObject
* obj1
= 0 ;
40852 char *kwnames
[] = {
40853 (char *) "self",(char *) "window", NULL
40856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40858 if (SWIG_arg_fail(1)) SWIG_fail
;
40859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40860 if (SWIG_arg_fail(2)) SWIG_fail
;
40862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40863 result
= (arg1
)->Fit(arg2
);
40865 wxPyEndAllowThreads(__tstate
);
40866 if (PyErr_Occurred()) SWIG_fail
;
40869 wxSize
* resultptr
;
40870 resultptr
= new wxSize((wxSize
&)(result
));
40871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40879 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40880 PyObject
*resultobj
;
40881 wxSizer
*arg1
= (wxSizer
*) 0 ;
40882 wxWindow
*arg2
= (wxWindow
*) 0 ;
40883 PyObject
* obj0
= 0 ;
40884 PyObject
* obj1
= 0 ;
40885 char *kwnames
[] = {
40886 (char *) "self",(char *) "window", NULL
40889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40891 if (SWIG_arg_fail(1)) SWIG_fail
;
40892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40893 if (SWIG_arg_fail(2)) SWIG_fail
;
40895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40896 (arg1
)->FitInside(arg2
);
40898 wxPyEndAllowThreads(__tstate
);
40899 if (PyErr_Occurred()) SWIG_fail
;
40901 Py_INCREF(Py_None
); resultobj
= Py_None
;
40908 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40909 PyObject
*resultobj
;
40910 wxSizer
*arg1
= (wxSizer
*) 0 ;
40911 wxWindow
*arg2
= (wxWindow
*) 0 ;
40912 PyObject
* obj0
= 0 ;
40913 PyObject
* obj1
= 0 ;
40914 char *kwnames
[] = {
40915 (char *) "self",(char *) "window", NULL
40918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40920 if (SWIG_arg_fail(1)) SWIG_fail
;
40921 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40922 if (SWIG_arg_fail(2)) SWIG_fail
;
40924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40925 (arg1
)->SetSizeHints(arg2
);
40927 wxPyEndAllowThreads(__tstate
);
40928 if (PyErr_Occurred()) SWIG_fail
;
40930 Py_INCREF(Py_None
); resultobj
= Py_None
;
40937 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40938 PyObject
*resultobj
;
40939 wxSizer
*arg1
= (wxSizer
*) 0 ;
40940 wxWindow
*arg2
= (wxWindow
*) 0 ;
40941 PyObject
* obj0
= 0 ;
40942 PyObject
* obj1
= 0 ;
40943 char *kwnames
[] = {
40944 (char *) "self",(char *) "window", NULL
40947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40949 if (SWIG_arg_fail(1)) SWIG_fail
;
40950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40951 if (SWIG_arg_fail(2)) SWIG_fail
;
40953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40954 (arg1
)->SetVirtualSizeHints(arg2
);
40956 wxPyEndAllowThreads(__tstate
);
40957 if (PyErr_Occurred()) SWIG_fail
;
40959 Py_INCREF(Py_None
); resultobj
= Py_None
;
40966 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40967 PyObject
*resultobj
;
40968 wxSizer
*arg1
= (wxSizer
*) 0 ;
40969 bool arg2
= (bool) false ;
40970 PyObject
* obj0
= 0 ;
40971 PyObject
* obj1
= 0 ;
40972 char *kwnames
[] = {
40973 (char *) "self",(char *) "deleteWindows", NULL
40976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40978 if (SWIG_arg_fail(1)) SWIG_fail
;
40981 arg2
= (bool)(SWIG_As_bool(obj1
));
40982 if (SWIG_arg_fail(2)) SWIG_fail
;
40986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40987 (arg1
)->Clear(arg2
);
40989 wxPyEndAllowThreads(__tstate
);
40990 if (PyErr_Occurred()) SWIG_fail
;
40992 Py_INCREF(Py_None
); resultobj
= Py_None
;
40999 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41000 PyObject
*resultobj
;
41001 wxSizer
*arg1
= (wxSizer
*) 0 ;
41002 PyObject
* obj0
= 0 ;
41003 char *kwnames
[] = {
41004 (char *) "self", NULL
41007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
41008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41009 if (SWIG_arg_fail(1)) SWIG_fail
;
41011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41012 (arg1
)->DeleteWindows();
41014 wxPyEndAllowThreads(__tstate
);
41015 if (PyErr_Occurred()) SWIG_fail
;
41017 Py_INCREF(Py_None
); resultobj
= Py_None
;
41024 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41025 PyObject
*resultobj
;
41026 wxSizer
*arg1
= (wxSizer
*) 0 ;
41028 PyObject
* obj0
= 0 ;
41029 char *kwnames
[] = {
41030 (char *) "self", NULL
41033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
41034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41035 if (SWIG_arg_fail(1)) SWIG_fail
;
41037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41038 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
41040 wxPyEndAllowThreads(__tstate
);
41041 if (PyErr_Occurred()) SWIG_fail
;
41043 resultobj
= result
;
41050 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41051 PyObject
*resultobj
;
41052 wxSizer
*arg1
= (wxSizer
*) 0 ;
41053 PyObject
*arg2
= (PyObject
*) 0 ;
41054 bool arg3
= (bool) true ;
41055 bool arg4
= (bool) false ;
41057 PyObject
* obj0
= 0 ;
41058 PyObject
* obj1
= 0 ;
41059 PyObject
* obj2
= 0 ;
41060 PyObject
* obj3
= 0 ;
41061 char *kwnames
[] = {
41062 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
41065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41067 if (SWIG_arg_fail(1)) SWIG_fail
;
41071 arg3
= (bool)(SWIG_As_bool(obj2
));
41072 if (SWIG_arg_fail(3)) SWIG_fail
;
41077 arg4
= (bool)(SWIG_As_bool(obj3
));
41078 if (SWIG_arg_fail(4)) SWIG_fail
;
41082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41083 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
41085 wxPyEndAllowThreads(__tstate
);
41086 if (PyErr_Occurred()) SWIG_fail
;
41089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41097 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41098 PyObject
*resultobj
;
41099 wxSizer
*arg1
= (wxSizer
*) 0 ;
41100 PyObject
*arg2
= (PyObject
*) 0 ;
41102 PyObject
* obj0
= 0 ;
41103 PyObject
* obj1
= 0 ;
41104 char *kwnames
[] = {
41105 (char *) "self",(char *) "item", NULL
41108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
41109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41110 if (SWIG_arg_fail(1)) SWIG_fail
;
41113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41114 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
41116 wxPyEndAllowThreads(__tstate
);
41117 if (PyErr_Occurred()) SWIG_fail
;
41120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41128 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41129 PyObject
*resultobj
;
41130 wxSizer
*arg1
= (wxSizer
*) 0 ;
41132 PyObject
* obj0
= 0 ;
41133 PyObject
* obj1
= 0 ;
41134 char *kwnames
[] = {
41135 (char *) "self",(char *) "show", NULL
41138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
41139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41140 if (SWIG_arg_fail(1)) SWIG_fail
;
41142 arg2
= (bool)(SWIG_As_bool(obj1
));
41143 if (SWIG_arg_fail(2)) SWIG_fail
;
41146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41147 (arg1
)->ShowItems(arg2
);
41149 wxPyEndAllowThreads(__tstate
);
41150 if (PyErr_Occurred()) SWIG_fail
;
41152 Py_INCREF(Py_None
); resultobj
= Py_None
;
41159 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
41161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41162 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
41164 return Py_BuildValue((char *)"");
41166 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41167 PyObject
*resultobj
;
41169 char *kwnames
[] = {
41173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
41175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41176 result
= (wxPySizer
*)new wxPySizer();
41178 wxPyEndAllowThreads(__tstate
);
41179 if (PyErr_Occurred()) SWIG_fail
;
41181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
41188 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41189 PyObject
*resultobj
;
41190 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
41191 PyObject
*arg2
= (PyObject
*) 0 ;
41192 PyObject
*arg3
= (PyObject
*) 0 ;
41193 PyObject
* obj0
= 0 ;
41194 PyObject
* obj1
= 0 ;
41195 PyObject
* obj2
= 0 ;
41196 char *kwnames
[] = {
41197 (char *) "self",(char *) "self",(char *) "_class", NULL
41200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
41202 if (SWIG_arg_fail(1)) SWIG_fail
;
41206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41207 (arg1
)->_setCallbackInfo(arg2
,arg3
);
41209 wxPyEndAllowThreads(__tstate
);
41210 if (PyErr_Occurred()) SWIG_fail
;
41212 Py_INCREF(Py_None
); resultobj
= Py_None
;
41219 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
41221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41222 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
41224 return Py_BuildValue((char *)"");
41226 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41227 PyObject
*resultobj
;
41228 int arg1
= (int) wxHORIZONTAL
;
41229 wxBoxSizer
*result
;
41230 PyObject
* obj0
= 0 ;
41231 char *kwnames
[] = {
41232 (char *) "orient", NULL
41235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
41238 arg1
= (int)(SWIG_As_int(obj0
));
41239 if (SWIG_arg_fail(1)) SWIG_fail
;
41243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41244 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
41246 wxPyEndAllowThreads(__tstate
);
41247 if (PyErr_Occurred()) SWIG_fail
;
41249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
41256 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41257 PyObject
*resultobj
;
41258 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
41260 PyObject
* obj0
= 0 ;
41261 char *kwnames
[] = {
41262 (char *) "self", NULL
41265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
41266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41267 if (SWIG_arg_fail(1)) SWIG_fail
;
41269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41270 result
= (int)(arg1
)->GetOrientation();
41272 wxPyEndAllowThreads(__tstate
);
41273 if (PyErr_Occurred()) SWIG_fail
;
41276 resultobj
= SWIG_From_int((int)(result
));
41284 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41285 PyObject
*resultobj
;
41286 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
41288 PyObject
* obj0
= 0 ;
41289 PyObject
* obj1
= 0 ;
41290 char *kwnames
[] = {
41291 (char *) "self",(char *) "orient", NULL
41294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
41295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41296 if (SWIG_arg_fail(1)) SWIG_fail
;
41298 arg2
= (int)(SWIG_As_int(obj1
));
41299 if (SWIG_arg_fail(2)) SWIG_fail
;
41302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41303 (arg1
)->SetOrientation(arg2
);
41305 wxPyEndAllowThreads(__tstate
);
41306 if (PyErr_Occurred()) SWIG_fail
;
41308 Py_INCREF(Py_None
); resultobj
= Py_None
;
41315 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
41317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41318 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
41320 return Py_BuildValue((char *)"");
41322 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41323 PyObject
*resultobj
;
41324 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
41325 int arg2
= (int) wxHORIZONTAL
;
41326 wxStaticBoxSizer
*result
;
41327 PyObject
* obj0
= 0 ;
41328 PyObject
* obj1
= 0 ;
41329 char *kwnames
[] = {
41330 (char *) "box",(char *) "orient", NULL
41333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
41335 if (SWIG_arg_fail(1)) SWIG_fail
;
41338 arg2
= (int)(SWIG_As_int(obj1
));
41339 if (SWIG_arg_fail(2)) SWIG_fail
;
41343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41344 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
41346 wxPyEndAllowThreads(__tstate
);
41347 if (PyErr_Occurred()) SWIG_fail
;
41349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
41356 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41357 PyObject
*resultobj
;
41358 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
41359 wxStaticBox
*result
;
41360 PyObject
* obj0
= 0 ;
41361 char *kwnames
[] = {
41362 (char *) "self", NULL
41365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
41366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41367 if (SWIG_arg_fail(1)) SWIG_fail
;
41369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41370 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
41372 wxPyEndAllowThreads(__tstate
);
41373 if (PyErr_Occurred()) SWIG_fail
;
41376 resultobj
= wxPyMake_wxObject(result
, 0);
41384 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
41386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41387 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
41389 return Py_BuildValue((char *)"");
41391 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41392 PyObject
*resultobj
;
41393 int arg1
= (int) 1 ;
41394 int arg2
= (int) 0 ;
41395 int arg3
= (int) 0 ;
41396 int arg4
= (int) 0 ;
41397 wxGridSizer
*result
;
41398 PyObject
* obj0
= 0 ;
41399 PyObject
* obj1
= 0 ;
41400 PyObject
* obj2
= 0 ;
41401 PyObject
* obj3
= 0 ;
41402 char *kwnames
[] = {
41403 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41409 arg1
= (int)(SWIG_As_int(obj0
));
41410 if (SWIG_arg_fail(1)) SWIG_fail
;
41415 arg2
= (int)(SWIG_As_int(obj1
));
41416 if (SWIG_arg_fail(2)) SWIG_fail
;
41421 arg3
= (int)(SWIG_As_int(obj2
));
41422 if (SWIG_arg_fail(3)) SWIG_fail
;
41427 arg4
= (int)(SWIG_As_int(obj3
));
41428 if (SWIG_arg_fail(4)) SWIG_fail
;
41432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41433 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
41435 wxPyEndAllowThreads(__tstate
);
41436 if (PyErr_Occurred()) SWIG_fail
;
41438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
41445 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41446 PyObject
*resultobj
;
41447 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41449 PyObject
* obj0
= 0 ;
41450 PyObject
* obj1
= 0 ;
41451 char *kwnames
[] = {
41452 (char *) "self",(char *) "cols", NULL
41455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
41456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41457 if (SWIG_arg_fail(1)) SWIG_fail
;
41459 arg2
= (int)(SWIG_As_int(obj1
));
41460 if (SWIG_arg_fail(2)) SWIG_fail
;
41463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41464 (arg1
)->SetCols(arg2
);
41466 wxPyEndAllowThreads(__tstate
);
41467 if (PyErr_Occurred()) SWIG_fail
;
41469 Py_INCREF(Py_None
); resultobj
= Py_None
;
41476 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41477 PyObject
*resultobj
;
41478 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41480 PyObject
* obj0
= 0 ;
41481 PyObject
* obj1
= 0 ;
41482 char *kwnames
[] = {
41483 (char *) "self",(char *) "rows", NULL
41486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
41487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41488 if (SWIG_arg_fail(1)) SWIG_fail
;
41490 arg2
= (int)(SWIG_As_int(obj1
));
41491 if (SWIG_arg_fail(2)) SWIG_fail
;
41494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41495 (arg1
)->SetRows(arg2
);
41497 wxPyEndAllowThreads(__tstate
);
41498 if (PyErr_Occurred()) SWIG_fail
;
41500 Py_INCREF(Py_None
); resultobj
= Py_None
;
41507 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41508 PyObject
*resultobj
;
41509 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41511 PyObject
* obj0
= 0 ;
41512 PyObject
* obj1
= 0 ;
41513 char *kwnames
[] = {
41514 (char *) "self",(char *) "gap", NULL
41517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41519 if (SWIG_arg_fail(1)) SWIG_fail
;
41521 arg2
= (int)(SWIG_As_int(obj1
));
41522 if (SWIG_arg_fail(2)) SWIG_fail
;
41525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41526 (arg1
)->SetVGap(arg2
);
41528 wxPyEndAllowThreads(__tstate
);
41529 if (PyErr_Occurred()) SWIG_fail
;
41531 Py_INCREF(Py_None
); resultobj
= Py_None
;
41538 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41539 PyObject
*resultobj
;
41540 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41542 PyObject
* obj0
= 0 ;
41543 PyObject
* obj1
= 0 ;
41544 char *kwnames
[] = {
41545 (char *) "self",(char *) "gap", NULL
41548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41550 if (SWIG_arg_fail(1)) SWIG_fail
;
41552 arg2
= (int)(SWIG_As_int(obj1
));
41553 if (SWIG_arg_fail(2)) SWIG_fail
;
41556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41557 (arg1
)->SetHGap(arg2
);
41559 wxPyEndAllowThreads(__tstate
);
41560 if (PyErr_Occurred()) SWIG_fail
;
41562 Py_INCREF(Py_None
); resultobj
= Py_None
;
41569 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41570 PyObject
*resultobj
;
41571 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41573 PyObject
* obj0
= 0 ;
41574 char *kwnames
[] = {
41575 (char *) "self", NULL
41578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
41579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41580 if (SWIG_arg_fail(1)) SWIG_fail
;
41582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41583 result
= (int)(arg1
)->GetCols();
41585 wxPyEndAllowThreads(__tstate
);
41586 if (PyErr_Occurred()) SWIG_fail
;
41589 resultobj
= SWIG_From_int((int)(result
));
41597 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41598 PyObject
*resultobj
;
41599 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41601 PyObject
* obj0
= 0 ;
41602 char *kwnames
[] = {
41603 (char *) "self", NULL
41606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41608 if (SWIG_arg_fail(1)) SWIG_fail
;
41610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41611 result
= (int)(arg1
)->GetRows();
41613 wxPyEndAllowThreads(__tstate
);
41614 if (PyErr_Occurred()) SWIG_fail
;
41617 resultobj
= SWIG_From_int((int)(result
));
41625 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41626 PyObject
*resultobj
;
41627 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41629 PyObject
* obj0
= 0 ;
41630 char *kwnames
[] = {
41631 (char *) "self", NULL
41634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41636 if (SWIG_arg_fail(1)) SWIG_fail
;
41638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41639 result
= (int)(arg1
)->GetVGap();
41641 wxPyEndAllowThreads(__tstate
);
41642 if (PyErr_Occurred()) SWIG_fail
;
41645 resultobj
= SWIG_From_int((int)(result
));
41653 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41654 PyObject
*resultobj
;
41655 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41657 PyObject
* obj0
= 0 ;
41658 char *kwnames
[] = {
41659 (char *) "self", NULL
41662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41664 if (SWIG_arg_fail(1)) SWIG_fail
;
41666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41667 result
= (int)(arg1
)->GetHGap();
41669 wxPyEndAllowThreads(__tstate
);
41670 if (PyErr_Occurred()) SWIG_fail
;
41673 resultobj
= SWIG_From_int((int)(result
));
41681 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41684 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41686 return Py_BuildValue((char *)"");
41688 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41689 PyObject
*resultobj
;
41690 int arg1
= (int) 1 ;
41691 int arg2
= (int) 0 ;
41692 int arg3
= (int) 0 ;
41693 int arg4
= (int) 0 ;
41694 wxFlexGridSizer
*result
;
41695 PyObject
* obj0
= 0 ;
41696 PyObject
* obj1
= 0 ;
41697 PyObject
* obj2
= 0 ;
41698 PyObject
* obj3
= 0 ;
41699 char *kwnames
[] = {
41700 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41706 arg1
= (int)(SWIG_As_int(obj0
));
41707 if (SWIG_arg_fail(1)) SWIG_fail
;
41712 arg2
= (int)(SWIG_As_int(obj1
));
41713 if (SWIG_arg_fail(2)) SWIG_fail
;
41718 arg3
= (int)(SWIG_As_int(obj2
));
41719 if (SWIG_arg_fail(3)) SWIG_fail
;
41724 arg4
= (int)(SWIG_As_int(obj3
));
41725 if (SWIG_arg_fail(4)) SWIG_fail
;
41729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41730 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41732 wxPyEndAllowThreads(__tstate
);
41733 if (PyErr_Occurred()) SWIG_fail
;
41735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41742 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41743 PyObject
*resultobj
;
41744 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41746 int arg3
= (int) 0 ;
41747 PyObject
* obj0
= 0 ;
41748 PyObject
* obj1
= 0 ;
41749 PyObject
* obj2
= 0 ;
41750 char *kwnames
[] = {
41751 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41756 if (SWIG_arg_fail(1)) SWIG_fail
;
41758 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41759 if (SWIG_arg_fail(2)) SWIG_fail
;
41763 arg3
= (int)(SWIG_As_int(obj2
));
41764 if (SWIG_arg_fail(3)) SWIG_fail
;
41768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41769 (arg1
)->AddGrowableRow(arg2
,arg3
);
41771 wxPyEndAllowThreads(__tstate
);
41772 if (PyErr_Occurred()) SWIG_fail
;
41774 Py_INCREF(Py_None
); resultobj
= Py_None
;
41781 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41782 PyObject
*resultobj
;
41783 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41785 PyObject
* obj0
= 0 ;
41786 PyObject
* obj1
= 0 ;
41787 char *kwnames
[] = {
41788 (char *) "self",(char *) "idx", NULL
41791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41793 if (SWIG_arg_fail(1)) SWIG_fail
;
41795 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41796 if (SWIG_arg_fail(2)) SWIG_fail
;
41799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41800 (arg1
)->RemoveGrowableRow(arg2
);
41802 wxPyEndAllowThreads(__tstate
);
41803 if (PyErr_Occurred()) SWIG_fail
;
41805 Py_INCREF(Py_None
); resultobj
= Py_None
;
41812 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41813 PyObject
*resultobj
;
41814 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41816 int arg3
= (int) 0 ;
41817 PyObject
* obj0
= 0 ;
41818 PyObject
* obj1
= 0 ;
41819 PyObject
* obj2
= 0 ;
41820 char *kwnames
[] = {
41821 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41826 if (SWIG_arg_fail(1)) SWIG_fail
;
41828 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41829 if (SWIG_arg_fail(2)) SWIG_fail
;
41833 arg3
= (int)(SWIG_As_int(obj2
));
41834 if (SWIG_arg_fail(3)) SWIG_fail
;
41838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41839 (arg1
)->AddGrowableCol(arg2
,arg3
);
41841 wxPyEndAllowThreads(__tstate
);
41842 if (PyErr_Occurred()) SWIG_fail
;
41844 Py_INCREF(Py_None
); resultobj
= Py_None
;
41851 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41852 PyObject
*resultobj
;
41853 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41855 PyObject
* obj0
= 0 ;
41856 PyObject
* obj1
= 0 ;
41857 char *kwnames
[] = {
41858 (char *) "self",(char *) "idx", NULL
41861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41863 if (SWIG_arg_fail(1)) SWIG_fail
;
41865 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41866 if (SWIG_arg_fail(2)) SWIG_fail
;
41869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41870 (arg1
)->RemoveGrowableCol(arg2
);
41872 wxPyEndAllowThreads(__tstate
);
41873 if (PyErr_Occurred()) SWIG_fail
;
41875 Py_INCREF(Py_None
); resultobj
= Py_None
;
41882 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41883 PyObject
*resultobj
;
41884 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41886 PyObject
* obj0
= 0 ;
41887 PyObject
* obj1
= 0 ;
41888 char *kwnames
[] = {
41889 (char *) "self",(char *) "direction", NULL
41892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41894 if (SWIG_arg_fail(1)) SWIG_fail
;
41896 arg2
= (int)(SWIG_As_int(obj1
));
41897 if (SWIG_arg_fail(2)) SWIG_fail
;
41900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41901 (arg1
)->SetFlexibleDirection(arg2
);
41903 wxPyEndAllowThreads(__tstate
);
41904 if (PyErr_Occurred()) SWIG_fail
;
41906 Py_INCREF(Py_None
); resultobj
= Py_None
;
41913 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41914 PyObject
*resultobj
;
41915 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41917 PyObject
* obj0
= 0 ;
41918 char *kwnames
[] = {
41919 (char *) "self", NULL
41922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41924 if (SWIG_arg_fail(1)) SWIG_fail
;
41926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41927 result
= (int)(arg1
)->GetFlexibleDirection();
41929 wxPyEndAllowThreads(__tstate
);
41930 if (PyErr_Occurred()) SWIG_fail
;
41933 resultobj
= SWIG_From_int((int)(result
));
41941 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41942 PyObject
*resultobj
;
41943 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41944 wxFlexSizerGrowMode arg2
;
41945 PyObject
* obj0
= 0 ;
41946 PyObject
* obj1
= 0 ;
41947 char *kwnames
[] = {
41948 (char *) "self",(char *) "mode", NULL
41951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41953 if (SWIG_arg_fail(1)) SWIG_fail
;
41955 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41956 if (SWIG_arg_fail(2)) SWIG_fail
;
41959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41960 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41962 wxPyEndAllowThreads(__tstate
);
41963 if (PyErr_Occurred()) SWIG_fail
;
41965 Py_INCREF(Py_None
); resultobj
= Py_None
;
41972 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41973 PyObject
*resultobj
;
41974 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41975 wxFlexSizerGrowMode result
;
41976 PyObject
* obj0
= 0 ;
41977 char *kwnames
[] = {
41978 (char *) "self", NULL
41981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41983 if (SWIG_arg_fail(1)) SWIG_fail
;
41985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41986 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41988 wxPyEndAllowThreads(__tstate
);
41989 if (PyErr_Occurred()) SWIG_fail
;
41991 resultobj
= SWIG_From_int((result
));
41998 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41999 PyObject
*resultobj
;
42000 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
42001 wxArrayInt
*result
;
42002 PyObject
* obj0
= 0 ;
42003 char *kwnames
[] = {
42004 (char *) "self", NULL
42007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
42008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
42009 if (SWIG_arg_fail(1)) SWIG_fail
;
42011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42013 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
42014 result
= (wxArrayInt
*) &_result_ref
;
42017 wxPyEndAllowThreads(__tstate
);
42018 if (PyErr_Occurred()) SWIG_fail
;
42021 resultobj
= PyList_New(0);
42023 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
42024 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
42025 PyList_Append(resultobj
, val
);
42035 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42036 PyObject
*resultobj
;
42037 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
42038 wxArrayInt
*result
;
42039 PyObject
* obj0
= 0 ;
42040 char *kwnames
[] = {
42041 (char *) "self", NULL
42044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
42045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
42046 if (SWIG_arg_fail(1)) SWIG_fail
;
42048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42050 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
42051 result
= (wxArrayInt
*) &_result_ref
;
42054 wxPyEndAllowThreads(__tstate
);
42055 if (PyErr_Occurred()) SWIG_fail
;
42058 resultobj
= PyList_New(0);
42060 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
42061 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
42062 PyList_Append(resultobj
, val
);
42072 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
42074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42075 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
42077 return Py_BuildValue((char *)"");
42079 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42080 PyObject
*resultobj
;
42081 wxStdDialogButtonSizer
*result
;
42082 char *kwnames
[] = {
42086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
42088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42089 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
42091 wxPyEndAllowThreads(__tstate
);
42092 if (PyErr_Occurred()) SWIG_fail
;
42094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
42101 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42102 PyObject
*resultobj
;
42103 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42104 wxButton
*arg2
= (wxButton
*) 0 ;
42105 PyObject
* obj0
= 0 ;
42106 PyObject
* obj1
= 0 ;
42107 char *kwnames
[] = {
42108 (char *) "self",(char *) "button", NULL
42111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42113 if (SWIG_arg_fail(1)) SWIG_fail
;
42114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42115 if (SWIG_arg_fail(2)) SWIG_fail
;
42117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42118 (arg1
)->AddButton(arg2
);
42120 wxPyEndAllowThreads(__tstate
);
42121 if (PyErr_Occurred()) SWIG_fail
;
42123 Py_INCREF(Py_None
); resultobj
= Py_None
;
42130 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42131 PyObject
*resultobj
;
42132 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42133 PyObject
* obj0
= 0 ;
42134 char *kwnames
[] = {
42135 (char *) "self", NULL
42138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
42139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42140 if (SWIG_arg_fail(1)) SWIG_fail
;
42142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42145 wxPyEndAllowThreads(__tstate
);
42146 if (PyErr_Occurred()) SWIG_fail
;
42148 Py_INCREF(Py_None
); resultobj
= Py_None
;
42155 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42156 PyObject
*resultobj
;
42157 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42158 wxButton
*arg2
= (wxButton
*) 0 ;
42159 PyObject
* obj0
= 0 ;
42160 PyObject
* obj1
= 0 ;
42161 char *kwnames
[] = {
42162 (char *) "self",(char *) "button", NULL
42165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42167 if (SWIG_arg_fail(1)) SWIG_fail
;
42168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42169 if (SWIG_arg_fail(2)) SWIG_fail
;
42171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42172 (arg1
)->SetAffirmativeButton(arg2
);
42174 wxPyEndAllowThreads(__tstate
);
42175 if (PyErr_Occurred()) SWIG_fail
;
42177 Py_INCREF(Py_None
); resultobj
= Py_None
;
42184 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42185 PyObject
*resultobj
;
42186 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42187 wxButton
*arg2
= (wxButton
*) 0 ;
42188 PyObject
* obj0
= 0 ;
42189 PyObject
* obj1
= 0 ;
42190 char *kwnames
[] = {
42191 (char *) "self",(char *) "button", NULL
42194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42196 if (SWIG_arg_fail(1)) SWIG_fail
;
42197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42198 if (SWIG_arg_fail(2)) SWIG_fail
;
42200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42201 (arg1
)->SetNegativeButton(arg2
);
42203 wxPyEndAllowThreads(__tstate
);
42204 if (PyErr_Occurred()) SWIG_fail
;
42206 Py_INCREF(Py_None
); resultobj
= Py_None
;
42213 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42214 PyObject
*resultobj
;
42215 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42216 wxButton
*arg2
= (wxButton
*) 0 ;
42217 PyObject
* obj0
= 0 ;
42218 PyObject
* obj1
= 0 ;
42219 char *kwnames
[] = {
42220 (char *) "self",(char *) "button", NULL
42223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42225 if (SWIG_arg_fail(1)) SWIG_fail
;
42226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42227 if (SWIG_arg_fail(2)) SWIG_fail
;
42229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42230 (arg1
)->SetCancelButton(arg2
);
42232 wxPyEndAllowThreads(__tstate
);
42233 if (PyErr_Occurred()) SWIG_fail
;
42235 Py_INCREF(Py_None
); resultobj
= Py_None
;
42242 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42243 PyObject
*resultobj
;
42244 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42246 PyObject
* obj0
= 0 ;
42247 char *kwnames
[] = {
42248 (char *) "self", NULL
42251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
42252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42253 if (SWIG_arg_fail(1)) SWIG_fail
;
42255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42256 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
42258 wxPyEndAllowThreads(__tstate
);
42259 if (PyErr_Occurred()) SWIG_fail
;
42262 resultobj
= wxPyMake_wxObject(result
, 0);
42270 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42271 PyObject
*resultobj
;
42272 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42274 PyObject
* obj0
= 0 ;
42275 char *kwnames
[] = {
42276 (char *) "self", NULL
42279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
42280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42281 if (SWIG_arg_fail(1)) SWIG_fail
;
42283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42284 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
42286 wxPyEndAllowThreads(__tstate
);
42287 if (PyErr_Occurred()) SWIG_fail
;
42290 resultobj
= wxPyMake_wxObject(result
, 0);
42298 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42299 PyObject
*resultobj
;
42300 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42302 PyObject
* obj0
= 0 ;
42303 char *kwnames
[] = {
42304 (char *) "self", NULL
42307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
42308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42309 if (SWIG_arg_fail(1)) SWIG_fail
;
42311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42312 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
42314 wxPyEndAllowThreads(__tstate
);
42315 if (PyErr_Occurred()) SWIG_fail
;
42318 resultobj
= wxPyMake_wxObject(result
, 0);
42326 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42327 PyObject
*resultobj
;
42328 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42330 PyObject
* obj0
= 0 ;
42331 char *kwnames
[] = {
42332 (char *) "self", NULL
42335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
42336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42337 if (SWIG_arg_fail(1)) SWIG_fail
;
42339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42340 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
42342 wxPyEndAllowThreads(__tstate
);
42343 if (PyErr_Occurred()) SWIG_fail
;
42346 resultobj
= wxPyMake_wxObject(result
, 0);
42354 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42355 PyObject
*resultobj
;
42356 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42358 PyObject
* obj0
= 0 ;
42359 char *kwnames
[] = {
42360 (char *) "self", NULL
42363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
42364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42365 if (SWIG_arg_fail(1)) SWIG_fail
;
42367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42368 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
42370 wxPyEndAllowThreads(__tstate
);
42371 if (PyErr_Occurred()) SWIG_fail
;
42374 resultobj
= wxPyMake_wxObject(result
, 0);
42382 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
42384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42385 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
42387 return Py_BuildValue((char *)"");
42389 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42390 PyObject
*resultobj
;
42391 int arg1
= (int) 0 ;
42392 int arg2
= (int) 0 ;
42393 wxGBPosition
*result
;
42394 PyObject
* obj0
= 0 ;
42395 PyObject
* obj1
= 0 ;
42396 char *kwnames
[] = {
42397 (char *) "row",(char *) "col", NULL
42400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
42403 arg1
= (int)(SWIG_As_int(obj0
));
42404 if (SWIG_arg_fail(1)) SWIG_fail
;
42409 arg2
= (int)(SWIG_As_int(obj1
));
42410 if (SWIG_arg_fail(2)) SWIG_fail
;
42414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42415 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
42417 wxPyEndAllowThreads(__tstate
);
42418 if (PyErr_Occurred()) SWIG_fail
;
42420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
42427 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42428 PyObject
*resultobj
;
42429 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42431 PyObject
* obj0
= 0 ;
42432 char *kwnames
[] = {
42433 (char *) "self", NULL
42436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
42437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42438 if (SWIG_arg_fail(1)) SWIG_fail
;
42440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42441 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
42443 wxPyEndAllowThreads(__tstate
);
42444 if (PyErr_Occurred()) SWIG_fail
;
42447 resultobj
= SWIG_From_int((int)(result
));
42455 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42456 PyObject
*resultobj
;
42457 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42459 PyObject
* obj0
= 0 ;
42460 char *kwnames
[] = {
42461 (char *) "self", NULL
42464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
42465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42466 if (SWIG_arg_fail(1)) SWIG_fail
;
42468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42469 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
42471 wxPyEndAllowThreads(__tstate
);
42472 if (PyErr_Occurred()) SWIG_fail
;
42475 resultobj
= SWIG_From_int((int)(result
));
42483 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42484 PyObject
*resultobj
;
42485 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42487 PyObject
* obj0
= 0 ;
42488 PyObject
* obj1
= 0 ;
42489 char *kwnames
[] = {
42490 (char *) "self",(char *) "row", NULL
42493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
42494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42495 if (SWIG_arg_fail(1)) SWIG_fail
;
42497 arg2
= (int)(SWIG_As_int(obj1
));
42498 if (SWIG_arg_fail(2)) SWIG_fail
;
42501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42502 (arg1
)->SetRow(arg2
);
42504 wxPyEndAllowThreads(__tstate
);
42505 if (PyErr_Occurred()) SWIG_fail
;
42507 Py_INCREF(Py_None
); resultobj
= Py_None
;
42514 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42515 PyObject
*resultobj
;
42516 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42518 PyObject
* obj0
= 0 ;
42519 PyObject
* obj1
= 0 ;
42520 char *kwnames
[] = {
42521 (char *) "self",(char *) "col", NULL
42524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
42525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42526 if (SWIG_arg_fail(1)) SWIG_fail
;
42528 arg2
= (int)(SWIG_As_int(obj1
));
42529 if (SWIG_arg_fail(2)) SWIG_fail
;
42532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42533 (arg1
)->SetCol(arg2
);
42535 wxPyEndAllowThreads(__tstate
);
42536 if (PyErr_Occurred()) SWIG_fail
;
42538 Py_INCREF(Py_None
); resultobj
= Py_None
;
42545 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42546 PyObject
*resultobj
;
42547 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42548 wxGBPosition
*arg2
= 0 ;
42550 wxGBPosition temp2
;
42551 PyObject
* obj0
= 0 ;
42552 PyObject
* obj1
= 0 ;
42553 char *kwnames
[] = {
42554 (char *) "self",(char *) "other", NULL
42557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42559 if (SWIG_arg_fail(1)) SWIG_fail
;
42562 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42566 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
42568 wxPyEndAllowThreads(__tstate
);
42569 if (PyErr_Occurred()) SWIG_fail
;
42572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42580 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42581 PyObject
*resultobj
;
42582 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42583 wxGBPosition
*arg2
= 0 ;
42585 wxGBPosition temp2
;
42586 PyObject
* obj0
= 0 ;
42587 PyObject
* obj1
= 0 ;
42588 char *kwnames
[] = {
42589 (char *) "self",(char *) "other", NULL
42592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42594 if (SWIG_arg_fail(1)) SWIG_fail
;
42597 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42601 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42603 wxPyEndAllowThreads(__tstate
);
42604 if (PyErr_Occurred()) SWIG_fail
;
42607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42615 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42616 PyObject
*resultobj
;
42617 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42618 int arg2
= (int) 0 ;
42619 int arg3
= (int) 0 ;
42620 PyObject
* obj0
= 0 ;
42621 PyObject
* obj1
= 0 ;
42622 PyObject
* obj2
= 0 ;
42623 char *kwnames
[] = {
42624 (char *) "self",(char *) "row",(char *) "col", NULL
42627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42629 if (SWIG_arg_fail(1)) SWIG_fail
;
42632 arg2
= (int)(SWIG_As_int(obj1
));
42633 if (SWIG_arg_fail(2)) SWIG_fail
;
42638 arg3
= (int)(SWIG_As_int(obj2
));
42639 if (SWIG_arg_fail(3)) SWIG_fail
;
42643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42644 wxGBPosition_Set(arg1
,arg2
,arg3
);
42646 wxPyEndAllowThreads(__tstate
);
42647 if (PyErr_Occurred()) SWIG_fail
;
42649 Py_INCREF(Py_None
); resultobj
= Py_None
;
42656 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42657 PyObject
*resultobj
;
42658 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42660 PyObject
* obj0
= 0 ;
42661 char *kwnames
[] = {
42662 (char *) "self", NULL
42665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42667 if (SWIG_arg_fail(1)) SWIG_fail
;
42669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42670 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42672 wxPyEndAllowThreads(__tstate
);
42673 if (PyErr_Occurred()) SWIG_fail
;
42675 resultobj
= result
;
42682 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42685 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42687 return Py_BuildValue((char *)"");
42689 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42690 PyObject
*resultobj
;
42691 int arg1
= (int) 1 ;
42692 int arg2
= (int) 1 ;
42694 PyObject
* obj0
= 0 ;
42695 PyObject
* obj1
= 0 ;
42696 char *kwnames
[] = {
42697 (char *) "rowspan",(char *) "colspan", NULL
42700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42703 arg1
= (int)(SWIG_As_int(obj0
));
42704 if (SWIG_arg_fail(1)) SWIG_fail
;
42709 arg2
= (int)(SWIG_As_int(obj1
));
42710 if (SWIG_arg_fail(2)) SWIG_fail
;
42714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42715 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42717 wxPyEndAllowThreads(__tstate
);
42718 if (PyErr_Occurred()) SWIG_fail
;
42720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42727 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42728 PyObject
*resultobj
;
42729 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42731 PyObject
* obj0
= 0 ;
42732 char *kwnames
[] = {
42733 (char *) "self", NULL
42736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42738 if (SWIG_arg_fail(1)) SWIG_fail
;
42740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42741 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42743 wxPyEndAllowThreads(__tstate
);
42744 if (PyErr_Occurred()) SWIG_fail
;
42747 resultobj
= SWIG_From_int((int)(result
));
42755 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42756 PyObject
*resultobj
;
42757 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42759 PyObject
* obj0
= 0 ;
42760 char *kwnames
[] = {
42761 (char *) "self", NULL
42764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42766 if (SWIG_arg_fail(1)) SWIG_fail
;
42768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42769 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42771 wxPyEndAllowThreads(__tstate
);
42772 if (PyErr_Occurred()) SWIG_fail
;
42775 resultobj
= SWIG_From_int((int)(result
));
42783 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42784 PyObject
*resultobj
;
42785 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42787 PyObject
* obj0
= 0 ;
42788 PyObject
* obj1
= 0 ;
42789 char *kwnames
[] = {
42790 (char *) "self",(char *) "rowspan", NULL
42793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42795 if (SWIG_arg_fail(1)) SWIG_fail
;
42797 arg2
= (int)(SWIG_As_int(obj1
));
42798 if (SWIG_arg_fail(2)) SWIG_fail
;
42801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42802 (arg1
)->SetRowspan(arg2
);
42804 wxPyEndAllowThreads(__tstate
);
42805 if (PyErr_Occurred()) SWIG_fail
;
42807 Py_INCREF(Py_None
); resultobj
= Py_None
;
42814 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42815 PyObject
*resultobj
;
42816 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42818 PyObject
* obj0
= 0 ;
42819 PyObject
* obj1
= 0 ;
42820 char *kwnames
[] = {
42821 (char *) "self",(char *) "colspan", NULL
42824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42826 if (SWIG_arg_fail(1)) SWIG_fail
;
42828 arg2
= (int)(SWIG_As_int(obj1
));
42829 if (SWIG_arg_fail(2)) SWIG_fail
;
42832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42833 (arg1
)->SetColspan(arg2
);
42835 wxPyEndAllowThreads(__tstate
);
42836 if (PyErr_Occurred()) SWIG_fail
;
42838 Py_INCREF(Py_None
); resultobj
= Py_None
;
42845 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42846 PyObject
*resultobj
;
42847 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42848 wxGBSpan
*arg2
= 0 ;
42851 PyObject
* obj0
= 0 ;
42852 PyObject
* obj1
= 0 ;
42853 char *kwnames
[] = {
42854 (char *) "self",(char *) "other", NULL
42857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42859 if (SWIG_arg_fail(1)) SWIG_fail
;
42862 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42866 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42868 wxPyEndAllowThreads(__tstate
);
42869 if (PyErr_Occurred()) SWIG_fail
;
42872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42880 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42881 PyObject
*resultobj
;
42882 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42883 wxGBSpan
*arg2
= 0 ;
42886 PyObject
* obj0
= 0 ;
42887 PyObject
* obj1
= 0 ;
42888 char *kwnames
[] = {
42889 (char *) "self",(char *) "other", NULL
42892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42894 if (SWIG_arg_fail(1)) SWIG_fail
;
42897 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42901 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42903 wxPyEndAllowThreads(__tstate
);
42904 if (PyErr_Occurred()) SWIG_fail
;
42907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42915 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42916 PyObject
*resultobj
;
42917 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42918 int arg2
= (int) 1 ;
42919 int arg3
= (int) 1 ;
42920 PyObject
* obj0
= 0 ;
42921 PyObject
* obj1
= 0 ;
42922 PyObject
* obj2
= 0 ;
42923 char *kwnames
[] = {
42924 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42929 if (SWIG_arg_fail(1)) SWIG_fail
;
42932 arg2
= (int)(SWIG_As_int(obj1
));
42933 if (SWIG_arg_fail(2)) SWIG_fail
;
42938 arg3
= (int)(SWIG_As_int(obj2
));
42939 if (SWIG_arg_fail(3)) SWIG_fail
;
42943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42944 wxGBSpan_Set(arg1
,arg2
,arg3
);
42946 wxPyEndAllowThreads(__tstate
);
42947 if (PyErr_Occurred()) SWIG_fail
;
42949 Py_INCREF(Py_None
); resultobj
= Py_None
;
42956 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42957 PyObject
*resultobj
;
42958 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42960 PyObject
* obj0
= 0 ;
42961 char *kwnames
[] = {
42962 (char *) "self", NULL
42965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42967 if (SWIG_arg_fail(1)) SWIG_fail
;
42969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42970 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42972 wxPyEndAllowThreads(__tstate
);
42973 if (PyErr_Occurred()) SWIG_fail
;
42975 resultobj
= result
;
42982 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42985 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42987 return Py_BuildValue((char *)"");
42989 static int _wrap_DefaultSpan_set(PyObject
*) {
42990 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42995 static PyObject
*_wrap_DefaultSpan_get(void) {
42998 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
43003 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43004 PyObject
*resultobj
;
43005 wxGBSizerItem
*result
;
43006 char *kwnames
[] = {
43010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
43012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43013 result
= (wxGBSizerItem
*)new wxGBSizerItem();
43015 wxPyEndAllowThreads(__tstate
);
43016 if (PyErr_Occurred()) SWIG_fail
;
43018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43025 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43026 PyObject
*resultobj
;
43027 wxWindow
*arg1
= (wxWindow
*) 0 ;
43028 wxGBPosition
*arg2
= 0 ;
43029 wxGBSpan
*arg3
= 0 ;
43032 PyObject
*arg6
= (PyObject
*) NULL
;
43033 wxGBSizerItem
*result
;
43034 wxGBPosition temp2
;
43036 PyObject
* obj0
= 0 ;
43037 PyObject
* obj1
= 0 ;
43038 PyObject
* obj2
= 0 ;
43039 PyObject
* obj3
= 0 ;
43040 PyObject
* obj4
= 0 ;
43041 PyObject
* obj5
= 0 ;
43042 char *kwnames
[] = {
43043 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43048 if (SWIG_arg_fail(1)) SWIG_fail
;
43051 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43055 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43058 arg4
= (int)(SWIG_As_int(obj3
));
43059 if (SWIG_arg_fail(4)) SWIG_fail
;
43062 arg5
= (int)(SWIG_As_int(obj4
));
43063 if (SWIG_arg_fail(5)) SWIG_fail
;
43069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43070 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
43072 wxPyEndAllowThreads(__tstate
);
43073 if (PyErr_Occurred()) SWIG_fail
;
43075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43082 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43083 PyObject
*resultobj
;
43084 wxSizer
*arg1
= (wxSizer
*) 0 ;
43085 wxGBPosition
*arg2
= 0 ;
43086 wxGBSpan
*arg3
= 0 ;
43089 PyObject
*arg6
= (PyObject
*) NULL
;
43090 wxGBSizerItem
*result
;
43091 wxGBPosition temp2
;
43093 PyObject
* obj0
= 0 ;
43094 PyObject
* obj1
= 0 ;
43095 PyObject
* obj2
= 0 ;
43096 PyObject
* obj3
= 0 ;
43097 PyObject
* obj4
= 0 ;
43098 PyObject
* obj5
= 0 ;
43099 char *kwnames
[] = {
43100 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43105 if (SWIG_arg_fail(1)) SWIG_fail
;
43108 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43112 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43115 arg4
= (int)(SWIG_As_int(obj3
));
43116 if (SWIG_arg_fail(4)) SWIG_fail
;
43119 arg5
= (int)(SWIG_As_int(obj4
));
43120 if (SWIG_arg_fail(5)) SWIG_fail
;
43126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43127 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
43129 wxPyEndAllowThreads(__tstate
);
43130 if (PyErr_Occurred()) SWIG_fail
;
43132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43139 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43140 PyObject
*resultobj
;
43143 wxGBPosition
*arg3
= 0 ;
43144 wxGBSpan
*arg4
= 0 ;
43147 PyObject
*arg7
= (PyObject
*) NULL
;
43148 wxGBSizerItem
*result
;
43149 wxGBPosition temp3
;
43151 PyObject
* obj0
= 0 ;
43152 PyObject
* obj1
= 0 ;
43153 PyObject
* obj2
= 0 ;
43154 PyObject
* obj3
= 0 ;
43155 PyObject
* obj4
= 0 ;
43156 PyObject
* obj5
= 0 ;
43157 PyObject
* obj6
= 0 ;
43158 char *kwnames
[] = {
43159 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43164 arg1
= (int)(SWIG_As_int(obj0
));
43165 if (SWIG_arg_fail(1)) SWIG_fail
;
43168 arg2
= (int)(SWIG_As_int(obj1
));
43169 if (SWIG_arg_fail(2)) SWIG_fail
;
43173 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43177 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43180 arg5
= (int)(SWIG_As_int(obj4
));
43181 if (SWIG_arg_fail(5)) SWIG_fail
;
43184 arg6
= (int)(SWIG_As_int(obj5
));
43185 if (SWIG_arg_fail(6)) SWIG_fail
;
43191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43192 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43194 wxPyEndAllowThreads(__tstate
);
43195 if (PyErr_Occurred()) SWIG_fail
;
43197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43204 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43205 PyObject
*resultobj
;
43206 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43207 wxGBPosition result
;
43208 PyObject
* obj0
= 0 ;
43209 char *kwnames
[] = {
43210 (char *) "self", NULL
43213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
43214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43215 if (SWIG_arg_fail(1)) SWIG_fail
;
43217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43218 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
43220 wxPyEndAllowThreads(__tstate
);
43221 if (PyErr_Occurred()) SWIG_fail
;
43224 wxGBPosition
* resultptr
;
43225 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43234 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43235 PyObject
*resultobj
;
43236 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43238 PyObject
* obj0
= 0 ;
43239 char *kwnames
[] = {
43240 (char *) "self", NULL
43243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
43244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43245 if (SWIG_arg_fail(1)) SWIG_fail
;
43247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43248 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
43250 wxPyEndAllowThreads(__tstate
);
43251 if (PyErr_Occurred()) SWIG_fail
;
43254 wxGBSpan
* resultptr
;
43255 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43264 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43265 PyObject
*resultobj
;
43266 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43267 wxGBPosition
*arg2
= 0 ;
43269 wxGBPosition temp2
;
43270 PyObject
* obj0
= 0 ;
43271 PyObject
* obj1
= 0 ;
43272 char *kwnames
[] = {
43273 (char *) "self",(char *) "pos", NULL
43276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
43277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43278 if (SWIG_arg_fail(1)) SWIG_fail
;
43281 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43285 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
43287 wxPyEndAllowThreads(__tstate
);
43288 if (PyErr_Occurred()) SWIG_fail
;
43291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43299 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43300 PyObject
*resultobj
;
43301 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43302 wxGBSpan
*arg2
= 0 ;
43305 PyObject
* obj0
= 0 ;
43306 PyObject
* obj1
= 0 ;
43307 char *kwnames
[] = {
43308 (char *) "self",(char *) "span", NULL
43311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
43312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43313 if (SWIG_arg_fail(1)) SWIG_fail
;
43316 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
43319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43320 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
43322 wxPyEndAllowThreads(__tstate
);
43323 if (PyErr_Occurred()) SWIG_fail
;
43326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43334 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43335 PyObject
*resultobj
;
43336 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43337 wxGBSizerItem
*arg2
= 0 ;
43339 PyObject
* obj0
= 0 ;
43340 PyObject
* obj1
= 0 ;
43341 char *kwnames
[] = {
43342 (char *) "self",(char *) "other", NULL
43345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
43346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43347 if (SWIG_arg_fail(1)) SWIG_fail
;
43349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43350 if (SWIG_arg_fail(2)) SWIG_fail
;
43351 if (arg2
== NULL
) {
43352 SWIG_null_ref("wxGBSizerItem");
43354 if (SWIG_arg_fail(2)) SWIG_fail
;
43357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43358 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
43360 wxPyEndAllowThreads(__tstate
);
43361 if (PyErr_Occurred()) SWIG_fail
;
43364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43372 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43373 PyObject
*resultobj
;
43374 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43375 wxGBPosition
*arg2
= 0 ;
43376 wxGBSpan
*arg3
= 0 ;
43378 wxGBPosition temp2
;
43380 PyObject
* obj0
= 0 ;
43381 PyObject
* obj1
= 0 ;
43382 PyObject
* obj2
= 0 ;
43383 char *kwnames
[] = {
43384 (char *) "self",(char *) "pos",(char *) "span", NULL
43387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43389 if (SWIG_arg_fail(1)) SWIG_fail
;
43392 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43396 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43400 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
43402 wxPyEndAllowThreads(__tstate
);
43403 if (PyErr_Occurred()) SWIG_fail
;
43406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43414 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43415 PyObject
*resultobj
;
43416 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43417 wxGBPosition result
;
43418 PyObject
* obj0
= 0 ;
43419 char *kwnames
[] = {
43420 (char *) "self", NULL
43423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
43424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43425 if (SWIG_arg_fail(1)) SWIG_fail
;
43427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43428 result
= wxGBSizerItem_GetEndPos(arg1
);
43430 wxPyEndAllowThreads(__tstate
);
43431 if (PyErr_Occurred()) SWIG_fail
;
43434 wxGBPosition
* resultptr
;
43435 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43444 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43445 PyObject
*resultobj
;
43446 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43447 wxGridBagSizer
*result
;
43448 PyObject
* obj0
= 0 ;
43449 char *kwnames
[] = {
43450 (char *) "self", NULL
43453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
43454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43455 if (SWIG_arg_fail(1)) SWIG_fail
;
43457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43458 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
43460 wxPyEndAllowThreads(__tstate
);
43461 if (PyErr_Occurred()) SWIG_fail
;
43463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
43470 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43471 PyObject
*resultobj
;
43472 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43473 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
43474 PyObject
* obj0
= 0 ;
43475 PyObject
* obj1
= 0 ;
43476 char *kwnames
[] = {
43477 (char *) "self",(char *) "sizer", NULL
43480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
43481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43482 if (SWIG_arg_fail(1)) SWIG_fail
;
43483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43484 if (SWIG_arg_fail(2)) SWIG_fail
;
43486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43487 (arg1
)->SetGBSizer(arg2
);
43489 wxPyEndAllowThreads(__tstate
);
43490 if (PyErr_Occurred()) SWIG_fail
;
43492 Py_INCREF(Py_None
); resultobj
= Py_None
;
43499 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
43501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43502 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
43504 return Py_BuildValue((char *)"");
43506 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43507 PyObject
*resultobj
;
43508 int arg1
= (int) 0 ;
43509 int arg2
= (int) 0 ;
43510 wxGridBagSizer
*result
;
43511 PyObject
* obj0
= 0 ;
43512 PyObject
* obj1
= 0 ;
43513 char *kwnames
[] = {
43514 (char *) "vgap",(char *) "hgap", NULL
43517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
43520 arg1
= (int)(SWIG_As_int(obj0
));
43521 if (SWIG_arg_fail(1)) SWIG_fail
;
43526 arg2
= (int)(SWIG_As_int(obj1
));
43527 if (SWIG_arg_fail(2)) SWIG_fail
;
43531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43532 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
43534 wxPyEndAllowThreads(__tstate
);
43535 if (PyErr_Occurred()) SWIG_fail
;
43537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
43544 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43545 PyObject
*resultobj
;
43546 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43547 PyObject
*arg2
= (PyObject
*) 0 ;
43548 wxGBPosition
*arg3
= 0 ;
43549 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
43550 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
43551 int arg5
= (int) 0 ;
43552 int arg6
= (int) 0 ;
43553 PyObject
*arg7
= (PyObject
*) NULL
;
43554 wxGBSizerItem
*result
;
43555 wxGBPosition temp3
;
43557 PyObject
* obj0
= 0 ;
43558 PyObject
* obj1
= 0 ;
43559 PyObject
* obj2
= 0 ;
43560 PyObject
* obj3
= 0 ;
43561 PyObject
* obj4
= 0 ;
43562 PyObject
* obj5
= 0 ;
43563 PyObject
* obj6
= 0 ;
43564 char *kwnames
[] = {
43565 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43570 if (SWIG_arg_fail(1)) SWIG_fail
;
43574 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43579 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43584 arg5
= (int)(SWIG_As_int(obj4
));
43585 if (SWIG_arg_fail(5)) SWIG_fail
;
43590 arg6
= (int)(SWIG_As_int(obj5
));
43591 if (SWIG_arg_fail(6)) SWIG_fail
;
43598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43599 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43601 wxPyEndAllowThreads(__tstate
);
43602 if (PyErr_Occurred()) SWIG_fail
;
43604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43611 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43612 PyObject
*resultobj
;
43613 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43614 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43615 wxGBSizerItem
*result
;
43616 PyObject
* obj0
= 0 ;
43617 PyObject
* obj1
= 0 ;
43618 char *kwnames
[] = {
43619 (char *) "self",(char *) "item", NULL
43622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43624 if (SWIG_arg_fail(1)) SWIG_fail
;
43625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43626 if (SWIG_arg_fail(2)) SWIG_fail
;
43628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43629 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43631 wxPyEndAllowThreads(__tstate
);
43632 if (PyErr_Occurred()) SWIG_fail
;
43634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43641 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43642 PyObject
*resultobj
;
43643 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43647 PyObject
* obj0
= 0 ;
43648 PyObject
* obj1
= 0 ;
43649 PyObject
* obj2
= 0 ;
43650 char *kwnames
[] = {
43651 (char *) "self",(char *) "row",(char *) "col", NULL
43654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43656 if (SWIG_arg_fail(1)) SWIG_fail
;
43658 arg2
= (int)(SWIG_As_int(obj1
));
43659 if (SWIG_arg_fail(2)) SWIG_fail
;
43662 arg3
= (int)(SWIG_As_int(obj2
));
43663 if (SWIG_arg_fail(3)) SWIG_fail
;
43666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43667 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43669 wxPyEndAllowThreads(__tstate
);
43670 if (PyErr_Occurred()) SWIG_fail
;
43673 wxSize
* resultptr
;
43674 resultptr
= new wxSize((wxSize
&)(result
));
43675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43683 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43684 PyObject
*resultobj
;
43685 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43687 PyObject
* obj0
= 0 ;
43688 char *kwnames
[] = {
43689 (char *) "self", NULL
43692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43694 if (SWIG_arg_fail(1)) SWIG_fail
;
43696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43697 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43699 wxPyEndAllowThreads(__tstate
);
43700 if (PyErr_Occurred()) SWIG_fail
;
43703 wxSize
* resultptr
;
43704 resultptr
= new wxSize((wxSize
&)(result
));
43705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43713 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43714 PyObject
*resultobj
;
43715 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43718 PyObject
* obj0
= 0 ;
43719 PyObject
* obj1
= 0 ;
43720 char *kwnames
[] = {
43721 (char *) "self",(char *) "sz", NULL
43724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43726 if (SWIG_arg_fail(1)) SWIG_fail
;
43729 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43733 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43735 wxPyEndAllowThreads(__tstate
);
43736 if (PyErr_Occurred()) SWIG_fail
;
43738 Py_INCREF(Py_None
); resultobj
= Py_None
;
43745 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43746 PyObject
*resultobj
;
43747 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43748 wxWindow
*arg2
= (wxWindow
*) 0 ;
43749 wxGBPosition result
;
43750 PyObject
* obj0
= 0 ;
43751 PyObject
* obj1
= 0 ;
43753 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43755 if (SWIG_arg_fail(1)) SWIG_fail
;
43756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43757 if (SWIG_arg_fail(2)) SWIG_fail
;
43759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43760 result
= (arg1
)->GetItemPosition(arg2
);
43762 wxPyEndAllowThreads(__tstate
);
43763 if (PyErr_Occurred()) SWIG_fail
;
43766 wxGBPosition
* resultptr
;
43767 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43776 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43777 PyObject
*resultobj
;
43778 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43779 wxSizer
*arg2
= (wxSizer
*) 0 ;
43780 wxGBPosition result
;
43781 PyObject
* obj0
= 0 ;
43782 PyObject
* obj1
= 0 ;
43784 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43786 if (SWIG_arg_fail(1)) SWIG_fail
;
43787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43788 if (SWIG_arg_fail(2)) SWIG_fail
;
43790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43791 result
= (arg1
)->GetItemPosition(arg2
);
43793 wxPyEndAllowThreads(__tstate
);
43794 if (PyErr_Occurred()) SWIG_fail
;
43797 wxGBPosition
* resultptr
;
43798 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43807 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43808 PyObject
*resultobj
;
43809 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43811 wxGBPosition result
;
43812 PyObject
* obj0
= 0 ;
43813 PyObject
* obj1
= 0 ;
43815 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43817 if (SWIG_arg_fail(1)) SWIG_fail
;
43819 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43820 if (SWIG_arg_fail(2)) SWIG_fail
;
43823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43824 result
= (arg1
)->GetItemPosition(arg2
);
43826 wxPyEndAllowThreads(__tstate
);
43827 if (PyErr_Occurred()) SWIG_fail
;
43830 wxGBPosition
* resultptr
;
43831 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43840 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43845 argc
= PyObject_Length(args
);
43846 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43847 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43853 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43863 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43871 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43879 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43889 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43897 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43905 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43913 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43915 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43920 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43925 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43926 PyObject
*resultobj
;
43927 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43928 wxWindow
*arg2
= (wxWindow
*) 0 ;
43929 wxGBPosition
*arg3
= 0 ;
43931 wxGBPosition temp3
;
43932 PyObject
* obj0
= 0 ;
43933 PyObject
* obj1
= 0 ;
43934 PyObject
* obj2
= 0 ;
43936 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43938 if (SWIG_arg_fail(1)) SWIG_fail
;
43939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43940 if (SWIG_arg_fail(2)) SWIG_fail
;
43943 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43947 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43949 wxPyEndAllowThreads(__tstate
);
43950 if (PyErr_Occurred()) SWIG_fail
;
43953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43961 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43962 PyObject
*resultobj
;
43963 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43964 wxSizer
*arg2
= (wxSizer
*) 0 ;
43965 wxGBPosition
*arg3
= 0 ;
43967 wxGBPosition temp3
;
43968 PyObject
* obj0
= 0 ;
43969 PyObject
* obj1
= 0 ;
43970 PyObject
* obj2
= 0 ;
43972 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43974 if (SWIG_arg_fail(1)) SWIG_fail
;
43975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43976 if (SWIG_arg_fail(2)) SWIG_fail
;
43979 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43983 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43985 wxPyEndAllowThreads(__tstate
);
43986 if (PyErr_Occurred()) SWIG_fail
;
43989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43997 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43998 PyObject
*resultobj
;
43999 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44001 wxGBPosition
*arg3
= 0 ;
44003 wxGBPosition temp3
;
44004 PyObject
* obj0
= 0 ;
44005 PyObject
* obj1
= 0 ;
44006 PyObject
* obj2
= 0 ;
44008 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
44009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44010 if (SWIG_arg_fail(1)) SWIG_fail
;
44012 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44013 if (SWIG_arg_fail(2)) SWIG_fail
;
44017 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
44020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44021 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
44023 wxPyEndAllowThreads(__tstate
);
44024 if (PyErr_Occurred()) SWIG_fail
;
44027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44035 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
44040 argc
= PyObject_Length(args
);
44041 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
44042 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44048 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44058 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44067 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44070 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
44079 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44089 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44098 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44101 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
44110 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44118 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44121 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44124 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
44130 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
44135 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
44136 PyObject
*resultobj
;
44137 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44138 wxWindow
*arg2
= (wxWindow
*) 0 ;
44140 PyObject
* obj0
= 0 ;
44141 PyObject
* obj1
= 0 ;
44143 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44145 if (SWIG_arg_fail(1)) SWIG_fail
;
44146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44147 if (SWIG_arg_fail(2)) SWIG_fail
;
44149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44150 result
= (arg1
)->GetItemSpan(arg2
);
44152 wxPyEndAllowThreads(__tstate
);
44153 if (PyErr_Occurred()) SWIG_fail
;
44156 wxGBSpan
* resultptr
;
44157 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44166 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
44167 PyObject
*resultobj
;
44168 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44169 wxSizer
*arg2
= (wxSizer
*) 0 ;
44171 PyObject
* obj0
= 0 ;
44172 PyObject
* obj1
= 0 ;
44174 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44176 if (SWIG_arg_fail(1)) SWIG_fail
;
44177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44178 if (SWIG_arg_fail(2)) SWIG_fail
;
44180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44181 result
= (arg1
)->GetItemSpan(arg2
);
44183 wxPyEndAllowThreads(__tstate
);
44184 if (PyErr_Occurred()) SWIG_fail
;
44187 wxGBSpan
* resultptr
;
44188 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44197 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
44198 PyObject
*resultobj
;
44199 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44202 PyObject
* obj0
= 0 ;
44203 PyObject
* obj1
= 0 ;
44205 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44207 if (SWIG_arg_fail(1)) SWIG_fail
;
44209 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44210 if (SWIG_arg_fail(2)) SWIG_fail
;
44213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44214 result
= (arg1
)->GetItemSpan(arg2
);
44216 wxPyEndAllowThreads(__tstate
);
44217 if (PyErr_Occurred()) SWIG_fail
;
44220 wxGBSpan
* resultptr
;
44221 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44230 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
44235 argc
= PyObject_Length(args
);
44236 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44237 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44243 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44253 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44261 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
44269 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44279 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44287 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
44295 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44303 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44305 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
44310 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
44315 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
44316 PyObject
*resultobj
;
44317 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44318 wxWindow
*arg2
= (wxWindow
*) 0 ;
44319 wxGBSpan
*arg3
= 0 ;
44322 PyObject
* obj0
= 0 ;
44323 PyObject
* obj1
= 0 ;
44324 PyObject
* obj2
= 0 ;
44326 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44328 if (SWIG_arg_fail(1)) SWIG_fail
;
44329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44330 if (SWIG_arg_fail(2)) SWIG_fail
;
44333 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44337 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44339 wxPyEndAllowThreads(__tstate
);
44340 if (PyErr_Occurred()) SWIG_fail
;
44343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44351 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
44352 PyObject
*resultobj
;
44353 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44354 wxSizer
*arg2
= (wxSizer
*) 0 ;
44355 wxGBSpan
*arg3
= 0 ;
44358 PyObject
* obj0
= 0 ;
44359 PyObject
* obj1
= 0 ;
44360 PyObject
* obj2
= 0 ;
44362 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44364 if (SWIG_arg_fail(1)) SWIG_fail
;
44365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44366 if (SWIG_arg_fail(2)) SWIG_fail
;
44369 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44373 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44375 wxPyEndAllowThreads(__tstate
);
44376 if (PyErr_Occurred()) SWIG_fail
;
44379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44387 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
44388 PyObject
*resultobj
;
44389 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44391 wxGBSpan
*arg3
= 0 ;
44394 PyObject
* obj0
= 0 ;
44395 PyObject
* obj1
= 0 ;
44396 PyObject
* obj2
= 0 ;
44398 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44400 if (SWIG_arg_fail(1)) SWIG_fail
;
44402 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44403 if (SWIG_arg_fail(2)) SWIG_fail
;
44407 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44411 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44413 wxPyEndAllowThreads(__tstate
);
44414 if (PyErr_Occurred()) SWIG_fail
;
44417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44425 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
44430 argc
= PyObject_Length(args
);
44431 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
44432 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44438 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44448 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44457 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44460 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
44469 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44479 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44488 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44491 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
44500 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44508 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44511 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44514 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
44520 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
44525 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
44526 PyObject
*resultobj
;
44527 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44528 wxWindow
*arg2
= (wxWindow
*) 0 ;
44529 wxGBSizerItem
*result
;
44530 PyObject
* obj0
= 0 ;
44531 PyObject
* obj1
= 0 ;
44533 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44535 if (SWIG_arg_fail(1)) SWIG_fail
;
44536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44537 if (SWIG_arg_fail(2)) SWIG_fail
;
44539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44540 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44542 wxPyEndAllowThreads(__tstate
);
44543 if (PyErr_Occurred()) SWIG_fail
;
44545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44552 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
44553 PyObject
*resultobj
;
44554 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44555 wxSizer
*arg2
= (wxSizer
*) 0 ;
44556 wxGBSizerItem
*result
;
44557 PyObject
* obj0
= 0 ;
44558 PyObject
* obj1
= 0 ;
44560 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44562 if (SWIG_arg_fail(1)) SWIG_fail
;
44563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44564 if (SWIG_arg_fail(2)) SWIG_fail
;
44566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44567 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44569 wxPyEndAllowThreads(__tstate
);
44570 if (PyErr_Occurred()) SWIG_fail
;
44572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44579 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
44584 argc
= PyObject_Length(args
);
44585 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44586 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44592 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44602 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44610 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44618 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44628 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44636 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44641 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44646 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44647 PyObject
*resultobj
;
44648 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44649 wxGBPosition
*arg2
= 0 ;
44650 wxGBSizerItem
*result
;
44651 wxGBPosition temp2
;
44652 PyObject
* obj0
= 0 ;
44653 PyObject
* obj1
= 0 ;
44654 char *kwnames
[] = {
44655 (char *) "self",(char *) "pos", NULL
44658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44660 if (SWIG_arg_fail(1)) SWIG_fail
;
44663 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44667 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44669 wxPyEndAllowThreads(__tstate
);
44670 if (PyErr_Occurred()) SWIG_fail
;
44672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44679 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44680 PyObject
*resultobj
;
44681 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44682 wxPoint
*arg2
= 0 ;
44683 wxGBSizerItem
*result
;
44685 PyObject
* obj0
= 0 ;
44686 PyObject
* obj1
= 0 ;
44687 char *kwnames
[] = {
44688 (char *) "self",(char *) "pt", NULL
44691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44693 if (SWIG_arg_fail(1)) SWIG_fail
;
44696 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44700 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44702 wxPyEndAllowThreads(__tstate
);
44703 if (PyErr_Occurred()) SWIG_fail
;
44705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44712 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44713 PyObject
*resultobj
;
44714 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44715 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44716 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44718 PyObject
* obj0
= 0 ;
44719 PyObject
* obj1
= 0 ;
44720 PyObject
* obj2
= 0 ;
44721 char *kwnames
[] = {
44722 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44727 if (SWIG_arg_fail(1)) SWIG_fail
;
44728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44729 if (SWIG_arg_fail(2)) SWIG_fail
;
44731 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44732 if (SWIG_arg_fail(3)) SWIG_fail
;
44735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44736 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44738 wxPyEndAllowThreads(__tstate
);
44739 if (PyErr_Occurred()) SWIG_fail
;
44742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44750 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44751 PyObject
*resultobj
;
44752 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44753 wxGBPosition
*arg2
= 0 ;
44754 wxGBSpan
*arg3
= 0 ;
44755 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44757 wxGBPosition temp2
;
44759 PyObject
* obj0
= 0 ;
44760 PyObject
* obj1
= 0 ;
44761 PyObject
* obj2
= 0 ;
44762 PyObject
* obj3
= 0 ;
44763 char *kwnames
[] = {
44764 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44769 if (SWIG_arg_fail(1)) SWIG_fail
;
44772 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44776 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44779 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44780 if (SWIG_arg_fail(4)) SWIG_fail
;
44783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44784 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44786 wxPyEndAllowThreads(__tstate
);
44787 if (PyErr_Occurred()) SWIG_fail
;
44790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44798 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44801 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44803 return Py_BuildValue((char *)"");
44805 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44806 PyObject
*resultobj
;
44807 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44808 wxRelationship arg2
;
44809 wxWindow
*arg3
= (wxWindow
*) 0 ;
44811 int arg5
= (int) 0 ;
44812 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44813 PyObject
* obj0
= 0 ;
44814 PyObject
* obj1
= 0 ;
44815 PyObject
* obj2
= 0 ;
44816 PyObject
* obj3
= 0 ;
44817 PyObject
* obj4
= 0 ;
44818 PyObject
* obj5
= 0 ;
44819 char *kwnames
[] = {
44820 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44825 if (SWIG_arg_fail(1)) SWIG_fail
;
44827 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44828 if (SWIG_arg_fail(2)) SWIG_fail
;
44830 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44831 if (SWIG_arg_fail(3)) SWIG_fail
;
44833 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44834 if (SWIG_arg_fail(4)) SWIG_fail
;
44838 arg5
= (int)(SWIG_As_int(obj4
));
44839 if (SWIG_arg_fail(5)) SWIG_fail
;
44844 arg6
= (int)(SWIG_As_int(obj5
));
44845 if (SWIG_arg_fail(6)) SWIG_fail
;
44849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44850 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44852 wxPyEndAllowThreads(__tstate
);
44853 if (PyErr_Occurred()) SWIG_fail
;
44855 Py_INCREF(Py_None
); resultobj
= Py_None
;
44862 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44863 PyObject
*resultobj
;
44864 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44865 wxWindow
*arg2
= (wxWindow
*) 0 ;
44866 int arg3
= (int) 0 ;
44867 PyObject
* obj0
= 0 ;
44868 PyObject
* obj1
= 0 ;
44869 PyObject
* obj2
= 0 ;
44870 char *kwnames
[] = {
44871 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44876 if (SWIG_arg_fail(1)) SWIG_fail
;
44877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44878 if (SWIG_arg_fail(2)) SWIG_fail
;
44881 arg3
= (int)(SWIG_As_int(obj2
));
44882 if (SWIG_arg_fail(3)) SWIG_fail
;
44886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44887 (arg1
)->LeftOf(arg2
,arg3
);
44889 wxPyEndAllowThreads(__tstate
);
44890 if (PyErr_Occurred()) SWIG_fail
;
44892 Py_INCREF(Py_None
); resultobj
= Py_None
;
44899 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44900 PyObject
*resultobj
;
44901 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44902 wxWindow
*arg2
= (wxWindow
*) 0 ;
44903 int arg3
= (int) 0 ;
44904 PyObject
* obj0
= 0 ;
44905 PyObject
* obj1
= 0 ;
44906 PyObject
* obj2
= 0 ;
44907 char *kwnames
[] = {
44908 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44913 if (SWIG_arg_fail(1)) SWIG_fail
;
44914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44915 if (SWIG_arg_fail(2)) SWIG_fail
;
44918 arg3
= (int)(SWIG_As_int(obj2
));
44919 if (SWIG_arg_fail(3)) SWIG_fail
;
44923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44924 (arg1
)->RightOf(arg2
,arg3
);
44926 wxPyEndAllowThreads(__tstate
);
44927 if (PyErr_Occurred()) SWIG_fail
;
44929 Py_INCREF(Py_None
); resultobj
= Py_None
;
44936 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44937 PyObject
*resultobj
;
44938 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44939 wxWindow
*arg2
= (wxWindow
*) 0 ;
44940 int arg3
= (int) 0 ;
44941 PyObject
* obj0
= 0 ;
44942 PyObject
* obj1
= 0 ;
44943 PyObject
* obj2
= 0 ;
44944 char *kwnames
[] = {
44945 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44950 if (SWIG_arg_fail(1)) SWIG_fail
;
44951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44952 if (SWIG_arg_fail(2)) SWIG_fail
;
44955 arg3
= (int)(SWIG_As_int(obj2
));
44956 if (SWIG_arg_fail(3)) SWIG_fail
;
44960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44961 (arg1
)->Above(arg2
,arg3
);
44963 wxPyEndAllowThreads(__tstate
);
44964 if (PyErr_Occurred()) SWIG_fail
;
44966 Py_INCREF(Py_None
); resultobj
= Py_None
;
44973 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44974 PyObject
*resultobj
;
44975 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44976 wxWindow
*arg2
= (wxWindow
*) 0 ;
44977 int arg3
= (int) 0 ;
44978 PyObject
* obj0
= 0 ;
44979 PyObject
* obj1
= 0 ;
44980 PyObject
* obj2
= 0 ;
44981 char *kwnames
[] = {
44982 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44987 if (SWIG_arg_fail(1)) SWIG_fail
;
44988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44989 if (SWIG_arg_fail(2)) SWIG_fail
;
44992 arg3
= (int)(SWIG_As_int(obj2
));
44993 if (SWIG_arg_fail(3)) SWIG_fail
;
44997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44998 (arg1
)->Below(arg2
,arg3
);
45000 wxPyEndAllowThreads(__tstate
);
45001 if (PyErr_Occurred()) SWIG_fail
;
45003 Py_INCREF(Py_None
); resultobj
= Py_None
;
45010 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45011 PyObject
*resultobj
;
45012 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45013 wxWindow
*arg2
= (wxWindow
*) 0 ;
45015 int arg4
= (int) 0 ;
45016 PyObject
* obj0
= 0 ;
45017 PyObject
* obj1
= 0 ;
45018 PyObject
* obj2
= 0 ;
45019 PyObject
* obj3
= 0 ;
45020 char *kwnames
[] = {
45021 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
45024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45026 if (SWIG_arg_fail(1)) SWIG_fail
;
45027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45028 if (SWIG_arg_fail(2)) SWIG_fail
;
45030 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
45031 if (SWIG_arg_fail(3)) SWIG_fail
;
45035 arg4
= (int)(SWIG_As_int(obj3
));
45036 if (SWIG_arg_fail(4)) SWIG_fail
;
45040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45041 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
45043 wxPyEndAllowThreads(__tstate
);
45044 if (PyErr_Occurred()) SWIG_fail
;
45046 Py_INCREF(Py_None
); resultobj
= Py_None
;
45053 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45054 PyObject
*resultobj
;
45055 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45056 wxWindow
*arg2
= (wxWindow
*) 0 ;
45059 PyObject
* obj0
= 0 ;
45060 PyObject
* obj1
= 0 ;
45061 PyObject
* obj2
= 0 ;
45062 PyObject
* obj3
= 0 ;
45063 char *kwnames
[] = {
45064 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
45067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45069 if (SWIG_arg_fail(1)) SWIG_fail
;
45070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45071 if (SWIG_arg_fail(2)) SWIG_fail
;
45073 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
45074 if (SWIG_arg_fail(3)) SWIG_fail
;
45077 arg4
= (int)(SWIG_As_int(obj3
));
45078 if (SWIG_arg_fail(4)) SWIG_fail
;
45081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45082 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
45084 wxPyEndAllowThreads(__tstate
);
45085 if (PyErr_Occurred()) SWIG_fail
;
45087 Py_INCREF(Py_None
); resultobj
= Py_None
;
45094 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45095 PyObject
*resultobj
;
45096 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45098 PyObject
* obj0
= 0 ;
45099 PyObject
* obj1
= 0 ;
45100 char *kwnames
[] = {
45101 (char *) "self",(char *) "val", NULL
45104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
45105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45106 if (SWIG_arg_fail(1)) SWIG_fail
;
45108 arg2
= (int)(SWIG_As_int(obj1
));
45109 if (SWIG_arg_fail(2)) SWIG_fail
;
45112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45113 (arg1
)->Absolute(arg2
);
45115 wxPyEndAllowThreads(__tstate
);
45116 if (PyErr_Occurred()) SWIG_fail
;
45118 Py_INCREF(Py_None
); resultobj
= Py_None
;
45125 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45126 PyObject
*resultobj
;
45127 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45128 PyObject
* obj0
= 0 ;
45129 char *kwnames
[] = {
45130 (char *) "self", NULL
45133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
45134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45135 if (SWIG_arg_fail(1)) SWIG_fail
;
45137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45138 (arg1
)->Unconstrained();
45140 wxPyEndAllowThreads(__tstate
);
45141 if (PyErr_Occurred()) SWIG_fail
;
45143 Py_INCREF(Py_None
); resultobj
= Py_None
;
45150 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45151 PyObject
*resultobj
;
45152 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45153 PyObject
* obj0
= 0 ;
45154 char *kwnames
[] = {
45155 (char *) "self", NULL
45158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
45159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45160 if (SWIG_arg_fail(1)) SWIG_fail
;
45162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45165 wxPyEndAllowThreads(__tstate
);
45166 if (PyErr_Occurred()) SWIG_fail
;
45168 Py_INCREF(Py_None
); resultobj
= Py_None
;
45175 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45176 PyObject
*resultobj
;
45177 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45179 PyObject
* obj0
= 0 ;
45180 char *kwnames
[] = {
45181 (char *) "self", NULL
45184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
45185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45186 if (SWIG_arg_fail(1)) SWIG_fail
;
45188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45189 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
45191 wxPyEndAllowThreads(__tstate
);
45192 if (PyErr_Occurred()) SWIG_fail
;
45195 resultobj
= wxPyMake_wxObject(result
, 0);
45203 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45204 PyObject
*resultobj
;
45205 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45207 PyObject
* obj0
= 0 ;
45208 char *kwnames
[] = {
45209 (char *) "self", NULL
45212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
45213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45214 if (SWIG_arg_fail(1)) SWIG_fail
;
45216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45217 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
45219 wxPyEndAllowThreads(__tstate
);
45220 if (PyErr_Occurred()) SWIG_fail
;
45222 resultobj
= SWIG_From_int((result
));
45229 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45230 PyObject
*resultobj
;
45231 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45233 PyObject
* obj0
= 0 ;
45234 PyObject
* obj1
= 0 ;
45235 char *kwnames
[] = {
45236 (char *) "self",(char *) "which", NULL
45239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
45240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45241 if (SWIG_arg_fail(1)) SWIG_fail
;
45243 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45244 if (SWIG_arg_fail(2)) SWIG_fail
;
45247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45248 (arg1
)->SetEdge((wxEdge
)arg2
);
45250 wxPyEndAllowThreads(__tstate
);
45251 if (PyErr_Occurred()) SWIG_fail
;
45253 Py_INCREF(Py_None
); resultobj
= Py_None
;
45260 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45261 PyObject
*resultobj
;
45262 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45264 PyObject
* obj0
= 0 ;
45265 PyObject
* obj1
= 0 ;
45266 char *kwnames
[] = {
45267 (char *) "self",(char *) "v", NULL
45270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
45271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45272 if (SWIG_arg_fail(1)) SWIG_fail
;
45274 arg2
= (int)(SWIG_As_int(obj1
));
45275 if (SWIG_arg_fail(2)) SWIG_fail
;
45278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45279 (arg1
)->SetValue(arg2
);
45281 wxPyEndAllowThreads(__tstate
);
45282 if (PyErr_Occurred()) SWIG_fail
;
45284 Py_INCREF(Py_None
); resultobj
= Py_None
;
45291 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45292 PyObject
*resultobj
;
45293 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45295 PyObject
* obj0
= 0 ;
45296 char *kwnames
[] = {
45297 (char *) "self", NULL
45300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
45301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45302 if (SWIG_arg_fail(1)) SWIG_fail
;
45304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45305 result
= (int)(arg1
)->GetMargin();
45307 wxPyEndAllowThreads(__tstate
);
45308 if (PyErr_Occurred()) SWIG_fail
;
45311 resultobj
= SWIG_From_int((int)(result
));
45319 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45320 PyObject
*resultobj
;
45321 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45323 PyObject
* obj0
= 0 ;
45324 PyObject
* obj1
= 0 ;
45325 char *kwnames
[] = {
45326 (char *) "self",(char *) "m", NULL
45329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
45330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45331 if (SWIG_arg_fail(1)) SWIG_fail
;
45333 arg2
= (int)(SWIG_As_int(obj1
));
45334 if (SWIG_arg_fail(2)) SWIG_fail
;
45337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45338 (arg1
)->SetMargin(arg2
);
45340 wxPyEndAllowThreads(__tstate
);
45341 if (PyErr_Occurred()) SWIG_fail
;
45343 Py_INCREF(Py_None
); resultobj
= Py_None
;
45350 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45351 PyObject
*resultobj
;
45352 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45354 PyObject
* obj0
= 0 ;
45355 char *kwnames
[] = {
45356 (char *) "self", NULL
45359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
45360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45361 if (SWIG_arg_fail(1)) SWIG_fail
;
45363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45364 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
45366 wxPyEndAllowThreads(__tstate
);
45367 if (PyErr_Occurred()) SWIG_fail
;
45370 resultobj
= SWIG_From_int((int)(result
));
45378 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45379 PyObject
*resultobj
;
45380 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45382 PyObject
* obj0
= 0 ;
45383 char *kwnames
[] = {
45384 (char *) "self", NULL
45387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
45388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45389 if (SWIG_arg_fail(1)) SWIG_fail
;
45391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45392 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
45394 wxPyEndAllowThreads(__tstate
);
45395 if (PyErr_Occurred()) SWIG_fail
;
45398 resultobj
= SWIG_From_int((int)(result
));
45406 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45407 PyObject
*resultobj
;
45408 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45410 PyObject
* obj0
= 0 ;
45411 char *kwnames
[] = {
45412 (char *) "self", NULL
45415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
45416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45417 if (SWIG_arg_fail(1)) SWIG_fail
;
45419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45420 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
45422 wxPyEndAllowThreads(__tstate
);
45423 if (PyErr_Occurred()) SWIG_fail
;
45426 resultobj
= SWIG_From_int((int)(result
));
45434 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45435 PyObject
*resultobj
;
45436 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45438 PyObject
* obj0
= 0 ;
45439 char *kwnames
[] = {
45440 (char *) "self", NULL
45443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
45444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45445 if (SWIG_arg_fail(1)) SWIG_fail
;
45447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45448 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
45450 wxPyEndAllowThreads(__tstate
);
45451 if (PyErr_Occurred()) SWIG_fail
;
45454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45462 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45463 PyObject
*resultobj
;
45464 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45466 PyObject
* obj0
= 0 ;
45467 PyObject
* obj1
= 0 ;
45468 char *kwnames
[] = {
45469 (char *) "self",(char *) "d", NULL
45472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
45473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45474 if (SWIG_arg_fail(1)) SWIG_fail
;
45476 arg2
= (bool)(SWIG_As_bool(obj1
));
45477 if (SWIG_arg_fail(2)) SWIG_fail
;
45480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45481 (arg1
)->SetDone(arg2
);
45483 wxPyEndAllowThreads(__tstate
);
45484 if (PyErr_Occurred()) SWIG_fail
;
45486 Py_INCREF(Py_None
); resultobj
= Py_None
;
45493 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45494 PyObject
*resultobj
;
45495 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45496 wxRelationship result
;
45497 PyObject
* obj0
= 0 ;
45498 char *kwnames
[] = {
45499 (char *) "self", NULL
45502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
45503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45504 if (SWIG_arg_fail(1)) SWIG_fail
;
45506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45507 result
= (wxRelationship
)(arg1
)->GetRelationship();
45509 wxPyEndAllowThreads(__tstate
);
45510 if (PyErr_Occurred()) SWIG_fail
;
45512 resultobj
= SWIG_From_int((result
));
45519 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45520 PyObject
*resultobj
;
45521 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45522 wxRelationship arg2
;
45523 PyObject
* obj0
= 0 ;
45524 PyObject
* obj1
= 0 ;
45525 char *kwnames
[] = {
45526 (char *) "self",(char *) "r", NULL
45529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
45530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45531 if (SWIG_arg_fail(1)) SWIG_fail
;
45533 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
45534 if (SWIG_arg_fail(2)) SWIG_fail
;
45537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45538 (arg1
)->SetRelationship((wxRelationship
)arg2
);
45540 wxPyEndAllowThreads(__tstate
);
45541 if (PyErr_Occurred()) SWIG_fail
;
45543 Py_INCREF(Py_None
); resultobj
= Py_None
;
45550 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45551 PyObject
*resultobj
;
45552 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45553 wxWindow
*arg2
= (wxWindow
*) 0 ;
45555 PyObject
* obj0
= 0 ;
45556 PyObject
* obj1
= 0 ;
45557 char *kwnames
[] = {
45558 (char *) "self",(char *) "otherW", NULL
45561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
45562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45563 if (SWIG_arg_fail(1)) SWIG_fail
;
45564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45565 if (SWIG_arg_fail(2)) SWIG_fail
;
45567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45568 result
= (bool)(arg1
)->ResetIfWin(arg2
);
45570 wxPyEndAllowThreads(__tstate
);
45571 if (PyErr_Occurred()) SWIG_fail
;
45574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45582 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45583 PyObject
*resultobj
;
45584 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45585 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
45586 wxWindow
*arg3
= (wxWindow
*) 0 ;
45588 PyObject
* obj0
= 0 ;
45589 PyObject
* obj1
= 0 ;
45590 PyObject
* obj2
= 0 ;
45591 char *kwnames
[] = {
45592 (char *) "self",(char *) "constraints",(char *) "win", NULL
45595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45597 if (SWIG_arg_fail(1)) SWIG_fail
;
45598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45599 if (SWIG_arg_fail(2)) SWIG_fail
;
45600 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45601 if (SWIG_arg_fail(3)) SWIG_fail
;
45603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45604 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45606 wxPyEndAllowThreads(__tstate
);
45607 if (PyErr_Occurred()) SWIG_fail
;
45610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45618 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45619 PyObject
*resultobj
;
45620 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45622 wxWindow
*arg3
= (wxWindow
*) 0 ;
45623 wxWindow
*arg4
= (wxWindow
*) 0 ;
45625 PyObject
* obj0
= 0 ;
45626 PyObject
* obj1
= 0 ;
45627 PyObject
* obj2
= 0 ;
45628 PyObject
* obj3
= 0 ;
45629 char *kwnames
[] = {
45630 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45635 if (SWIG_arg_fail(1)) SWIG_fail
;
45637 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45638 if (SWIG_arg_fail(2)) SWIG_fail
;
45640 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45641 if (SWIG_arg_fail(3)) SWIG_fail
;
45642 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45643 if (SWIG_arg_fail(4)) SWIG_fail
;
45645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45646 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45648 wxPyEndAllowThreads(__tstate
);
45649 if (PyErr_Occurred()) SWIG_fail
;
45652 resultobj
= SWIG_From_int((int)(result
));
45660 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45663 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45665 return Py_BuildValue((char *)"");
45667 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45668 PyObject
*resultobj
;
45669 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45670 wxIndividualLayoutConstraint
*result
;
45671 PyObject
* obj0
= 0 ;
45672 char *kwnames
[] = {
45673 (char *) "self", NULL
45676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45678 if (SWIG_arg_fail(1)) SWIG_fail
;
45679 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45688 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45689 PyObject
*resultobj
;
45690 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45691 wxIndividualLayoutConstraint
*result
;
45692 PyObject
* obj0
= 0 ;
45693 char *kwnames
[] = {
45694 (char *) "self", NULL
45697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45699 if (SWIG_arg_fail(1)) SWIG_fail
;
45700 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45709 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45710 PyObject
*resultobj
;
45711 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45712 wxIndividualLayoutConstraint
*result
;
45713 PyObject
* obj0
= 0 ;
45714 char *kwnames
[] = {
45715 (char *) "self", NULL
45718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45720 if (SWIG_arg_fail(1)) SWIG_fail
;
45721 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45730 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45731 PyObject
*resultobj
;
45732 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45733 wxIndividualLayoutConstraint
*result
;
45734 PyObject
* obj0
= 0 ;
45735 char *kwnames
[] = {
45736 (char *) "self", NULL
45739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45741 if (SWIG_arg_fail(1)) SWIG_fail
;
45742 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45751 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45752 PyObject
*resultobj
;
45753 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45754 wxIndividualLayoutConstraint
*result
;
45755 PyObject
* obj0
= 0 ;
45756 char *kwnames
[] = {
45757 (char *) "self", NULL
45760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45762 if (SWIG_arg_fail(1)) SWIG_fail
;
45763 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45772 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45773 PyObject
*resultobj
;
45774 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45775 wxIndividualLayoutConstraint
*result
;
45776 PyObject
* obj0
= 0 ;
45777 char *kwnames
[] = {
45778 (char *) "self", NULL
45781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45783 if (SWIG_arg_fail(1)) SWIG_fail
;
45784 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45793 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45794 PyObject
*resultobj
;
45795 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45796 wxIndividualLayoutConstraint
*result
;
45797 PyObject
* obj0
= 0 ;
45798 char *kwnames
[] = {
45799 (char *) "self", NULL
45802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45804 if (SWIG_arg_fail(1)) SWIG_fail
;
45805 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45814 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45815 PyObject
*resultobj
;
45816 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45817 wxIndividualLayoutConstraint
*result
;
45818 PyObject
* obj0
= 0 ;
45819 char *kwnames
[] = {
45820 (char *) "self", NULL
45823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45825 if (SWIG_arg_fail(1)) SWIG_fail
;
45826 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45835 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45836 PyObject
*resultobj
;
45837 wxLayoutConstraints
*result
;
45838 char *kwnames
[] = {
45842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45845 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45847 wxPyEndAllowThreads(__tstate
);
45848 if (PyErr_Occurred()) SWIG_fail
;
45850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45857 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45858 PyObject
*resultobj
;
45859 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45860 wxWindow
*arg2
= (wxWindow
*) 0 ;
45861 int *arg3
= (int *) 0 ;
45865 PyObject
* obj0
= 0 ;
45866 PyObject
* obj1
= 0 ;
45867 char *kwnames
[] = {
45868 (char *) "self",(char *) "win", NULL
45871 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45874 if (SWIG_arg_fail(1)) SWIG_fail
;
45875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45876 if (SWIG_arg_fail(2)) SWIG_fail
;
45878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45879 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45881 wxPyEndAllowThreads(__tstate
);
45882 if (PyErr_Occurred()) SWIG_fail
;
45885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45887 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45888 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45895 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45896 PyObject
*resultobj
;
45897 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45899 PyObject
* obj0
= 0 ;
45900 char *kwnames
[] = {
45901 (char *) "self", NULL
45904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45906 if (SWIG_arg_fail(1)) SWIG_fail
;
45908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45909 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45911 wxPyEndAllowThreads(__tstate
);
45912 if (PyErr_Occurred()) SWIG_fail
;
45915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45923 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45926 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45928 return Py_BuildValue((char *)"");
45930 static PyMethodDef SwigMethods
[] = {
45931 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45932 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45933 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45936 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45957 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45970 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45985 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
46039 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
46067 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
46086 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
46088 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
46096 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
46097 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
46109 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
46121 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
46125 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
46131 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
46141 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
46151 { (char *)"new_PyImageHandler", (PyCFunction
) _wrap_new_PyImageHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
46154 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
46161 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Image_RGBValue_red_set", (PyCFunction
) _wrap_Image_RGBValue_red_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Image_RGBValue_red_get", (PyCFunction
) _wrap_Image_RGBValue_red_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Image_RGBValue_green_set", (PyCFunction
) _wrap_Image_RGBValue_green_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Image_RGBValue_green_get", (PyCFunction
) _wrap_Image_RGBValue_green_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Image_RGBValue_blue_set", (PyCFunction
) _wrap_Image_RGBValue_blue_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Image_RGBValue_blue_get", (PyCFunction
) _wrap_Image_RGBValue_blue_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
46169 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Image_HSVValue_hue_set", (PyCFunction
) _wrap_Image_HSVValue_hue_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Image_HSVValue_hue_get", (PyCFunction
) _wrap_Image_HSVValue_hue_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Image_HSVValue_saturation_set", (PyCFunction
) _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
) _wrap_Image_HSVValue_saturation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Image_HSVValue_value_set", (PyCFunction
) _wrap_Image_HSVValue_value_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Image_HSVValue_value_get", (PyCFunction
) _wrap_Image_HSVValue_value_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
46177 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
46260 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
46262 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
46264 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
46266 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
46268 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
46270 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
46272 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
46274 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
46276 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
46278 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
46280 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
46282 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
46284 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
46298 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
46316 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
46319 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
46322 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
46334 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
46339 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
46345 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
46351 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
46414 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
46421 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
46457 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
46467 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
46473 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
46475 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
46477 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
46480 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
46484 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
46487 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
46490 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
46492 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
46497 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
46505 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
46509 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
46512 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
46514 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
46518 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
46535 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46537 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46540 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46542 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46546 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
46550 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
46561 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
46564 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
46567 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
46571 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
46578 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
46583 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
46588 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
46592 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46637 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46657 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46664 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46668 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46678 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46683 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46686 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46701 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46704 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46732 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46752 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46754 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46757 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46759 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46760 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46762 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46763 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46765 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46766 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46767 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46769 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46770 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46772 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46779 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46781 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46782 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46806 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46809 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46810 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46813 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46815 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46817 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46819 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46821 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46824 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46826 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46827 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46830 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46831 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46834 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46837 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46841 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46842 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46843 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46844 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46845 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46846 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46848 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46849 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46857 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46859 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46860 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46863 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46864 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46866 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46878 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46881 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46887 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46889 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46890 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46893 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46899 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46904 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46905 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46906 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46908 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46909 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46911 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46920 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46941 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46950 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46953 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46963 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46977 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46984 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46990 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_GetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46992 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46993 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47004 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47009 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
47036 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
47044 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47048 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47057 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47059 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47060 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47061 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
47063 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
47064 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47074 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47085 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47091 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47100 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
47101 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47111 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47114 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47117 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47121 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47125 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47127 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47129 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
47131 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47132 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
47134 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47136 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
47138 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
47141 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
47151 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
47163 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47165 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
47175 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
47185 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47188 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
47195 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47204 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47206 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47207 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
47209 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47211 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47213 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47214 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
47216 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
47217 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
47218 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
47219 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
47220 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47223 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
47225 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47238 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47239 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47240 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47243 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47246 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
47252 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47253 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47255 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
47264 { NULL
, NULL
, 0, NULL
}
47268 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47270 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
47271 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
47273 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
47274 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
47276 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
47277 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47279 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
47280 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47282 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
47283 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47285 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
47286 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
47288 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
47289 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47291 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
47292 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
47294 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
47295 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47297 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
47298 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47300 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47301 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47303 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47304 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47306 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47307 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47309 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47310 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47312 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47313 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47315 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47316 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47318 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47319 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47321 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47324 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47325 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47327 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47328 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47330 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47331 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47333 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47336 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47337 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47339 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47340 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47342 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47343 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47345 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47346 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47348 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47349 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47351 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47352 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47354 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47355 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47357 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47358 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47360 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47361 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47363 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47364 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47366 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47367 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47369 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47370 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47372 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47373 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47375 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47376 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47378 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47379 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47381 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47382 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47384 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47385 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47387 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47388 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47390 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47391 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47393 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47394 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47396 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47397 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47399 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47400 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47402 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47403 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47405 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47406 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47408 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
47409 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47411 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
47412 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47414 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
47415 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47417 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47418 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47420 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47421 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47423 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47424 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47426 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47427 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47429 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47432 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47433 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47435 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47436 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47438 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47439 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47441 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47442 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47444 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47445 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47447 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
47448 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
47450 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
47451 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
47453 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
47454 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
47456 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
47457 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
47459 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
47460 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
47462 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
47463 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47465 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
47466 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
47468 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
47469 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
47471 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
47472 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
47474 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
47475 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47477 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
47478 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47480 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
47481 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
47483 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
47484 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
47486 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
47487 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
47489 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
47490 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
47492 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
47493 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
47495 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
47496 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
47498 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
47499 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
47501 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
47502 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
47504 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47505 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
47507 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47508 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
47510 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47511 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
47513 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47514 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47516 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47517 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47519 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47520 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47522 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47523 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47525 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47526 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47528 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47529 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47531 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47532 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47534 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47535 return (void *)((wxObject
*) ((wxSizer
*) x
));
47537 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47538 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47540 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47543 static void *_p_wxEventTo_p_wxObject(void *x
) {
47544 return (void *)((wxObject
*) ((wxEvent
*) x
));
47546 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47547 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47549 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47550 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47552 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47553 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47555 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47556 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47558 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47559 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47561 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47562 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47564 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47565 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47567 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47568 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47570 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47571 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47573 static void *_p_wxControlTo_p_wxObject(void *x
) {
47574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47576 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47577 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47579 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47580 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47582 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47583 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47585 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47586 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47588 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47591 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47592 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47594 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47595 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47597 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47598 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47600 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47601 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47603 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47606 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47607 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47609 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47610 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47612 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47613 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47615 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47616 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47618 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47619 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47621 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47622 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47624 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47625 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47627 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47628 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47630 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47631 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47633 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47634 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47636 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47639 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47640 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47642 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47643 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47645 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47646 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47648 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47651 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47652 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47654 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47655 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47657 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47660 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47663 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47664 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47666 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47667 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47669 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47670 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47672 static void *_p_wxImageTo_p_wxObject(void *x
) {
47673 return (void *)((wxObject
*) ((wxImage
*) x
));
47675 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47676 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47678 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47681 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47682 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47684 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47685 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47687 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47688 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47690 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47691 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47693 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47696 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47697 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47699 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47702 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47703 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47705 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47706 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47708 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47709 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47711 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47712 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47714 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47715 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47717 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47720 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47721 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47723 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47724 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47726 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47727 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47729 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47732 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47735 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47738 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47739 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47741 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47742 return (void *)((wxWindow
*) ((wxControl
*) x
));
47744 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47745 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47747 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47748 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47750 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47751 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47753 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47754 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47756 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47757 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47759 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47760 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47762 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47763 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47765 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47766 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47768 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47769 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47771 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47772 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47774 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47775 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47777 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47778 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47780 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}};
47781 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}};
47782 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}};
47783 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}};
47784 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}};
47785 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}};
47786 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}};
47787 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}};
47788 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}};
47789 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}};
47790 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}};
47791 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}};
47792 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}};
47793 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}};
47794 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}};
47795 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}};
47796 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}};
47797 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}};
47798 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}};
47799 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}};
47800 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}};
47801 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}};
47802 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}};
47803 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}};
47804 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}};
47805 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}};
47806 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}};
47807 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}};
47808 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}};
47809 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}};
47810 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}};
47811 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}};
47812 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}};
47813 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}};
47814 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}};
47815 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}};
47816 static swig_type_info _swigt__p_wxImage_HSVValue
[] = {{"_p_wxImage_HSVValue", 0, "wxImage_HSVValue *", 0, 0, 0, 0},{"_p_wxImage_HSVValue", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47817 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}};
47818 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}};
47819 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}};
47820 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}};
47821 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}};
47822 static swig_type_info _swigt__p_wxImage_RGBValue
[] = {{"_p_wxImage_RGBValue", 0, "wxImage_RGBValue *", 0, 0, 0, 0},{"_p_wxImage_RGBValue", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47823 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}};
47824 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}};
47825 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}};
47826 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}};
47827 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}};
47828 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}};
47829 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}};
47830 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}};
47831 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}};
47832 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}};
47833 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}};
47834 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}};
47835 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}};
47836 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}};
47837 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}};
47838 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}};
47839 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}};
47840 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}};
47841 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}};
47842 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}};
47843 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}};
47844 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}};
47845 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}};
47846 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}};
47847 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}};
47848 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}};
47849 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}};
47850 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}};
47851 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}};
47852 static swig_type_info _swigt__p_wxPyImageHandler
[] = {{"_p_wxPyImageHandler", 0, "wxPyImageHandler *", 0, 0, 0, 0},{"_p_wxPyImageHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47853 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}};
47854 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}};
47855 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}};
47856 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}};
47857 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}};
47858 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}};
47859 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}};
47860 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}};
47861 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxImageHandler
, 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}};
47862 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}};
47863 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}};
47864 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}};
47865 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}};
47866 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}};
47867 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}};
47868 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}};
47869 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}};
47870 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}};
47871 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}};
47872 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}};
47873 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}};
47874 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}};
47875 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}};
47876 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}};
47877 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}};
47878 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_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_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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}};
47879 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}};
47880 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}};
47881 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}};
47882 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}};
47883 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}};
47884 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}};
47885 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}};
47886 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}};
47887 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}};
47888 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}};
47889 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}};
47890 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}};
47891 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}};
47892 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}};
47893 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}};
47894 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}};
47895 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}};
47896 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}};
47897 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}};
47898 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}};
47899 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}};
47900 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}};
47901 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}};
47902 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}};
47903 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}};
47904 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}};
47905 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}};
47906 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}};
47907 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}};
47908 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}};
47909 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}};
47910 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}};
47912 static swig_type_info
*swig_types_initial
[] = {
47913 _swigt__p_wxLayoutConstraints
,
47914 _swigt__p_wxRealPoint
,
47915 _swigt__p_wxSizerItem
,
47916 _swigt__p_wxGBSizerItem
,
47917 _swigt__p_wxScrollEvent
,
47918 _swigt__p_wxEventLoop
,
47919 _swigt__p_wxIndividualLayoutConstraint
,
47921 _swigt__p_wxBoxSizer
,
47922 _swigt__p_wxStaticBoxSizer
,
47923 _swigt__p_wxGridBagSizer
,
47924 _swigt__p_wxAcceleratorEntry
,
47925 _swigt__p_wxUpdateUIEvent
,
47929 _swigt__p_wxGridSizer
,
47930 _swigt__p_wxFlexGridSizer
,
47931 _swigt__p_wxInitDialogEvent
,
47932 _swigt__p_wxItemContainer
,
47933 _swigt__p_wxPaintEvent
,
47934 _swigt__p_wxNcPaintEvent
,
47935 _swigt__p_wxSysColourChangedEvent
,
47936 _swigt__p_wxMouseCaptureChangedEvent
,
47937 _swigt__p_wxDisplayChangedEvent
,
47938 _swigt__p_wxPaletteChangedEvent
,
47939 _swigt__p_wxControl
,
47941 _swigt__p_wxMenuBarBase
,
47942 _swigt__p_wxSetCursorEvent
,
47943 _swigt__p_wxFSFile
,
47946 _swigt__std__ptrdiff_t
,
47947 _swigt__p_wxRegion
,
47948 _swigt__p_wxPoint2D
,
47949 _swigt__p_wxImage_HSVValue
,
47953 _swigt__p_wxPySizer
,
47954 _swigt__p_wxVisualAttributes
,
47955 _swigt__p_wxImage_RGBValue
,
47956 _swigt__p_wxNotifyEvent
,
47957 _swigt__p_wxPyEvent
,
47958 _swigt__p_wxPropagationDisabler
,
47959 _swigt__p_form_ops_t
,
47960 _swigt__p_wxAppTraits
,
47961 _swigt__p_wxArrayString
,
47962 _swigt__p_wxShowEvent
,
47963 _swigt__p_wxToolTip
,
47964 _swigt__p_wxMoveEvent
,
47965 _swigt__p_wxSizeEvent
,
47966 _swigt__p_wxActivateEvent
,
47967 _swigt__p_wxIconizeEvent
,
47968 _swigt__p_wxMaximizeEvent
,
47969 _swigt__p_wxQueryNewPaletteEvent
,
47970 _swigt__p_wxWindowCreateEvent
,
47971 _swigt__p_wxIdleEvent
,
47972 _swigt__p_wxDateEvent
,
47973 _swigt__p_wxMenuItem
,
47974 _swigt__p_wxStaticBox
,
47976 _swigt__p_wxDuplexMode
,
47977 _swigt__p_wxTIFFHandler
,
47978 _swigt__p_wxXPMHandler
,
47979 _swigt__p_wxPNMHandler
,
47980 _swigt__p_wxJPEGHandler
,
47981 _swigt__p_wxPCXHandler
,
47982 _swigt__p_wxGIFHandler
,
47983 _swigt__p_wxPNGHandler
,
47984 _swigt__p_wxANIHandler
,
47985 _swigt__p_wxPyImageHandler
,
47986 _swigt__p_wxMemoryFSHandler
,
47987 _swigt__p_wxZipFSHandler
,
47988 _swigt__p_wxInternetFSHandler
,
47989 _swigt__p_wxPyFileSystemHandler
,
47990 _swigt__p_wxEvtHandler
,
47991 _swigt__p_wxCURHandler
,
47992 _swigt__p_wxICOHandler
,
47993 _swigt__p_wxBMPHandler
,
47994 _swigt__p_wxImageHandler
,
47995 _swigt__p_wxFileSystemHandler
,
47997 _swigt__p_wxButton
,
47998 _swigt__p_wxGBSpan
,
47999 _swigt__p_wxPropagateOnce
,
48000 _swigt__p_wxAcceleratorTable
,
48001 _swigt__p_wxStdDialogButtonSizer
,
48003 _swigt__p_wxGBPosition
,
48006 _swigt__p_wxScrollWinEvent
,
48007 _swigt__p_wxPaperSize
,
48008 _swigt__p_wxImageHistogram
,
48010 _swigt__p_wxCursor
,
48011 _swigt__p_wxObject
,
48012 _swigt__p_wxInputStream
,
48013 _swigt__p_wxOutputStream
,
48014 _swigt__p_wxPyInputStream
,
48015 _swigt__p_wxDateTime
,
48016 _swigt__p_wxKeyEvent
,
48017 _swigt__p_wxNavigationKeyEvent
,
48018 _swigt__p_wxWindowDestroyEvent
,
48019 _swigt__p_unsigned_long
,
48020 _swigt__p_wxWindow
,
48021 _swigt__p_wxMenuBar
,
48022 _swigt__p_wxFileSystem
,
48023 _swigt__p_wxBitmap
,
48024 _swigt__unsigned_int
,
48025 _swigt__p_unsigned_int
,
48026 _swigt__p_wxMenuEvent
,
48027 _swigt__p_wxContextMenuEvent
,
48028 _swigt__p_unsigned_char
,
48029 _swigt__p_wxMouseEvent
,
48030 _swigt__p_wxEraseEvent
,
48031 _swigt__p_wxCloseEvent
,
48033 _swigt__p_wxCommandEvent
,
48034 _swigt__p_wxPyCommandEvent
,
48035 _swigt__p_wxPyDropTarget
,
48036 _swigt__p_wxQuantize
,
48037 _swigt__p_wxFocusEvent
,
48038 _swigt__p_wxChildFocusEvent
,
48039 _swigt__p_wxDropFilesEvent
,
48040 _swigt__p_wxControlWithItems
,
48041 _swigt__p_wxColour
,
48042 _swigt__p_wxValidator
,
48043 _swigt__p_wxPyValidator
,
48048 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48050 static swig_const_info swig_const_table
[] = {
48051 {0, 0, 0, 0.0, 0, 0}};
48062 /* Python-specific SWIG API */
48063 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48064 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48065 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48067 /* -----------------------------------------------------------------------------
48068 * global variable support code.
48069 * ----------------------------------------------------------------------------- */
48071 typedef struct swig_globalvar
{
48072 char *name
; /* Name of global variable */
48073 PyObject
*(*get_attr
)(); /* Return the current value */
48074 int (*set_attr
)(PyObject
*); /* Set the value */
48075 struct swig_globalvar
*next
;
48078 typedef struct swig_varlinkobject
{
48080 swig_globalvar
*vars
;
48081 } swig_varlinkobject
;
48084 swig_varlink_repr(swig_varlinkobject
*v
) {
48086 return PyString_FromString("<Swig global variables>");
48090 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
48091 swig_globalvar
*var
;
48093 fprintf(fp
,"Swig global variables { ");
48094 for (var
= v
->vars
; var
; var
=var
->next
) {
48095 fprintf(fp
,"%s", var
->name
);
48096 if (var
->next
) fprintf(fp
,", ");
48098 fprintf(fp
," }\n");
48103 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48104 swig_globalvar
*var
= v
->vars
;
48106 if (strcmp(var
->name
,n
) == 0) {
48107 return (*var
->get_attr
)();
48111 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48116 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48117 swig_globalvar
*var
= v
->vars
;
48119 if (strcmp(var
->name
,n
) == 0) {
48120 return (*var
->set_attr
)(p
);
48124 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48128 static PyTypeObject varlinktype
= {
48129 PyObject_HEAD_INIT(0)
48130 0, /* Number of items in variable part (ob_size) */
48131 (char *)"swigvarlink", /* Type name (tp_name) */
48132 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48133 0, /* Itemsize (tp_itemsize) */
48134 0, /* Deallocator (tp_dealloc) */
48135 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48136 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48137 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48138 0, /* tp_compare */
48139 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48140 0, /* tp_as_number */
48141 0, /* tp_as_sequence */
48142 0, /* tp_as_mapping */
48146 0, /* tp_getattro */
48147 0, /* tp_setattro */
48148 0, /* tp_as_buffer */
48151 #if PY_VERSION_HEX >= 0x02000000
48152 0, /* tp_traverse */
48155 #if PY_VERSION_HEX >= 0x02010000
48156 0, /* tp_richcompare */
48157 0, /* tp_weaklistoffset */
48159 #if PY_VERSION_HEX >= 0x02020000
48160 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48162 #if PY_VERSION_HEX >= 0x02030000
48165 #ifdef COUNT_ALLOCS
48166 0,0,0,0 /* tp_alloc -> tp_next */
48170 /* Create a variable linking object for use later */
48172 SWIG_Python_newvarlink(void) {
48173 swig_varlinkobject
*result
= 0;
48174 result
= PyMem_NEW(swig_varlinkobject
,1);
48175 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
48176 result
->ob_type
= &varlinktype
;
48178 result
->ob_refcnt
= 0;
48179 Py_XINCREF((PyObject
*) result
);
48180 return ((PyObject
*) result
);
48184 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48185 swig_varlinkobject
*v
;
48186 swig_globalvar
*gv
;
48187 v
= (swig_varlinkobject
*) p
;
48188 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48189 gv
->name
= (char *) malloc(strlen(name
)+1);
48190 strcpy(gv
->name
,name
);
48191 gv
->get_attr
= get_attr
;
48192 gv
->set_attr
= set_attr
;
48193 gv
->next
= v
->vars
;
48197 /* -----------------------------------------------------------------------------
48198 * constants/methods manipulation
48199 * ----------------------------------------------------------------------------- */
48201 /* Install Constants */
48203 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48206 for (i
= 0; constants
[i
].type
; i
++) {
48207 switch(constants
[i
].type
) {
48209 obj
= PyInt_FromLong(constants
[i
].lvalue
);
48211 case SWIG_PY_FLOAT
:
48212 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
48214 case SWIG_PY_STRING
:
48215 if (constants
[i
].pvalue
) {
48216 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
48218 Py_INCREF(Py_None
);
48222 case SWIG_PY_POINTER
:
48223 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48225 case SWIG_PY_BINARY
:
48226 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48233 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
48239 /* -----------------------------------------------------------------------------*/
48240 /* Fix SwigMethods to carry the callback ptrs when needed */
48241 /* -----------------------------------------------------------------------------*/
48244 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48245 swig_const_info
*const_table
,
48246 swig_type_info
**types
,
48247 swig_type_info
**types_initial
) {
48249 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48250 char *c
= methods
[i
].ml_doc
;
48251 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48253 swig_const_info
*ci
= 0;
48254 char *name
= c
+ 10;
48255 for (j
= 0; const_table
[j
].type
; j
++) {
48256 if (strncmp(const_table
[j
].name
, name
,
48257 strlen(const_table
[j
].name
)) == 0) {
48258 ci
= &(const_table
[j
]);
48263 size_t shift
= (ci
->ptype
) - types
;
48264 swig_type_info
*ty
= types_initial
[shift
];
48265 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48266 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48267 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48269 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
48270 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48272 strncpy(buff
, "swig_ptr: ", 10);
48274 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48275 methods
[i
].ml_doc
= ndoc
;
48281 /* -----------------------------------------------------------------------------*
48282 * Initialize type list
48283 * -----------------------------------------------------------------------------*/
48285 #if PY_MAJOR_VERSION < 2
48286 /* PyModule_AddObject function was introduced in Python 2.0. The following function
48287 is copied out of Python/modsupport.c in python version 2.3.4 */
48289 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
48292 if (!PyModule_Check(m
)) {
48293 PyErr_SetString(PyExc_TypeError
,
48294 "PyModule_AddObject() needs module as first arg");
48298 PyErr_SetString(PyExc_TypeError
,
48299 "PyModule_AddObject() needs non-NULL value");
48303 dict
= PyModule_GetDict(m
);
48304 if (dict
== NULL
) {
48305 /* Internal error -- modules must have a dict! */
48306 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
48307 PyModule_GetName(m
));
48310 if (PyDict_SetItemString(dict
, name
, o
))
48317 static swig_type_info
**
48318 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
48319 static PyMethodDef swig_empty_runtime_method_table
[] = {
48321 NULL
, NULL
, 0, NULL
48325 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
48326 swig_empty_runtime_method_table
);
48327 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
48328 if (pointer
&& module) {
48329 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
48331 return type_list_handle
;
48334 static swig_type_info
**
48335 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
48336 swig_type_info
**type_pointer
;
48338 /* first check if module already created */
48339 type_pointer
= SWIG_Python_GetTypeListHandle();
48340 if (type_pointer
) {
48341 return type_pointer
;
48343 /* create a new module and variable */
48344 return SWIG_Python_SetTypeListHandle(type_list_handle
);
48352 /* -----------------------------------------------------------------------------*
48353 * Partial Init method
48354 * -----------------------------------------------------------------------------*/
48356 #ifdef SWIG_LINK_RUNTIME
48360 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
48366 SWIGEXPORT(void) SWIG_init(void) {
48367 static PyObject
*SWIG_globals
= 0;
48368 static int typeinit
= 0;
48371 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
48373 /* Fix SwigMethods to carry the callback ptrs when needed */
48374 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
48376 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48377 d
= PyModule_GetDict(m
);
48380 #ifdef SWIG_LINK_RUNTIME
48381 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
48383 # ifndef SWIG_STATIC_RUNTIME
48384 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
48387 for (i
= 0; swig_types_initial
[i
]; i
++) {
48388 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
48392 SWIG_InstallConstants(d
,swig_const_table
);
48395 #ifndef wxPyUSE_EXPORT
48396 // Make our API structure a CObject so other modules can import it
48397 // from this module.
48398 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
48399 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
48404 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
48407 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
48410 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
48413 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
48416 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
48419 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
48422 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
48425 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
48428 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
48431 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
48434 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
48437 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
48440 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
48443 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
48446 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
48449 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
48452 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
48455 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
48458 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
48461 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
48464 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
48467 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
48470 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
48473 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
48476 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
48479 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
48482 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
48485 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
48488 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
48491 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
48494 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
48497 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
48500 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
48503 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
48506 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
48509 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
48512 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
48515 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
48518 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
48521 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
48524 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
48527 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
48530 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
48533 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
48536 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
48539 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
48542 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
48545 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
48548 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
48551 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
48554 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
48557 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
48560 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
48563 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
48566 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
48569 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
48572 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
48575 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
48578 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
48581 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
48584 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
48587 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
48590 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
48593 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
48596 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
48599 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
48602 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
48605 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
48608 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
48611 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
48614 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
48617 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
48620 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
48623 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48626 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48629 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48632 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48635 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48638 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48641 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48644 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48647 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48650 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48653 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48656 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48659 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48662 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48665 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48668 PyDict_SetItemString(d
,"SIZE_FORCE", SWIG_From_int((int)(wxSIZE_FORCE
)));
48671 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48674 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48677 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48680 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48683 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48686 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48689 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48692 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48695 PyDict_SetItemString(d
,"ID_NONE", SWIG_From_int((int)(wxID_NONE
)));
48698 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48701 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48704 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48707 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48710 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48713 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48716 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48719 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48722 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48725 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48728 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48731 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48734 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48737 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48740 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48743 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48746 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48749 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48752 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48755 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48758 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48761 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48764 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48767 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48770 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48773 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48776 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48779 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48782 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48785 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48788 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48791 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48794 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48797 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48800 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48803 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48806 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48809 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48812 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48815 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48818 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48821 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48824 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48827 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48830 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48833 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48836 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48839 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48842 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48845 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48848 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48851 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48854 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48857 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48860 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48863 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48866 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48869 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48872 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48875 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48878 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48881 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48884 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48887 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48890 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48893 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48896 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48899 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48902 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48905 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48908 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48911 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48914 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48917 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48920 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48923 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48926 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48929 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48932 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48935 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48938 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48941 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48944 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48947 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48950 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48953 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48956 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48959 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48962 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48965 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48968 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48971 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48974 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48977 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48980 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48983 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48986 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48989 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48992 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48995 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48998 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
49001 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
49004 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
49007 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
49010 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
49013 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
49016 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
49019 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
49022 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
49025 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
49028 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
49031 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
49034 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
49037 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
49040 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
49043 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
49046 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
49049 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
49052 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
49055 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
49058 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
49061 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
49064 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
49067 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
49070 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
49073 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
49076 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
49079 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
49082 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
49085 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
49088 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
49091 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
49094 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
49097 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
49100 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
49103 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
49106 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
49109 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
49112 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
49115 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
49118 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
49121 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
49124 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
49127 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
49130 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
49133 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
49136 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
49139 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
49142 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
49145 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
49148 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
49151 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
49154 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
49157 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
49160 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
49163 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
49166 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
49169 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
49172 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
49175 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
49178 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
49181 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
49184 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
49187 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
49190 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
49193 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
49196 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
49199 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
49202 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
49205 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
49208 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
49211 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
49214 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
49217 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
49220 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
49223 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
49226 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
49229 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
49232 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
49235 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
49238 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
49241 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
49244 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
49247 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
49250 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
49253 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
49256 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
49259 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
49262 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
49265 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
49268 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
49271 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
49274 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
49277 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
49280 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
49283 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
49286 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
49289 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
49292 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
49295 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
49298 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
49301 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
49304 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
49307 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
49310 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
49313 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
49316 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
49319 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
49322 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
49325 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
49328 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
49331 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
49334 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
49337 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
49340 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
49343 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
49346 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
49349 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
49352 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
49355 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
49358 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
49361 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
49364 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
49367 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
49370 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
49373 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
49376 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
49379 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
49382 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
49385 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
49388 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
49391 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
49394 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
49397 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
49400 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
49403 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
49406 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
49409 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
49412 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
49415 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
49418 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
49421 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
49424 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
49427 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
49430 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
49433 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
49436 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
49439 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
49442 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
49445 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
49448 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
49451 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
49454 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
49457 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
49460 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
49463 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
49466 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
49469 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
49472 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
49475 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
49478 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
49481 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
49484 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
49487 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
49490 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
49493 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
49496 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
49499 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
49502 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
49505 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
49508 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
49511 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
49514 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
49517 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
49520 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
49523 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
49526 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
49529 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
49532 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
49535 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
49538 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
49541 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
49544 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
49547 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
49550 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
49553 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
49556 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
49559 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
49562 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
49565 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
49568 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
49571 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
49574 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
49577 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
49580 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
49583 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
49586 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
49589 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
49592 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
49595 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
49598 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
49601 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
49604 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
49607 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
49610 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
49613 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
49616 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
49619 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
49622 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
49625 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
49628 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
49631 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
49634 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49637 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49640 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49643 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49646 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49649 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49652 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49655 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49658 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49661 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49664 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49667 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49670 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49673 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49676 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49679 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49682 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49685 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49688 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49691 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49694 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49697 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49700 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49703 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49706 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49709 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49712 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49715 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49718 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49721 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49724 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49727 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49730 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49733 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49736 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49739 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49742 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49745 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49748 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49751 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49754 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49757 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49760 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49763 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49766 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49769 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49772 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49775 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49778 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49781 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49784 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49787 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49790 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49793 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49796 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49799 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49802 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49805 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49808 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49811 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49814 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49817 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49820 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49823 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49826 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49829 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49832 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49835 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49838 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49841 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49844 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49847 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49850 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49853 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49856 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49859 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49862 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49865 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49868 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49871 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49874 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49877 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49880 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49883 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49886 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49889 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49892 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49895 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49898 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49901 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49904 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49907 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49910 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49913 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49916 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49919 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49922 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49925 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49928 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49931 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49934 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49937 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49940 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49943 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49946 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49949 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49952 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49955 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49958 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49961 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49964 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49967 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49970 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49973 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49976 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49979 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD
)));
49982 PyDict_SetItemString(d
,"PAPER_A6", SWIG_From_int((int)(wxPAPER_A6
)));
49985 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2", SWIG_From_int((int)(wxPAPER_JENV_KAKU2
)));
49988 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3", SWIG_From_int((int)(wxPAPER_JENV_KAKU3
)));
49991 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3", SWIG_From_int((int)(wxPAPER_JENV_CHOU3
)));
49994 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4", SWIG_From_int((int)(wxPAPER_JENV_CHOU4
)));
49997 PyDict_SetItemString(d
,"PAPER_LETTER_ROTATED", SWIG_From_int((int)(wxPAPER_LETTER_ROTATED
)));
50000 PyDict_SetItemString(d
,"PAPER_A3_ROTATED", SWIG_From_int((int)(wxPAPER_A3_ROTATED
)));
50003 PyDict_SetItemString(d
,"PAPER_A4_ROTATED", SWIG_From_int((int)(wxPAPER_A4_ROTATED
)));
50006 PyDict_SetItemString(d
,"PAPER_A5_ROTATED", SWIG_From_int((int)(wxPAPER_A5_ROTATED
)));
50009 PyDict_SetItemString(d
,"PAPER_B4_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B4_JIS_ROTATED
)));
50012 PyDict_SetItemString(d
,"PAPER_B5_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B5_JIS_ROTATED
)));
50015 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
50018 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
50021 PyDict_SetItemString(d
,"PAPER_A6_ROTATED", SWIG_From_int((int)(wxPAPER_A6_ROTATED
)));
50024 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU2_ROTATED
)));
50027 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU3_ROTATED
)));
50030 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU3_ROTATED
)));
50033 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU4_ROTATED
)));
50036 PyDict_SetItemString(d
,"PAPER_B6_JIS", SWIG_From_int((int)(wxPAPER_B6_JIS
)));
50039 PyDict_SetItemString(d
,"PAPER_B6_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B6_JIS_ROTATED
)));
50042 PyDict_SetItemString(d
,"PAPER_12X11", SWIG_From_int((int)(wxPAPER_12X11
)));
50045 PyDict_SetItemString(d
,"PAPER_JENV_YOU4", SWIG_From_int((int)(wxPAPER_JENV_YOU4
)));
50048 PyDict_SetItemString(d
,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_YOU4_ROTATED
)));
50051 PyDict_SetItemString(d
,"PAPER_P16K", SWIG_From_int((int)(wxPAPER_P16K
)));
50054 PyDict_SetItemString(d
,"PAPER_P32K", SWIG_From_int((int)(wxPAPER_P32K
)));
50057 PyDict_SetItemString(d
,"PAPER_P32KBIG", SWIG_From_int((int)(wxPAPER_P32KBIG
)));
50060 PyDict_SetItemString(d
,"PAPER_PENV_1", SWIG_From_int((int)(wxPAPER_PENV_1
)));
50063 PyDict_SetItemString(d
,"PAPER_PENV_2", SWIG_From_int((int)(wxPAPER_PENV_2
)));
50066 PyDict_SetItemString(d
,"PAPER_PENV_3", SWIG_From_int((int)(wxPAPER_PENV_3
)));
50069 PyDict_SetItemString(d
,"PAPER_PENV_4", SWIG_From_int((int)(wxPAPER_PENV_4
)));
50072 PyDict_SetItemString(d
,"PAPER_PENV_5", SWIG_From_int((int)(wxPAPER_PENV_5
)));
50075 PyDict_SetItemString(d
,"PAPER_PENV_6", SWIG_From_int((int)(wxPAPER_PENV_6
)));
50078 PyDict_SetItemString(d
,"PAPER_PENV_7", SWIG_From_int((int)(wxPAPER_PENV_7
)));
50081 PyDict_SetItemString(d
,"PAPER_PENV_8", SWIG_From_int((int)(wxPAPER_PENV_8
)));
50084 PyDict_SetItemString(d
,"PAPER_PENV_9", SWIG_From_int((int)(wxPAPER_PENV_9
)));
50087 PyDict_SetItemString(d
,"PAPER_PENV_10", SWIG_From_int((int)(wxPAPER_PENV_10
)));
50090 PyDict_SetItemString(d
,"PAPER_P16K_ROTATED", SWIG_From_int((int)(wxPAPER_P16K_ROTATED
)));
50093 PyDict_SetItemString(d
,"PAPER_P32K_ROTATED", SWIG_From_int((int)(wxPAPER_P32K_ROTATED
)));
50096 PyDict_SetItemString(d
,"PAPER_P32KBIG_ROTATED", SWIG_From_int((int)(wxPAPER_P32KBIG_ROTATED
)));
50099 PyDict_SetItemString(d
,"PAPER_PENV_1_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_1_ROTATED
)));
50102 PyDict_SetItemString(d
,"PAPER_PENV_2_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_2_ROTATED
)));
50105 PyDict_SetItemString(d
,"PAPER_PENV_3_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_3_ROTATED
)));
50108 PyDict_SetItemString(d
,"PAPER_PENV_4_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_4_ROTATED
)));
50111 PyDict_SetItemString(d
,"PAPER_PENV_5_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_5_ROTATED
)));
50114 PyDict_SetItemString(d
,"PAPER_PENV_6_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_6_ROTATED
)));
50117 PyDict_SetItemString(d
,"PAPER_PENV_7_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_7_ROTATED
)));
50120 PyDict_SetItemString(d
,"PAPER_PENV_8_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_8_ROTATED
)));
50123 PyDict_SetItemString(d
,"PAPER_PENV_9_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_9_ROTATED
)));
50126 PyDict_SetItemString(d
,"PAPER_PENV_10_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_10_ROTATED
)));
50129 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
50132 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
50135 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
50138 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
50141 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
50144 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
50147 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
50150 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
50153 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
50156 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
50159 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
50162 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
50165 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
50168 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
50171 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
50174 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
50177 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
50180 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
50183 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
50186 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
50189 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
50192 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
50195 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
50198 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
50201 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
50204 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
50207 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
50210 PyDict_SetItemString(d
,"MOD_ALTGR", SWIG_From_int((int)(wxMOD_ALTGR
)));
50213 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
50216 PyDict_SetItemString(d
,"MOD_META", SWIG_From_int((int)(wxMOD_META
)));
50219 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
50222 PyDict_SetItemString(d
,"MOD_CMD", SWIG_From_int((int)(wxMOD_CMD
)));
50225 PyDict_SetItemString(d
,"MOD_ALL", SWIG_From_int((int)(wxMOD_ALL
)));
50228 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
50231 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
50234 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
50236 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
50237 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
50239 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
50242 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
50245 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
50248 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
50251 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
50254 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
50257 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
50260 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
50263 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
50266 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
50269 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
50272 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
50275 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
50278 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
50281 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
50284 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
50287 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
50290 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
50293 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
50296 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
50299 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
50302 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
50305 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
50308 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
50311 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
50314 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
50317 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
50320 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
50323 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
50326 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
50329 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
50332 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
50335 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
50338 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
50341 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
50344 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
50347 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
50350 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
50353 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
50356 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
50359 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
50362 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
50365 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
50368 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
50371 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
50374 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
50377 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
50380 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
50383 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
50386 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
50389 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
50391 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
50392 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
50394 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
50397 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
50400 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
50403 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
50406 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
50409 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
50412 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
50415 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
50417 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
50418 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
50419 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
50420 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
50421 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
50422 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
50423 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
50424 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
50425 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
50426 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
50428 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
50431 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
50433 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
50434 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
50435 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
50436 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
50437 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
50438 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
50440 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
50443 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
50446 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
50449 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
50452 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
50455 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
50458 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
50461 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
50464 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
50467 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
50470 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
50473 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
50476 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
50479 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
50482 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
50485 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
50487 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
50488 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
50489 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
50490 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
50491 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
50492 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
50493 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
50494 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
50495 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
50496 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
50497 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
50498 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
50499 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
50500 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
50501 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
50502 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
50503 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
50504 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
50505 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
50506 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
50507 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
50508 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
50509 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
50510 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
50511 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
50512 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
50513 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
50514 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
50515 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
50516 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
50517 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
50518 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
50519 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
50520 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
50521 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
50522 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
50523 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
50524 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
50525 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
50526 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
50527 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
50528 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
50529 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
50530 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
50531 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
50532 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
50533 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
50534 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
50535 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
50536 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
50537 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
50538 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
50539 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
50540 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
50541 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
50542 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
50543 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
50544 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
50545 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
50546 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
50547 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
50548 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
50549 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
50550 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
50551 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
50552 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
50553 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
50554 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
50555 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
50556 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
50557 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
50558 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
50559 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
50560 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
50561 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
50562 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
50563 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
50564 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
50565 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
50566 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
50567 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
50568 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
50569 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
50570 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
50571 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
50572 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
50573 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
50574 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
50575 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
50576 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
50577 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
50578 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
50579 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
50580 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
50581 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
50582 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
50583 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
50584 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
50585 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
50586 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
50587 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
50588 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
50589 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
50590 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
50591 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
50592 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
50593 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
50594 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
50595 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
50596 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
50597 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
50598 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
50599 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
50600 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
50601 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
50603 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
50606 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
50609 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
50612 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
50615 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
50618 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
50621 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
50624 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
50627 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
50630 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
50633 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
50636 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
50639 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
50641 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
50643 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
50646 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
50649 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
50652 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
50655 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
50658 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
50660 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
50661 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
50663 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
50666 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
50669 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
50672 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
50675 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
50677 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
50678 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
50680 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
50683 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
50686 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
50688 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
50690 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
50693 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
50696 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
50699 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
50702 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
50705 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
50708 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
50711 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
50714 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
50717 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
50720 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
50723 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
50726 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
50729 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
50732 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
50735 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
50738 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
50741 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
50744 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
50747 // Initialize threading, some globals and such
50751 // Although these are defined in __version__ they need to be here too so
50752 // that an assert can be done to ensure that the wxPython and the wxWindows
50754 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
50755 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
50756 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));