1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1345 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1347 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1348 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349 #define SWIGTYPE_p_wxSizer swig_types[7]
1350 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1355 #define SWIGTYPE_p_wxEvent swig_types[13]
1356 #define SWIGTYPE_p_buffer swig_types[14]
1357 #define SWIGTYPE_p_wxMenu swig_types[15]
1358 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1359 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1362 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxFont swig_types[27]
1370 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372 #define SWIGTYPE_p_wxFSFile swig_types[30]
1373 #define SWIGTYPE_p_wxCaret swig_types[31]
1374 #define SWIGTYPE_ptrdiff_t swig_types[32]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_p_wxRegion swig_types[34]
1377 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1378 #define SWIGTYPE_p_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_wxMemoryFSHandler swig_types[72]
1415 #define SWIGTYPE_p_wxZipFSHandler swig_types[73]
1416 #define SWIGTYPE_p_wxInternetFSHandler swig_types[74]
1417 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[75]
1418 #define SWIGTYPE_p_wxEvtHandler swig_types[76]
1419 #define SWIGTYPE_p_wxCURHandler swig_types[77]
1420 #define SWIGTYPE_p_wxICOHandler swig_types[78]
1421 #define SWIGTYPE_p_wxBMPHandler swig_types[79]
1422 #define SWIGTYPE_p_wxImageHandler swig_types[80]
1423 #define SWIGTYPE_p_wxFileSystemHandler swig_types[81]
1424 #define SWIGTYPE_p_wxRect swig_types[82]
1425 #define SWIGTYPE_p_wxButton swig_types[83]
1426 #define SWIGTYPE_p_wxGBSpan swig_types[84]
1427 #define SWIGTYPE_p_wxPropagateOnce swig_types[85]
1428 #define SWIGTYPE_p_wxAcceleratorTable swig_types[86]
1429 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[87]
1430 #define SWIGTYPE_p_char swig_types[88]
1431 #define SWIGTYPE_p_wxGBPosition swig_types[89]
1432 #define SWIGTYPE_p_wxImage swig_types[90]
1433 #define SWIGTYPE_p_wxFrame swig_types[91]
1434 #define SWIGTYPE_p_wxScrollWinEvent swig_types[92]
1435 #define SWIGTYPE_p_wxPaperSize swig_types[93]
1436 #define SWIGTYPE_p_wxImageHistogram swig_types[94]
1437 #define SWIGTYPE_p_wxPoint swig_types[95]
1438 #define SWIGTYPE_p_wxCursor swig_types[96]
1439 #define SWIGTYPE_p_wxObject swig_types[97]
1440 #define SWIGTYPE_p_wxInputStream swig_types[98]
1441 #define SWIGTYPE_p_wxOutputStream swig_types[99]
1442 #define SWIGTYPE_p_wxPyInputStream swig_types[100]
1443 #define SWIGTYPE_p_wxDateTime swig_types[101]
1444 #define SWIGTYPE_p_wxKeyEvent swig_types[102]
1445 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
1446 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[104]
1447 #define SWIGTYPE_p_unsigned_long swig_types[105]
1448 #define SWIGTYPE_p_wxWindow swig_types[106]
1449 #define SWIGTYPE_p_wxMenuBar swig_types[107]
1450 #define SWIGTYPE_p_wxFileSystem swig_types[108]
1451 #define SWIGTYPE_p_wxBitmap swig_types[109]
1452 #define SWIGTYPE_unsigned_int swig_types[110]
1453 #define SWIGTYPE_p_unsigned_int swig_types[111]
1454 #define SWIGTYPE_p_wxMenuEvent swig_types[112]
1455 #define SWIGTYPE_p_wxContextMenuEvent swig_types[113]
1456 #define SWIGTYPE_p_unsigned_char swig_types[114]
1457 #define SWIGTYPE_p_wxMouseEvent swig_types[115]
1458 #define SWIGTYPE_p_wxEraseEvent swig_types[116]
1459 #define SWIGTYPE_p_wxCloseEvent swig_types[117]
1460 #define SWIGTYPE_p_wxPyApp swig_types[118]
1461 #define SWIGTYPE_p_wxCommandEvent swig_types[119]
1462 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
1463 #define SWIGTYPE_p_wxPyDropTarget swig_types[121]
1464 #define SWIGTYPE_p_wxQuantize swig_types[122]
1465 #define SWIGTYPE_p_wxFocusEvent swig_types[123]
1466 #define SWIGTYPE_p_wxChildFocusEvent swig_types[124]
1467 #define SWIGTYPE_p_wxDropFilesEvent swig_types[125]
1468 #define SWIGTYPE_p_wxControlWithItems swig_types[126]
1469 #define SWIGTYPE_p_wxColour swig_types[127]
1470 #define SWIGTYPE_p_wxValidator swig_types[128]
1471 #define SWIGTYPE_p_wxPyValidator swig_types[129]
1472 static swig_type_info
*swig_types
[131];
1474 /* -------- TYPES TABLE (END) -------- */
1477 /*-----------------------------------------------
1478 @(target):= _core_.so
1479 ------------------------------------------------*/
1480 #define SWIG_init init_core_
1482 #define SWIG_name "_core_"
1484 #include "wx/wxPython/wxPython_int.h"
1485 #include "wx/wxPython/pyclasses.h"
1488 #ifndef wxPyUSE_EXPORT
1489 // Helper functions for dealing with SWIG objects and such. These are
1490 // located here so they know about the SWIG types and functions declared
1491 // in the wrapper code.
1493 #include <wx/hashmap.h>
1494 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1497 // Maintains a hashmap of className to swig_type_info pointers. Given the
1498 // name of a class either looks up the type info in the cache, or scans the
1499 // SWIG tables for it.
1500 extern PyObject
* wxPyPtrTypeMap
;
1502 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1504 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1506 if (typeInfoCache
== NULL
)
1507 typeInfoCache
= new wxPyTypeInfoHashMap
;
1509 wxString
name(className
);
1510 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1513 // it wasn't in the cache, so look it up from SWIG
1514 name
.Append(wxT(" *"));
1515 swigType
= SWIG_TypeQuery(name
.mb_str());
1517 // if it still wasn't found, try looking for a mapped name
1522 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1523 (char*)(const char*)name
.mbc_str())) != NULL
) {
1524 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1525 name
.Append(wxT(" *"));
1526 swigType
= SWIG_TypeQuery(name
.mb_str());
1530 // and add it to the map if found
1531 (*typeInfoCache
)[className
] = swigType
;
1538 // Check if a class name is a type known to SWIG
1539 bool wxPyCheckSwigType(const wxChar
* className
) {
1541 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1542 return swigType
!= NULL
;
1546 // Given a pointer to a C++ object and a class name, construct a Python proxy
1548 PyObject
* wxPyConstructObject(void* ptr
,
1549 const wxChar
* className
,
1552 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1553 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1555 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1559 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1560 // Ensures that the proxy object is of the specified (or derived) type. If
1561 // not able to perform the conversion then a Python exception is set and the
1562 // error should be handled properly in the caller. Returns True on success.
1563 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1564 const wxChar
* className
) {
1566 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1567 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1569 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1573 // Make a SWIGified pointer object suitable for a .this attribute
1574 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1576 PyObject
* robj
= NULL
;
1578 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1579 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1581 #ifdef SWIG_COBJECT_TYPES
1582 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1586 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1587 PyString_FromString(result
) : 0;
1597 // Export a C API in a struct. Other modules will be able to load this from
1598 // the wx._core_ module and will then have safe access to these functions,
1599 // even if they are located in another shared library.
1600 static wxPyCoreAPI API
= {
1603 wxPyConstructObject
,
1607 wxPyBeginAllowThreads
,
1608 wxPyEndAllowThreads
,
1609 wxPyBeginBlockThreads
,
1610 wxPyEndBlockThreads
,
1622 wxPoint_LIST_helper
,
1623 wxBitmap_LIST_helper
,
1624 wxString_LIST_helper
,
1625 wxAcceleratorEntry_LIST_helper
,
1634 wxPySimple_typecheck
,
1637 wxPyCBH_setCallbackInfo
,
1638 wxPyCBH_findCallback
,
1639 wxPyCBH_callCallback
,
1640 wxPyCBH_callCallbackObj
,
1646 wxPy2int_seq_helper
,
1647 wxPy4int_seq_helper
,
1648 wxArrayString2PyList_helper
,
1649 wxArrayInt2PyList_helper
,
1651 wxPyClientData_dtor
,
1653 wxPyOORClientData_dtor
,
1655 wxPyCBInputStream_create
,
1656 wxPyCBInputStream_copy
,
1659 wxPySwigInstance_Check
,
1668 #if !WXWIN_COMPATIBILITY_2_4
1669 #define wxHIDE_READONLY 0
1673 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1674 #define SWIG_From_int PyInt_FromLong
1679 enum wxHotkeyModifier
1687 #define wxEVT_HOTKEY 9999
1690 static const wxString
wxPyEmptyString(wxEmptyString
);
1691 static wxString
wxObject_GetClassName(wxObject
*self
){
1692 return self
->GetClassInfo()->GetClassName();
1694 static void wxObject_Destroy(wxObject
*self
){
1699 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1707 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1710 if (value
< min_value
) {
1712 PyErr_Format(PyExc_OverflowError
,
1713 "value %ld is less than '%s' minimum %ld",
1714 value
, errmsg
, min_value
);
1717 } else if (value
> max_value
) {
1719 PyErr_Format(PyExc_OverflowError
,
1720 "value %ld is greater than '%s' maximum %ld",
1721 value
, errmsg
, max_value
);
1730 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1732 if (PyNumber_Check(obj
)) {
1733 if (val
) *val
= PyInt_AsLong(obj
);
1737 SWIG_type_error("number", obj
);
1743 #if INT_MAX != LONG_MAX
1745 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1747 const char* errmsg
= val
? "int" : (char*)0;
1749 if (SWIG_AsVal_long(obj
, &v
)) {
1750 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1751 if (val
) *val
= (int)(v
);
1760 SWIG_type_error(errmsg
, obj
);
1766 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1768 return SWIG_AsVal_long(obj
,(long*)val
);
1774 SWIG_As_int(PyObject
* obj
)
1777 if (!SWIG_AsVal_int(obj
, &v
)) {
1779 this is needed to make valgrind/purify happier.
1781 memset((void*)&v
, 0, sizeof(int));
1788 SWIG_Check_int(PyObject
* obj
)
1790 return SWIG_AsVal_int(obj
, (int*)0);
1793 static PyObject
*wxSize_Get(wxSize
*self
){
1794 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1795 PyObject
* tup
= PyTuple_New(2);
1796 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1797 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1798 wxPyEndBlockThreads(blocked
);
1803 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1805 if (PyNumber_Check(obj
)) {
1806 if (val
) *val
= PyFloat_AsDouble(obj
);
1810 SWIG_type_error("number", obj
);
1816 SWIGINTERNSHORT
double
1817 SWIG_As_double(PyObject
* obj
)
1820 if (!SWIG_AsVal_double(obj
, &v
)) {
1822 this is needed to make valgrind/purify happier.
1824 memset((void*)&v
, 0, sizeof(double));
1831 SWIG_Check_double(PyObject
* obj
)
1833 return SWIG_AsVal_double(obj
, (double*)0);
1837 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1838 #define SWIG_From_double PyFloat_FromDouble
1841 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1845 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1846 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1847 PyObject
* tup
= PyTuple_New(2);
1848 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1849 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1850 wxPyEndBlockThreads(blocked
);
1854 SWIGINTERNSHORT
long
1855 SWIG_As_long(PyObject
* obj
)
1858 if (!SWIG_AsVal_long(obj
, &v
)) {
1860 this is needed to make valgrind/purify happier.
1862 memset((void*)&v
, 0, sizeof(long));
1869 SWIG_Check_long(PyObject
* obj
)
1871 return SWIG_AsVal_long(obj
, (long*)0);
1874 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1878 static PyObject
*wxPoint_Get(wxPoint
*self
){
1879 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1880 PyObject
* tup
= PyTuple_New(2);
1881 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1882 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1883 wxPyEndBlockThreads(blocked
);
1886 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1889 self
->width
= width
;
1890 self
->height
= height
;
1892 static PyObject
*wxRect_Get(wxRect
*self
){
1893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1894 PyObject
* tup
= PyTuple_New(4);
1895 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1896 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1897 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1898 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1899 wxPyEndBlockThreads(blocked
);
1903 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1906 wxRect
dest(0,0,0,0);
1909 reg1
.Intersect(reg2
);
1910 dest
= reg1
.GetBox();
1912 if (dest
!= wxRect(0,0,0,0)) {
1913 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1914 wxRect
* newRect
= new wxRect(dest
);
1915 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1916 wxPyEndBlockThreads(blocked
);
1924 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1930 } else if (target
== Py_None
) {
1934 if (!PyTuple_Check(target
)) {
1936 target
= PyTuple_New(1);
1937 PyTuple_SetItem(target
, 0, o2
);
1939 o3
= PyTuple_New(1);
1940 PyTuple_SetItem(o3
, 0, o
);
1943 target
= PySequence_Concat(o2
, o3
);
1951 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1955 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1956 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1957 PyObject
* tup
= PyTuple_New(2);
1958 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1959 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1960 wxPyEndBlockThreads(blocked
);
1964 #include "wx/wxPython/pyistream.h"
1966 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1967 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1969 return new wxPyInputStream(wxis
);
1974 SWIGINTERNSHORT PyObject
*
1975 SWIG_From_char(char c
)
1977 return PyString_FromStringAndSize(&c
,1);
1981 SWIGINTERNSHORT PyObject
*
1982 SWIG_From_unsigned_SS_long(unsigned long value
)
1984 return (value
> LONG_MAX
) ?
1985 PyLong_FromUnsignedLong(value
)
1986 : PyInt_FromLong((long)(value
));
1990 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1992 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1994 static swig_type_info
* pchar_info
= 0;
1996 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1997 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1998 if (cptr
) *cptr
= vptr
;
1999 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2003 if (PyString_Check(obj
)) {
2005 *cptr
= PyString_AS_STRING(obj
);
2007 *psize
= PyString_GET_SIZE(obj
) + 1;
2014 SWIG_type_error("char *", obj
);
2021 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2023 char* cptr
; size_t csize
;
2024 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2027 char x[5] = "hello";
2029 ie, assing the array using an extra '0' char.
2031 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2032 if (csize
<= size
) {
2034 if (csize
) memcpy(val
, cptr
, csize
);
2035 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2041 PyErr_Format(PyExc_TypeError
,
2042 "a char array of maximum size %lu is expected",
2043 (unsigned long) size
);
2050 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2052 const char* errmsg
= val
? "char" : (char*)0;
2054 if (SWIG_AsVal_long(obj
, &v
)) {
2055 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2056 if (val
) *val
= (char)(v
);
2063 return SWIG_AsCharArray(obj
, val
, 1);
2068 SWIGINTERNSHORT
char
2069 SWIG_As_char(PyObject
* obj
)
2072 if (!SWIG_AsVal_char(obj
, &v
)) {
2074 this is needed to make valgrind/purify happier.
2076 memset((void*)&v
, 0, sizeof(char));
2083 SWIG_Check_char(PyObject
* obj
)
2085 return SWIG_AsVal_char(obj
, (char*)0);
2089 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2090 #define SWIG_From_long PyInt_FromLong
2093 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2094 // We use only strings for the streams, not unicode
2095 PyObject
* str
= PyObject_Str(obj
);
2097 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2100 self
->Write(PyString_AS_STRING(str
),
2101 PyString_GET_SIZE(str
));
2105 #include "wx/wxPython/pyistream.h"
2108 class wxPyFileSystemHandler
: public wxFileSystemHandler
2111 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2113 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2114 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2115 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2116 DEC_PYCALLBACK_STRING__pure(FindNext
);
2118 wxString
GetProtocol(const wxString
& location
) {
2119 return wxFileSystemHandler::GetProtocol(location
);
2122 wxString
GetLeftLocation(const wxString
& location
) {
2123 return wxFileSystemHandler::GetLeftLocation(location
);
2126 wxString
GetAnchor(const wxString
& location
) {
2127 return wxFileSystemHandler::GetAnchor(location
);
2130 wxString
GetRightLocation(const wxString
& location
) {
2131 return wxFileSystemHandler::GetRightLocation(location
);
2134 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2135 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2142 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2143 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2144 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2145 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2149 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2151 if (obj
== Py_True
) {
2152 if (val
) *val
= true;
2155 if (obj
== Py_False
) {
2156 if (val
) *val
= false;
2160 if (SWIG_AsVal_int(obj
, &res
)) {
2161 if (val
) *val
= res
? true : false;
2167 SWIG_type_error("bool", obj
);
2173 SWIGINTERNSHORT
bool
2174 SWIG_As_bool(PyObject
* obj
)
2177 if (!SWIG_AsVal_bool(obj
, &v
)) {
2179 this is needed to make valgrind/purify happier.
2181 memset((void*)&v
, 0, sizeof(bool));
2188 SWIG_Check_bool(PyObject
* obj
)
2190 return SWIG_AsVal_bool(obj
, (bool*)0);
2193 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2194 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2195 return fname
.GetFullPath();
2198 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2201 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2204 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2205 const wxBitmap
& bitmap
,
2207 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2210 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2212 if (! PyString_Check(data
)) {
2213 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2214 "Expected string object"));
2218 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2219 void* ptr
= (void*)PyString_AsString(data
);
2220 size_t size
= PyString_Size(data
);
2221 wxPyEndBlockThreads(blocked
);
2223 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2227 #include "wx/wxPython/pyistream.h"
2231 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2234 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2235 SWIG_type_error("unsigned number", obj
);
2238 *val
= (unsigned long)v
;
2244 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2245 unsigned long max_value
,
2248 if (value
> max_value
) {
2250 PyErr_Format(PyExc_OverflowError
,
2251 "value %lu is greater than '%s' minimum %lu",
2252 value
, errmsg
, max_value
);
2261 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2263 const char* errmsg
= val
? "unsigned char" : (char*)0;
2265 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2266 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2267 if (val
) *val
= (unsigned char)(v
);
2276 SWIG_type_error(errmsg
, obj
);
2282 SWIGINTERNSHORT
unsigned char
2283 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2286 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2288 this is needed to make valgrind/purify happier.
2290 memset((void*)&v
, 0, sizeof(unsigned char));
2297 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2299 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2303 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2304 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2309 SWIGINTERNSHORT
unsigned long
2310 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2313 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2315 this is needed to make valgrind/purify happier.
2317 memset((void*)&v
, 0, sizeof(unsigned long));
2324 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2326 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2329 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2330 wxImageHistogramEntry e
= (*self
)[key
];
2333 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
2334 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2335 wxImageHistogramEntry e
= (*self
)[key
];
2338 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2339 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2342 wxImageHistogramEntry e
= (*self
)[key
];
2346 typedef unsigned char* buffer
;
2349 // Pull the nested class out to the top level for SWIG's sake
2350 #define wxImage_RGBValue wxImage::RGBValue
2351 #define wxImage_HSVValue wxImage::HSVValue
2353 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2354 if (width
> 0 && height
> 0)
2355 return new wxImage(width
, height
, clear
);
2359 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2360 return new wxImage(bitmap
.ConvertToImage());
2362 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2363 if (DATASIZE
!= width
*height
*3) {
2364 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2368 // Copy the source data so the wxImage can clean it up later
2369 buffer copy
= (buffer
)malloc(DATASIZE
);
2371 wxPyBLOCK_THREADS(PyErr_NoMemory());
2374 memcpy(copy
, data
, DATASIZE
);
2375 return new wxImage(width
, height
, copy
, false);
2377 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2378 if (DATASIZE
!= width
*height
*3) {
2379 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2382 if (ALPHASIZE
!= width
*height
) {
2383 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2387 // Copy the source data so the wxImage can clean it up later
2388 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2389 if (dcopy
== NULL
) {
2390 wxPyBLOCK_THREADS(PyErr_NoMemory());
2393 memcpy(dcopy
, data
, DATASIZE
);
2395 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2396 if (acopy
== NULL
) {
2397 wxPyBLOCK_THREADS(PyErr_NoMemory());
2400 memcpy(acopy
, alpha
, ALPHASIZE
);
2402 return new wxImage(width
, height
, dcopy
, acopy
, false);
2404 static wxSize
wxImage_GetSize(wxImage
*self
){
2405 wxSize
size(self
->GetWidth(), self
->GetHeight());
2408 static PyObject
*wxImage_GetData(wxImage
*self
){
2409 buffer data
= self
->GetData();
2410 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2412 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2415 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2416 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2417 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2420 buffer copy
= (buffer
)malloc(DATASIZE
);
2422 wxPyBLOCK_THREADS(PyErr_NoMemory());
2425 memcpy(copy
, data
, DATASIZE
);
2426 self
->SetData(copy
, false);
2427 // wxImage takes ownership of copy...
2429 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2430 buffer data
= self
->GetData();
2431 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2433 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2436 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2437 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2438 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2441 self
->SetData(data
, true);
2443 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2444 buffer data
= self
->GetAlpha();
2448 int len
= self
->GetWidth() * self
->GetHeight();
2450 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2454 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2455 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2456 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2459 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2460 if (acopy
== NULL
) {
2461 wxPyBLOCK_THREADS(PyErr_NoMemory());
2464 memcpy(acopy
, alpha
, ALPHASIZE
);
2465 self
->SetAlpha(acopy
, false);
2466 // wxImage takes ownership of acopy...
2468 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2469 buffer data
= self
->GetAlpha();
2470 int len
= self
->GetWidth() * self
->GetHeight();
2472 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2475 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2476 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2477 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2480 self
->SetAlpha(alpha
, true);
2482 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2483 wxBitmap
bitmap(*self
, depth
);
2486 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
2487 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2488 wxBitmap
bitmap( mono
, 1 );
2491 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2492 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2493 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2494 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2495 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2496 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2497 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2498 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2499 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2500 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2501 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2502 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2503 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2504 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2505 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2507 #include <wx/quantize.h>
2509 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2510 return wxQuantize::Quantize(src
, dest
,
2513 NULL
, // eightBitData
2516 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2517 if (PyCallable_Check(func
)) {
2518 self
->Connect(id
, lastId
, eventType
,
2519 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2520 new wxPyCallback(func
));
2522 else if (func
== Py_None
) {
2523 self
->Disconnect(id
, lastId
, eventType
,
2524 (wxObjectEventFunction
)
2525 &wxPyCallback::EventThunker
);
2529 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2532 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2533 return self
->Disconnect(id
, lastId
, eventType
,
2534 (wxObjectEventFunction
)
2535 &wxPyCallback::EventThunker
);
2537 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2538 if (_self
&& _self
!= Py_None
) {
2539 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2542 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2544 self
->SetClientObject(NULL
); // This will delete it too
2549 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2551 return self
->GetUnicodeKey();
2557 #if UINT_MAX < LONG_MAX
2558 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2559 #define SWIG_From_unsigned_SS_int SWIG_From_long
2562 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2563 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2568 #if UINT_MAX != ULONG_MAX
2570 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2572 const char* errmsg
= val
? "unsigned int" : (char*)0;
2574 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2575 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2576 if (val
) *val
= (unsigned int)(v
);
2583 SWIG_type_error(errmsg
, obj
);
2588 SWIGINTERNSHORT
unsigned int
2589 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2591 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2596 SWIGINTERNSHORT
unsigned int
2597 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2600 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2602 this is needed to make valgrind/purify happier.
2604 memset((void*)&v
, 0, sizeof(unsigned int));
2611 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2613 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2616 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2617 self
->m_size
= size
;
2619 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2620 int count
= self
->GetNumberOfFiles();
2621 wxString
* files
= self
->GetFiles();
2622 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2623 PyObject
* list
= PyList_New(count
);
2626 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2627 wxPyEndBlockThreads(blocked
);
2631 for (int i
=0; i
<count
; i
++) {
2632 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2634 wxPyEndBlockThreads(blocked
);
2639 static wxPyApp
*new_wxPyApp(){
2640 wxPythonApp
= new wxPyApp();
2644 void wxApp_CleanUp() {
2649 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2653 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2655 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2660 SWIG_type_error("char *", obj
);
2666 SWIGINTERN PyObject
*
2667 SWIG_FromCharPtr(const char* cptr
)
2670 size_t size
= strlen(cptr
);
2671 if (size
> INT_MAX
) {
2672 return SWIG_NewPointerObj((char*)(cptr
),
2673 SWIG_TypeQuery("char *"), 0);
2676 return PyString_FromStringAndSize(cptr
, size
);
2678 return PyString_FromString(cptr
);
2689 // A dummy class that raises an exception if used...
2693 wxEventLoop() { wxPyRaiseNotImplemented(); }
2694 int Run() { return 0; }
2695 void Exit(int rc
= 0) {}
2696 bool Pending() const { return false; }
2697 bool Dispatch() { return false; }
2698 bool IsRunning() const { return false; }
2699 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2700 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2705 #include <wx/evtloop.h>
2711 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2712 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2713 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2714 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2715 wxWindowList
& list
= self
->GetChildren();
2716 return wxPy_ConvertList(&list
);
2718 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2720 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2725 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2732 static long wxWindow_GetHandle(wxWindow
*self
){
2733 return wxPyGetWinHandle(self
);
2735 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2736 self
->AssociateHandle((WXWidget
)handle
);
2739 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowById(id
, parent
);
2743 wxWindow
* wxFindWindowByName( const wxString
& name
,
2744 const wxWindow
*parent
= NULL
) {
2745 return wxWindow::FindWindowByName(name
, parent
);
2748 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2749 const wxWindow
*parent
= NULL
) {
2750 return wxWindow::FindWindowByLabel(label
, parent
);
2755 #include <wx/msw/private.h> // to get wxGetWindowId
2759 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2761 WXHWND hWnd
= (WXHWND
)_hWnd
;
2762 long id
= wxGetWindowId(hWnd
);
2763 wxWindow
* win
= new wxWindow
;
2764 parent
->AddChild(win
);
2765 win
->SetEventHandler(win
);
2768 win
->SubclassWin(hWnd
);
2769 win
->AdoptAttributesFromHWND();
2770 win
->SetupColours();
2773 wxPyRaiseNotImplemented();
2779 PyObject
* GetTopLevelWindows() {
2780 return wxPy_ConvertList(&wxTopLevelWindows
);
2784 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2785 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2786 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2788 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2790 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2791 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2792 wxMenuItemList
& list
= self
->GetMenuItems();
2793 return wxPy_ConvertList(&list
);
2795 static void MenuBar_SetAutoWindowMenu(bool enable
){}
2796 static bool MenuBar_GetAutoWindowMenu(){ return false; }
2797 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2798 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2800 wxPyClientData
* data
= new wxPyClientData(clientData
);
2801 return self
->Append(item
, data
);
2803 return self
->Append(item
);
2805 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2807 wxPyClientData
* data
= new wxPyClientData(clientData
);
2808 return self
->Insert(item
, pos
, data
);
2810 return self
->Insert(item
, pos
);
2812 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2813 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2815 Py_INCREF(data
->m_obj
);
2822 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2823 wxPyClientData
* data
= new wxPyClientData(clientData
);
2824 self
->SetClientObject(n
, data
);
2828 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2829 wxPyUserData
* data
= NULL
;
2831 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2832 data
= new wxPyUserData(userData
);
2833 wxPyEndBlockThreads(blocked
);
2835 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2837 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2838 wxPyUserData
* data
= NULL
;
2840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2841 data
= new wxPyUserData(userData
);
2842 wxPyEndBlockThreads(blocked
);
2844 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2846 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2847 wxPyUserData
* data
= NULL
;
2849 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2850 data
= new wxPyUserData(userData
);
2851 wxPyEndBlockThreads(blocked
);
2853 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2858 SWIG_CheckDoubleInRange(double value
, double min_value
,
2859 double max_value
, const char* errmsg
)
2861 if (value
< min_value
) {
2863 PyErr_Format(PyExc_OverflowError
,
2864 "value %g is less than %s minimum %g",
2865 value
, errmsg
, min_value
);
2868 } else if (value
> max_value
) {
2870 PyErr_Format(PyExc_OverflowError
,
2871 "value %g is greater than %s maximum %g",
2872 value
, errmsg
, max_value
);
2881 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2883 const char* errmsg
= val
? "float" : (char*)0;
2885 if (SWIG_AsVal_double(obj
, &v
)) {
2886 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2887 if (val
) *val
= (float)(v
);
2896 SWIG_type_error(errmsg
, obj
);
2902 SWIGINTERNSHORT
float
2903 SWIG_As_float(PyObject
* obj
)
2906 if (!SWIG_AsVal_float(obj
, &v
)) {
2908 this is needed to make valgrind/purify happier.
2910 memset((void*)&v
, 0, sizeof(float));
2917 SWIG_Check_float(PyObject
* obj
)
2919 return SWIG_AsVal_float(obj
, (float*)0);
2923 /*@C:\\SWIG-1.3.24\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2924 #define SWIG_From_float PyFloat_FromDouble
2927 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2928 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2930 Py_INCREF(data
->m_obj
);
2938 // Figure out the type of the sizer item
2940 struct wxPySizerItemInfo
{
2942 : window(NULL
), sizer(NULL
), gotSize(false),
2943 size(wxDefaultSize
), gotPos(false), pos(-1)
2954 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2956 wxPySizerItemInfo info
;
2958 wxSize
* sizePtr
= &size
;
2960 // Find out what the type of the item is
2962 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2967 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2971 // try wxSize or (w,h)
2972 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2973 info
.size
= *sizePtr
;
2974 info
.gotSize
= true;
2978 if (checkIdx
&& PyInt_Check(item
)) {
2979 info
.pos
= PyInt_AsLong(item
);
2985 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2986 // no expected type, figure out what kind of error message to generate
2987 if ( !checkSize
&& !checkIdx
)
2988 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2989 else if ( checkSize
&& !checkIdx
)
2990 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2991 else if ( !checkSize
&& checkIdx
)
2992 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2994 // can this one happen?
2995 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
3001 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3002 if (!self
->GetClientObject())
3003 self
->SetClientObject(new wxPyOORClientData(_self
));
3005 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3007 wxPyUserData
* data
= NULL
;
3008 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3009 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3010 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3011 data
= new wxPyUserData(userData
);
3012 wxPyEndBlockThreads(blocked
);
3014 // Now call the real Add method if a valid item type was found
3016 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3017 else if ( info
.sizer
)
3018 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3019 else if (info
.gotSize
)
3020 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3021 proportion
, flag
, border
, data
);
3025 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3027 wxPyUserData
* data
= NULL
;
3028 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3029 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3030 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3031 data
= new wxPyUserData(userData
);
3032 wxPyEndBlockThreads(blocked
);
3034 // Now call the real Insert method if a valid item type was found
3036 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3037 else if ( info
.sizer
)
3038 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3039 else if (info
.gotSize
)
3040 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3041 proportion
, flag
, border
, data
);
3045 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3047 wxPyUserData
* data
= NULL
;
3048 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3049 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3050 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3051 data
= new wxPyUserData(userData
);
3052 wxPyEndBlockThreads(blocked
);
3054 // Now call the real Prepend method if a valid item type was found
3056 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3057 else if ( info
.sizer
)
3058 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3059 else if (info
.gotSize
)
3060 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3061 proportion
, flag
, border
, data
);
3065 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3066 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3067 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3068 wxPyEndBlockThreads(blocked
);
3070 return self
->Remove(info
.window
);
3071 else if ( info
.sizer
)
3072 return self
->Remove(info
.sizer
);
3073 else if ( info
.gotPos
)
3074 return self
->Remove(info
.pos
);
3078 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3079 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3080 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3081 wxPyEndBlockThreads(blocked
);
3083 return self
->Detach(info
.window
);
3084 else if ( info
.sizer
)
3085 return self
->Detach(info
.sizer
);
3086 else if ( info
.gotPos
)
3087 return self
->Detach(info
.pos
);
3091 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3092 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3093 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3094 wxPyEndBlockThreads(blocked
);
3096 return self
->GetItem(info
.window
);
3097 else if ( info
.sizer
)
3098 return self
->GetItem(info
.sizer
);
3099 else if ( info
.gotPos
)
3100 return self
->GetItem(info
.pos
);
3104 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3105 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3106 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3107 wxPyEndBlockThreads(blocked
);
3109 self
->SetItemMinSize(info
.window
, size
);
3110 else if ( info
.sizer
)
3111 self
->SetItemMinSize(info
.sizer
, size
);
3112 else if ( info
.gotPos
)
3113 self
->SetItemMinSize(info
.pos
, size
);
3115 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3116 wxSizerItemList
& list
= self
->GetChildren();
3117 return wxPy_ConvertList(&list
);
3119 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3120 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3121 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3122 wxPyEndBlockThreads(blocked
);
3124 return self
->Show(info
.window
, show
, recursive
);
3125 else if ( info
.sizer
)
3126 return self
->Show(info
.sizer
, show
, recursive
);
3127 else if ( info
.gotPos
)
3128 return self
->Show(info
.pos
, show
);
3132 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3133 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3134 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3135 wxPyEndBlockThreads(blocked
);
3137 return self
->IsShown(info
.window
);
3138 else if ( info
.sizer
)
3139 return self
->IsShown(info
.sizer
);
3140 else if ( info
.gotPos
)
3141 return self
->IsShown(info
.pos
);
3147 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3148 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3149 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3154 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3156 if (source
== Py_None
) {
3157 **obj
= wxGBPosition(-1,-1);
3160 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3163 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3165 if (source
== Py_None
) {
3166 **obj
= wxGBSpan(-1,-1);
3169 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3173 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3177 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3179 PyObject
* tup
= PyTuple_New(2);
3180 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3181 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3182 wxPyEndBlockThreads(blocked
);
3185 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3186 self
->SetRowspan(rowspan
);
3187 self
->SetColspan(colspan
);
3189 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3190 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3191 PyObject
* tup
= PyTuple_New(2);
3192 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3193 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3194 wxPyEndBlockThreads(blocked
);
3197 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3198 wxPyUserData
* data
= NULL
;
3200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3201 data
= new wxPyUserData(userData
);
3202 wxPyEndBlockThreads(blocked
);
3204 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3206 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3207 wxPyUserData
* data
= NULL
;
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 data
= new wxPyUserData(userData
);
3211 wxPyEndBlockThreads(blocked
);
3213 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3215 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3216 wxPyUserData
* data
= NULL
;
3218 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3219 data
= new wxPyUserData(userData
);
3220 wxPyEndBlockThreads(blocked
);
3222 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3224 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3226 self
->GetEndPos(row
, col
);
3227 return wxGBPosition(row
, col
);
3229 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3231 wxPyUserData
* data
= NULL
;
3232 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3233 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3234 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3235 data
= new wxPyUserData(userData
);
3236 wxPyEndBlockThreads(blocked
);
3238 // Now call the real Add method if a valid item type was found
3240 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3241 else if ( info
.sizer
)
3242 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3243 else if (info
.gotSize
)
3244 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3245 pos
, span
, flag
, border
, data
);
3253 static int _wrap_EmptyString_set(PyObject
*) {
3254 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3259 static PyObject
*_wrap_EmptyString_get(void) {
3264 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3266 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3273 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxObject
*arg1
= (wxObject
*) 0 ;
3277 PyObject
* obj0
= 0 ;
3279 (char *) "self", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3284 if (SWIG_arg_fail(1)) SWIG_fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 result
= wxObject_GetClassName(arg1
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3305 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxObject
*arg1
= (wxObject
*) 0 ;
3308 PyObject
* obj0
= 0 ;
3310 (char *) "self", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3315 if (SWIG_arg_fail(1)) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 wxObject_Destroy(arg1
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 Py_INCREF(Py_None
); resultobj
= Py_None
;
3330 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3333 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3335 return Py_BuildValue((char *)"");
3337 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxSize
*arg1
= (wxSize
*) 0 ;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3344 (char *) "self",(char *) "x", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3349 if (SWIG_arg_fail(1)) SWIG_fail
;
3351 arg2
= (int)(SWIG_As_int(obj1
));
3352 if (SWIG_arg_fail(2)) SWIG_fail
;
3354 if (arg1
) (arg1
)->x
= arg2
;
3356 Py_INCREF(Py_None
); resultobj
= Py_None
;
3363 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxSize
*arg1
= (wxSize
*) 0 ;
3367 PyObject
* obj0
= 0 ;
3369 (char *) "self", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3374 if (SWIG_arg_fail(1)) SWIG_fail
;
3375 result
= (int) ((arg1
)->x
);
3378 resultobj
= SWIG_From_int((int)(result
));
3386 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxSize
*arg1
= (wxSize
*) 0 ;
3390 PyObject
* obj0
= 0 ;
3391 PyObject
* obj1
= 0 ;
3393 (char *) "self",(char *) "y", NULL
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3398 if (SWIG_arg_fail(1)) SWIG_fail
;
3400 arg2
= (int)(SWIG_As_int(obj1
));
3401 if (SWIG_arg_fail(2)) SWIG_fail
;
3403 if (arg1
) (arg1
)->y
= arg2
;
3405 Py_INCREF(Py_None
); resultobj
= Py_None
;
3412 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
*resultobj
;
3414 wxSize
*arg1
= (wxSize
*) 0 ;
3416 PyObject
* obj0
= 0 ;
3418 (char *) "self", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3423 if (SWIG_arg_fail(1)) SWIG_fail
;
3424 result
= (int) ((arg1
)->y
);
3427 resultobj
= SWIG_From_int((int)(result
));
3435 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
*resultobj
;
3437 int arg1
= (int) 0 ;
3438 int arg2
= (int) 0 ;
3440 PyObject
* obj0
= 0 ;
3441 PyObject
* obj1
= 0 ;
3443 (char *) "w",(char *) "h", NULL
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3449 arg1
= (int)(SWIG_As_int(obj0
));
3450 if (SWIG_arg_fail(1)) SWIG_fail
;
3455 arg2
= (int)(SWIG_As_int(obj1
));
3456 if (SWIG_arg_fail(2)) SWIG_fail
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3473 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
*resultobj
;
3475 wxSize
*arg1
= (wxSize
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3478 (char *) "self", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3483 if (SWIG_arg_fail(1)) SWIG_fail
;
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3491 Py_INCREF(Py_None
); resultobj
= Py_None
;
3498 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxSize
*arg1
= (wxSize
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3505 PyObject
* obj1
= 0 ;
3507 (char *) "self",(char *) "sz", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3512 if (SWIG_arg_fail(1)) SWIG_fail
;
3515 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3533 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 wxSize
*arg1
= (wxSize
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3542 (char *) "self",(char *) "sz", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3547 if (SWIG_arg_fail(1)) SWIG_fail
;
3550 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3568 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
;
3570 wxSize
*arg1
= (wxSize
*) 0 ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3577 (char *) "self",(char *) "sz", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3582 if (SWIG_arg_fail(1)) SWIG_fail
;
3585 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3596 resultptr
= new wxSize((wxSize
&)(result
));
3597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3605 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3607 wxSize
*arg1
= (wxSize
*) 0 ;
3611 PyObject
* obj0
= 0 ;
3612 PyObject
* obj1
= 0 ;
3614 (char *) "self",(char *) "sz", NULL
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3619 if (SWIG_arg_fail(1)) SWIG_fail
;
3622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3633 resultptr
= new wxSize((wxSize
&)(result
));
3634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3642 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 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_IncTo",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 (arg1
)->IncTo((wxSize
const &)*arg2
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3667 Py_INCREF(Py_None
); resultobj
= Py_None
;
3674 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
;
3676 wxSize
*arg1
= (wxSize
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3680 PyObject
* obj1
= 0 ;
3682 (char *) "self",(char *) "sz", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3687 if (SWIG_arg_fail(1)) SWIG_fail
;
3690 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->DecTo((wxSize
const &)*arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxSize
*arg1
= (wxSize
*) 0 ;
3711 PyObject
* obj0
= 0 ;
3712 PyObject
* obj1
= 0 ;
3713 PyObject
* obj2
= 0 ;
3715 (char *) "self",(char *) "w",(char *) "h", NULL
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3720 if (SWIG_arg_fail(1)) SWIG_fail
;
3722 arg2
= (int)(SWIG_As_int(obj1
));
3723 if (SWIG_arg_fail(2)) SWIG_fail
;
3726 arg3
= (int)(SWIG_As_int(obj2
));
3727 if (SWIG_arg_fail(3)) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 (arg1
)->Set(arg2
,arg3
);
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3736 Py_INCREF(Py_None
); resultobj
= Py_None
;
3743 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxSize
*arg1
= (wxSize
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3748 PyObject
* obj1
= 0 ;
3750 (char *) "self",(char *) "w", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3755 if (SWIG_arg_fail(1)) SWIG_fail
;
3757 arg2
= (int)(SWIG_As_int(obj1
));
3758 if (SWIG_arg_fail(2)) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 (arg1
)->SetWidth(arg2
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxSize
*arg1
= (wxSize
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3779 PyObject
* obj1
= 0 ;
3781 (char *) "self",(char *) "h", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3786 if (SWIG_arg_fail(1)) SWIG_fail
;
3788 arg2
= (int)(SWIG_As_int(obj1
));
3789 if (SWIG_arg_fail(2)) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 (arg1
)->SetHeight(arg2
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 Py_INCREF(Py_None
); resultobj
= Py_None
;
3805 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxSize
*arg1
= (wxSize
*) 0 ;
3809 PyObject
* obj0
= 0 ;
3811 (char *) "self", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3816 if (SWIG_arg_fail(1)) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_From_int((int)(result
));
3833 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxSize
*arg1
= (wxSize
*) 0 ;
3837 PyObject
* obj0
= 0 ;
3839 (char *) "self", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3844 if (SWIG_arg_fail(1)) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_From_int((int)(result
));
3861 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxSize
*arg1
= (wxSize
*) 0 ;
3865 PyObject
* obj0
= 0 ;
3867 (char *) "self", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3872 if (SWIG_arg_fail(1)) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3889 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxSize
*arg1
= (wxSize
*) 0 ;
3894 PyObject
* obj0
= 0 ;
3895 PyObject
* obj1
= 0 ;
3897 (char *) "self",(char *) "size", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3902 if (SWIG_arg_fail(1)) SWIG_fail
;
3905 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 Py_INCREF(Py_None
); resultobj
= Py_None
;
3921 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
;
3923 wxSize
*arg1
= (wxSize
*) 0 ;
3925 PyObject
* obj0
= 0 ;
3927 (char *) "self", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3932 if (SWIG_arg_fail(1)) SWIG_fail
;
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 result
= (PyObject
*)wxSize_Get(arg1
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3947 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3950 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3952 return Py_BuildValue((char *)"");
3954 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3956 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3958 PyObject
* obj0
= 0 ;
3959 PyObject
* obj1
= 0 ;
3961 (char *) "self",(char *) "x", NULL
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3966 if (SWIG_arg_fail(1)) SWIG_fail
;
3968 arg2
= (double)(SWIG_As_double(obj1
));
3969 if (SWIG_arg_fail(2)) SWIG_fail
;
3971 if (arg1
) (arg1
)->x
= arg2
;
3973 Py_INCREF(Py_None
); resultobj
= Py_None
;
3980 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3982 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3984 PyObject
* obj0
= 0 ;
3986 (char *) "self", NULL
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3991 if (SWIG_arg_fail(1)) SWIG_fail
;
3992 result
= (double) ((arg1
)->x
);
3995 resultobj
= SWIG_From_double((double)(result
));
4003 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4005 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4008 PyObject
* obj1
= 0 ;
4010 (char *) "self",(char *) "y", NULL
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4015 if (SWIG_arg_fail(1)) SWIG_fail
;
4017 arg2
= (double)(SWIG_As_double(obj1
));
4018 if (SWIG_arg_fail(2)) SWIG_fail
;
4020 if (arg1
) (arg1
)->y
= arg2
;
4022 Py_INCREF(Py_None
); resultobj
= Py_None
;
4029 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4033 PyObject
* obj0
= 0 ;
4035 (char *) "self", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4040 if (SWIG_arg_fail(1)) SWIG_fail
;
4041 result
= (double) ((arg1
)->y
);
4044 resultobj
= SWIG_From_double((double)(result
));
4052 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 double arg1
= (double) 0.0 ;
4055 double arg2
= (double) 0.0 ;
4056 wxRealPoint
*result
;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4060 (char *) "x",(char *) "y", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4066 arg1
= (double)(SWIG_As_double(obj0
));
4067 if (SWIG_arg_fail(1)) SWIG_fail
;
4072 arg2
= (double)(SWIG_As_double(obj1
));
4073 if (SWIG_arg_fail(2)) SWIG_fail
;
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4090 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
*resultobj
;
4092 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4093 PyObject
* obj0
= 0 ;
4095 (char *) "self", NULL
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4100 if (SWIG_arg_fail(1)) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4108 Py_INCREF(Py_None
); resultobj
= Py_None
;
4115 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4118 wxRealPoint
*arg2
= 0 ;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4124 (char *) "self",(char *) "pt", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4129 if (SWIG_arg_fail(1)) SWIG_fail
;
4132 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4150 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4153 wxRealPoint
*arg2
= 0 ;
4156 PyObject
* obj0
= 0 ;
4157 PyObject
* obj1
= 0 ;
4159 (char *) "self",(char *) "pt", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4164 if (SWIG_arg_fail(1)) SWIG_fail
;
4167 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4185 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4188 wxRealPoint
*arg2
= 0 ;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4194 (char *) "self",(char *) "pt", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4199 if (SWIG_arg_fail(1)) SWIG_fail
;
4202 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4212 wxRealPoint
* resultptr
;
4213 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4222 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4224 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4225 wxRealPoint
*arg2
= 0 ;
4228 PyObject
* obj0
= 0 ;
4229 PyObject
* obj1
= 0 ;
4231 (char *) "self",(char *) "pt", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4236 if (SWIG_arg_fail(1)) SWIG_fail
;
4239 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4249 wxRealPoint
* resultptr
;
4250 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4259 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4265 PyObject
* obj1
= 0 ;
4266 PyObject
* obj2
= 0 ;
4268 (char *) "self",(char *) "x",(char *) "y", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4273 if (SWIG_arg_fail(1)) SWIG_fail
;
4275 arg2
= (double)(SWIG_As_double(obj1
));
4276 if (SWIG_arg_fail(2)) SWIG_fail
;
4279 arg3
= (double)(SWIG_As_double(obj2
));
4280 if (SWIG_arg_fail(3)) SWIG_fail
;
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 wxRealPoint_Set(arg1
,arg2
,arg3
);
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4289 Py_INCREF(Py_None
); resultobj
= Py_None
;
4296 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
*resultobj
;
4298 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4300 PyObject
* obj0
= 0 ;
4302 (char *) "self", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4307 if (SWIG_arg_fail(1)) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4322 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4325 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4327 return Py_BuildValue((char *)"");
4329 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
;
4331 wxPoint
*arg1
= (wxPoint
*) 0 ;
4333 PyObject
* obj0
= 0 ;
4334 PyObject
* obj1
= 0 ;
4336 (char *) "self",(char *) "x", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4341 if (SWIG_arg_fail(1)) SWIG_fail
;
4343 arg2
= (int)(SWIG_As_int(obj1
));
4344 if (SWIG_arg_fail(2)) SWIG_fail
;
4346 if (arg1
) (arg1
)->x
= arg2
;
4348 Py_INCREF(Py_None
); resultobj
= Py_None
;
4355 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxPoint
*arg1
= (wxPoint
*) 0 ;
4359 PyObject
* obj0
= 0 ;
4361 (char *) "self", NULL
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4366 if (SWIG_arg_fail(1)) SWIG_fail
;
4367 result
= (int) ((arg1
)->x
);
4370 resultobj
= SWIG_From_int((int)(result
));
4378 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4380 wxPoint
*arg1
= (wxPoint
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4385 (char *) "self",(char *) "y", NULL
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4390 if (SWIG_arg_fail(1)) SWIG_fail
;
4392 arg2
= (int)(SWIG_As_int(obj1
));
4393 if (SWIG_arg_fail(2)) SWIG_fail
;
4395 if (arg1
) (arg1
)->y
= arg2
;
4397 Py_INCREF(Py_None
); resultobj
= Py_None
;
4404 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
;
4406 wxPoint
*arg1
= (wxPoint
*) 0 ;
4408 PyObject
* obj0
= 0 ;
4410 (char *) "self", NULL
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4415 if (SWIG_arg_fail(1)) SWIG_fail
;
4416 result
= (int) ((arg1
)->y
);
4419 resultobj
= SWIG_From_int((int)(result
));
4427 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
;
4429 int arg1
= (int) 0 ;
4430 int arg2
= (int) 0 ;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4435 (char *) "x",(char *) "y", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4441 arg1
= (int)(SWIG_As_int(obj0
));
4442 if (SWIG_arg_fail(1)) SWIG_fail
;
4447 arg2
= (int)(SWIG_As_int(obj1
));
4448 if (SWIG_arg_fail(2)) SWIG_fail
;
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4465 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxPoint
*arg1
= (wxPoint
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4470 (char *) "self", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4475 if (SWIG_arg_fail(1)) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 Py_INCREF(Py_None
); resultobj
= Py_None
;
4490 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxPoint
*arg1
= (wxPoint
*) 0 ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4499 (char *) "self",(char *) "pt", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4504 if (SWIG_arg_fail(1)) SWIG_fail
;
4507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4525 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxPoint
*arg1
= (wxPoint
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4532 PyObject
* obj1
= 0 ;
4534 (char *) "self",(char *) "pt", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail
;
4542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4560 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
;
4562 wxPoint
*arg1
= (wxPoint
*) 0 ;
4566 PyObject
* obj0
= 0 ;
4567 PyObject
* obj1
= 0 ;
4569 (char *) "self",(char *) "pt", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4574 if (SWIG_arg_fail(1)) SWIG_fail
;
4577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4587 wxPoint
* resultptr
;
4588 resultptr
= new wxPoint((wxPoint
&)(result
));
4589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4597 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxPoint
*arg1
= (wxPoint
*) 0 ;
4603 PyObject
* obj0
= 0 ;
4604 PyObject
* obj1
= 0 ;
4606 (char *) "self",(char *) "pt", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4611 if (SWIG_arg_fail(1)) SWIG_fail
;
4614 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4624 wxPoint
* resultptr
;
4625 resultptr
= new wxPoint((wxPoint
&)(result
));
4626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4634 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxPoint
*arg1
= (wxPoint
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4643 (char *) "self",(char *) "pt", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4648 if (SWIG_arg_fail(1)) SWIG_fail
;
4651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4657 result
= (wxPoint
*) &_result_ref
;
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4670 static PyObject
*_wrap_Point___isub__(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___isub__",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_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
*resultobj
;
4708 wxPoint
*arg1
= (wxPoint
*) 0 ;
4711 PyObject
* obj0
= 0 ;
4712 PyObject
* obj1
= 0 ;
4713 PyObject
* obj2
= 0 ;
4715 (char *) "self",(char *) "x",(char *) "y", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4720 if (SWIG_arg_fail(1)) SWIG_fail
;
4722 arg2
= (long)(SWIG_As_long(obj1
));
4723 if (SWIG_arg_fail(2)) SWIG_fail
;
4726 arg3
= (long)(SWIG_As_long(obj2
));
4727 if (SWIG_arg_fail(3)) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 wxPoint_Set(arg1
,arg2
,arg3
);
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 Py_INCREF(Py_None
); resultobj
= Py_None
;
4743 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxPoint
*arg1
= (wxPoint
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4749 (char *) "self", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4754 if (SWIG_arg_fail(1)) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (PyObject
*)wxPoint_Get(arg1
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4769 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4772 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4774 return Py_BuildValue((char *)"");
4776 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
;
4778 int arg1
= (int) 0 ;
4779 int arg2
= (int) 0 ;
4780 int arg3
= (int) 0 ;
4781 int arg4
= (int) 0 ;
4783 PyObject
* obj0
= 0 ;
4784 PyObject
* obj1
= 0 ;
4785 PyObject
* obj2
= 0 ;
4786 PyObject
* obj3
= 0 ;
4788 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4794 arg1
= (int)(SWIG_As_int(obj0
));
4795 if (SWIG_arg_fail(1)) SWIG_fail
;
4800 arg2
= (int)(SWIG_As_int(obj1
));
4801 if (SWIG_arg_fail(2)) SWIG_fail
;
4806 arg3
= (int)(SWIG_As_int(obj2
));
4807 if (SWIG_arg_fail(3)) SWIG_fail
;
4812 arg4
= (int)(SWIG_As_int(obj3
));
4813 if (SWIG_arg_fail(4)) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4830 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4840 (char *) "topLeft",(char *) "bottomRight", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4846 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4850 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4866 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4876 (char *) "pos",(char *) "size", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4882 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4886 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
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_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4907 PyObject
* obj0
= 0 ;
4909 (char *) "size", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4915 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4931 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxRect
*arg1
= (wxRect
*) 0 ;
4934 PyObject
* obj0
= 0 ;
4936 (char *) "self", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4941 if (SWIG_arg_fail(1)) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 Py_INCREF(Py_None
); resultobj
= Py_None
;
4956 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxRect
*arg1
= (wxRect
*) 0 ;
4960 PyObject
* obj0
= 0 ;
4962 (char *) "self", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4967 if (SWIG_arg_fail(1)) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (int)((wxRect
const *)arg1
)->GetX();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= SWIG_From_int((int)(result
));
4984 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxRect
*arg1
= (wxRect
*) 0 ;
4988 PyObject
* obj0
= 0 ;
4989 PyObject
* obj1
= 0 ;
4991 (char *) "self",(char *) "x", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4996 if (SWIG_arg_fail(1)) SWIG_fail
;
4998 arg2
= (int)(SWIG_As_int(obj1
));
4999 if (SWIG_arg_fail(2)) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 Py_INCREF(Py_None
); resultobj
= Py_None
;
5015 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxRect
*arg1
= (wxRect
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5021 (char *) "self", NULL
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5026 if (SWIG_arg_fail(1)) SWIG_fail
;
5028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 result
= (int)(arg1
)->GetY();
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= SWIG_From_int((int)(result
));
5043 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxRect
*arg1
= (wxRect
*) 0 ;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj1
= 0 ;
5050 (char *) "self",(char *) "y", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5055 if (SWIG_arg_fail(1)) SWIG_fail
;
5057 arg2
= (int)(SWIG_As_int(obj1
));
5058 if (SWIG_arg_fail(2)) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 Py_INCREF(Py_None
); resultobj
= Py_None
;
5074 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxRect
*arg1
= (wxRect
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5080 (char *) "self", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5085 if (SWIG_arg_fail(1)) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_From_int((int)(result
));
5102 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5104 wxRect
*arg1
= (wxRect
*) 0 ;
5106 PyObject
* obj0
= 0 ;
5107 PyObject
* obj1
= 0 ;
5109 (char *) "self",(char *) "w", NULL
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5114 if (SWIG_arg_fail(1)) SWIG_fail
;
5116 arg2
= (int)(SWIG_As_int(obj1
));
5117 if (SWIG_arg_fail(2)) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 (arg1
)->SetWidth(arg2
);
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 Py_INCREF(Py_None
); resultobj
= Py_None
;
5133 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
;
5135 wxRect
*arg1
= (wxRect
*) 0 ;
5137 PyObject
* obj0
= 0 ;
5139 (char *) "self", NULL
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5144 if (SWIG_arg_fail(1)) SWIG_fail
;
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= SWIG_From_int((int)(result
));
5161 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxRect
*arg1
= (wxRect
*) 0 ;
5165 PyObject
* obj0
= 0 ;
5166 PyObject
* obj1
= 0 ;
5168 (char *) "self",(char *) "h", NULL
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5173 if (SWIG_arg_fail(1)) SWIG_fail
;
5175 arg2
= (int)(SWIG_As_int(obj1
));
5176 if (SWIG_arg_fail(2)) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 (arg1
)->SetHeight(arg2
);
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 Py_INCREF(Py_None
); resultobj
= Py_None
;
5192 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxRect
*arg1
= (wxRect
*) 0 ;
5196 PyObject
* obj0
= 0 ;
5198 (char *) "self", NULL
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5203 if (SWIG_arg_fail(1)) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= ((wxRect
const *)arg1
)->GetPosition();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5212 wxPoint
* resultptr
;
5213 resultptr
= new wxPoint((wxPoint
&)(result
));
5214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5222 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxRect
*arg1
= (wxRect
*) 0 ;
5227 PyObject
* obj0
= 0 ;
5228 PyObject
* obj1
= 0 ;
5230 (char *) "self",(char *) "p", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5235 if (SWIG_arg_fail(1)) SWIG_fail
;
5238 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 Py_INCREF(Py_None
); resultobj
= Py_None
;
5254 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxRect
*arg1
= (wxRect
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5260 (char *) "self", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5265 if (SWIG_arg_fail(1)) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= ((wxRect
const *)arg1
)->GetSize();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5275 resultptr
= new wxSize((wxSize
&)(result
));
5276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5284 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxRect
*arg1
= (wxRect
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5290 PyObject
* obj1
= 0 ;
5292 (char *) "self",(char *) "s", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5297 if (SWIG_arg_fail(1)) SWIG_fail
;
5300 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 (arg1
)->SetSize((wxSize
const &)*arg2
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 Py_INCREF(Py_None
); resultobj
= Py_None
;
5316 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxRect
*arg1
= (wxRect
*) 0 ;
5320 PyObject
* obj0
= 0 ;
5322 (char *) "self", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5327 if (SWIG_arg_fail(1)) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5344 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxRect
*arg1
= (wxRect
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5350 (char *) "self", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5355 if (SWIG_arg_fail(1)) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5364 wxPoint
* resultptr
;
5365 resultptr
= new wxPoint((wxPoint
&)(result
));
5366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5374 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxRect
*arg1
= (wxRect
*) 0 ;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5382 (char *) "self",(char *) "p", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5387 if (SWIG_arg_fail(1)) SWIG_fail
;
5390 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 Py_INCREF(Py_None
); resultobj
= Py_None
;
5406 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxRect
*arg1
= (wxRect
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5412 (char *) "self", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5417 if (SWIG_arg_fail(1)) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 wxPoint
* resultptr
;
5427 resultptr
= new wxPoint((wxPoint
&)(result
));
5428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5436 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxRect
*arg1
= (wxRect
*) 0 ;
5441 PyObject
* obj0
= 0 ;
5442 PyObject
* obj1
= 0 ;
5444 (char *) "self",(char *) "p", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5449 if (SWIG_arg_fail(1)) SWIG_fail
;
5452 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5468 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxRect
*arg1
= (wxRect
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5474 (char *) "self", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5479 if (SWIG_arg_fail(1)) SWIG_fail
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= SWIG_From_int((int)(result
));
5496 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxRect
*arg1
= (wxRect
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5502 (char *) "self", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5507 if (SWIG_arg_fail(1)) SWIG_fail
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= (int)((wxRect
const *)arg1
)->GetTop();
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5516 resultobj
= SWIG_From_int((int)(result
));
5524 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxRect
*arg1
= (wxRect
*) 0 ;
5528 PyObject
* obj0
= 0 ;
5530 (char *) "self", NULL
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5535 if (SWIG_arg_fail(1)) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_From_int((int)(result
));
5552 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
;
5554 wxRect
*arg1
= (wxRect
*) 0 ;
5556 PyObject
* obj0
= 0 ;
5558 (char *) "self", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5563 if (SWIG_arg_fail(1)) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 result
= (int)((wxRect
const *)arg1
)->GetRight();
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= SWIG_From_int((int)(result
));
5580 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxRect
*arg1
= (wxRect
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5587 (char *) "self",(char *) "left", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5592 if (SWIG_arg_fail(1)) SWIG_fail
;
5594 arg2
= (int)(SWIG_As_int(obj1
));
5595 if (SWIG_arg_fail(2)) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->SetLeft(arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 Py_INCREF(Py_None
); resultobj
= Py_None
;
5611 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxRect
*arg1
= (wxRect
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5618 (char *) "self",(char *) "right", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5623 if (SWIG_arg_fail(1)) SWIG_fail
;
5625 arg2
= (int)(SWIG_As_int(obj1
));
5626 if (SWIG_arg_fail(2)) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 (arg1
)->SetRight(arg2
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 Py_INCREF(Py_None
); resultobj
= Py_None
;
5642 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxRect
*arg1
= (wxRect
*) 0 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5649 (char *) "self",(char *) "top", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5654 if (SWIG_arg_fail(1)) SWIG_fail
;
5656 arg2
= (int)(SWIG_As_int(obj1
));
5657 if (SWIG_arg_fail(2)) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 (arg1
)->SetTop(arg2
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxRect
*arg1
= (wxRect
*) 0 ;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5680 (char *) "self",(char *) "bottom", NULL
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5685 if (SWIG_arg_fail(1)) SWIG_fail
;
5687 arg2
= (int)(SWIG_As_int(obj1
));
5688 if (SWIG_arg_fail(2)) SWIG_fail
;
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 (arg1
)->SetBottom(arg2
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 Py_INCREF(Py_None
); resultobj
= Py_None
;
5704 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxRect
*arg1
= (wxRect
*) 0 ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5712 PyObject
* obj2
= 0 ;
5714 (char *) "self",(char *) "dx",(char *) "dy", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5719 if (SWIG_arg_fail(1)) SWIG_fail
;
5721 arg2
= (int)(SWIG_As_int(obj1
));
5722 if (SWIG_arg_fail(2)) SWIG_fail
;
5725 arg3
= (int)(SWIG_As_int(obj2
));
5726 if (SWIG_arg_fail(3)) SWIG_fail
;
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5732 result
= (wxRect
*) &_result_ref
;
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5745 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxRect
*arg1
= (wxRect
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5752 PyObject
* obj1
= 0 ;
5753 PyObject
* obj2
= 0 ;
5755 (char *) "self",(char *) "dx",(char *) "dy", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5760 if (SWIG_arg_fail(1)) SWIG_fail
;
5762 arg2
= (int)(SWIG_As_int(obj1
));
5763 if (SWIG_arg_fail(2)) SWIG_fail
;
5766 arg3
= (int)(SWIG_As_int(obj2
));
5767 if (SWIG_arg_fail(3)) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5773 result
= (wxRect
*) &_result_ref
;
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5786 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxRect
*arg1
= (wxRect
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5792 PyObject
* obj1
= 0 ;
5793 PyObject
* obj2
= 0 ;
5795 (char *) "self",(char *) "dx",(char *) "dy", NULL
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5800 if (SWIG_arg_fail(1)) SWIG_fail
;
5802 arg2
= (int)(SWIG_As_int(obj1
));
5803 if (SWIG_arg_fail(2)) SWIG_fail
;
5806 arg3
= (int)(SWIG_As_int(obj2
));
5807 if (SWIG_arg_fail(3)) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 (arg1
)->Offset(arg2
,arg3
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 Py_INCREF(Py_None
); resultobj
= Py_None
;
5823 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxRect
*arg1
= (wxRect
*) 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5831 (char *) "self",(char *) "pt", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail
;
5839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 (arg1
)->Offset((wxPoint
const &)*arg2
);
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5848 Py_INCREF(Py_None
); resultobj
= Py_None
;
5855 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxRect
*arg1
= (wxRect
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5864 (char *) "self",(char *) "rect", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5869 if (SWIG_arg_fail(1)) SWIG_fail
;
5872 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5883 resultptr
= new wxRect((wxRect
&)(result
));
5884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5892 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxRect
*arg1
= (wxRect
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5901 (char *) "self",(char *) "rect", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5906 if (SWIG_arg_fail(1)) SWIG_fail
;
5909 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5920 resultptr
= new wxRect((wxRect
&)(result
));
5921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5929 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxRect
*arg1
= (wxRect
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5938 (char *) "self",(char *) "rect", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail
;
5946 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5957 resultptr
= new wxRect((wxRect
&)(result
));
5958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5966 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxRect
*arg1
= (wxRect
*) 0 ;
5972 PyObject
* obj0
= 0 ;
5973 PyObject
* obj1
= 0 ;
5975 (char *) "self",(char *) "rect", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5980 if (SWIG_arg_fail(1)) SWIG_fail
;
5983 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5989 result
= (wxRect
*) &_result_ref
;
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6002 static PyObject
*_wrap_Rect___eq__(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___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6016 if (SWIG_arg_fail(1)) SWIG_fail
;
6019 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6037 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxRect
*arg1
= (wxRect
*) 0 ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6046 (char *) "self",(char *) "rect", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6051 if (SWIG_arg_fail(1)) SWIG_fail
;
6054 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6072 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxRect
*arg1
= (wxRect
*) 0 ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6080 PyObject
* obj2
= 0 ;
6082 (char *) "self",(char *) "x",(char *) "y", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6087 if (SWIG_arg_fail(1)) SWIG_fail
;
6089 arg2
= (int)(SWIG_As_int(obj1
));
6090 if (SWIG_arg_fail(2)) SWIG_fail
;
6093 arg3
= (int)(SWIG_As_int(obj2
));
6094 if (SWIG_arg_fail(3)) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6112 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxRect
*arg1
= (wxRect
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6121 (char *) "self",(char *) "pt", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6126 if (SWIG_arg_fail(1)) SWIG_fail
;
6129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6147 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxRect
*arg1
= (wxRect
*) 0 ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6156 (char *) "self",(char *) "rect", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6161 if (SWIG_arg_fail(1)) SWIG_fail
;
6164 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6182 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxRect
*arg1
= (wxRect
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6189 (char *) "self",(char *) "x", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6194 if (SWIG_arg_fail(1)) SWIG_fail
;
6196 arg2
= (int)(SWIG_As_int(obj1
));
6197 if (SWIG_arg_fail(2)) SWIG_fail
;
6199 if (arg1
) (arg1
)->x
= arg2
;
6201 Py_INCREF(Py_None
); resultobj
= Py_None
;
6208 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
;
6210 wxRect
*arg1
= (wxRect
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6214 (char *) "self", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6219 if (SWIG_arg_fail(1)) SWIG_fail
;
6220 result
= (int) ((arg1
)->x
);
6223 resultobj
= SWIG_From_int((int)(result
));
6231 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxRect
*arg1
= (wxRect
*) 0 ;
6235 PyObject
* obj0
= 0 ;
6236 PyObject
* obj1
= 0 ;
6238 (char *) "self",(char *) "y", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6243 if (SWIG_arg_fail(1)) SWIG_fail
;
6245 arg2
= (int)(SWIG_As_int(obj1
));
6246 if (SWIG_arg_fail(2)) SWIG_fail
;
6248 if (arg1
) (arg1
)->y
= arg2
;
6250 Py_INCREF(Py_None
); resultobj
= Py_None
;
6257 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxRect
*arg1
= (wxRect
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6263 (char *) "self", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6268 if (SWIG_arg_fail(1)) SWIG_fail
;
6269 result
= (int) ((arg1
)->y
);
6272 resultobj
= SWIG_From_int((int)(result
));
6280 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxRect
*arg1
= (wxRect
*) 0 ;
6284 PyObject
* obj0
= 0 ;
6285 PyObject
* obj1
= 0 ;
6287 (char *) "self",(char *) "width", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6292 if (SWIG_arg_fail(1)) SWIG_fail
;
6294 arg2
= (int)(SWIG_As_int(obj1
));
6295 if (SWIG_arg_fail(2)) SWIG_fail
;
6297 if (arg1
) (arg1
)->width
= arg2
;
6299 Py_INCREF(Py_None
); resultobj
= Py_None
;
6306 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxRect
*arg1
= (wxRect
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6312 (char *) "self", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6317 if (SWIG_arg_fail(1)) SWIG_fail
;
6318 result
= (int) ((arg1
)->width
);
6321 resultobj
= SWIG_From_int((int)(result
));
6329 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxRect
*arg1
= (wxRect
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6336 (char *) "self",(char *) "height", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6341 if (SWIG_arg_fail(1)) SWIG_fail
;
6343 arg2
= (int)(SWIG_As_int(obj1
));
6344 if (SWIG_arg_fail(2)) SWIG_fail
;
6346 if (arg1
) (arg1
)->height
= arg2
;
6348 Py_INCREF(Py_None
); resultobj
= Py_None
;
6355 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6357 wxRect
*arg1
= (wxRect
*) 0 ;
6359 PyObject
* obj0
= 0 ;
6361 (char *) "self", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6366 if (SWIG_arg_fail(1)) SWIG_fail
;
6367 result
= (int) ((arg1
)->height
);
6370 resultobj
= SWIG_From_int((int)(result
));
6378 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxRect
*arg1
= (wxRect
*) 0 ;
6381 int arg2
= (int) 0 ;
6382 int arg3
= (int) 0 ;
6383 int arg4
= (int) 0 ;
6384 int arg5
= (int) 0 ;
6385 PyObject
* obj0
= 0 ;
6386 PyObject
* obj1
= 0 ;
6387 PyObject
* obj2
= 0 ;
6388 PyObject
* obj3
= 0 ;
6389 PyObject
* obj4
= 0 ;
6391 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6396 if (SWIG_arg_fail(1)) SWIG_fail
;
6399 arg2
= (int)(SWIG_As_int(obj1
));
6400 if (SWIG_arg_fail(2)) SWIG_fail
;
6405 arg3
= (int)(SWIG_As_int(obj2
));
6406 if (SWIG_arg_fail(3)) SWIG_fail
;
6411 arg4
= (int)(SWIG_As_int(obj3
));
6412 if (SWIG_arg_fail(4)) SWIG_fail
;
6417 arg5
= (int)(SWIG_As_int(obj4
));
6418 if (SWIG_arg_fail(5)) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 Py_INCREF(Py_None
); resultobj
= Py_None
;
6435 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 wxRect
*arg1
= (wxRect
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6441 (char *) "self", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6446 if (SWIG_arg_fail(1)) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= (PyObject
*)wxRect_Get(arg1
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6461 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6464 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6466 return Py_BuildValue((char *)"");
6468 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxRect
*arg1
= (wxRect
*) 0 ;
6471 wxRect
*arg2
= (wxRect
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6476 (char *) "r1",(char *) "r2", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6481 if (SWIG_arg_fail(1)) SWIG_fail
;
6482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6483 if (SWIG_arg_fail(2)) SWIG_fail
;
6485 if (!wxPyCheckForApp()) SWIG_fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6499 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 double arg1
= (double) 0.0 ;
6502 double arg2
= (double) 0.0 ;
6504 PyObject
* obj0
= 0 ;
6505 PyObject
* obj1
= 0 ;
6507 (char *) "x",(char *) "y", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6513 arg1
= (double)(SWIG_As_double(obj0
));
6514 if (SWIG_arg_fail(1)) SWIG_fail
;
6519 arg2
= (double)(SWIG_As_double(obj1
));
6520 if (SWIG_arg_fail(2)) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6537 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxPoint2D
*arg1
= 0 ;
6542 PyObject
* obj0
= 0 ;
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6550 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6566 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6571 PyObject
* obj0
= 0 ;
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6579 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6595 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6598 int *arg2
= (int *) 0 ;
6599 int *arg3
= (int *) 0 ;
6604 PyObject
* obj0
= 0 ;
6606 (char *) "self", NULL
6609 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6610 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6613 if (SWIG_arg_fail(1)) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 Py_INCREF(Py_None
); resultobj
= Py_None
;
6622 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6623 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6624 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6625 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6632 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6635 int *arg2
= (int *) 0 ;
6636 int *arg3
= (int *) 0 ;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "self", NULL
6646 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6647 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6650 if (SWIG_arg_fail(1)) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 Py_INCREF(Py_None
); resultobj
= Py_None
;
6659 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6660 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6661 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6662 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6669 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6673 PyObject
* obj0
= 0 ;
6675 (char *) "self", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6680 if (SWIG_arg_fail(1)) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= SWIG_From_double((double)(result
));
6697 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "self", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6708 if (SWIG_arg_fail(1)) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_From_double((double)(result
));
6725 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6729 PyObject
* obj0
= 0 ;
6730 PyObject
* obj1
= 0 ;
6732 (char *) "self",(char *) "length", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6737 if (SWIG_arg_fail(1)) SWIG_fail
;
6739 arg2
= (double)(SWIG_As_double(obj1
));
6740 if (SWIG_arg_fail(2)) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 (arg1
)->SetVectorLength(arg2
);
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6749 Py_INCREF(Py_None
); resultobj
= Py_None
;
6756 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6763 (char *) "self",(char *) "degrees", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6768 if (SWIG_arg_fail(1)) SWIG_fail
;
6770 arg2
= (double)(SWIG_As_double(obj1
));
6771 if (SWIG_arg_fail(2)) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 (arg1
)->SetVectorAngle(arg2
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 Py_INCREF(Py_None
); resultobj
= Py_None
;
6787 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6790 wxPoint2D
*arg2
= 0 ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6796 (char *) "self",(char *) "pt", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6801 if (SWIG_arg_fail(1)) SWIG_fail
;
6804 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_From_double((double)(result
));
6822 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6825 wxPoint2D
*arg2
= 0 ;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6831 (char *) "self",(char *) "pt", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6836 if (SWIG_arg_fail(1)) SWIG_fail
;
6839 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= SWIG_From_double((double)(result
));
6857 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6860 wxPoint2D
*arg2
= 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6866 (char *) "self",(char *) "vec", NULL
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6871 if (SWIG_arg_fail(1)) SWIG_fail
;
6874 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_From_double((double)(result
));
6892 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6895 wxPoint2D
*arg2
= 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6901 (char *) "self",(char *) "vec", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6906 if (SWIG_arg_fail(1)) SWIG_fail
;
6909 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_From_double((double)(result
));
6927 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6933 (char *) "self", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6938 if (SWIG_arg_fail(1)) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (arg1
)->operator -();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 wxPoint2D
* resultptr
;
6948 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6957 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6960 wxPoint2D
*arg2
= 0 ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6966 (char *) "self",(char *) "pt", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6971 if (SWIG_arg_fail(1)) SWIG_fail
;
6974 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6980 result
= (wxPoint2D
*) &_result_ref
;
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6993 static PyObject
*_wrap_Point2D___isub__(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___isub__",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___imul__(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___imul__",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___idiv__(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___idiv__",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___eq__(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___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7115 if (SWIG_arg_fail(1)) SWIG_fail
;
7118 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7136 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7139 wxPoint2D
*arg2
= 0 ;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7145 (char *) "self",(char *) "pt", NULL
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7150 if (SWIG_arg_fail(1)) SWIG_fail
;
7153 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7171 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7175 PyObject
* obj0
= 0 ;
7176 PyObject
* obj1
= 0 ;
7178 (char *) "self",(char *) "m_x", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7183 if (SWIG_arg_fail(1)) SWIG_fail
;
7185 arg2
= (double)(SWIG_As_double(obj1
));
7186 if (SWIG_arg_fail(2)) SWIG_fail
;
7188 if (arg1
) (arg1
)->m_x
= arg2
;
7190 Py_INCREF(Py_None
); resultobj
= Py_None
;
7197 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "self", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7208 if (SWIG_arg_fail(1)) SWIG_fail
;
7209 result
= (double) ((arg1
)->m_x
);
7212 resultobj
= SWIG_From_double((double)(result
));
7220 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7225 PyObject
* obj1
= 0 ;
7227 (char *) "self",(char *) "m_y", NULL
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7232 if (SWIG_arg_fail(1)) SWIG_fail
;
7234 arg2
= (double)(SWIG_As_double(obj1
));
7235 if (SWIG_arg_fail(2)) SWIG_fail
;
7237 if (arg1
) (arg1
)->m_y
= arg2
;
7239 Py_INCREF(Py_None
); resultobj
= Py_None
;
7246 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7252 (char *) "self", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7257 if (SWIG_arg_fail(1)) SWIG_fail
;
7258 result
= (double) ((arg1
)->m_y
);
7261 resultobj
= SWIG_From_double((double)(result
));
7269 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7272 double arg2
= (double) 0 ;
7273 double arg3
= (double) 0 ;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7276 PyObject
* obj2
= 0 ;
7278 (char *) "self",(char *) "x",(char *) "y", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7283 if (SWIG_arg_fail(1)) SWIG_fail
;
7286 arg2
= (double)(SWIG_As_double(obj1
));
7287 if (SWIG_arg_fail(2)) SWIG_fail
;
7292 arg3
= (double)(SWIG_As_double(obj2
));
7293 if (SWIG_arg_fail(3)) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 wxPoint2D_Set(arg1
,arg2
,arg3
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 Py_INCREF(Py_None
); resultobj
= Py_None
;
7310 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7316 (char *) "self", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7321 if (SWIG_arg_fail(1)) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7336 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7339 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7341 return Py_BuildValue((char *)"");
7343 static int _wrap_DefaultPosition_set(PyObject
*) {
7344 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7349 static PyObject
*_wrap_DefaultPosition_get(void) {
7352 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7357 static int _wrap_DefaultSize_set(PyObject
*) {
7358 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7363 static PyObject
*_wrap_DefaultSize_get(void) {
7366 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7371 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7373 PyObject
*arg1
= (PyObject
*) 0 ;
7374 wxPyInputStream
*result
;
7375 PyObject
* obj0
= 0 ;
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7396 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7399 PyObject
* obj0
= 0 ;
7401 (char *) "self", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7406 if (SWIG_arg_fail(1)) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 Py_INCREF(Py_None
); resultobj
= Py_None
;
7421 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7424 PyObject
* obj0
= 0 ;
7426 (char *) "self", NULL
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7431 if (SWIG_arg_fail(1)) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 Py_INCREF(Py_None
); resultobj
= Py_None
;
7446 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7448 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7451 (char *) "self", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7456 if (SWIG_arg_fail(1)) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 Py_INCREF(Py_None
); resultobj
= Py_None
;
7471 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7482 if (SWIG_arg_fail(1)) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (bool)(arg1
)->eof();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7499 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7501 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7502 int arg2
= (int) -1 ;
7504 PyObject
* obj0
= 0 ;
7505 PyObject
* obj1
= 0 ;
7507 (char *) "self",(char *) "size", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7512 if (SWIG_arg_fail(1)) SWIG_fail
;
7515 arg2
= (int)(SWIG_As_int(obj1
));
7516 if (SWIG_arg_fail(2)) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (PyObject
*)(arg1
)->read(arg2
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7533 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7536 int arg2
= (int) -1 ;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7541 (char *) "self",(char *) "size", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7546 if (SWIG_arg_fail(1)) SWIG_fail
;
7549 arg2
= (int)(SWIG_As_int(obj1
));
7550 if (SWIG_arg_fail(2)) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (PyObject
*)(arg1
)->readline(arg2
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7567 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
;
7569 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7570 int arg2
= (int) -1 ;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7575 (char *) "self",(char *) "sizehint", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7580 if (SWIG_arg_fail(1)) SWIG_fail
;
7583 arg2
= (int)(SWIG_As_int(obj1
));
7584 if (SWIG_arg_fail(2)) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7601 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7605 int arg3
= (int) 0 ;
7606 PyObject
* obj0
= 0 ;
7607 PyObject
* obj1
= 0 ;
7608 PyObject
* obj2
= 0 ;
7610 (char *) "self",(char *) "offset",(char *) "whence", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7615 if (SWIG_arg_fail(1)) SWIG_fail
;
7617 arg2
= (int)(SWIG_As_int(obj1
));
7618 if (SWIG_arg_fail(2)) SWIG_fail
;
7622 arg3
= (int)(SWIG_As_int(obj2
));
7623 if (SWIG_arg_fail(3)) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 (arg1
)->seek(arg2
,arg3
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 Py_INCREF(Py_None
); resultobj
= Py_None
;
7640 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7646 (char *) "self", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 result
= (int)(arg1
)->tell();
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= SWIG_From_int((int)(result
));
7668 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
;
7670 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7672 PyObject
* obj0
= 0 ;
7674 (char *) "self", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 result
= (char)(arg1
)->Peek();
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_From_char((char)(result
));
7696 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7700 PyObject
* obj0
= 0 ;
7702 (char *) "self", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7707 if (SWIG_arg_fail(1)) SWIG_fail
;
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 result
= (char)(arg1
)->GetC();
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_From_char((char)(result
));
7724 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "self", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7735 if (SWIG_arg_fail(1)) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (size_t)(arg1
)->LastRead();
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7752 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "self", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7763 if (SWIG_arg_fail(1)) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 result
= (bool)(arg1
)->CanRead();
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7780 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
;
7782 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7784 PyObject
* obj0
= 0 ;
7786 (char *) "self", NULL
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7791 if (SWIG_arg_fail(1)) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (bool)(arg1
)->Eof();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7808 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7816 (char *) "self",(char *) "c", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail
;
7823 arg2
= (char)(SWIG_As_char(obj1
));
7824 if (SWIG_arg_fail(2)) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (bool)(arg1
)->Ungetch(arg2
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7842 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7846 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7850 PyObject
* obj2
= 0 ;
7852 (char *) "self",(char *) "pos",(char *) "mode", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (long)(SWIG_As_long(obj1
));
7860 if (SWIG_arg_fail(2)) SWIG_fail
;
7864 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7865 if (SWIG_arg_fail(3)) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_From_long((long)(result
));
7884 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7888 PyObject
* obj0
= 0 ;
7890 (char *) "self", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7895 if (SWIG_arg_fail(1)) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (long)(arg1
)->TellI();
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_From_long((long)(result
));
7912 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7915 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7917 return Py_BuildValue((char *)"");
7919 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7922 PyObject
*arg2
= (PyObject
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7924 PyObject
* obj1
= 0 ;
7926 (char *) "self",(char *) "obj", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7931 if (SWIG_arg_fail(1)) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 wxOutputStream_write(arg1
,arg2
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 Py_INCREF(Py_None
); resultobj
= Py_None
;
7947 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7950 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7952 return Py_BuildValue((char *)"");
7954 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7957 wxString
*arg2
= 0 ;
7958 wxString
*arg3
= 0 ;
7959 wxString
*arg4
= 0 ;
7962 wxPyInputStream
*temp1
;
7963 bool temp2
= false ;
7964 bool temp3
= false ;
7965 bool temp4
= false ;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7968 PyObject
* obj2
= 0 ;
7969 PyObject
* obj3
= 0 ;
7970 PyObject
* obj4
= 0 ;
7972 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7977 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7978 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7980 PyErr_Clear(); // clear the failure of the wxPyConvert above
7981 arg1
= wxPyCBInputStream_create(obj0
, true);
7983 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7989 arg2
= wxString_in_helper(obj1
);
7990 if (arg2
== NULL
) SWIG_fail
;
7994 arg3
= wxString_in_helper(obj2
);
7995 if (arg3
== NULL
) SWIG_fail
;
7999 arg4
= wxString_in_helper(obj3
);
8000 if (arg4
== NULL
) SWIG_fail
;
8005 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8006 if (SWIG_arg_fail(5)) SWIG_fail
;
8008 SWIG_null_ref("wxDateTime");
8010 if (SWIG_arg_fail(5)) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= wxPyMake_wxObject(result
, 1);
8053 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8058 (char *) "self", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8063 if (SWIG_arg_fail(1)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8081 wxInputStream
*result
;
8082 PyObject
* obj0
= 0 ;
8084 (char *) "self", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8089 if (SWIG_arg_fail(1)) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (wxInputStream
*)(arg1
)->GetStream();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8098 wxPyInputStream
* _ptr
= NULL
;
8101 _ptr
= new wxPyInputStream(result
);
8103 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8111 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8117 (char *) "self", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8122 if (SWIG_arg_fail(1)) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8127 result
= (wxString
*) &_result_ref
;
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8137 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8146 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8150 PyObject
* obj0
= 0 ;
8152 (char *) "self", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8157 if (SWIG_arg_fail(1)) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 wxString
const &_result_ref
= (arg1
)->GetLocation();
8162 result
= (wxString
*) &_result_ref
;
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8172 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8181 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
;
8183 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8185 PyObject
* obj0
= 0 ;
8187 (char *) "self", NULL
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8192 if (SWIG_arg_fail(1)) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8197 result
= (wxString
*) &_result_ref
;
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8207 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8216 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8222 (char *) "self", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8227 if (SWIG_arg_fail(1)) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 result
= (arg1
)->GetModificationTime();
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8236 wxDateTime
* resultptr
;
8237 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8246 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8249 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8251 return Py_BuildValue((char *)"");
8253 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8256 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8258 return Py_BuildValue((char *)"");
8260 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxPyFileSystemHandler
*result
;
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8282 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8285 PyObject
*arg2
= (PyObject
*) 0 ;
8286 PyObject
*arg3
= (PyObject
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8289 PyObject
* obj2
= 0 ;
8291 (char *) "self",(char *) "self",(char *) "_class", NULL
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8296 if (SWIG_arg_fail(1)) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 Py_INCREF(Py_None
); resultobj
= Py_None
;
8313 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8316 wxString
*arg2
= 0 ;
8318 bool temp2
= false ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8322 (char *) "self",(char *) "location", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8327 if (SWIG_arg_fail(1)) SWIG_fail
;
8329 arg2
= wxString_in_helper(obj1
);
8330 if (arg2
== NULL
) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8357 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8360 wxFileSystem
*arg2
= 0 ;
8361 wxString
*arg3
= 0 ;
8363 bool temp3
= false ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8366 PyObject
* obj2
= 0 ;
8368 (char *) "self",(char *) "fs",(char *) "location", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8373 if (SWIG_arg_fail(1)) SWIG_fail
;
8375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8376 if (SWIG_arg_fail(2)) SWIG_fail
;
8378 SWIG_null_ref("wxFileSystem");
8380 if (SWIG_arg_fail(2)) SWIG_fail
;
8383 arg3
= wxString_in_helper(obj2
);
8384 if (arg3
== NULL
) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= wxPyMake_wxObject(result
, 1);
8411 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8414 wxString
*arg2
= 0 ;
8415 int arg3
= (int) 0 ;
8417 bool temp2
= false ;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8420 PyObject
* obj2
= 0 ;
8422 (char *) "self",(char *) "spec",(char *) "flags", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8427 if (SWIG_arg_fail(1)) SWIG_fail
;
8429 arg2
= wxString_in_helper(obj1
);
8430 if (arg2
== NULL
) SWIG_fail
;
8435 arg3
= (int)(SWIG_As_int(obj2
));
8436 if (SWIG_arg_fail(3)) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8467 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
*resultobj
;
8469 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8471 PyObject
* obj0
= 0 ;
8473 (char *) "self", NULL
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8478 if (SWIG_arg_fail(1)) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (arg1
)->FindNext();
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8499 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8502 wxString
*arg2
= 0 ;
8504 bool temp2
= false ;
8505 PyObject
* obj0
= 0 ;
8506 PyObject
* obj1
= 0 ;
8508 (char *) "self",(char *) "location", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8513 if (SWIG_arg_fail(1)) SWIG_fail
;
8515 arg2
= wxString_in_helper(obj1
);
8516 if (arg2
== NULL
) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8547 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8550 wxString
*arg2
= 0 ;
8552 bool temp2
= false ;
8553 PyObject
* obj0
= 0 ;
8554 PyObject
* obj1
= 0 ;
8556 (char *) "self",(char *) "location", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8561 if (SWIG_arg_fail(1)) SWIG_fail
;
8563 arg2
= wxString_in_helper(obj1
);
8564 if (arg2
== NULL
) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8595 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8598 wxString
*arg2
= 0 ;
8600 bool temp2
= false ;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8604 (char *) "self",(char *) "location", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8609 if (SWIG_arg_fail(1)) SWIG_fail
;
8611 arg2
= wxString_in_helper(obj1
);
8612 if (arg2
== NULL
) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8643 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
;
8645 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8646 wxString
*arg2
= 0 ;
8648 bool temp2
= false ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8652 (char *) "self",(char *) "location", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8657 if (SWIG_arg_fail(1)) SWIG_fail
;
8659 arg2
= wxString_in_helper(obj1
);
8660 if (arg2
== NULL
) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8691 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
;
8693 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8694 wxString
*arg2
= 0 ;
8696 bool temp2
= false ;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8700 (char *) "self",(char *) "location", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8705 if (SWIG_arg_fail(1)) SWIG_fail
;
8707 arg2
= wxString_in_helper(obj1
);
8708 if (arg2
== NULL
) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8739 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8742 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8744 return Py_BuildValue((char *)"");
8746 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxFileSystem
*result
;
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= (wxFileSystem
*)new wxFileSystem();
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= wxPyMake_wxObject(result
, 1);
8770 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
;
8772 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8775 (char *) "self", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8780 if (SWIG_arg_fail(1)) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 Py_INCREF(Py_None
); resultobj
= Py_None
;
8795 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8798 wxString
*arg2
= 0 ;
8799 bool arg3
= (bool) false ;
8800 bool temp2
= false ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8803 PyObject
* obj2
= 0 ;
8805 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8810 if (SWIG_arg_fail(1)) SWIG_fail
;
8812 arg2
= wxString_in_helper(obj1
);
8813 if (arg2
== NULL
) SWIG_fail
;
8818 arg3
= (bool)(SWIG_As_bool(obj2
));
8819 if (SWIG_arg_fail(3)) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 Py_INCREF(Py_None
); resultobj
= Py_None
;
8844 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8848 PyObject
* obj0
= 0 ;
8850 (char *) "self", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8855 if (SWIG_arg_fail(1)) SWIG_fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 result
= (arg1
)->GetPath();
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8876 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8879 wxString
*arg2
= 0 ;
8881 bool temp2
= false ;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8885 (char *) "self",(char *) "location", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8890 if (SWIG_arg_fail(1)) SWIG_fail
;
8892 arg2
= wxString_in_helper(obj1
);
8893 if (arg2
== NULL
) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= wxPyMake_wxObject(result
, 1);
8920 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8923 wxString
*arg2
= 0 ;
8924 int arg3
= (int) 0 ;
8926 bool temp2
= false ;
8927 PyObject
* obj0
= 0 ;
8928 PyObject
* obj1
= 0 ;
8929 PyObject
* obj2
= 0 ;
8931 (char *) "self",(char *) "spec",(char *) "flags", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8936 if (SWIG_arg_fail(1)) SWIG_fail
;
8938 arg2
= wxString_in_helper(obj1
);
8939 if (arg2
== NULL
) SWIG_fail
;
8944 arg3
= (int)(SWIG_As_int(obj2
));
8945 if (SWIG_arg_fail(3)) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8976 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8980 PyObject
* obj0
= 0 ;
8982 (char *) "self", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8987 if (SWIG_arg_fail(1)) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (arg1
)->FindNext();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9008 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9013 (char *) "handler", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9018 if (SWIG_arg_fail(1)) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 wxFileSystem::AddHandler(arg1
);
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 Py_INCREF(Py_None
); resultobj
= Py_None
;
9033 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
;
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 wxFileSystem::CleanUpHandlers();
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 Py_INCREF(Py_None
); resultobj
= Py_None
;
9054 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxString
*arg1
= 0 ;
9058 bool temp1
= false ;
9059 PyObject
* obj0
= 0 ;
9061 (char *) "filename", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9066 arg1
= wxString_in_helper(obj0
);
9067 if (arg1
== NULL
) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9098 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxString
*arg1
= 0 ;
9102 bool temp1
= false ;
9103 PyObject
* obj0
= 0 ;
9105 (char *) "url", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9110 arg1
= wxString_in_helper(obj0
);
9111 if (arg1
== NULL
) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9142 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9145 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9147 return Py_BuildValue((char *)"");
9149 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxInternetFSHandler
*result
;
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9171 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9174 wxString
*arg2
= 0 ;
9176 bool temp2
= false ;
9177 PyObject
* obj0
= 0 ;
9178 PyObject
* obj1
= 0 ;
9180 (char *) "self",(char *) "location", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9185 if (SWIG_arg_fail(1)) SWIG_fail
;
9187 arg2
= wxString_in_helper(obj1
);
9188 if (arg2
== NULL
) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9215 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9218 wxFileSystem
*arg2
= 0 ;
9219 wxString
*arg3
= 0 ;
9221 bool temp3
= false ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 PyObject
* obj2
= 0 ;
9226 (char *) "self",(char *) "fs",(char *) "location", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9231 if (SWIG_arg_fail(1)) SWIG_fail
;
9233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9234 if (SWIG_arg_fail(2)) SWIG_fail
;
9236 SWIG_null_ref("wxFileSystem");
9238 if (SWIG_arg_fail(2)) SWIG_fail
;
9241 arg3
= wxString_in_helper(obj2
);
9242 if (arg3
== NULL
) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= wxPyMake_wxObject(result
, 1);
9269 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9272 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9274 return Py_BuildValue((char *)"");
9276 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
;
9278 wxZipFSHandler
*result
;
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9298 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9301 wxString
*arg2
= 0 ;
9303 bool temp2
= false ;
9304 PyObject
* obj0
= 0 ;
9305 PyObject
* obj1
= 0 ;
9307 (char *) "self",(char *) "location", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9312 if (SWIG_arg_fail(1)) SWIG_fail
;
9314 arg2
= wxString_in_helper(obj1
);
9315 if (arg2
== NULL
) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9342 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9345 wxFileSystem
*arg2
= 0 ;
9346 wxString
*arg3
= 0 ;
9348 bool temp3
= false ;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9351 PyObject
* obj2
= 0 ;
9353 (char *) "self",(char *) "fs",(char *) "location", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9358 if (SWIG_arg_fail(1)) SWIG_fail
;
9360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9361 if (SWIG_arg_fail(2)) SWIG_fail
;
9363 SWIG_null_ref("wxFileSystem");
9365 if (SWIG_arg_fail(2)) SWIG_fail
;
9368 arg3
= wxString_in_helper(obj2
);
9369 if (arg3
== NULL
) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= wxPyMake_wxObject(result
, 1);
9396 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9399 wxString
*arg2
= 0 ;
9400 int arg3
= (int) 0 ;
9402 bool temp2
= false ;
9403 PyObject
* obj0
= 0 ;
9404 PyObject
* obj1
= 0 ;
9405 PyObject
* obj2
= 0 ;
9407 (char *) "self",(char *) "spec",(char *) "flags", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9412 if (SWIG_arg_fail(1)) SWIG_fail
;
9414 arg2
= wxString_in_helper(obj1
);
9415 if (arg2
== NULL
) SWIG_fail
;
9420 arg3
= (int)(SWIG_As_int(obj2
));
9421 if (SWIG_arg_fail(3)) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9452 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9456 PyObject
* obj0
= 0 ;
9458 (char *) "self", NULL
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9463 if (SWIG_arg_fail(1)) SWIG_fail
;
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 result
= (arg1
)->FindNext();
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9484 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9487 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9489 return Py_BuildValue((char *)"");
9491 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxString
*arg1
= 0 ;
9496 bool temp1
= false ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 PyObject
* obj2
= 0 ;
9501 (char *) "filename",(char *) "image",(char *) "type", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9506 arg1
= wxString_in_helper(obj0
);
9507 if (arg1
== NULL
) SWIG_fail
;
9511 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9512 if (SWIG_arg_fail(2)) SWIG_fail
;
9514 SWIG_null_ref("wxImage");
9516 if (SWIG_arg_fail(2)) SWIG_fail
;
9519 arg3
= (long)(SWIG_As_long(obj2
));
9520 if (SWIG_arg_fail(3)) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 Py_INCREF(Py_None
); resultobj
= Py_None
;
9544 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxString
*arg1
= 0 ;
9547 wxBitmap
*arg2
= 0 ;
9549 bool temp1
= false ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9552 PyObject
* obj2
= 0 ;
9554 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9559 arg1
= wxString_in_helper(obj0
);
9560 if (arg1
== NULL
) SWIG_fail
;
9564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9565 if (SWIG_arg_fail(2)) SWIG_fail
;
9567 SWIG_null_ref("wxBitmap");
9569 if (SWIG_arg_fail(2)) SWIG_fail
;
9572 arg3
= (long)(SWIG_As_long(obj2
));
9573 if (SWIG_arg_fail(3)) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 Py_INCREF(Py_None
); resultobj
= Py_None
;
9597 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxString
*arg1
= 0 ;
9600 PyObject
*arg2
= (PyObject
*) 0 ;
9601 bool temp1
= false ;
9602 PyObject
* obj0
= 0 ;
9603 PyObject
* obj1
= 0 ;
9605 (char *) "filename",(char *) "data", NULL
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9610 arg1
= wxString_in_helper(obj0
);
9611 if (arg1
== NULL
) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 Py_INCREF(Py_None
); resultobj
= Py_None
;
9637 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxMemoryFSHandler
*result
;
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9659 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
;
9661 wxString
*arg1
= 0 ;
9662 bool temp1
= false ;
9663 PyObject
* obj0
= 0 ;
9665 (char *) "filename", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9670 arg1
= wxString_in_helper(obj0
);
9671 if (arg1
== NULL
) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 Py_INCREF(Py_None
); resultobj
= Py_None
;
9696 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9699 wxString
*arg2
= 0 ;
9701 bool temp2
= false ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9705 (char *) "self",(char *) "location", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9710 if (SWIG_arg_fail(1)) SWIG_fail
;
9712 arg2
= wxString_in_helper(obj1
);
9713 if (arg2
== NULL
) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9740 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
;
9742 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9743 wxFileSystem
*arg2
= 0 ;
9744 wxString
*arg3
= 0 ;
9746 bool temp3
= false ;
9747 PyObject
* obj0
= 0 ;
9748 PyObject
* obj1
= 0 ;
9749 PyObject
* obj2
= 0 ;
9751 (char *) "self",(char *) "fs",(char *) "location", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9756 if (SWIG_arg_fail(1)) SWIG_fail
;
9758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9759 if (SWIG_arg_fail(2)) SWIG_fail
;
9761 SWIG_null_ref("wxFileSystem");
9763 if (SWIG_arg_fail(2)) SWIG_fail
;
9766 arg3
= wxString_in_helper(obj2
);
9767 if (arg3
== NULL
) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= wxPyMake_wxObject(result
, 1);
9794 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9797 wxString
*arg2
= 0 ;
9798 int arg3
= (int) 0 ;
9800 bool temp2
= false ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9803 PyObject
* obj2
= 0 ;
9805 (char *) "self",(char *) "spec",(char *) "flags", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail
;
9812 arg2
= wxString_in_helper(obj1
);
9813 if (arg2
== NULL
) SWIG_fail
;
9818 arg3
= (int)(SWIG_As_int(obj2
));
9819 if (SWIG_arg_fail(3)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9850 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "self", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9861 if (SWIG_arg_fail(1)) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= (arg1
)->FindNext();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9882 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9885 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9887 return Py_BuildValue((char *)"");
9889 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (arg1
)->GetName();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9921 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9927 (char *) "self", NULL
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9932 if (SWIG_arg_fail(1)) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= (arg1
)->GetExtension();
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9953 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9964 if (SWIG_arg_fail(1)) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (long)(arg1
)->GetType();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_From_long((long)(result
));
9981 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9985 PyObject
* obj0
= 0 ;
9987 (char *) "self", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9992 if (SWIG_arg_fail(1)) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (arg1
)->GetMimeType();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10013 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10016 wxString
*arg2
= 0 ;
10018 bool temp2
= false ;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 char *kwnames
[] = {
10022 (char *) "self",(char *) "name", NULL
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10027 if (SWIG_arg_fail(1)) SWIG_fail
;
10029 arg2
= wxString_in_helper(obj1
);
10030 if (arg2
== NULL
) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10057 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10060 wxString
*arg2
= 0 ;
10061 bool temp2
= false ;
10062 PyObject
* obj0
= 0 ;
10063 PyObject
* obj1
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "self",(char *) "name", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10070 if (SWIG_arg_fail(1)) SWIG_fail
;
10072 arg2
= wxString_in_helper(obj1
);
10073 if (arg2
== NULL
) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 (arg1
)->SetName((wxString
const &)*arg2
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 Py_INCREF(Py_None
); resultobj
= Py_None
;
10098 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10101 wxString
*arg2
= 0 ;
10102 bool temp2
= false ;
10103 PyObject
* obj0
= 0 ;
10104 PyObject
* obj1
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self",(char *) "extension", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10111 if (SWIG_arg_fail(1)) SWIG_fail
;
10113 arg2
= wxString_in_helper(obj1
);
10114 if (arg2
== NULL
) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 (arg1
)->SetExtension((wxString
const &)*arg2
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 Py_INCREF(Py_None
); resultobj
= Py_None
;
10139 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
*resultobj
;
10141 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10143 PyObject
* obj0
= 0 ;
10144 PyObject
* obj1
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "self",(char *) "type", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10151 if (SWIG_arg_fail(1)) SWIG_fail
;
10153 arg2
= (long)(SWIG_As_long(obj1
));
10154 if (SWIG_arg_fail(2)) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 (arg1
)->SetType(arg2
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 Py_INCREF(Py_None
); resultobj
= Py_None
;
10170 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10173 wxString
*arg2
= 0 ;
10174 bool temp2
= false ;
10175 PyObject
* obj0
= 0 ;
10176 PyObject
* obj1
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self",(char *) "mimetype", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10183 if (SWIG_arg_fail(1)) SWIG_fail
;
10185 arg2
= wxString_in_helper(obj1
);
10186 if (arg2
== NULL
) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 Py_INCREF(Py_None
); resultobj
= Py_None
;
10211 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10214 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10216 return Py_BuildValue((char *)"");
10218 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxImageHistogram
*result
;
10221 char *kwnames
[] = {
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (wxImageHistogram
*)new wxImageHistogram();
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10240 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10245 unsigned long result
;
10246 PyObject
* obj0
= 0 ;
10247 PyObject
* obj1
= 0 ;
10248 PyObject
* obj2
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "r",(char *) "g",(char *) "b", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10255 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10256 if (SWIG_arg_fail(1)) SWIG_fail
;
10259 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10260 if (SWIG_arg_fail(2)) SWIG_fail
;
10263 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10264 if (SWIG_arg_fail(3)) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10282 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10285 byte
*arg2
= (byte
*) 0 ;
10286 byte
*arg3
= (byte
*) 0 ;
10287 byte
*arg4
= (byte
*) 0 ;
10288 byte arg5
= (byte
) 1 ;
10289 byte arg6
= (byte
) 0 ;
10290 byte arg7
= (byte
) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 PyObject
* obj2
= 0 ;
10301 PyObject
* obj3
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10306 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10307 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10308 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10311 if (SWIG_arg_fail(1)) SWIG_fail
;
10314 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10315 if (SWIG_arg_fail(5)) SWIG_fail
;
10320 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10321 if (SWIG_arg_fail(6)) SWIG_fail
;
10326 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10327 if (SWIG_arg_fail(7)) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10340 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10341 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10342 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10343 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10344 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10345 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10352 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10355 unsigned long arg2
;
10356 unsigned long result
;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self",(char *) "key", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10365 if (SWIG_arg_fail(1)) SWIG_fail
;
10367 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10368 if (SWIG_arg_fail(2)) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10386 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10392 unsigned long result
;
10393 PyObject
* obj0
= 0 ;
10394 PyObject
* obj1
= 0 ;
10395 PyObject
* obj2
= 0 ;
10396 PyObject
* obj3
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10403 if (SWIG_arg_fail(1)) SWIG_fail
;
10405 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10406 if (SWIG_arg_fail(2)) SWIG_fail
;
10409 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10410 if (SWIG_arg_fail(3)) SWIG_fail
;
10413 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10414 if (SWIG_arg_fail(4)) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10432 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
;
10434 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10435 wxColour
*arg2
= 0 ;
10436 unsigned long result
;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 char *kwnames
[] = {
10441 (char *) "self",(char *) "colour", NULL
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10446 if (SWIG_arg_fail(1)) SWIG_fail
;
10449 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10467 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10470 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10472 return Py_BuildValue((char *)"");
10474 static PyObject
*_wrap_new_Image_RGBValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 byte arg1
= (byte
) 0 ;
10477 byte arg2
= (byte
) 0 ;
10478 byte arg3
= (byte
) 0 ;
10479 wxImage_RGBValue
*result
;
10480 PyObject
* obj0
= 0 ;
10481 PyObject
* obj1
= 0 ;
10482 PyObject
* obj2
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "r",(char *) "g",(char *) "b", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10490 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10491 if (SWIG_arg_fail(1)) SWIG_fail
;
10496 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10497 if (SWIG_arg_fail(2)) SWIG_fail
;
10502 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10503 if (SWIG_arg_fail(3)) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage_RGBValue
, 1);
10520 static PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 PyObject
* obj1
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "self",(char *) "red", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_red_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10532 if (SWIG_arg_fail(1)) SWIG_fail
;
10534 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10535 if (SWIG_arg_fail(2)) SWIG_fail
;
10537 if (arg1
) (arg1
)->red
= arg2
;
10539 Py_INCREF(Py_None
); resultobj
= Py_None
;
10546 static PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
;
10548 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10550 PyObject
* obj0
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_red_get",kwnames
,&obj0
)) goto fail
;
10556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail
;
10558 result
= (byte
) ((arg1
)->red
);
10561 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10569 static PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "green", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_green_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10581 if (SWIG_arg_fail(1)) SWIG_fail
;
10583 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10584 if (SWIG_arg_fail(2)) SWIG_fail
;
10586 if (arg1
) (arg1
)->green
= arg2
;
10588 Py_INCREF(Py_None
); resultobj
= Py_None
;
10595 static PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
;
10597 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_green_get",kwnames
,&obj0
)) goto fail
;
10605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10606 if (SWIG_arg_fail(1)) SWIG_fail
;
10607 result
= (byte
) ((arg1
)->green
);
10610 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10618 static PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self",(char *) "blue", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RGBValue_blue_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10630 if (SWIG_arg_fail(1)) SWIG_fail
;
10632 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10633 if (SWIG_arg_fail(2)) SWIG_fail
;
10635 if (arg1
) (arg1
)->blue
= arg2
;
10637 Py_INCREF(Py_None
); resultobj
= Py_None
;
10644 static PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBValue_blue_get",kwnames
,&obj0
)) goto fail
;
10654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
| 0);
10655 if (SWIG_arg_fail(1)) SWIG_fail
;
10656 result
= (byte
) ((arg1
)->blue
);
10659 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
10667 static PyObject
* Image_RGBValue_swigregister(PyObject
*, PyObject
*args
) {
10669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10670 SWIG_TypeClientData(SWIGTYPE_p_wxImage_RGBValue
, obj
);
10672 return Py_BuildValue((char *)"");
10674 static PyObject
*_wrap_new_Image_HSVValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 double arg1
= (double) 0.0 ;
10677 double arg2
= (double) 0.0 ;
10678 double arg3
= (double) 0.0 ;
10679 wxImage_HSVValue
*result
;
10680 PyObject
* obj0
= 0 ;
10681 PyObject
* obj1
= 0 ;
10682 PyObject
* obj2
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "h",(char *) "s",(char *) "v", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10690 arg1
= (double)(SWIG_As_double(obj0
));
10691 if (SWIG_arg_fail(1)) SWIG_fail
;
10696 arg2
= (double)(SWIG_As_double(obj1
));
10697 if (SWIG_arg_fail(2)) SWIG_fail
;
10702 arg3
= (double)(SWIG_As_double(obj2
));
10703 if (SWIG_arg_fail(3)) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage_HSVValue
, 1);
10720 static PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self",(char *) "hue", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_hue_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10732 if (SWIG_arg_fail(1)) SWIG_fail
;
10734 arg2
= (double)(SWIG_As_double(obj1
));
10735 if (SWIG_arg_fail(2)) SWIG_fail
;
10737 if (arg1
) (arg1
)->hue
= arg2
;
10739 Py_INCREF(Py_None
); resultobj
= Py_None
;
10746 static PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_hue_get",kwnames
,&obj0
)) goto fail
;
10756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10757 if (SWIG_arg_fail(1)) SWIG_fail
;
10758 result
= (double) ((arg1
)->hue
);
10761 resultobj
= SWIG_From_double((double)(result
));
10769 static PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self",(char *) "saturation", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_saturation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10781 if (SWIG_arg_fail(1)) SWIG_fail
;
10783 arg2
= (double)(SWIG_As_double(obj1
));
10784 if (SWIG_arg_fail(2)) SWIG_fail
;
10786 if (arg1
) (arg1
)->saturation
= arg2
;
10788 Py_INCREF(Py_None
); resultobj
= Py_None
;
10795 static PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_saturation_get",kwnames
,&obj0
)) goto fail
;
10805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10806 if (SWIG_arg_fail(1)) SWIG_fail
;
10807 result
= (double) ((arg1
)->saturation
);
10810 resultobj
= SWIG_From_double((double)(result
));
10818 static PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "value", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HSVValue_value_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10830 if (SWIG_arg_fail(1)) SWIG_fail
;
10832 arg2
= (double)(SWIG_As_double(obj1
));
10833 if (SWIG_arg_fail(2)) SWIG_fail
;
10835 if (arg1
) (arg1
)->value
= arg2
;
10837 Py_INCREF(Py_None
); resultobj
= Py_None
;
10844 static PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVValue_value_get",kwnames
,&obj0
)) goto fail
;
10854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
| 0);
10855 if (SWIG_arg_fail(1)) SWIG_fail
;
10856 result
= (double) ((arg1
)->value
);
10859 resultobj
= SWIG_From_double((double)(result
));
10867 static PyObject
* Image_HSVValue_swigregister(PyObject
*, PyObject
*args
) {
10869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10870 SWIG_TypeClientData(SWIGTYPE_p_wxImage_HSVValue
, obj
);
10872 return Py_BuildValue((char *)"");
10874 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxString
*arg1
= 0 ;
10877 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10878 int arg3
= (int) -1 ;
10880 bool temp1
= false ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 PyObject
* obj2
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "name",(char *) "type",(char *) "index", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10890 arg1
= wxString_in_helper(obj0
);
10891 if (arg1
== NULL
) SWIG_fail
;
10896 arg2
= (long)(SWIG_As_long(obj1
));
10897 if (SWIG_arg_fail(2)) SWIG_fail
;
10902 arg3
= (int)(SWIG_As_int(obj2
));
10903 if (SWIG_arg_fail(3)) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10928 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxImage
*arg1
= (wxImage
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10938 if (SWIG_arg_fail(1)) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 Py_INCREF(Py_None
); resultobj
= Py_None
;
10953 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxString
*arg1
= 0 ;
10956 wxString
*arg2
= 0 ;
10957 int arg3
= (int) -1 ;
10959 bool temp1
= false ;
10960 bool temp2
= false ;
10961 PyObject
* obj0
= 0 ;
10962 PyObject
* obj1
= 0 ;
10963 PyObject
* obj2
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10970 arg1
= wxString_in_helper(obj0
);
10971 if (arg1
== NULL
) SWIG_fail
;
10975 arg2
= wxString_in_helper(obj1
);
10976 if (arg2
== NULL
) SWIG_fail
;
10981 arg3
= (int)(SWIG_As_int(obj2
));
10982 if (SWIG_arg_fail(3)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11015 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxInputStream
*arg1
= 0 ;
11018 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11019 int arg3
= (int) -1 ;
11021 wxPyInputStream
*temp1
;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 PyObject
* obj2
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "stream",(char *) "type",(char *) "index", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11032 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11033 arg1
= temp1
->m_wxis
;
11036 PyErr_Clear(); // clear the failure of the wxPyConvert above
11037 arg1
= wxPyCBInputStream_create(obj0
, false);
11038 if (arg1
== NULL
) {
11039 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11047 arg2
= (long)(SWIG_As_long(obj1
));
11048 if (SWIG_arg_fail(2)) SWIG_fail
;
11053 arg3
= (int)(SWIG_As_int(obj2
));
11054 if (SWIG_arg_fail(3)) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11066 if (created1
) delete arg1
;
11071 if (created1
) delete arg1
;
11077 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxInputStream
*arg1
= 0 ;
11080 wxString
*arg2
= 0 ;
11081 int arg3
= (int) -1 ;
11083 wxPyInputStream
*temp1
;
11085 bool temp2
= false ;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 PyObject
* obj2
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11095 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11096 arg1
= temp1
->m_wxis
;
11099 PyErr_Clear(); // clear the failure of the wxPyConvert above
11100 arg1
= wxPyCBInputStream_create(obj0
, false);
11101 if (arg1
== NULL
) {
11102 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11109 arg2
= wxString_in_helper(obj1
);
11110 if (arg2
== NULL
) SWIG_fail
;
11115 arg3
= (int)(SWIG_As_int(obj2
));
11116 if (SWIG_arg_fail(3)) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11128 if (created1
) delete arg1
;
11137 if (created1
) delete arg1
;
11147 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 int arg1
= (int) 0 ;
11150 int arg2
= (int) 0 ;
11151 bool arg3
= (bool) true ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 PyObject
* obj2
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "width",(char *) "height",(char *) "clear", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11163 arg1
= (int)(SWIG_As_int(obj0
));
11164 if (SWIG_arg_fail(1)) SWIG_fail
;
11169 arg2
= (int)(SWIG_As_int(obj1
));
11170 if (SWIG_arg_fail(2)) SWIG_fail
;
11175 arg3
= (bool)(SWIG_As_bool(obj2
));
11176 if (SWIG_arg_fail(3)) SWIG_fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11193 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
;
11195 wxBitmap
*arg1
= 0 ;
11197 PyObject
* obj0
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "bitmap", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
11204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
11205 if (SWIG_arg_fail(1)) SWIG_fail
;
11206 if (arg1
== NULL
) {
11207 SWIG_null_ref("wxBitmap");
11209 if (SWIG_arg_fail(1)) SWIG_fail
;
11212 if (!wxPyCheckForApp()) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11226 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
;
11233 PyObject
* obj0
= 0 ;
11234 PyObject
* obj1
= 0 ;
11235 PyObject
* obj2
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "width",(char *) "height",(char *) "data", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11242 arg1
= (int)(SWIG_As_int(obj0
));
11243 if (SWIG_arg_fail(1)) SWIG_fail
;
11246 arg2
= (int)(SWIG_As_int(obj1
));
11247 if (SWIG_arg_fail(2)) SWIG_fail
;
11250 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11266 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
;
11275 PyObject
* obj0
= 0 ;
11276 PyObject
* obj1
= 0 ;
11277 PyObject
* obj2
= 0 ;
11278 PyObject
* obj3
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11285 arg1
= (int)(SWIG_As_int(obj0
));
11286 if (SWIG_arg_fail(1)) SWIG_fail
;
11289 arg2
= (int)(SWIG_As_int(obj1
));
11290 if (SWIG_arg_fail(2)) SWIG_fail
;
11293 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
11296 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
11312 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxImage
*arg1
= (wxImage
*) 0 ;
11317 bool arg4
= (bool) true ;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 PyObject
* obj2
= 0 ;
11321 PyObject
* obj3
= 0 ;
11322 char *kwnames
[] = {
11323 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11328 if (SWIG_arg_fail(1)) SWIG_fail
;
11330 arg2
= (int)(SWIG_As_int(obj1
));
11331 if (SWIG_arg_fail(2)) SWIG_fail
;
11334 arg3
= (int)(SWIG_As_int(obj2
));
11335 if (SWIG_arg_fail(3)) SWIG_fail
;
11339 arg4
= (bool)(SWIG_As_bool(obj3
));
11340 if (SWIG_arg_fail(4)) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 (arg1
)->Create(arg2
,arg3
,arg4
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 Py_INCREF(Py_None
); resultobj
= Py_None
;
11357 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxImage
*arg1
= (wxImage
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
11366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11367 if (SWIG_arg_fail(1)) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11375 Py_INCREF(Py_None
); resultobj
= Py_None
;
11382 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
;
11384 wxImage
*arg1
= (wxImage
*) 0 ;
11387 SwigValueWrapper
<wxImage
> result
;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 PyObject
* obj2
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self",(char *) "width",(char *) "height", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11397 if (SWIG_arg_fail(1)) SWIG_fail
;
11399 arg2
= (int)(SWIG_As_int(obj1
));
11400 if (SWIG_arg_fail(2)) SWIG_fail
;
11403 arg3
= (int)(SWIG_As_int(obj2
));
11404 if (SWIG_arg_fail(3)) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (arg1
)->Scale(arg2
,arg3
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11414 wxImage
* resultptr
;
11415 resultptr
= new wxImage((wxImage
&)(result
));
11416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11424 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxImage
*arg1
= (wxImage
*) 0 ;
11429 SwigValueWrapper
<wxImage
> result
;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11432 PyObject
* obj2
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11439 if (SWIG_arg_fail(1)) SWIG_fail
;
11441 arg2
= (int)(SWIG_As_int(obj1
));
11442 if (SWIG_arg_fail(2)) SWIG_fail
;
11445 arg3
= (int)(SWIG_As_int(obj2
));
11446 if (SWIG_arg_fail(3)) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11456 wxImage
* resultptr
;
11457 resultptr
= new wxImage((wxImage
&)(result
));
11458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11466 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxImage
*arg1
= (wxImage
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 PyObject
* obj2
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "width",(char *) "height", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11481 if (SWIG_arg_fail(1)) SWIG_fail
;
11483 arg2
= (int)(SWIG_As_int(obj1
));
11484 if (SWIG_arg_fail(2)) SWIG_fail
;
11487 arg3
= (int)(SWIG_As_int(obj2
));
11488 if (SWIG_arg_fail(3)) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11494 result
= (wxImage
*) &_result_ref
;
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11507 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxImage
*arg1
= (wxImage
*) 0 ;
11511 wxPoint
*arg3
= 0 ;
11512 int arg4
= (int) -1 ;
11513 int arg5
= (int) -1 ;
11514 int arg6
= (int) -1 ;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 PyObject
* obj2
= 0 ;
11521 PyObject
* obj3
= 0 ;
11522 PyObject
* obj4
= 0 ;
11523 PyObject
* obj5
= 0 ;
11524 char *kwnames
[] = {
11525 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11530 if (SWIG_arg_fail(1)) SWIG_fail
;
11533 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11541 arg4
= (int)(SWIG_As_int(obj3
));
11542 if (SWIG_arg_fail(4)) SWIG_fail
;
11547 arg5
= (int)(SWIG_As_int(obj4
));
11548 if (SWIG_arg_fail(5)) SWIG_fail
;
11553 arg6
= (int)(SWIG_As_int(obj5
));
11554 if (SWIG_arg_fail(6)) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11561 result
= (wxImage
*) &_result_ref
;
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11574 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxImage
*arg1
= (wxImage
*) 0 ;
11582 PyObject
* obj0
= 0 ;
11583 PyObject
* obj1
= 0 ;
11584 PyObject
* obj2
= 0 ;
11585 PyObject
* obj3
= 0 ;
11586 PyObject
* obj4
= 0 ;
11587 PyObject
* obj5
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11594 if (SWIG_arg_fail(1)) SWIG_fail
;
11596 arg2
= (int)(SWIG_As_int(obj1
));
11597 if (SWIG_arg_fail(2)) SWIG_fail
;
11600 arg3
= (int)(SWIG_As_int(obj2
));
11601 if (SWIG_arg_fail(3)) SWIG_fail
;
11604 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11605 if (SWIG_arg_fail(4)) SWIG_fail
;
11608 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11609 if (SWIG_arg_fail(5)) SWIG_fail
;
11612 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11613 if (SWIG_arg_fail(6)) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11629 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxImage
*arg1
= (wxImage
*) 0 ;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 PyObject
* obj2
= 0 ;
11640 PyObject
* obj3
= 0 ;
11641 PyObject
* obj4
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11648 if (SWIG_arg_fail(1)) SWIG_fail
;
11651 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11654 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11655 if (SWIG_arg_fail(3)) SWIG_fail
;
11658 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11659 if (SWIG_arg_fail(4)) SWIG_fail
;
11662 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11663 if (SWIG_arg_fail(5)) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 Py_INCREF(Py_None
); resultobj
= Py_None
;
11679 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxImage
*arg1
= (wxImage
*) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self",(char *) "x",(char *) "y", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11694 if (SWIG_arg_fail(1)) SWIG_fail
;
11696 arg2
= (int)(SWIG_As_int(obj1
));
11697 if (SWIG_arg_fail(2)) SWIG_fail
;
11700 arg3
= (int)(SWIG_As_int(obj2
));
11701 if (SWIG_arg_fail(3)) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11719 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxImage
*arg1
= (wxImage
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 PyObject
* obj2
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self",(char *) "x",(char *) "y", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11734 if (SWIG_arg_fail(1)) SWIG_fail
;
11736 arg2
= (int)(SWIG_As_int(obj1
));
11737 if (SWIG_arg_fail(2)) SWIG_fail
;
11740 arg3
= (int)(SWIG_As_int(obj2
));
11741 if (SWIG_arg_fail(3)) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11759 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxImage
*arg1
= (wxImage
*) 0 ;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 PyObject
* obj2
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "x",(char *) "y", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11774 if (SWIG_arg_fail(1)) SWIG_fail
;
11776 arg2
= (int)(SWIG_As_int(obj1
));
11777 if (SWIG_arg_fail(2)) SWIG_fail
;
11780 arg3
= (int)(SWIG_As_int(obj2
));
11781 if (SWIG_arg_fail(3)) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11799 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxImage
*arg1
= (wxImage
*) 0 ;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 PyObject
* obj2
= 0 ;
11808 PyObject
* obj3
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11815 if (SWIG_arg_fail(1)) SWIG_fail
;
11817 arg2
= (int)(SWIG_As_int(obj1
));
11818 if (SWIG_arg_fail(2)) SWIG_fail
;
11821 arg3
= (int)(SWIG_As_int(obj2
));
11822 if (SWIG_arg_fail(3)) SWIG_fail
;
11825 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11826 if (SWIG_arg_fail(4)) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 Py_INCREF(Py_None
); resultobj
= Py_None
;
11842 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxImage
*arg1
= (wxImage
*) 0 ;
11848 PyObject
* obj0
= 0 ;
11849 PyObject
* obj1
= 0 ;
11850 PyObject
* obj2
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self",(char *) "x",(char *) "y", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11857 if (SWIG_arg_fail(1)) SWIG_fail
;
11859 arg2
= (int)(SWIG_As_int(obj1
));
11860 if (SWIG_arg_fail(2)) SWIG_fail
;
11863 arg3
= (int)(SWIG_As_int(obj2
));
11864 if (SWIG_arg_fail(3)) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11882 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11883 PyObject
*resultobj
;
11884 wxImage
*arg1
= (wxImage
*) 0 ;
11886 PyObject
* obj0
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11893 if (SWIG_arg_fail(1)) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (bool)(arg1
)->HasAlpha();
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11910 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxImage
*arg1
= (wxImage
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 (arg1
)->InitAlpha();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 Py_INCREF(Py_None
); resultobj
= Py_None
;
11935 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxImage
*arg1
= (wxImage
*) 0 ;
11940 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11942 PyObject
* obj0
= 0 ;
11943 PyObject
* obj1
= 0 ;
11944 PyObject
* obj2
= 0 ;
11945 PyObject
* obj3
= 0 ;
11946 char *kwnames
[] = {
11947 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11952 if (SWIG_arg_fail(1)) SWIG_fail
;
11954 arg2
= (int)(SWIG_As_int(obj1
));
11955 if (SWIG_arg_fail(2)) SWIG_fail
;
11958 arg3
= (int)(SWIG_As_int(obj2
));
11959 if (SWIG_arg_fail(3)) SWIG_fail
;
11963 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11964 if (SWIG_arg_fail(4)) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11983 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
;
11985 wxImage
*arg1
= (wxImage
*) 0 ;
11986 byte
*arg2
= (byte
*) 0 ;
11987 byte
*arg3
= (byte
*) 0 ;
11988 byte
*arg4
= (byte
*) 0 ;
11989 byte arg5
= (byte
) 0 ;
11990 byte arg6
= (byte
) 0 ;
11991 byte arg7
= (byte
) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 PyObject
* obj2
= 0 ;
12002 PyObject
* obj3
= 0 ;
12003 char *kwnames
[] = {
12004 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12007 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12008 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12009 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12012 if (SWIG_arg_fail(1)) SWIG_fail
;
12015 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12016 if (SWIG_arg_fail(5)) SWIG_fail
;
12021 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12022 if (SWIG_arg_fail(6)) SWIG_fail
;
12027 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12028 if (SWIG_arg_fail(7)) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12041 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12042 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12043 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12044 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12045 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12046 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12053 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxImage
*arg1
= (wxImage
*) 0 ;
12056 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "threshold", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail
;
12069 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12070 if (SWIG_arg_fail(2)) SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12089 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxImage
*arg1
= (wxImage
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 PyObject
* obj1
= 0 ;
12098 PyObject
* obj2
= 0 ;
12099 PyObject
* obj3
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12106 if (SWIG_arg_fail(1)) SWIG_fail
;
12108 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12109 if (SWIG_arg_fail(2)) SWIG_fail
;
12112 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12113 if (SWIG_arg_fail(3)) SWIG_fail
;
12116 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12117 if (SWIG_arg_fail(4)) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12135 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxImage
*arg1
= (wxImage
*) 0 ;
12138 wxImage
*arg2
= 0 ;
12143 PyObject
* obj0
= 0 ;
12144 PyObject
* obj1
= 0 ;
12145 PyObject
* obj2
= 0 ;
12146 PyObject
* obj3
= 0 ;
12147 PyObject
* obj4
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12154 if (SWIG_arg_fail(1)) SWIG_fail
;
12156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12157 if (SWIG_arg_fail(2)) SWIG_fail
;
12158 if (arg2
== NULL
) {
12159 SWIG_null_ref("wxImage");
12161 if (SWIG_arg_fail(2)) SWIG_fail
;
12164 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12165 if (SWIG_arg_fail(3)) SWIG_fail
;
12168 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12169 if (SWIG_arg_fail(4)) SWIG_fail
;
12172 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
12173 if (SWIG_arg_fail(5)) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12191 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxString
*arg1
= 0 ;
12195 bool temp1
= false ;
12196 PyObject
* obj0
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "filename", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
12203 arg1
= wxString_in_helper(obj0
);
12204 if (arg1
== NULL
) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12231 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxString
*arg1
= 0 ;
12234 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12236 bool temp1
= false ;
12237 PyObject
* obj0
= 0 ;
12238 PyObject
* obj1
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "filename",(char *) "type", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12245 arg1
= wxString_in_helper(obj0
);
12246 if (arg1
== NULL
) SWIG_fail
;
12251 arg2
= (long)(SWIG_As_long(obj1
));
12252 if (SWIG_arg_fail(2)) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_From_int((int)(result
));
12279 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxImage
*arg1
= (wxImage
*) 0 ;
12282 wxString
*arg2
= 0 ;
12283 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12284 int arg4
= (int) -1 ;
12286 bool temp2
= false ;
12287 PyObject
* obj0
= 0 ;
12288 PyObject
* obj1
= 0 ;
12289 PyObject
* obj2
= 0 ;
12290 PyObject
* obj3
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12297 if (SWIG_arg_fail(1)) SWIG_fail
;
12299 arg2
= wxString_in_helper(obj1
);
12300 if (arg2
== NULL
) SWIG_fail
;
12305 arg3
= (long)(SWIG_As_long(obj2
));
12306 if (SWIG_arg_fail(3)) SWIG_fail
;
12311 arg4
= (int)(SWIG_As_int(obj3
));
12312 if (SWIG_arg_fail(4)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12339 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxImage
*arg1
= (wxImage
*) 0 ;
12342 wxString
*arg2
= 0 ;
12343 wxString
*arg3
= 0 ;
12344 int arg4
= (int) -1 ;
12346 bool temp2
= false ;
12347 bool temp3
= false ;
12348 PyObject
* obj0
= 0 ;
12349 PyObject
* obj1
= 0 ;
12350 PyObject
* obj2
= 0 ;
12351 PyObject
* obj3
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail
;
12360 arg2
= wxString_in_helper(obj1
);
12361 if (arg2
== NULL
) SWIG_fail
;
12365 arg3
= wxString_in_helper(obj2
);
12366 if (arg3
== NULL
) SWIG_fail
;
12371 arg4
= (int)(SWIG_As_int(obj3
));
12372 if (SWIG_arg_fail(4)) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12407 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxImage
*arg1
= (wxImage
*) 0 ;
12410 wxString
*arg2
= 0 ;
12413 bool temp2
= false ;
12414 PyObject
* obj0
= 0 ;
12415 PyObject
* obj1
= 0 ;
12416 PyObject
* obj2
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self",(char *) "name",(char *) "type", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12423 if (SWIG_arg_fail(1)) SWIG_fail
;
12425 arg2
= wxString_in_helper(obj1
);
12426 if (arg2
== NULL
) SWIG_fail
;
12430 arg3
= (int)(SWIG_As_int(obj2
));
12431 if (SWIG_arg_fail(3)) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12457 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxImage
*arg1
= (wxImage
*) 0 ;
12460 wxString
*arg2
= 0 ;
12461 wxString
*arg3
= 0 ;
12463 bool temp2
= false ;
12464 bool temp3
= false ;
12465 PyObject
* obj0
= 0 ;
12466 PyObject
* obj1
= 0 ;
12467 PyObject
* obj2
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12474 if (SWIG_arg_fail(1)) SWIG_fail
;
12476 arg2
= wxString_in_helper(obj1
);
12477 if (arg2
== NULL
) SWIG_fail
;
12481 arg3
= wxString_in_helper(obj2
);
12482 if (arg3
== NULL
) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12517 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxInputStream
*arg1
= 0 ;
12521 wxPyInputStream
*temp1
;
12523 PyObject
* obj0
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "stream", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12530 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12531 arg1
= temp1
->m_wxis
;
12534 PyErr_Clear(); // clear the failure of the wxPyConvert above
12535 arg1
= wxPyCBInputStream_create(obj0
, false);
12536 if (arg1
== NULL
) {
12537 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 result
= (bool)wxImage::CanRead(*arg1
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12554 if (created1
) delete arg1
;
12559 if (created1
) delete arg1
;
12565 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxImage
*arg1
= (wxImage
*) 0 ;
12568 wxInputStream
*arg2
= 0 ;
12569 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12570 int arg4
= (int) -1 ;
12572 wxPyInputStream
*temp2
;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 PyObject
* obj2
= 0 ;
12577 PyObject
* obj3
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12584 if (SWIG_arg_fail(1)) SWIG_fail
;
12586 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12587 arg2
= temp2
->m_wxis
;
12590 PyErr_Clear(); // clear the failure of the wxPyConvert above
12591 arg2
= wxPyCBInputStream_create(obj1
, false);
12592 if (arg2
== NULL
) {
12593 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12601 arg3
= (long)(SWIG_As_long(obj2
));
12602 if (SWIG_arg_fail(3)) SWIG_fail
;
12607 arg4
= (int)(SWIG_As_int(obj3
));
12608 if (SWIG_arg_fail(4)) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12622 if (created2
) delete arg2
;
12627 if (created2
) delete arg2
;
12633 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
;
12635 wxImage
*arg1
= (wxImage
*) 0 ;
12636 wxInputStream
*arg2
= 0 ;
12637 wxString
*arg3
= 0 ;
12638 int arg4
= (int) -1 ;
12640 wxPyInputStream
*temp2
;
12642 bool temp3
= false ;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 PyObject
* obj2
= 0 ;
12646 PyObject
* obj3
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail
;
12655 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12656 arg2
= temp2
->m_wxis
;
12659 PyErr_Clear(); // clear the failure of the wxPyConvert above
12660 arg2
= wxPyCBInputStream_create(obj1
, false);
12661 if (arg2
== NULL
) {
12662 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12669 arg3
= wxString_in_helper(obj2
);
12670 if (arg3
== NULL
) SWIG_fail
;
12675 arg4
= (int)(SWIG_As_int(obj3
));
12676 if (SWIG_arg_fail(4)) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12690 if (created2
) delete arg2
;
12699 if (created2
) delete arg2
;
12709 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
;
12711 wxImage
*arg1
= (wxImage
*) 0 ;
12713 PyObject
* obj0
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "self", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12720 if (SWIG_arg_fail(1)) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 result
= (bool)(arg1
)->Ok();
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12737 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
;
12739 wxImage
*arg1
= (wxImage
*) 0 ;
12741 PyObject
* obj0
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12748 if (SWIG_arg_fail(1)) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (int)(arg1
)->GetWidth();
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12757 resultobj
= SWIG_From_int((int)(result
));
12765 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxImage
*arg1
= (wxImage
*) 0 ;
12769 PyObject
* obj0
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12776 if (SWIG_arg_fail(1)) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (int)(arg1
)->GetHeight();
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= SWIG_From_int((int)(result
));
12793 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxImage
*arg1
= (wxImage
*) 0 ;
12797 PyObject
* obj0
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "self", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12804 if (SWIG_arg_fail(1)) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= wxImage_GetSize(arg1
);
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12813 wxSize
* resultptr
;
12814 resultptr
= new wxSize((wxSize
&)(result
));
12815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12823 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
;
12825 wxImage
*arg1
= (wxImage
*) 0 ;
12827 SwigValueWrapper
<wxImage
> result
;
12829 PyObject
* obj0
= 0 ;
12830 PyObject
* obj1
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self",(char *) "rect", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12837 if (SWIG_arg_fail(1)) SWIG_fail
;
12840 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 wxImage
* resultptr
;
12851 resultptr
= new wxImage((wxImage
&)(result
));
12852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12860 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxImage
*arg1
= (wxImage
*) 0 ;
12864 wxPoint
*arg3
= 0 ;
12865 int arg4
= (int) -1 ;
12866 int arg5
= (int) -1 ;
12867 int arg6
= (int) -1 ;
12868 SwigValueWrapper
<wxImage
> result
;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 PyObject
* obj2
= 0 ;
12874 PyObject
* obj3
= 0 ;
12875 PyObject
* obj4
= 0 ;
12876 PyObject
* obj5
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12883 if (SWIG_arg_fail(1)) SWIG_fail
;
12886 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12890 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12894 arg4
= (int)(SWIG_As_int(obj3
));
12895 if (SWIG_arg_fail(4)) SWIG_fail
;
12900 arg5
= (int)(SWIG_As_int(obj4
));
12901 if (SWIG_arg_fail(5)) SWIG_fail
;
12906 arg6
= (int)(SWIG_As_int(obj5
));
12907 if (SWIG_arg_fail(6)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12918 wxImage
* resultptr
;
12919 resultptr
= new wxImage((wxImage
&)(result
));
12920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12928 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxImage
*arg1
= (wxImage
*) 0 ;
12931 SwigValueWrapper
<wxImage
> result
;
12932 PyObject
* obj0
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "self", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12939 if (SWIG_arg_fail(1)) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 result
= (arg1
)->Copy();
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12948 wxImage
* resultptr
;
12949 resultptr
= new wxImage((wxImage
&)(result
));
12950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12958 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxImage
*arg1
= (wxImage
*) 0 ;
12961 wxImage
*arg2
= 0 ;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 PyObject
* obj2
= 0 ;
12967 PyObject
* obj3
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12974 if (SWIG_arg_fail(1)) SWIG_fail
;
12976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12977 if (SWIG_arg_fail(2)) SWIG_fail
;
12978 if (arg2
== NULL
) {
12979 SWIG_null_ref("wxImage");
12981 if (SWIG_arg_fail(2)) SWIG_fail
;
12984 arg3
= (int)(SWIG_As_int(obj2
));
12985 if (SWIG_arg_fail(3)) SWIG_fail
;
12988 arg4
= (int)(SWIG_As_int(obj3
));
12989 if (SWIG_arg_fail(4)) SWIG_fail
;
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12998 Py_INCREF(Py_None
); resultobj
= Py_None
;
13005 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
;
13007 wxImage
*arg1
= (wxImage
*) 0 ;
13009 PyObject
* obj0
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
13015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13016 if (SWIG_arg_fail(1)) SWIG_fail
;
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 result
= (PyObject
*)wxImage_GetData(arg1
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= result
;
13031 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13033 wxImage
*arg1
= (wxImage
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self",(char *) "data", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13044 if (SWIG_arg_fail(1)) SWIG_fail
;
13046 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 wxImage_SetData(arg1
,arg2
,arg3
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 Py_INCREF(Py_None
); resultobj
= Py_None
;
13062 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
;
13064 wxImage
*arg1
= (wxImage
*) 0 ;
13066 PyObject
* obj0
= 0 ;
13067 char *kwnames
[] = {
13068 (char *) "self", NULL
13071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
13072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13073 if (SWIG_arg_fail(1)) SWIG_fail
;
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= result
;
13088 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxImage
*arg1
= (wxImage
*) 0 ;
13093 PyObject
* obj0
= 0 ;
13094 PyObject
* obj1
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self",(char *) "data", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13101 if (SWIG_arg_fail(1)) SWIG_fail
;
13103 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 Py_INCREF(Py_None
); resultobj
= Py_None
;
13119 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxImage
*arg1
= (wxImage
*) 0 ;
13123 PyObject
* obj0
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
13129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= result
;
13145 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
;
13147 wxImage
*arg1
= (wxImage
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self",(char *) "alpha", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
13157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13158 if (SWIG_arg_fail(1)) SWIG_fail
;
13160 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 Py_INCREF(Py_None
); resultobj
= Py_None
;
13176 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxImage
*arg1
= (wxImage
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
13186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13187 if (SWIG_arg_fail(1)) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= result
;
13202 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxImage
*arg1
= (wxImage
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self",(char *) "alpha", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail
;
13217 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 Py_INCREF(Py_None
); resultobj
= Py_None
;
13233 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxImage
*arg1
= (wxImage
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj2
= 0 ;
13242 PyObject
* obj3
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13249 if (SWIG_arg_fail(1)) SWIG_fail
;
13251 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13252 if (SWIG_arg_fail(2)) SWIG_fail
;
13255 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13256 if (SWIG_arg_fail(3)) SWIG_fail
;
13259 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13260 if (SWIG_arg_fail(4)) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 Py_INCREF(Py_None
); resultobj
= Py_None
;
13276 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
;
13278 wxImage
*arg1
= (wxImage
*) 0 ;
13279 byte
*arg2
= (byte
*) 0 ;
13280 byte
*arg3
= (byte
*) 0 ;
13281 byte
*arg4
= (byte
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self", NULL
13293 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13294 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13295 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
13297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13298 if (SWIG_arg_fail(1)) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 Py_INCREF(Py_None
); resultobj
= Py_None
;
13307 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13308 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
13309 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13310 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
13311 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13312 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
13319 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxImage
*arg1
= (wxImage
*) 0 ;
13323 PyObject
* obj0
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
13329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13330 if (SWIG_arg_fail(1)) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (byte
)(arg1
)->GetMaskRed();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13347 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxImage
*arg1
= (wxImage
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
13357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13358 if (SWIG_arg_fail(1)) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (byte
)(arg1
)->GetMaskGreen();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13375 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxImage
*arg1
= (wxImage
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
13385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13386 if (SWIG_arg_fail(1)) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (byte
)(arg1
)->GetMaskBlue();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13403 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxImage
*arg1
= (wxImage
*) 0 ;
13406 bool arg2
= (bool) true ;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "mask", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13415 if (SWIG_arg_fail(1)) SWIG_fail
;
13418 arg2
= (bool)(SWIG_As_bool(obj1
));
13419 if (SWIG_arg_fail(2)) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 (arg1
)->SetMask(arg2
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 Py_INCREF(Py_None
); resultobj
= Py_None
;
13436 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
;
13438 wxImage
*arg1
= (wxImage
*) 0 ;
13440 PyObject
* obj0
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13447 if (SWIG_arg_fail(1)) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (bool)(arg1
)->HasMask();
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13464 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxImage
*arg1
= (wxImage
*) 0 ;
13468 wxPoint
*arg3
= 0 ;
13469 bool arg4
= (bool) true ;
13470 wxPoint
*arg5
= (wxPoint
*) NULL
;
13471 SwigValueWrapper
<wxImage
> result
;
13473 PyObject
* obj0
= 0 ;
13474 PyObject
* obj1
= 0 ;
13475 PyObject
* obj2
= 0 ;
13476 PyObject
* obj3
= 0 ;
13477 PyObject
* obj4
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13484 if (SWIG_arg_fail(1)) SWIG_fail
;
13486 arg2
= (double)(SWIG_As_double(obj1
));
13487 if (SWIG_arg_fail(2)) SWIG_fail
;
13491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13495 arg4
= (bool)(SWIG_As_bool(obj3
));
13496 if (SWIG_arg_fail(4)) SWIG_fail
;
13500 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13501 if (SWIG_arg_fail(5)) SWIG_fail
;
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13511 wxImage
* resultptr
;
13512 resultptr
= new wxImage((wxImage
&)(result
));
13513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13521 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxImage
*arg1
= (wxImage
*) 0 ;
13524 bool arg2
= (bool) true ;
13525 SwigValueWrapper
<wxImage
> result
;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self",(char *) "clockwise", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13534 if (SWIG_arg_fail(1)) SWIG_fail
;
13537 arg2
= (bool)(SWIG_As_bool(obj1
));
13538 if (SWIG_arg_fail(2)) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= (arg1
)->Rotate90(arg2
);
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13549 wxImage
* resultptr
;
13550 resultptr
= new wxImage((wxImage
&)(result
));
13551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13559 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxImage
*arg1
= (wxImage
*) 0 ;
13562 bool arg2
= (bool) true ;
13563 SwigValueWrapper
<wxImage
> result
;
13564 PyObject
* obj0
= 0 ;
13565 PyObject
* obj1
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self",(char *) "horizontally", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13572 if (SWIG_arg_fail(1)) SWIG_fail
;
13575 arg2
= (bool)(SWIG_As_bool(obj1
));
13576 if (SWIG_arg_fail(2)) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (arg1
)->Mirror(arg2
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13587 wxImage
* resultptr
;
13588 resultptr
= new wxImage((wxImage
&)(result
));
13589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13597 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxImage
*arg1
= (wxImage
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 PyObject
* obj2
= 0 ;
13609 PyObject
* obj3
= 0 ;
13610 PyObject
* obj4
= 0 ;
13611 PyObject
* obj5
= 0 ;
13612 PyObject
* obj6
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13619 if (SWIG_arg_fail(1)) SWIG_fail
;
13621 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13622 if (SWIG_arg_fail(2)) SWIG_fail
;
13625 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13626 if (SWIG_arg_fail(3)) SWIG_fail
;
13629 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13630 if (SWIG_arg_fail(4)) SWIG_fail
;
13633 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13634 if (SWIG_arg_fail(5)) SWIG_fail
;
13637 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13638 if (SWIG_arg_fail(6)) SWIG_fail
;
13641 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13642 if (SWIG_arg_fail(7)) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 Py_INCREF(Py_None
); resultobj
= Py_None
;
13658 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxImage
*arg1
= (wxImage
*) 0 ;
13664 SwigValueWrapper
<wxImage
> result
;
13665 PyObject
* obj0
= 0 ;
13666 PyObject
* obj1
= 0 ;
13667 PyObject
* obj2
= 0 ;
13668 PyObject
* obj3
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13675 if (SWIG_arg_fail(1)) SWIG_fail
;
13677 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13678 if (SWIG_arg_fail(2)) SWIG_fail
;
13681 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13682 if (SWIG_arg_fail(3)) SWIG_fail
;
13685 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13686 if (SWIG_arg_fail(4)) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 wxImage
* resultptr
;
13697 resultptr
= new wxImage((wxImage
&)(result
));
13698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13706 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13708 wxImage
*arg1
= (wxImage
*) 0 ;
13709 wxString
*arg2
= 0 ;
13710 wxString
*arg3
= 0 ;
13711 bool temp2
= false ;
13712 bool temp3
= false ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 PyObject
* obj2
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self",(char *) "name",(char *) "value", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13722 if (SWIG_arg_fail(1)) SWIG_fail
;
13724 arg2
= wxString_in_helper(obj1
);
13725 if (arg2
== NULL
) SWIG_fail
;
13729 arg3
= wxString_in_helper(obj2
);
13730 if (arg3
== NULL
) SWIG_fail
;
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13740 Py_INCREF(Py_None
); resultobj
= Py_None
;
13763 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxImage
*arg1
= (wxImage
*) 0 ;
13766 wxString
*arg2
= 0 ;
13768 bool temp2
= false ;
13769 PyObject
* obj0
= 0 ;
13770 PyObject
* obj1
= 0 ;
13771 PyObject
* obj2
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self",(char *) "name",(char *) "value", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail
;
13780 arg2
= wxString_in_helper(obj1
);
13781 if (arg2
== NULL
) SWIG_fail
;
13785 arg3
= (int)(SWIG_As_int(obj2
));
13786 if (SWIG_arg_fail(3)) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 Py_INCREF(Py_None
); resultobj
= Py_None
;
13810 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxImage
*arg1
= (wxImage
*) 0 ;
13813 wxString
*arg2
= 0 ;
13815 bool temp2
= false ;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 char *kwnames
[] = {
13819 (char *) "self",(char *) "name", NULL
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13824 if (SWIG_arg_fail(1)) SWIG_fail
;
13826 arg2
= wxString_in_helper(obj1
);
13827 if (arg2
== NULL
) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13858 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxImage
*arg1
= (wxImage
*) 0 ;
13861 wxString
*arg2
= 0 ;
13863 bool temp2
= false ;
13864 PyObject
* obj0
= 0 ;
13865 PyObject
* obj1
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self",(char *) "name", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13872 if (SWIG_arg_fail(1)) SWIG_fail
;
13874 arg2
= wxString_in_helper(obj1
);
13875 if (arg2
== NULL
) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13882 wxPyEndAllowThreads(__tstate
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_From_int((int)(result
));
13902 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxImage
*arg1
= (wxImage
*) 0 ;
13905 wxString
*arg2
= 0 ;
13907 bool temp2
= false ;
13908 PyObject
* obj0
= 0 ;
13909 PyObject
* obj1
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self",(char *) "name", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13916 if (SWIG_arg_fail(1)) SWIG_fail
;
13918 arg2
= wxString_in_helper(obj1
);
13919 if (arg2
== NULL
) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13946 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxImage
*arg1
= (wxImage
*) 0 ;
13949 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13950 unsigned long result
;
13951 PyObject
* obj0
= 0 ;
13952 PyObject
* obj1
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self",(char *) "stopafter", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13959 if (SWIG_arg_fail(1)) SWIG_fail
;
13962 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13963 if (SWIG_arg_fail(2)) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13982 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxImage
*arg1
= (wxImage
*) 0 ;
13985 wxImageHistogram
*arg2
= 0 ;
13986 unsigned long result
;
13987 PyObject
* obj0
= 0 ;
13988 PyObject
* obj1
= 0 ;
13989 char *kwnames
[] = {
13990 (char *) "self",(char *) "h", NULL
13993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13995 if (SWIG_arg_fail(1)) SWIG_fail
;
13997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13998 if (SWIG_arg_fail(2)) SWIG_fail
;
13999 if (arg2
== NULL
) {
14000 SWIG_null_ref("wxImageHistogram");
14002 if (SWIG_arg_fail(2)) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
14020 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
;
14022 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "handler", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
14029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
14030 if (SWIG_arg_fail(1)) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 wxImage::AddHandler(arg1
);
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 Py_INCREF(Py_None
); resultobj
= Py_None
;
14045 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "handler", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
14054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
14055 if (SWIG_arg_fail(1)) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 wxImage::InsertHandler(arg1
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 Py_INCREF(Py_None
); resultobj
= Py_None
;
14070 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxString
*arg1
= 0 ;
14074 bool temp1
= false ;
14075 PyObject
* obj0
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "name", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
14082 arg1
= wxString_in_helper(obj0
);
14083 if (arg1
== NULL
) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14110 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14113 char *kwnames
[] = {
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= wxImage::GetImageExtWildcard();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14138 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxImage
*arg1
= (wxImage
*) 0 ;
14141 int arg2
= (int) -1 ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self",(char *) "depth", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
14150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14151 if (SWIG_arg_fail(1)) SWIG_fail
;
14154 arg2
= (int)(SWIG_As_int(obj1
));
14155 if (SWIG_arg_fail(2)) SWIG_fail
;
14159 if (!wxPyCheckForApp()) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14167 wxBitmap
* resultptr
;
14168 resultptr
= new wxBitmap((wxBitmap
&)(result
));
14169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14177 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxImage
*arg1
= (wxImage
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 PyObject
* obj1
= 0 ;
14186 PyObject
* obj2
= 0 ;
14187 PyObject
* obj3
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14194 if (SWIG_arg_fail(1)) SWIG_fail
;
14196 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
14197 if (SWIG_arg_fail(2)) SWIG_fail
;
14200 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
14201 if (SWIG_arg_fail(3)) SWIG_fail
;
14204 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
14205 if (SWIG_arg_fail(4)) SWIG_fail
;
14208 if (!wxPyCheckForApp()) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 wxBitmap
* resultptr
;
14217 resultptr
= new wxBitmap((wxBitmap
&)(result
));
14218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14226 static PyObject
*_wrap_Image_RotateHue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
;
14228 wxImage
*arg1
= (wxImage
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self",(char *) "angle", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) goto fail
;
14237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14238 if (SWIG_arg_fail(1)) SWIG_fail
;
14240 arg2
= (double)(SWIG_As_double(obj1
));
14241 if (SWIG_arg_fail(2)) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 (arg1
)->RotateHue(arg2
);
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14250 Py_INCREF(Py_None
); resultobj
= Py_None
;
14257 static PyObject
*_wrap_Image_RGBtoHSV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxImage_RGBValue arg1
;
14260 wxImage_HSVValue result
;
14261 PyObject
* obj0
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "rgb", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) goto fail
;
14268 wxImage_RGBValue
* argp
;
14269 SWIG_Python_ConvertPtr(obj0
, (void **)&argp
, SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_EXCEPTION
);
14270 if (SWIG_arg_fail(1)) SWIG_fail
;
14271 if (argp
== NULL
) {
14272 SWIG_null_ref("wxImage_RGBValue");
14274 if (SWIG_arg_fail(1)) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= wxImage::RGBtoHSV(arg1
);
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 wxImage_HSVValue
* resultptr
;
14286 resultptr
= new wxImage_HSVValue((wxImage_HSVValue
&)(result
));
14287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage_HSVValue
, 1);
14295 static PyObject
*_wrap_Image_HSVtoRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxImage_HSVValue arg1
;
14298 wxImage_RGBValue result
;
14299 PyObject
* obj0
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "hsv", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) goto fail
;
14306 wxImage_HSVValue
* argp
;
14307 SWIG_Python_ConvertPtr(obj0
, (void **)&argp
, SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_EXCEPTION
);
14308 if (SWIG_arg_fail(1)) SWIG_fail
;
14309 if (argp
== NULL
) {
14310 SWIG_null_ref("wxImage_HSVValue");
14312 if (SWIG_arg_fail(1)) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= wxImage::HSVtoRGB(arg1
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 wxImage_RGBValue
* resultptr
;
14324 resultptr
= new wxImage_RGBValue((wxImage_RGBValue
&)(result
));
14325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage_RGBValue
, 1);
14333 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
14335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14336 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
14338 return Py_BuildValue((char *)"");
14340 static int _wrap_NullImage_set(PyObject
*) {
14341 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
14346 static PyObject
*_wrap_NullImage_get(void) {
14349 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
14354 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
14355 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
14360 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
14365 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
14367 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
14374 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
14375 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
14380 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
14385 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
14387 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
14394 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
14395 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
14400 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
14405 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
14407 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
14414 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
14415 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
14420 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
14425 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
14427 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
14434 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
14435 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
14440 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
14445 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
14447 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
14454 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
14455 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
14460 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
14465 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
14467 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
14474 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
14475 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
14480 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
14485 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
14487 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
14494 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
14495 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
14500 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
14505 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14507 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14514 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14515 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14520 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14525 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14527 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14534 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14535 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14540 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14545 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14547 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14554 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14555 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14560 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14565 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14567 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14574 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14575 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14580 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14585 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14587 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14594 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14595 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14600 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14605 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14607 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14614 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14615 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14620 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14625 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14627 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14634 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14635 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14640 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14645 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14647 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14654 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxBMPHandler
*result
;
14657 char *kwnames
[] = {
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (wxBMPHandler
*)new wxBMPHandler();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14676 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14679 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14681 return Py_BuildValue((char *)"");
14683 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxICOHandler
*result
;
14686 char *kwnames
[] = {
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (wxICOHandler
*)new wxICOHandler();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14705 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14708 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14710 return Py_BuildValue((char *)"");
14712 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
;
14714 wxCURHandler
*result
;
14715 char *kwnames
[] = {
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (wxCURHandler
*)new wxCURHandler();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14734 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14737 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14739 return Py_BuildValue((char *)"");
14741 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxANIHandler
*result
;
14744 char *kwnames
[] = {
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= (wxANIHandler
*)new wxANIHandler();
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14763 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14766 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14768 return Py_BuildValue((char *)"");
14770 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxPNGHandler
*result
;
14773 char *kwnames
[] = {
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (wxPNGHandler
*)new wxPNGHandler();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14792 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14795 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14797 return Py_BuildValue((char *)"");
14799 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxGIFHandler
*result
;
14802 char *kwnames
[] = {
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 result
= (wxGIFHandler
*)new wxGIFHandler();
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14821 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14824 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14826 return Py_BuildValue((char *)"");
14828 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxPCXHandler
*result
;
14831 char *kwnames
[] = {
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (wxPCXHandler
*)new wxPCXHandler();
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14850 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14853 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14855 return Py_BuildValue((char *)"");
14857 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
;
14859 wxJPEGHandler
*result
;
14860 char *kwnames
[] = {
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14869 wxPyEndAllowThreads(__tstate
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14879 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14882 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14884 return Py_BuildValue((char *)"");
14886 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxPNMHandler
*result
;
14889 char *kwnames
[] = {
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (wxPNMHandler
*)new wxPNMHandler();
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14908 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14911 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14913 return Py_BuildValue((char *)"");
14915 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxXPMHandler
*result
;
14918 char *kwnames
[] = {
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (wxXPMHandler
*)new wxXPMHandler();
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14937 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14940 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14942 return Py_BuildValue((char *)"");
14944 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxTIFFHandler
*result
;
14947 char *kwnames
[] = {
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14966 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14969 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14971 return Py_BuildValue((char *)"");
14973 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxImage
*arg1
= 0 ;
14976 wxImage
*arg2
= 0 ;
14977 int arg3
= (int) 236 ;
14978 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14980 PyObject
* obj0
= 0 ;
14981 PyObject
* obj1
= 0 ;
14982 PyObject
* obj2
= 0 ;
14983 PyObject
* obj3
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14991 if (SWIG_arg_fail(1)) SWIG_fail
;
14992 if (arg1
== NULL
) {
14993 SWIG_null_ref("wxImage");
14995 if (SWIG_arg_fail(1)) SWIG_fail
;
14998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14999 if (SWIG_arg_fail(2)) SWIG_fail
;
15000 if (arg2
== NULL
) {
15001 SWIG_null_ref("wxImage");
15003 if (SWIG_arg_fail(2)) SWIG_fail
;
15007 arg3
= (int)(SWIG_As_int(obj2
));
15008 if (SWIG_arg_fail(3)) SWIG_fail
;
15013 arg4
= (int)(SWIG_As_int(obj3
));
15014 if (SWIG_arg_fail(4)) SWIG_fail
;
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15033 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
15035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15036 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
15038 return Py_BuildValue((char *)"");
15040 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxEvtHandler
*result
;
15043 char *kwnames
[] = {
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (wxEvtHandler
*)new wxEvtHandler();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
15062 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
;
15064 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15065 wxEvtHandler
*result
;
15066 PyObject
* obj0
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
15072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15073 if (SWIG_arg_fail(1)) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= wxPyMake_wxObject(result
, 0);
15090 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
;
15092 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15093 wxEvtHandler
*result
;
15094 PyObject
* obj0
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
15100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15101 if (SWIG_arg_fail(1)) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= wxPyMake_wxObject(result
, 0);
15118 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15121 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "handler", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
15129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail
;
15131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15132 if (SWIG_arg_fail(2)) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 (arg1
)->SetNextHandler(arg2
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15150 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self",(char *) "handler", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
15158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15159 if (SWIG_arg_fail(1)) SWIG_fail
;
15160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15161 if (SWIG_arg_fail(2)) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 (arg1
)->SetPreviousHandler(arg2
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 Py_INCREF(Py_None
); resultobj
= Py_None
;
15176 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
15186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15187 if (SWIG_arg_fail(1)) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15204 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self",(char *) "enabled", NULL
15214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
15215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15216 if (SWIG_arg_fail(1)) SWIG_fail
;
15218 arg2
= (bool)(SWIG_As_bool(obj1
));
15219 if (SWIG_arg_fail(2)) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 (arg1
)->SetEvtHandlerEnabled(arg2
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 Py_INCREF(Py_None
); resultobj
= Py_None
;
15235 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15238 wxEvent
*arg2
= 0 ;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self",(char *) "event", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15248 if (SWIG_arg_fail(1)) SWIG_fail
;
15250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15251 if (SWIG_arg_fail(2)) SWIG_fail
;
15252 if (arg2
== NULL
) {
15253 SWIG_null_ref("wxEvent");
15255 if (SWIG_arg_fail(2)) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15273 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15276 wxEvent
*arg2
= 0 ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "event", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15285 if (SWIG_arg_fail(1)) SWIG_fail
;
15287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15288 if (SWIG_arg_fail(2)) SWIG_fail
;
15289 if (arg2
== NULL
) {
15290 SWIG_null_ref("wxEvent");
15292 if (SWIG_arg_fail(2)) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 (arg1
)->AddPendingEvent(*arg2
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 Py_INCREF(Py_None
); resultobj
= Py_None
;
15308 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15309 PyObject
*resultobj
;
15310 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
15317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15318 if (SWIG_arg_fail(1)) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 (arg1
)->ProcessPendingEvents();
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 Py_INCREF(Py_None
); resultobj
= Py_None
;
15333 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15339 PyObject
*arg5
= (PyObject
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 PyObject
* obj2
= 0 ;
15343 PyObject
* obj3
= 0 ;
15344 PyObject
* obj4
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15351 if (SWIG_arg_fail(1)) SWIG_fail
;
15353 arg2
= (int)(SWIG_As_int(obj1
));
15354 if (SWIG_arg_fail(2)) SWIG_fail
;
15357 arg3
= (int)(SWIG_As_int(obj2
));
15358 if (SWIG_arg_fail(3)) SWIG_fail
;
15361 arg4
= (int)(SWIG_As_int(obj3
));
15362 if (SWIG_arg_fail(4)) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 Py_INCREF(Py_None
); resultobj
= Py_None
;
15379 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15383 int arg3
= (int) -1 ;
15384 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 PyObject
* obj2
= 0 ;
15389 PyObject
* obj3
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15396 if (SWIG_arg_fail(1)) SWIG_fail
;
15398 arg2
= (int)(SWIG_As_int(obj1
));
15399 if (SWIG_arg_fail(2)) SWIG_fail
;
15403 arg3
= (int)(SWIG_As_int(obj2
));
15404 if (SWIG_arg_fail(3)) SWIG_fail
;
15409 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
15410 if (SWIG_arg_fail(4)) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15429 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
15432 PyObject
*arg2
= (PyObject
*) 0 ;
15433 bool arg3
= (bool) true ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 PyObject
* obj2
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "_self",(char *) "incref", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15447 arg3
= (bool)(SWIG_As_bool(obj2
));
15448 if (SWIG_arg_fail(3)) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 Py_INCREF(Py_None
); resultobj
= Py_None
;
15465 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
15467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15468 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
15470 return Py_BuildValue((char *)"");
15472 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxEventType result
;
15475 char *kwnames
[] = {
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (wxEventType
)wxNewEventType();
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= SWIG_From_int((int)(result
));
15496 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxEvent
*arg1
= (wxEvent
*) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
15505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15506 if (SWIG_arg_fail(1)) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 Py_INCREF(Py_None
); resultobj
= Py_None
;
15521 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15523 wxEvent
*arg1
= (wxEvent
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "self",(char *) "typ", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15533 if (SWIG_arg_fail(1)) SWIG_fail
;
15535 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15536 if (SWIG_arg_fail(2)) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 (arg1
)->SetEventType(arg2
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 Py_INCREF(Py_None
); resultobj
= Py_None
;
15552 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
;
15554 wxEvent
*arg1
= (wxEvent
*) 0 ;
15555 wxEventType result
;
15556 PyObject
* obj0
= 0 ;
15557 char *kwnames
[] = {
15558 (char *) "self", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15563 if (SWIG_arg_fail(1)) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15572 resultobj
= SWIG_From_int((int)(result
));
15580 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15581 PyObject
*resultobj
;
15582 wxEvent
*arg1
= (wxEvent
*) 0 ;
15584 PyObject
* obj0
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15591 if (SWIG_arg_fail(1)) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= wxPyMake_wxObject(result
, 0);
15608 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxEvent
*arg1
= (wxEvent
*) 0 ;
15611 wxObject
*arg2
= (wxObject
*) 0 ;
15612 PyObject
* obj0
= 0 ;
15613 PyObject
* obj1
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "self",(char *) "obj", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15620 if (SWIG_arg_fail(1)) SWIG_fail
;
15621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15622 if (SWIG_arg_fail(2)) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->SetEventObject(arg2
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 Py_INCREF(Py_None
); resultobj
= Py_None
;
15637 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxEvent
*arg1
= (wxEvent
*) 0 ;
15641 PyObject
* obj0
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "self", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15648 if (SWIG_arg_fail(1)) SWIG_fail
;
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_From_long((long)(result
));
15665 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxEvent
*arg1
= (wxEvent
*) 0 ;
15668 long arg2
= (long) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "self",(char *) "ts", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15677 if (SWIG_arg_fail(1)) SWIG_fail
;
15680 arg2
= (long)(SWIG_As_long(obj1
));
15681 if (SWIG_arg_fail(2)) SWIG_fail
;
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 (arg1
)->SetTimestamp(arg2
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 Py_INCREF(Py_None
); resultobj
= Py_None
;
15698 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
;
15700 wxEvent
*arg1
= (wxEvent
*) 0 ;
15702 PyObject
* obj0
= 0 ;
15703 char *kwnames
[] = {
15704 (char *) "self", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15709 if (SWIG_arg_fail(1)) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (int)((wxEvent
const *)arg1
)->GetId();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= SWIG_From_int((int)(result
));
15726 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
;
15728 wxEvent
*arg1
= (wxEvent
*) 0 ;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 char *kwnames
[] = {
15733 (char *) "self",(char *) "Id", NULL
15736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15738 if (SWIG_arg_fail(1)) SWIG_fail
;
15740 arg2
= (int)(SWIG_As_int(obj1
));
15741 if (SWIG_arg_fail(2)) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 (arg1
)->SetId(arg2
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 Py_INCREF(Py_None
); resultobj
= Py_None
;
15757 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxEvent
*arg1
= (wxEvent
*) 0 ;
15761 PyObject
* obj0
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15768 if (SWIG_arg_fail(1)) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15785 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxEvent
*arg1
= (wxEvent
*) 0 ;
15788 bool arg2
= (bool) true ;
15789 PyObject
* obj0
= 0 ;
15790 PyObject
* obj1
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self",(char *) "skip", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15797 if (SWIG_arg_fail(1)) SWIG_fail
;
15800 arg2
= (bool)(SWIG_As_bool(obj1
));
15801 if (SWIG_arg_fail(2)) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 (arg1
)->Skip(arg2
);
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 Py_INCREF(Py_None
); resultobj
= Py_None
;
15818 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxEvent
*arg1
= (wxEvent
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15829 if (SWIG_arg_fail(1)) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15846 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxEvent
*arg1
= (wxEvent
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15857 if (SWIG_arg_fail(1)) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15874 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxEvent
*arg1
= (wxEvent
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15885 if (SWIG_arg_fail(1)) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (int)(arg1
)->StopPropagation();
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= SWIG_From_int((int)(result
));
15902 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxEvent
*arg1
= (wxEvent
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 PyObject
* obj1
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self",(char *) "propagationLevel", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15914 if (SWIG_arg_fail(1)) SWIG_fail
;
15916 arg2
= (int)(SWIG_As_int(obj1
));
15917 if (SWIG_arg_fail(2)) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 (arg1
)->ResumePropagation(arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 Py_INCREF(Py_None
); resultobj
= Py_None
;
15933 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxEvent
*arg1
= (wxEvent
*) 0 ;
15937 PyObject
* obj0
= 0 ;
15938 char *kwnames
[] = {
15939 (char *) "self", NULL
15942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15944 if (SWIG_arg_fail(1)) SWIG_fail
;
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= (wxEvent
*)(arg1
)->Clone();
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15959 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15962 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15964 return Py_BuildValue((char *)"");
15966 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxEvent
*arg1
= 0 ;
15969 wxPropagationDisabler
*result
;
15970 PyObject
* obj0
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "event", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",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
;
15979 if (arg1
== NULL
) {
15980 SWIG_null_ref("wxEvent");
15982 if (SWIG_arg_fail(1)) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15998 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
16001 PyObject
* obj0
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
16007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
16008 if (SWIG_arg_fail(1)) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 Py_INCREF(Py_None
); resultobj
= Py_None
;
16023 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
16025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16026 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
16028 return Py_BuildValue((char *)"");
16030 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxEvent
*arg1
= 0 ;
16033 wxPropagateOnce
*result
;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "event", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
16041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
16042 if (SWIG_arg_fail(1)) SWIG_fail
;
16043 if (arg1
== NULL
) {
16044 SWIG_null_ref("wxEvent");
16046 if (SWIG_arg_fail(1)) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
16062 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
16065 PyObject
* obj0
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
16071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
16072 if (SWIG_arg_fail(1)) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 Py_INCREF(Py_None
); resultobj
= Py_None
;
16087 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
16089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16090 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
16092 return Py_BuildValue((char *)"");
16094 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16097 int arg2
= (int) 0 ;
16098 wxCommandEvent
*result
;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "commandType",(char *) "winid", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16108 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16109 if (SWIG_arg_fail(1)) SWIG_fail
;
16114 arg2
= (int)(SWIG_As_int(obj1
));
16115 if (SWIG_arg_fail(2)) SWIG_fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
16132 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16133 PyObject
*resultobj
;
16134 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16136 PyObject
* obj0
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16143 if (SWIG_arg_fail(1)) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_From_int((int)(result
));
16160 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16163 wxString
*arg2
= 0 ;
16164 bool temp2
= false ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "s", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
16172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16173 if (SWIG_arg_fail(1)) SWIG_fail
;
16175 arg2
= wxString_in_helper(obj1
);
16176 if (arg2
== NULL
) SWIG_fail
;
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 (arg1
)->SetString((wxString
const &)*arg2
);
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 Py_INCREF(Py_None
); resultobj
= Py_None
;
16201 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
16211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16212 if (SWIG_arg_fail(1)) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= ((wxCommandEvent
const *)arg1
)->GetString();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16233 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
16243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16244 if (SWIG_arg_fail(1)) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16261 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16265 PyObject
* obj0
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
16271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16272 if (SWIG_arg_fail(1)) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16289 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 PyObject
* obj1
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self",(char *) "extraLong", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
16300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16301 if (SWIG_arg_fail(1)) SWIG_fail
;
16303 arg2
= (long)(SWIG_As_long(obj1
));
16304 if (SWIG_arg_fail(2)) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 (arg1
)->SetExtraLong(arg2
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 Py_INCREF(Py_None
); resultobj
= Py_None
;
16320 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
16330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16331 if (SWIG_arg_fail(1)) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= SWIG_From_long((long)(result
));
16348 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self",(char *) "i", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
16359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16360 if (SWIG_arg_fail(1)) SWIG_fail
;
16362 arg2
= (int)(SWIG_As_int(obj1
));
16363 if (SWIG_arg_fail(2)) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 (arg1
)->SetInt(arg2
);
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 Py_INCREF(Py_None
); resultobj
= Py_None
;
16379 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
16389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16390 if (SWIG_arg_fail(1)) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= SWIG_From_long((long)(result
));
16407 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
16417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
16418 if (SWIG_arg_fail(1)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
16433 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
16435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16436 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
16438 return Py_BuildValue((char *)"");
16440 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16443 int arg2
= (int) 0 ;
16444 wxNotifyEvent
*result
;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "commandType",(char *) "winid", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16454 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16455 if (SWIG_arg_fail(1)) SWIG_fail
;
16460 arg2
= (int)(SWIG_As_int(obj1
));
16461 if (SWIG_arg_fail(2)) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
16478 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
16487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16488 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 Py_INCREF(Py_None
); resultobj
= Py_None
;
16503 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
;
16505 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16506 PyObject
* obj0
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16513 if (SWIG_arg_fail(1)) SWIG_fail
;
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 Py_INCREF(Py_None
); resultobj
= Py_None
;
16528 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16532 PyObject
* obj0
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16539 if (SWIG_arg_fail(1)) SWIG_fail
;
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 result
= (bool)(arg1
)->IsAllowed();
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16556 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16559 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16561 return Py_BuildValue((char *)"");
16563 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16566 int arg2
= (int) 0 ;
16567 int arg3
= (int) 0 ;
16568 int arg4
= (int) 0 ;
16569 wxScrollEvent
*result
;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 PyObject
* obj2
= 0 ;
16573 PyObject
* obj3
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16581 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16582 if (SWIG_arg_fail(1)) SWIG_fail
;
16587 arg2
= (int)(SWIG_As_int(obj1
));
16588 if (SWIG_arg_fail(2)) SWIG_fail
;
16593 arg3
= (int)(SWIG_As_int(obj2
));
16594 if (SWIG_arg_fail(3)) SWIG_fail
;
16599 arg4
= (int)(SWIG_As_int(obj3
));
16600 if (SWIG_arg_fail(4)) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16617 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16628 if (SWIG_arg_fail(1)) SWIG_fail
;
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= SWIG_From_int((int)(result
));
16645 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16656 if (SWIG_arg_fail(1)) SWIG_fail
;
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= SWIG_From_int((int)(result
));
16673 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
;
16675 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16677 PyObject
* obj0
= 0 ;
16678 PyObject
* obj1
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self",(char *) "orient", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16685 if (SWIG_arg_fail(1)) SWIG_fail
;
16687 arg2
= (int)(SWIG_As_int(obj1
));
16688 if (SWIG_arg_fail(2)) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 (arg1
)->SetOrientation(arg2
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 Py_INCREF(Py_None
); resultobj
= Py_None
;
16704 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 PyObject
* obj1
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "self",(char *) "pos", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16716 if (SWIG_arg_fail(1)) SWIG_fail
;
16718 arg2
= (int)(SWIG_As_int(obj1
));
16719 if (SWIG_arg_fail(2)) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 (arg1
)->SetPosition(arg2
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 Py_INCREF(Py_None
); resultobj
= Py_None
;
16735 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16738 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16740 return Py_BuildValue((char *)"");
16742 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16745 int arg2
= (int) 0 ;
16746 int arg3
= (int) 0 ;
16747 wxScrollWinEvent
*result
;
16748 PyObject
* obj0
= 0 ;
16749 PyObject
* obj1
= 0 ;
16750 PyObject
* obj2
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16758 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16759 if (SWIG_arg_fail(1)) SWIG_fail
;
16764 arg2
= (int)(SWIG_As_int(obj1
));
16765 if (SWIG_arg_fail(2)) SWIG_fail
;
16770 arg3
= (int)(SWIG_As_int(obj2
));
16771 if (SWIG_arg_fail(3)) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16788 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16792 PyObject
* obj0
= 0 ;
16793 char *kwnames
[] = {
16794 (char *) "self", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16799 if (SWIG_arg_fail(1)) SWIG_fail
;
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_From_int((int)(result
));
16816 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
;
16818 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16820 PyObject
* obj0
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16827 if (SWIG_arg_fail(1)) SWIG_fail
;
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16832 wxPyEndAllowThreads(__tstate
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= SWIG_From_int((int)(result
));
16844 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
;
16846 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "self",(char *) "orient", NULL
16854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16856 if (SWIG_arg_fail(1)) SWIG_fail
;
16858 arg2
= (int)(SWIG_As_int(obj1
));
16859 if (SWIG_arg_fail(2)) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 (arg1
)->SetOrientation(arg2
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 Py_INCREF(Py_None
); resultobj
= Py_None
;
16875 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self",(char *) "pos", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16887 if (SWIG_arg_fail(1)) SWIG_fail
;
16889 arg2
= (int)(SWIG_As_int(obj1
));
16890 if (SWIG_arg_fail(2)) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 (arg1
)->SetPosition(arg2
);
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 Py_INCREF(Py_None
); resultobj
= Py_None
;
16906 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16909 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16911 return Py_BuildValue((char *)"");
16913 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16916 wxMouseEvent
*result
;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "mouseType", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16925 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16926 if (SWIG_arg_fail(1)) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= wxPyMake_wxObject(result
, 1);
16945 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "self", NULL
16954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16956 if (SWIG_arg_fail(1)) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16973 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16976 int arg2
= (int) wxMOUSE_BTN_ANY
;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self",(char *) "but", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16986 if (SWIG_arg_fail(1)) SWIG_fail
;
16989 arg2
= (int)(SWIG_As_int(obj1
));
16990 if (SWIG_arg_fail(2)) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17009 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17012 int arg2
= (int) wxMOUSE_BTN_ANY
;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "self",(char *) "but", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
17021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17022 if (SWIG_arg_fail(1)) SWIG_fail
;
17025 arg2
= (int)(SWIG_As_int(obj1
));
17026 if (SWIG_arg_fail(2)) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17045 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17047 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17048 int arg2
= (int) wxMOUSE_BTN_ANY
;
17050 PyObject
* obj0
= 0 ;
17051 PyObject
* obj1
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "self",(char *) "but", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
17057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17058 if (SWIG_arg_fail(1)) SWIG_fail
;
17061 arg2
= (int)(SWIG_As_int(obj1
));
17062 if (SWIG_arg_fail(2)) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
17069 wxPyEndAllowThreads(__tstate
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17081 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17086 PyObject
* obj0
= 0 ;
17087 PyObject
* obj1
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self",(char *) "button", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
17093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17094 if (SWIG_arg_fail(1)) SWIG_fail
;
17096 arg2
= (int)(SWIG_As_int(obj1
));
17097 if (SWIG_arg_fail(2)) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17115 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17116 PyObject
*resultobj
;
17117 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17120 PyObject
* obj0
= 0 ;
17121 PyObject
* obj1
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "self",(char *) "but", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
17127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17128 if (SWIG_arg_fail(1)) SWIG_fail
;
17130 arg2
= (int)(SWIG_As_int(obj1
));
17131 if (SWIG_arg_fail(2)) SWIG_fail
;
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17149 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17153 PyObject
* obj0
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "self", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
17159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17160 if (SWIG_arg_fail(1)) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_From_int((int)(result
));
17177 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17181 PyObject
* obj0
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "self", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17188 if (SWIG_arg_fail(1)) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17205 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17216 if (SWIG_arg_fail(1)) SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17233 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
;
17235 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17237 PyObject
* obj0
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17244 if (SWIG_arg_fail(1)) SWIG_fail
;
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17247 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17261 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17265 PyObject
* obj0
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "self", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17272 if (SWIG_arg_fail(1)) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17289 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17293 PyObject
* obj0
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "self", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17300 if (SWIG_arg_fail(1)) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17317 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
17327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17328 if (SWIG_arg_fail(1)) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17345 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
17355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17356 if (SWIG_arg_fail(1)) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17373 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
17383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17384 if (SWIG_arg_fail(1)) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17401 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
17411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17412 if (SWIG_arg_fail(1)) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17429 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
17439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17440 if (SWIG_arg_fail(1)) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17457 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
17467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17468 if (SWIG_arg_fail(1)) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17485 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17513 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17524 if (SWIG_arg_fail(1)) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17541 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17552 if (SWIG_arg_fail(1)) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17569 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 char *kwnames
[] = {
17575 (char *) "self", NULL
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17580 if (SWIG_arg_fail(1)) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 result
= (bool)(arg1
)->LeftIsDown();
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17597 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17608 if (SWIG_arg_fail(1)) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (bool)(arg1
)->MiddleIsDown();
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17625 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17629 PyObject
* obj0
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17636 if (SWIG_arg_fail(1)) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 result
= (bool)(arg1
)->RightIsDown();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17653 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17664 if (SWIG_arg_fail(1)) SWIG_fail
;
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17681 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17685 PyObject
* obj0
= 0 ;
17686 char *kwnames
[] = {
17687 (char *) "self", NULL
17690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17692 if (SWIG_arg_fail(1)) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17709 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17720 if (SWIG_arg_fail(1)) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17737 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17748 if (SWIG_arg_fail(1)) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17765 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17769 PyObject
* obj0
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17776 if (SWIG_arg_fail(1)) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= (arg1
)->GetPosition();
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17785 wxPoint
* resultptr
;
17786 resultptr
= new wxPoint((wxPoint
&)(result
));
17787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17795 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17798 long *arg2
= (long *) 0 ;
17799 long *arg3
= (long *) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self", NULL
17809 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17810 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",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 (arg1
)->GetPosition(arg2
,arg3
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17822 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17823 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17824 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17825 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17832 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self",(char *) "dc", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17845 if (SWIG_arg_fail(1)) SWIG_fail
;
17847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17848 if (SWIG_arg_fail(2)) SWIG_fail
;
17849 if (arg2
== NULL
) {
17850 SWIG_null_ref("wxDC");
17852 if (SWIG_arg_fail(2)) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 wxPoint
* resultptr
;
17863 resultptr
= new wxPoint((wxPoint
&)(result
));
17864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17872 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17883 if (SWIG_arg_fail(1)) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= SWIG_From_int((int)(result
));
17900 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17904 PyObject
* obj0
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17911 if (SWIG_arg_fail(1)) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_From_int((int)(result
));
17928 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
;
17930 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17932 PyObject
* obj0
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17939 if (SWIG_arg_fail(1)) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= SWIG_From_int((int)(result
));
17956 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17960 PyObject
* obj0
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17967 if (SWIG_arg_fail(1)) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_From_int((int)(result
));
17984 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "self", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17995 if (SWIG_arg_fail(1)) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= SWIG_From_int((int)(result
));
18012 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18016 PyObject
* obj0
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
18022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18023 if (SWIG_arg_fail(1)) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18040 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18044 PyObject
* obj0
= 0 ;
18045 PyObject
* obj1
= 0 ;
18046 char *kwnames
[] = {
18047 (char *) "self",(char *) "m_x", NULL
18050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18052 if (SWIG_arg_fail(1)) SWIG_fail
;
18054 arg2
= (int)(SWIG_As_int(obj1
));
18055 if (SWIG_arg_fail(2)) SWIG_fail
;
18057 if (arg1
) (arg1
)->m_x
= arg2
;
18059 Py_INCREF(Py_None
); resultobj
= Py_None
;
18066 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18077 if (SWIG_arg_fail(1)) SWIG_fail
;
18078 result
= (int) ((arg1
)->m_x
);
18081 resultobj
= SWIG_From_int((int)(result
));
18089 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 PyObject
* obj1
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self",(char *) "m_y", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18101 if (SWIG_arg_fail(1)) SWIG_fail
;
18103 arg2
= (int)(SWIG_As_int(obj1
));
18104 if (SWIG_arg_fail(2)) SWIG_fail
;
18106 if (arg1
) (arg1
)->m_y
= arg2
;
18108 Py_INCREF(Py_None
); resultobj
= Py_None
;
18115 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
;
18117 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18119 PyObject
* obj0
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18126 if (SWIG_arg_fail(1)) SWIG_fail
;
18127 result
= (int) ((arg1
)->m_y
);
18130 resultobj
= SWIG_From_int((int)(result
));
18138 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self",(char *) "m_leftDown", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18150 if (SWIG_arg_fail(1)) SWIG_fail
;
18152 arg2
= (bool)(SWIG_As_bool(obj1
));
18153 if (SWIG_arg_fail(2)) SWIG_fail
;
18155 if (arg1
) (arg1
)->m_leftDown
= arg2
;
18157 Py_INCREF(Py_None
); resultobj
= Py_None
;
18164 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
18174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18175 if (SWIG_arg_fail(1)) SWIG_fail
;
18176 result
= (bool) ((arg1
)->m_leftDown
);
18179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18187 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self",(char *) "m_middleDown", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18199 if (SWIG_arg_fail(1)) SWIG_fail
;
18201 arg2
= (bool)(SWIG_As_bool(obj1
));
18202 if (SWIG_arg_fail(2)) SWIG_fail
;
18204 if (arg1
) (arg1
)->m_middleDown
= arg2
;
18206 Py_INCREF(Py_None
); resultobj
= Py_None
;
18213 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18217 PyObject
* obj0
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
18223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18224 if (SWIG_arg_fail(1)) SWIG_fail
;
18225 result
= (bool) ((arg1
)->m_middleDown
);
18228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18236 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
;
18238 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self",(char *) "m_rightDown", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18248 if (SWIG_arg_fail(1)) SWIG_fail
;
18250 arg2
= (bool)(SWIG_As_bool(obj1
));
18251 if (SWIG_arg_fail(2)) SWIG_fail
;
18253 if (arg1
) (arg1
)->m_rightDown
= arg2
;
18255 Py_INCREF(Py_None
); resultobj
= Py_None
;
18262 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18266 PyObject
* obj0
= 0 ;
18267 char *kwnames
[] = {
18268 (char *) "self", NULL
18271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
18272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18273 if (SWIG_arg_fail(1)) SWIG_fail
;
18274 result
= (bool) ((arg1
)->m_rightDown
);
18277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18285 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 PyObject
* obj1
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self",(char *) "m_controlDown", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18297 if (SWIG_arg_fail(1)) SWIG_fail
;
18299 arg2
= (bool)(SWIG_As_bool(obj1
));
18300 if (SWIG_arg_fail(2)) SWIG_fail
;
18302 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18304 Py_INCREF(Py_None
); resultobj
= Py_None
;
18311 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18322 if (SWIG_arg_fail(1)) SWIG_fail
;
18323 result
= (bool) ((arg1
)->m_controlDown
);
18326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18334 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self",(char *) "m_shiftDown", NULL
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18346 if (SWIG_arg_fail(1)) SWIG_fail
;
18348 arg2
= (bool)(SWIG_As_bool(obj1
));
18349 if (SWIG_arg_fail(2)) SWIG_fail
;
18351 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18353 Py_INCREF(Py_None
); resultobj
= Py_None
;
18360 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
;
18362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18364 PyObject
* obj0
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18371 if (SWIG_arg_fail(1)) SWIG_fail
;
18372 result
= (bool) ((arg1
)->m_shiftDown
);
18375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18383 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18387 PyObject
* obj0
= 0 ;
18388 PyObject
* obj1
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self",(char *) "m_altDown", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18395 if (SWIG_arg_fail(1)) SWIG_fail
;
18397 arg2
= (bool)(SWIG_As_bool(obj1
));
18398 if (SWIG_arg_fail(2)) SWIG_fail
;
18400 if (arg1
) (arg1
)->m_altDown
= arg2
;
18402 Py_INCREF(Py_None
); resultobj
= Py_None
;
18409 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
;
18411 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18413 PyObject
* obj0
= 0 ;
18414 char *kwnames
[] = {
18415 (char *) "self", NULL
18418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18420 if (SWIG_arg_fail(1)) SWIG_fail
;
18421 result
= (bool) ((arg1
)->m_altDown
);
18424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18432 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self",(char *) "m_metaDown", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18444 if (SWIG_arg_fail(1)) SWIG_fail
;
18446 arg2
= (bool)(SWIG_As_bool(obj1
));
18447 if (SWIG_arg_fail(2)) SWIG_fail
;
18449 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18451 Py_INCREF(Py_None
); resultobj
= Py_None
;
18458 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18469 if (SWIG_arg_fail(1)) SWIG_fail
;
18470 result
= (bool) ((arg1
)->m_metaDown
);
18473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18481 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self",(char *) "m_wheelRotation", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18493 if (SWIG_arg_fail(1)) SWIG_fail
;
18495 arg2
= (int)(SWIG_As_int(obj1
));
18496 if (SWIG_arg_fail(2)) SWIG_fail
;
18498 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
18500 Py_INCREF(Py_None
); resultobj
= Py_None
;
18507 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
;
18509 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18511 PyObject
* obj0
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "self", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18518 if (SWIG_arg_fail(1)) SWIG_fail
;
18519 result
= (int) ((arg1
)->m_wheelRotation
);
18522 resultobj
= SWIG_From_int((int)(result
));
18530 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self",(char *) "m_wheelDelta", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18542 if (SWIG_arg_fail(1)) SWIG_fail
;
18544 arg2
= (int)(SWIG_As_int(obj1
));
18545 if (SWIG_arg_fail(2)) SWIG_fail
;
18547 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18549 Py_INCREF(Py_None
); resultobj
= Py_None
;
18556 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
;
18558 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18560 PyObject
* obj0
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18567 if (SWIG_arg_fail(1)) SWIG_fail
;
18568 result
= (int) ((arg1
)->m_wheelDelta
);
18571 resultobj
= SWIG_From_int((int)(result
));
18579 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self",(char *) "m_linesPerAction", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18591 if (SWIG_arg_fail(1)) SWIG_fail
;
18593 arg2
= (int)(SWIG_As_int(obj1
));
18594 if (SWIG_arg_fail(2)) SWIG_fail
;
18596 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18598 Py_INCREF(Py_None
); resultobj
= Py_None
;
18605 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18616 if (SWIG_arg_fail(1)) SWIG_fail
;
18617 result
= (int) ((arg1
)->m_linesPerAction
);
18620 resultobj
= SWIG_From_int((int)(result
));
18628 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18631 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18633 return Py_BuildValue((char *)"");
18635 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 int arg1
= (int) 0 ;
18638 int arg2
= (int) 0 ;
18639 wxSetCursorEvent
*result
;
18640 PyObject
* obj0
= 0 ;
18641 PyObject
* obj1
= 0 ;
18642 char *kwnames
[] = {
18643 (char *) "x",(char *) "y", NULL
18646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18649 arg1
= (int)(SWIG_As_int(obj0
));
18650 if (SWIG_arg_fail(1)) SWIG_fail
;
18655 arg2
= (int)(SWIG_As_int(obj1
));
18656 if (SWIG_arg_fail(2)) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18673 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18684 if (SWIG_arg_fail(1)) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18693 resultobj
= SWIG_From_int((int)(result
));
18701 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18705 PyObject
* obj0
= 0 ;
18706 char *kwnames
[] = {
18707 (char *) "self", NULL
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18712 if (SWIG_arg_fail(1)) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_From_int((int)(result
));
18729 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
;
18731 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18732 wxCursor
*arg2
= 0 ;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "cursor", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18741 if (SWIG_arg_fail(1)) SWIG_fail
;
18743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18744 if (SWIG_arg_fail(2)) SWIG_fail
;
18745 if (arg2
== NULL
) {
18746 SWIG_null_ref("wxCursor");
18748 if (SWIG_arg_fail(2)) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 Py_INCREF(Py_None
); resultobj
= Py_None
;
18764 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18768 PyObject
* obj0
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18775 if (SWIG_arg_fail(1)) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18780 result
= (wxCursor
*) &_result_ref
;
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18787 wxCursor
* resultptr
= new wxCursor(*result
);
18788 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18796 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
;
18798 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18807 if (SWIG_arg_fail(1)) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18824 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18827 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18829 return Py_BuildValue((char *)"");
18831 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18834 wxKeyEvent
*result
;
18835 PyObject
* obj0
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "eventType", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18843 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18844 if (SWIG_arg_fail(1)) SWIG_fail
;
18848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18849 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18861 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
;
18863 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18865 PyObject
* obj0
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "self", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18872 if (SWIG_arg_fail(1)) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18889 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18900 if (SWIG_arg_fail(1)) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18917 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18928 if (SWIG_arg_fail(1)) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18945 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18956 if (SWIG_arg_fail(1)) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18973 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18984 if (SWIG_arg_fail(1)) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19001 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
;
19003 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
19011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19012 if (SWIG_arg_fail(1)) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19029 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
;
19031 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19033 PyObject
* obj0
= 0 ;
19034 char *kwnames
[] = {
19035 (char *) "self", NULL
19038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19040 if (SWIG_arg_fail(1)) SWIG_fail
;
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= SWIG_From_int((int)(result
));
19057 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19061 PyObject
* obj0
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "self", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
19067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19068 if (SWIG_arg_fail(1)) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= SWIG_From_int((int)(result
));
19085 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
;
19087 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19088 unsigned int result
;
19089 PyObject
* obj0
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
19095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19096 if (SWIG_arg_fail(1)) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19113 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19115 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19116 unsigned int result
;
19117 PyObject
* obj0
= 0 ;
19118 char *kwnames
[] = {
19119 (char *) "self", NULL
19122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
19123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19124 if (SWIG_arg_fail(1)) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19141 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19145 PyObject
* obj0
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19152 if (SWIG_arg_fail(1)) SWIG_fail
;
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 result
= (arg1
)->GetPosition();
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19161 wxPoint
* resultptr
;
19162 resultptr
= new wxPoint((wxPoint
&)(result
));
19163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19171 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
;
19173 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19174 long *arg2
= (long *) 0 ;
19175 long *arg3
= (long *) 0 ;
19180 PyObject
* obj0
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self", NULL
19185 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19186 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",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 (arg1
)->GetPosition(arg2
,arg3
);
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19199 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
19200 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19201 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
19208 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
19218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19219 if (SWIG_arg_fail(1)) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= SWIG_From_int((int)(result
));
19236 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
19246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19247 if (SWIG_arg_fail(1)) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= SWIG_From_int((int)(result
));
19264 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 PyObject
* obj1
= 0 ;
19270 char *kwnames
[] = {
19271 (char *) "self",(char *) "m_x", NULL
19274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19276 if (SWIG_arg_fail(1)) SWIG_fail
;
19278 arg2
= (int)(SWIG_As_int(obj1
));
19279 if (SWIG_arg_fail(2)) SWIG_fail
;
19281 if (arg1
) (arg1
)->m_x
= arg2
;
19283 Py_INCREF(Py_None
); resultobj
= Py_None
;
19290 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19294 PyObject
* obj0
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
19300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19301 if (SWIG_arg_fail(1)) SWIG_fail
;
19302 result
= (int) ((arg1
)->m_x
);
19305 resultobj
= SWIG_From_int((int)(result
));
19313 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self",(char *) "m_y", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19325 if (SWIG_arg_fail(1)) SWIG_fail
;
19327 arg2
= (int)(SWIG_As_int(obj1
));
19328 if (SWIG_arg_fail(2)) SWIG_fail
;
19330 if (arg1
) (arg1
)->m_y
= arg2
;
19332 Py_INCREF(Py_None
); resultobj
= Py_None
;
19339 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19343 PyObject
* obj0
= 0 ;
19344 char *kwnames
[] = {
19345 (char *) "self", NULL
19348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
19349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19350 if (SWIG_arg_fail(1)) SWIG_fail
;
19351 result
= (int) ((arg1
)->m_y
);
19354 resultobj
= SWIG_From_int((int)(result
));
19362 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self",(char *) "m_keyCode", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19374 if (SWIG_arg_fail(1)) SWIG_fail
;
19376 arg2
= (long)(SWIG_As_long(obj1
));
19377 if (SWIG_arg_fail(2)) SWIG_fail
;
19379 if (arg1
) (arg1
)->m_keyCode
= arg2
;
19381 Py_INCREF(Py_None
); resultobj
= Py_None
;
19388 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19392 PyObject
* obj0
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
19398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19399 if (SWIG_arg_fail(1)) SWIG_fail
;
19400 result
= (long) ((arg1
)->m_keyCode
);
19403 resultobj
= SWIG_From_long((long)(result
));
19411 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 char *kwnames
[] = {
19418 (char *) "self",(char *) "m_controlDown", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19423 if (SWIG_arg_fail(1)) SWIG_fail
;
19425 arg2
= (bool)(SWIG_As_bool(obj1
));
19426 if (SWIG_arg_fail(2)) SWIG_fail
;
19428 if (arg1
) (arg1
)->m_controlDown
= arg2
;
19430 Py_INCREF(Py_None
); resultobj
= Py_None
;
19437 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19441 PyObject
* obj0
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
19447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19448 if (SWIG_arg_fail(1)) SWIG_fail
;
19449 result
= (bool) ((arg1
)->m_controlDown
);
19452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19460 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
;
19462 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19464 PyObject
* obj0
= 0 ;
19465 PyObject
* obj1
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self",(char *) "m_shiftDown", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19472 if (SWIG_arg_fail(1)) SWIG_fail
;
19474 arg2
= (bool)(SWIG_As_bool(obj1
));
19475 if (SWIG_arg_fail(2)) SWIG_fail
;
19477 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
19479 Py_INCREF(Py_None
); resultobj
= Py_None
;
19486 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
19496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19497 if (SWIG_arg_fail(1)) SWIG_fail
;
19498 result
= (bool) ((arg1
)->m_shiftDown
);
19501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19509 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "self",(char *) "m_altDown", NULL
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19521 if (SWIG_arg_fail(1)) SWIG_fail
;
19523 arg2
= (bool)(SWIG_As_bool(obj1
));
19524 if (SWIG_arg_fail(2)) SWIG_fail
;
19526 if (arg1
) (arg1
)->m_altDown
= arg2
;
19528 Py_INCREF(Py_None
); resultobj
= Py_None
;
19535 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19539 PyObject
* obj0
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19546 if (SWIG_arg_fail(1)) SWIG_fail
;
19547 result
= (bool) ((arg1
)->m_altDown
);
19550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19558 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self",(char *) "m_metaDown", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19570 if (SWIG_arg_fail(1)) SWIG_fail
;
19572 arg2
= (bool)(SWIG_As_bool(obj1
));
19573 if (SWIG_arg_fail(2)) SWIG_fail
;
19575 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19577 Py_INCREF(Py_None
); resultobj
= Py_None
;
19584 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19588 PyObject
* obj0
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19595 if (SWIG_arg_fail(1)) SWIG_fail
;
19596 result
= (bool) ((arg1
)->m_metaDown
);
19599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19607 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self",(char *) "m_scanCode", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19619 if (SWIG_arg_fail(1)) SWIG_fail
;
19621 arg2
= (bool)(SWIG_As_bool(obj1
));
19622 if (SWIG_arg_fail(2)) SWIG_fail
;
19624 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19626 Py_INCREF(Py_None
); resultobj
= Py_None
;
19633 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19644 if (SWIG_arg_fail(1)) SWIG_fail
;
19645 result
= (bool) ((arg1
)->m_scanCode
);
19648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19656 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19657 PyObject
*resultobj
;
19658 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19659 unsigned int arg2
;
19660 PyObject
* obj0
= 0 ;
19661 PyObject
* obj1
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self",(char *) "m_rawCode", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19668 if (SWIG_arg_fail(1)) SWIG_fail
;
19670 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19671 if (SWIG_arg_fail(2)) SWIG_fail
;
19673 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19675 Py_INCREF(Py_None
); resultobj
= Py_None
;
19682 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19685 unsigned int result
;
19686 PyObject
* obj0
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19693 if (SWIG_arg_fail(1)) SWIG_fail
;
19694 result
= (unsigned int) ((arg1
)->m_rawCode
);
19697 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19705 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19708 unsigned int arg2
;
19709 PyObject
* obj0
= 0 ;
19710 PyObject
* obj1
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "self",(char *) "m_rawFlags", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19717 if (SWIG_arg_fail(1)) SWIG_fail
;
19719 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19720 if (SWIG_arg_fail(2)) SWIG_fail
;
19722 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19724 Py_INCREF(Py_None
); resultobj
= Py_None
;
19731 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
;
19733 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19734 unsigned int result
;
19735 PyObject
* obj0
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19742 if (SWIG_arg_fail(1)) SWIG_fail
;
19743 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19746 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19754 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19757 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19759 return Py_BuildValue((char *)"");
19761 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19764 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19765 int arg2
= (int) 0 ;
19766 wxSizeEvent
*result
;
19768 PyObject
* obj0
= 0 ;
19769 PyObject
* obj1
= 0 ;
19770 char *kwnames
[] = {
19771 (char *) "sz",(char *) "winid", NULL
19774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19778 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19783 arg2
= (int)(SWIG_As_int(obj1
));
19784 if (SWIG_arg_fail(2)) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19801 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19812 if (SWIG_arg_fail(1)) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 wxSize
* resultptr
;
19822 resultptr
= new wxSize((wxSize
&)(result
));
19823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19831 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19835 PyObject
* obj0
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19842 if (SWIG_arg_fail(1)) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19851 wxRect
* resultptr
;
19852 resultptr
= new wxRect((wxRect
&)(result
));
19853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19861 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "rect", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19873 if (SWIG_arg_fail(1)) SWIG_fail
;
19876 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19877 if (SWIG_arg_fail(2)) SWIG_fail
;
19878 if (argp
== NULL
) {
19879 SWIG_null_ref("wxRect");
19881 if (SWIG_arg_fail(2)) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 (arg1
)->SetRect(arg2
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 Py_INCREF(Py_None
); resultobj
= Py_None
;
19898 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19902 PyObject
* obj0
= 0 ;
19903 PyObject
* obj1
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self",(char *) "size", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19910 if (SWIG_arg_fail(1)) SWIG_fail
;
19913 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19914 if (SWIG_arg_fail(2)) SWIG_fail
;
19915 if (argp
== NULL
) {
19916 SWIG_null_ref("wxSize");
19918 if (SWIG_arg_fail(2)) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 wxSizeEvent_SetSize(arg1
,arg2
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 Py_INCREF(Py_None
); resultobj
= Py_None
;
19935 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19938 wxSize
*arg2
= (wxSize
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self",(char *) "m_size", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19947 if (SWIG_arg_fail(1)) SWIG_fail
;
19948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19949 if (SWIG_arg_fail(2)) SWIG_fail
;
19950 if (arg1
) (arg1
)->m_size
= *arg2
;
19952 Py_INCREF(Py_None
); resultobj
= Py_None
;
19959 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19963 PyObject
* obj0
= 0 ;
19964 char *kwnames
[] = {
19965 (char *) "self", NULL
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19970 if (SWIG_arg_fail(1)) SWIG_fail
;
19971 result
= (wxSize
*)& ((arg1
)->m_size
);
19973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19980 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19983 wxRect
*arg2
= (wxRect
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self",(char *) "m_rect", NULL
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail
;
19993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19994 if (SWIG_arg_fail(2)) SWIG_fail
;
19995 if (arg1
) (arg1
)->m_rect
= *arg2
;
19997 Py_INCREF(Py_None
); resultobj
= Py_None
;
20004 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
;
20006 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
20008 PyObject
* obj0
= 0 ;
20009 char *kwnames
[] = {
20010 (char *) "self", NULL
20013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
20014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20015 if (SWIG_arg_fail(1)) SWIG_fail
;
20016 result
= (wxRect
*)& ((arg1
)->m_rect
);
20018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
20025 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20028 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
20030 return Py_BuildValue((char *)"");
20032 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
20035 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
20036 int arg2
= (int) 0 ;
20037 wxMoveEvent
*result
;
20039 PyObject
* obj0
= 0 ;
20040 PyObject
* obj1
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "pos",(char *) "winid", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20049 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
20054 arg2
= (int)(SWIG_As_int(obj1
));
20055 if (SWIG_arg_fail(2)) SWIG_fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
20072 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20083 if (SWIG_arg_fail(1)) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20092 wxPoint
* resultptr
;
20093 resultptr
= new wxPoint((wxPoint
&)(result
));
20094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20102 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
20112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20113 if (SWIG_arg_fail(1)) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20122 wxRect
* resultptr
;
20123 resultptr
= new wxRect((wxRect
&)(result
));
20124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20132 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20137 PyObject
* obj0
= 0 ;
20138 PyObject
* obj1
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self",(char *) "rect", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
20144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20145 if (SWIG_arg_fail(1)) SWIG_fail
;
20148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 (arg1
)->SetRect((wxRect
const &)*arg2
);
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 Py_INCREF(Py_None
); resultobj
= Py_None
;
20164 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
20167 wxPoint
*arg2
= 0 ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self",(char *) "pos", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
20177 if (SWIG_arg_fail(1)) SWIG_fail
;
20180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 Py_INCREF(Py_None
); resultobj
= Py_None
;
20196 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
20198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20199 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
20201 return Py_BuildValue((char *)"");
20203 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 int arg1
= (int) 0 ;
20206 wxPaintEvent
*result
;
20207 PyObject
* obj0
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "Id", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
20215 arg1
= (int)(SWIG_As_int(obj0
));
20216 if (SWIG_arg_fail(1)) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
20233 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
20235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20236 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
20238 return Py_BuildValue((char *)"");
20240 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 int arg1
= (int) 0 ;
20243 wxNcPaintEvent
*result
;
20244 PyObject
* obj0
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "winid", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
20252 arg1
= (int)(SWIG_As_int(obj0
));
20253 if (SWIG_arg_fail(1)) SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
20270 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
20272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20273 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
20275 return Py_BuildValue((char *)"");
20277 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 int arg1
= (int) 0 ;
20280 wxDC
*arg2
= (wxDC
*) NULL
;
20281 wxEraseEvent
*result
;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "Id",(char *) "dc", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20291 arg1
= (int)(SWIG_As_int(obj0
));
20292 if (SWIG_arg_fail(1)) SWIG_fail
;
20296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20297 if (SWIG_arg_fail(2)) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
20313 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
;
20315 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
20323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= wxPyMake_wxObject(result
, 0);
20341 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
20343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20344 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
20346 return Py_BuildValue((char *)"");
20348 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20351 int arg2
= (int) 0 ;
20352 wxFocusEvent
*result
;
20353 PyObject
* obj0
= 0 ;
20354 PyObject
* obj1
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "type",(char *) "winid", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20362 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20363 if (SWIG_arg_fail(1)) SWIG_fail
;
20368 arg2
= (int)(SWIG_As_int(obj1
));
20369 if (SWIG_arg_fail(2)) SWIG_fail
;
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
20386 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
;
20388 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
20390 PyObject
* obj0
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
20396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20397 if (SWIG_arg_fail(1)) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= wxPyMake_wxObject(result
, 0);
20414 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
;
20416 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
20417 wxWindow
*arg2
= (wxWindow
*) 0 ;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self",(char *) "win", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail
;
20427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20428 if (SWIG_arg_fail(2)) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 (arg1
)->SetWindow(arg2
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 Py_INCREF(Py_None
); resultobj
= Py_None
;
20443 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20446 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
20448 return Py_BuildValue((char *)"");
20450 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxWindow
*arg1
= (wxWindow
*) NULL
;
20453 wxChildFocusEvent
*result
;
20454 PyObject
* obj0
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "win", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
20461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20462 if (SWIG_arg_fail(1)) SWIG_fail
;
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
20478 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
20482 PyObject
* obj0
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
20488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
20489 if (SWIG_arg_fail(1)) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20498 resultobj
= wxPyMake_wxObject(result
, 0);
20506 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20509 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
20511 return Py_BuildValue((char *)"");
20513 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20516 bool arg2
= (bool) true ;
20517 int arg3
= (int) 0 ;
20518 wxActivateEvent
*result
;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20521 PyObject
* obj2
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "type",(char *) "active",(char *) "Id", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20529 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20535 arg2
= (bool)(SWIG_As_bool(obj1
));
20536 if (SWIG_arg_fail(2)) SWIG_fail
;
20541 arg3
= (int)(SWIG_As_int(obj2
));
20542 if (SWIG_arg_fail(3)) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20559 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20570 if (SWIG_arg_fail(1)) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20587 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20590 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20592 return Py_BuildValue((char *)"");
20594 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
;
20596 int arg1
= (int) 0 ;
20597 wxInitDialogEvent
*result
;
20598 PyObject
* obj0
= 0 ;
20599 char *kwnames
[] = {
20600 (char *) "Id", NULL
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20606 arg1
= (int)(SWIG_As_int(obj0
));
20607 if (SWIG_arg_fail(1)) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20624 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20627 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20629 return Py_BuildValue((char *)"");
20631 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20633 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20634 int arg2
= (int) 0 ;
20635 wxMenu
*arg3
= (wxMenu
*) NULL
;
20636 wxMenuEvent
*result
;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20639 PyObject
* obj2
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "type",(char *) "winid",(char *) "menu", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20647 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20648 if (SWIG_arg_fail(1)) SWIG_fail
;
20653 arg2
= (int)(SWIG_As_int(obj1
));
20654 if (SWIG_arg_fail(2)) SWIG_fail
;
20658 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20659 if (SWIG_arg_fail(3)) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20675 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20679 PyObject
* obj0
= 0 ;
20680 char *kwnames
[] = {
20681 (char *) "self", NULL
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20686 if (SWIG_arg_fail(1)) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_From_int((int)(result
));
20703 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
;
20705 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20707 PyObject
* obj0
= 0 ;
20708 char *kwnames
[] = {
20709 (char *) "self", NULL
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20714 if (SWIG_arg_fail(1)) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20731 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 char *kwnames
[] = {
20737 (char *) "self", NULL
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20742 if (SWIG_arg_fail(1)) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= wxPyMake_wxObject(result
, 0);
20759 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20762 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20764 return Py_BuildValue((char *)"");
20766 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20767 PyObject
*resultobj
;
20768 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20769 int arg2
= (int) 0 ;
20770 wxCloseEvent
*result
;
20771 PyObject
* obj0
= 0 ;
20772 PyObject
* obj1
= 0 ;
20773 char *kwnames
[] = {
20774 (char *) "type",(char *) "winid", NULL
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20780 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20781 if (SWIG_arg_fail(1)) SWIG_fail
;
20786 arg2
= (int)(SWIG_As_int(obj1
));
20787 if (SWIG_arg_fail(2)) SWIG_fail
;
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20792 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20804 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20808 PyObject
* obj0
= 0 ;
20809 PyObject
* obj1
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self",(char *) "logOff", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20816 if (SWIG_arg_fail(1)) SWIG_fail
;
20818 arg2
= (bool)(SWIG_As_bool(obj1
));
20819 if (SWIG_arg_fail(2)) SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 (arg1
)->SetLoggingOff(arg2
);
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 Py_INCREF(Py_None
); resultobj
= Py_None
;
20835 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20839 PyObject
* obj0
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20846 if (SWIG_arg_fail(1)) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20863 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20866 bool arg2
= (bool) true ;
20867 PyObject
* obj0
= 0 ;
20868 PyObject
* obj1
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self",(char *) "veto", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20875 if (SWIG_arg_fail(1)) SWIG_fail
;
20878 arg2
= (bool)(SWIG_As_bool(obj1
));
20879 if (SWIG_arg_fail(2)) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 (arg1
)->Veto(arg2
);
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 Py_INCREF(Py_None
); resultobj
= Py_None
;
20896 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20907 if (SWIG_arg_fail(1)) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20924 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self",(char *) "canVeto", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20936 if (SWIG_arg_fail(1)) SWIG_fail
;
20938 arg2
= (bool)(SWIG_As_bool(obj1
));
20939 if (SWIG_arg_fail(2)) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 (arg1
)->SetCanVeto(arg2
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 Py_INCREF(Py_None
); resultobj
= Py_None
;
20955 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20966 if (SWIG_arg_fail(1)) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20983 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20986 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20988 return Py_BuildValue((char *)"");
20990 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 int arg1
= (int) 0 ;
20993 bool arg2
= (bool) false ;
20994 wxShowEvent
*result
;
20995 PyObject
* obj0
= 0 ;
20996 PyObject
* obj1
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "winid",(char *) "show", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21004 arg1
= (int)(SWIG_As_int(obj0
));
21005 if (SWIG_arg_fail(1)) SWIG_fail
;
21010 arg2
= (bool)(SWIG_As_bool(obj1
));
21011 if (SWIG_arg_fail(2)) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
21028 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
21032 PyObject
* obj0
= 0 ;
21033 PyObject
* obj1
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "self",(char *) "show", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
21039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
21040 if (SWIG_arg_fail(1)) SWIG_fail
;
21042 arg2
= (bool)(SWIG_As_bool(obj1
));
21043 if (SWIG_arg_fail(2)) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 (arg1
)->SetShow(arg2
);
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 Py_INCREF(Py_None
); resultobj
= Py_None
;
21059 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
21063 PyObject
* obj0
= 0 ;
21064 char *kwnames
[] = {
21065 (char *) "self", NULL
21068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
21069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
21070 if (SWIG_arg_fail(1)) SWIG_fail
;
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21087 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
21089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21090 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
21092 return Py_BuildValue((char *)"");
21094 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21096 int arg1
= (int) 0 ;
21097 bool arg2
= (bool) true ;
21098 wxIconizeEvent
*result
;
21099 PyObject
* obj0
= 0 ;
21100 PyObject
* obj1
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "id",(char *) "iconized", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21108 arg1
= (int)(SWIG_As_int(obj0
));
21109 if (SWIG_arg_fail(1)) SWIG_fail
;
21114 arg2
= (bool)(SWIG_As_bool(obj1
));
21115 if (SWIG_arg_fail(2)) SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
21132 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
;
21134 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
21136 PyObject
* obj0
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "self", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
21142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
21143 if (SWIG_arg_fail(1)) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (bool)(arg1
)->Iconized();
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21160 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
21162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21163 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
21165 return Py_BuildValue((char *)"");
21167 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 int arg1
= (int) 0 ;
21170 wxMaximizeEvent
*result
;
21171 PyObject
* obj0
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "id", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
21179 arg1
= (int)(SWIG_As_int(obj0
));
21180 if (SWIG_arg_fail(1)) SWIG_fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
21197 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
21199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21200 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
21202 return Py_BuildValue((char *)"");
21204 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21208 PyObject
* obj0
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21215 if (SWIG_arg_fail(1)) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (arg1
)->GetPosition();
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21224 wxPoint
* resultptr
;
21225 resultptr
= new wxPoint((wxPoint
&)(result
));
21226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21234 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
21244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21245 if (SWIG_arg_fail(1)) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (int)(arg1
)->GetNumberOfFiles();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= SWIG_From_int((int)(result
));
21262 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
21266 PyObject
* obj0
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
21272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
21273 if (SWIG_arg_fail(1)) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= result
;
21288 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
21290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21291 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
21293 return Py_BuildValue((char *)"");
21295 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 int arg1
= (int) 0 ;
21298 wxUpdateUIEvent
*result
;
21299 PyObject
* obj0
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "commandId", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
21307 arg1
= (int)(SWIG_As_int(obj0
));
21308 if (SWIG_arg_fail(1)) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
21325 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21327 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21329 PyObject
* obj0
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "self", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
21335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21336 if (SWIG_arg_fail(1)) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21353 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21357 PyObject
* obj0
= 0 ;
21358 char *kwnames
[] = {
21359 (char *) "self", NULL
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
21363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21364 if (SWIG_arg_fail(1)) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21381 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21385 PyObject
* obj0
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
21391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21392 if (SWIG_arg_fail(1)) SWIG_fail
;
21394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21395 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21413 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21417 PyObject
* obj0
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
21423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21441 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 char *kwnames
[] = {
21447 (char *) "self", NULL
21450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
21451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21452 if (SWIG_arg_fail(1)) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21469 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
21479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21480 if (SWIG_arg_fail(1)) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21497 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 PyObject
* obj1
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self",(char *) "check", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
21508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21509 if (SWIG_arg_fail(1)) SWIG_fail
;
21511 arg2
= (bool)(SWIG_As_bool(obj1
));
21512 if (SWIG_arg_fail(2)) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 (arg1
)->Check(arg2
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 Py_INCREF(Py_None
); resultobj
= Py_None
;
21528 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
;
21530 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21532 PyObject
* obj0
= 0 ;
21533 PyObject
* obj1
= 0 ;
21534 char *kwnames
[] = {
21535 (char *) "self",(char *) "enable", NULL
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21540 if (SWIG_arg_fail(1)) SWIG_fail
;
21542 arg2
= (bool)(SWIG_As_bool(obj1
));
21543 if (SWIG_arg_fail(2)) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 (arg1
)->Enable(arg2
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 Py_INCREF(Py_None
); resultobj
= Py_None
;
21559 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21562 wxString
*arg2
= 0 ;
21563 bool temp2
= false ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self",(char *) "text", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21572 if (SWIG_arg_fail(1)) SWIG_fail
;
21574 arg2
= wxString_in_helper(obj1
);
21575 if (arg2
== NULL
) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 (arg1
)->SetText((wxString
const &)*arg2
);
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 Py_INCREF(Py_None
); resultobj
= Py_None
;
21600 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
;
21603 PyObject
* obj0
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "updateInterval", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21610 arg1
= (long)(SWIG_As_long(obj0
));
21611 if (SWIG_arg_fail(1)) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 Py_INCREF(Py_None
); resultobj
= Py_None
;
21627 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21630 char *kwnames
[] = {
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= SWIG_From_long((long)(result
));
21651 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21652 PyObject
*resultobj
;
21653 wxWindow
*arg1
= (wxWindow
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "win", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21662 if (SWIG_arg_fail(1)) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21679 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 char *kwnames
[] = {
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 wxUpdateUIEvent::ResetUpdateTime();
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxUpdateUIMode arg1
;
21703 PyObject
* obj0
= 0 ;
21704 char *kwnames
[] = {
21705 (char *) "mode", NULL
21708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21710 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21711 if (SWIG_arg_fail(1)) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21720 Py_INCREF(Py_None
); resultobj
= Py_None
;
21727 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
;
21729 wxUpdateUIMode result
;
21730 char *kwnames
[] = {
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= SWIG_From_int((result
));
21749 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21752 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21754 return Py_BuildValue((char *)"");
21756 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxSysColourChangedEvent
*result
;
21759 char *kwnames
[] = {
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21778 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21781 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21783 return Py_BuildValue((char *)"");
21785 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 int arg1
= (int) 0 ;
21788 wxWindow
*arg2
= (wxWindow
*) NULL
;
21789 wxMouseCaptureChangedEvent
*result
;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "winid",(char *) "gainedCapture", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21799 arg1
= (int)(SWIG_As_int(obj0
));
21800 if (SWIG_arg_fail(1)) SWIG_fail
;
21804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21805 if (SWIG_arg_fail(2)) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21821 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21825 PyObject
* obj0
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= wxPyMake_wxObject(result
, 0);
21849 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21852 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21854 return Py_BuildValue((char *)"");
21856 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
;
21858 wxDisplayChangedEvent
*result
;
21859 char *kwnames
[] = {
21863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21878 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21881 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21883 return Py_BuildValue((char *)"");
21885 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 int arg1
= (int) 0 ;
21888 wxPaletteChangedEvent
*result
;
21889 PyObject
* obj0
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "id", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21897 arg1
= (int)(SWIG_As_int(obj0
));
21898 if (SWIG_arg_fail(1)) SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21915 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21917 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21918 wxWindow
*arg2
= (wxWindow
*) 0 ;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self",(char *) "win", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21927 if (SWIG_arg_fail(1)) SWIG_fail
;
21928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21929 if (SWIG_arg_fail(2)) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 (arg1
)->SetChangedWindow(arg2
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 Py_INCREF(Py_None
); resultobj
= Py_None
;
21944 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 char *kwnames
[] = {
21950 (char *) "self", NULL
21953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21955 if (SWIG_arg_fail(1)) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= wxPyMake_wxObject(result
, 0);
21972 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21975 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21977 return Py_BuildValue((char *)"");
21979 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 int arg1
= (int) 0 ;
21982 wxQueryNewPaletteEvent
*result
;
21983 PyObject
* obj0
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "winid", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21991 arg1
= (int)(SWIG_As_int(obj0
));
21992 if (SWIG_arg_fail(1)) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
22009 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
22013 PyObject
* obj0
= 0 ;
22014 PyObject
* obj1
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self",(char *) "realized", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
22020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
22021 if (SWIG_arg_fail(1)) SWIG_fail
;
22023 arg2
= (bool)(SWIG_As_bool(obj1
));
22024 if (SWIG_arg_fail(2)) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 (arg1
)->SetPaletteRealized(arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22033 Py_INCREF(Py_None
); resultobj
= Py_None
;
22040 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
;
22042 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
22044 PyObject
* obj0
= 0 ;
22045 char *kwnames
[] = {
22046 (char *) "self", NULL
22049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
22050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
22051 if (SWIG_arg_fail(1)) SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22068 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
22070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22071 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
22073 return Py_BuildValue((char *)"");
22075 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxNavigationKeyEvent
*result
;
22078 char *kwnames
[] = {
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
22097 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22101 PyObject
* obj0
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
22107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22108 if (SWIG_arg_fail(1)) SWIG_fail
;
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22125 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22127 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22129 PyObject
* obj0
= 0 ;
22130 PyObject
* obj1
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self",(char *) "forward", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
22136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22137 if (SWIG_arg_fail(1)) SWIG_fail
;
22139 arg2
= (bool)(SWIG_As_bool(obj1
));
22140 if (SWIG_arg_fail(2)) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 (arg1
)->SetDirection(arg2
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 Py_INCREF(Py_None
); resultobj
= Py_None
;
22156 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22160 PyObject
* obj0
= 0 ;
22161 char *kwnames
[] = {
22162 (char *) "self", NULL
22165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
22166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22167 if (SWIG_arg_fail(1)) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22184 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22188 PyObject
* obj0
= 0 ;
22189 PyObject
* obj1
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self",(char *) "ischange", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
22195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22196 if (SWIG_arg_fail(1)) SWIG_fail
;
22198 arg2
= (bool)(SWIG_As_bool(obj1
));
22199 if (SWIG_arg_fail(2)) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 (arg1
)->SetWindowChange(arg2
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 Py_INCREF(Py_None
); resultobj
= Py_None
;
22215 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
22225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22226 if (SWIG_arg_fail(1)) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22243 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22245 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22247 PyObject
* obj0
= 0 ;
22248 PyObject
* obj1
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self",(char *) "bIs", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
22254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22255 if (SWIG_arg_fail(1)) SWIG_fail
;
22257 arg2
= (bool)(SWIG_As_bool(obj1
));
22258 if (SWIG_arg_fail(2)) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 (arg1
)->SetFromTab(arg2
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 Py_INCREF(Py_None
); resultobj
= Py_None
;
22274 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "flags", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
22285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22286 if (SWIG_arg_fail(1)) SWIG_fail
;
22288 arg2
= (long)(SWIG_As_long(obj1
));
22289 if (SWIG_arg_fail(2)) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 (arg1
)->SetFlags(arg2
);
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 Py_INCREF(Py_None
); resultobj
= Py_None
;
22305 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22309 PyObject
* obj0
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
22315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22316 if (SWIG_arg_fail(1)) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= wxPyMake_wxObject(result
, 0);
22333 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
;
22335 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
22336 wxWindow
*arg2
= (wxWindow
*) 0 ;
22337 PyObject
* obj0
= 0 ;
22338 PyObject
* obj1
= 0 ;
22339 char *kwnames
[] = {
22340 (char *) "self",(char *) "win", NULL
22343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
22344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22345 if (SWIG_arg_fail(1)) SWIG_fail
;
22346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22347 if (SWIG_arg_fail(2)) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 (arg1
)->SetCurrentFocus(arg2
);
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 Py_INCREF(Py_None
); resultobj
= Py_None
;
22362 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
22364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22365 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
22367 return Py_BuildValue((char *)"");
22369 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxWindow
*arg1
= (wxWindow
*) NULL
;
22372 wxWindowCreateEvent
*result
;
22373 PyObject
* obj0
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "win", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
22380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22381 if (SWIG_arg_fail(1)) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
22397 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
22407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22408 if (SWIG_arg_fail(1)) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= wxPyMake_wxObject(result
, 0);
22425 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
22427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22428 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
22430 return Py_BuildValue((char *)"");
22432 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxWindow
*arg1
= (wxWindow
*) NULL
;
22435 wxWindowDestroyEvent
*result
;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "win", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
22443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
22460 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
22470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22471 if (SWIG_arg_fail(1)) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= wxPyMake_wxObject(result
, 0);
22488 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
22490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22491 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
22493 return Py_BuildValue((char *)"");
22495 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22498 int arg2
= (int) 0 ;
22499 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22500 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22501 wxContextMenuEvent
*result
;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 PyObject
* obj2
= 0 ;
22506 char *kwnames
[] = {
22507 (char *) "type",(char *) "winid",(char *) "pt", NULL
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22513 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22514 if (SWIG_arg_fail(1)) SWIG_fail
;
22519 arg2
= (int)(SWIG_As_int(obj1
));
22520 if (SWIG_arg_fail(2)) SWIG_fail
;
22526 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22543 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22544 PyObject
*resultobj
;
22545 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22547 PyObject
* obj0
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22554 if (SWIG_arg_fail(1)) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22559 result
= (wxPoint
*) &_result_ref
;
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22572 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22575 wxPoint
*arg2
= 0 ;
22577 PyObject
* obj0
= 0 ;
22578 PyObject
* obj1
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self",(char *) "pos", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22585 if (SWIG_arg_fail(1)) SWIG_fail
;
22588 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 Py_INCREF(Py_None
); resultobj
= Py_None
;
22604 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22607 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22609 return Py_BuildValue((char *)"");
22611 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22613 wxIdleEvent
*result
;
22614 char *kwnames
[] = {
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (wxIdleEvent
*)new wxIdleEvent();
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22633 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22636 bool arg2
= (bool) true ;
22637 PyObject
* obj0
= 0 ;
22638 PyObject
* obj1
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self",(char *) "needMore", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22645 if (SWIG_arg_fail(1)) SWIG_fail
;
22648 arg2
= (bool)(SWIG_As_bool(obj1
));
22649 if (SWIG_arg_fail(2)) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 (arg1
)->RequestMore(arg2
);
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 Py_INCREF(Py_None
); resultobj
= Py_None
;
22666 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22667 PyObject
*resultobj
;
22668 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22677 if (SWIG_arg_fail(1)) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22694 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22697 PyObject
* obj0
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "mode", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22704 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22705 if (SWIG_arg_fail(1)) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 Py_INCREF(Py_None
); resultobj
= Py_None
;
22721 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22724 char *kwnames
[] = {
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22736 resultobj
= SWIG_From_int((result
));
22743 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22745 wxWindow
*arg1
= (wxWindow
*) 0 ;
22747 PyObject
* obj0
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "win", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22754 if (SWIG_arg_fail(1)) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 result
= (bool)wxIdleEvent::CanSend(arg1
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22771 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22774 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22776 return Py_BuildValue((char *)"");
22778 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22779 PyObject
*resultobj
;
22780 int arg1
= (int) 0 ;
22781 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22783 PyObject
* obj0
= 0 ;
22784 PyObject
* obj1
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "winid",(char *) "eventType", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22792 arg1
= (int)(SWIG_As_int(obj0
));
22793 if (SWIG_arg_fail(1)) SWIG_fail
;
22798 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22799 if (SWIG_arg_fail(2)) SWIG_fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22816 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22818 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22819 PyObject
* obj0
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "self", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22826 if (SWIG_arg_fail(1)) SWIG_fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 Py_INCREF(Py_None
); resultobj
= Py_None
;
22841 static PyObject
*_wrap_PyEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22844 PyObject
*arg2
= (PyObject
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "self", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22853 if (SWIG_arg_fail(1)) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 (arg1
)->SetSelf(arg2
);
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 Py_INCREF(Py_None
); resultobj
= Py_None
;
22869 static PyObject
*_wrap_PyEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22880 if (SWIG_arg_fail(1)) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (PyObject
*)(arg1
)->GetSelf();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= result
;
22895 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22898 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22900 return Py_BuildValue((char *)"");
22902 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22905 int arg2
= (int) 0 ;
22906 wxPyCommandEvent
*result
;
22907 PyObject
* obj0
= 0 ;
22908 PyObject
* obj1
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "eventType",(char *) "id", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22916 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22917 if (SWIG_arg_fail(1)) SWIG_fail
;
22922 arg2
= (int)(SWIG_As_int(obj1
));
22923 if (SWIG_arg_fail(2)) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22940 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22942 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22943 PyObject
* obj0
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "self", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22950 if (SWIG_arg_fail(1)) SWIG_fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 Py_INCREF(Py_None
); resultobj
= Py_None
;
22965 static PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22968 PyObject
*arg2
= (PyObject
*) 0 ;
22969 PyObject
* obj0
= 0 ;
22970 PyObject
* obj1
= 0 ;
22971 char *kwnames
[] = {
22972 (char *) "self",(char *) "self", NULL
22975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22977 if (SWIG_arg_fail(1)) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->SetSelf(arg2
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22997 PyObject
* obj0
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "self", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
23003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
23004 if (SWIG_arg_fail(1)) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (PyObject
*)(arg1
)->GetSelf();
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= result
;
23019 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
23021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23022 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
23024 return Py_BuildValue((char *)"");
23026 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23027 PyObject
*resultobj
;
23028 wxWindow
*arg1
= (wxWindow
*) 0 ;
23029 wxDateTime
*arg2
= 0 ;
23031 wxDateEvent
*result
;
23032 PyObject
* obj0
= 0 ;
23033 PyObject
* obj1
= 0 ;
23034 PyObject
* obj2
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "win",(char *) "dt",(char *) "type", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23041 if (SWIG_arg_fail(1)) SWIG_fail
;
23043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23044 if (SWIG_arg_fail(2)) SWIG_fail
;
23045 if (arg2
== NULL
) {
23046 SWIG_null_ref("wxDateTime");
23048 if (SWIG_arg_fail(2)) SWIG_fail
;
23051 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
23052 if (SWIG_arg_fail(3)) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
23068 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23069 PyObject
*resultobj
;
23070 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
23071 wxDateTime
*result
;
23072 PyObject
* obj0
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
23078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
23079 if (SWIG_arg_fail(1)) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
23084 result
= (wxDateTime
*) &_result_ref
;
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
23097 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
23100 wxDateTime
*arg2
= 0 ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self",(char *) "date", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
23109 if (SWIG_arg_fail(1)) SWIG_fail
;
23111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23112 if (SWIG_arg_fail(2)) SWIG_fail
;
23113 if (arg2
== NULL
) {
23114 SWIG_null_ref("wxDateTime");
23116 if (SWIG_arg_fail(2)) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 Py_INCREF(Py_None
); resultobj
= Py_None
;
23132 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
23134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23135 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
23137 return Py_BuildValue((char *)"");
23139 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23142 char *kwnames
[] = {
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 result
= (wxPyApp
*)new_wxPyApp();
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
23161 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
23170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23171 if (SWIG_arg_fail(1)) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 Py_INCREF(Py_None
); resultobj
= Py_None
;
23186 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23189 PyObject
*arg2
= (PyObject
*) 0 ;
23190 PyObject
*arg3
= (PyObject
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 PyObject
* obj2
= 0 ;
23195 PyObject
* obj3
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23202 if (SWIG_arg_fail(1)) SWIG_fail
;
23206 arg4
= (bool)(SWIG_As_bool(obj3
));
23207 if (SWIG_arg_fail(4)) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 Py_INCREF(Py_None
); resultobj
= Py_None
;
23223 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23225 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
23233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= ((wxPyApp
const *)arg1
)->GetAppName();
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23255 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
;
23257 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23258 wxString
*arg2
= 0 ;
23259 bool temp2
= false ;
23260 PyObject
* obj0
= 0 ;
23261 PyObject
* obj1
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self",(char *) "name", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
23267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23268 if (SWIG_arg_fail(1)) SWIG_fail
;
23270 arg2
= wxString_in_helper(obj1
);
23271 if (arg2
== NULL
) SWIG_fail
;
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 (arg1
)->SetAppName((wxString
const &)*arg2
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 Py_INCREF(Py_None
); resultobj
= Py_None
;
23296 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23300 PyObject
* obj0
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
23306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23307 if (SWIG_arg_fail(1)) SWIG_fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= ((wxPyApp
const *)arg1
)->GetClassName();
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23328 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23331 wxString
*arg2
= 0 ;
23332 bool temp2
= false ;
23333 PyObject
* obj0
= 0 ;
23334 PyObject
* obj1
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self",(char *) "name", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
23340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail
;
23343 arg2
= wxString_in_helper(obj1
);
23344 if (arg2
== NULL
) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 (arg1
)->SetClassName((wxString
const &)*arg2
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 Py_INCREF(Py_None
); resultobj
= Py_None
;
23369 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
;
23371 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23373 PyObject
* obj0
= 0 ;
23374 char *kwnames
[] = {
23375 (char *) "self", NULL
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
23379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23380 if (SWIG_arg_fail(1)) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
23385 result
= (wxString
*) &_result_ref
;
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23395 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23404 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23407 wxString
*arg2
= 0 ;
23408 bool temp2
= false ;
23409 PyObject
* obj0
= 0 ;
23410 PyObject
* obj1
= 0 ;
23411 char *kwnames
[] = {
23412 (char *) "self",(char *) "name", NULL
23415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
23416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23417 if (SWIG_arg_fail(1)) SWIG_fail
;
23419 arg2
= wxString_in_helper(obj1
);
23420 if (arg2
== NULL
) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 (arg1
)->SetVendorName((wxString
const &)*arg2
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 Py_INCREF(Py_None
); resultobj
= Py_None
;
23445 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
;
23447 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23448 wxAppTraits
*result
;
23449 PyObject
* obj0
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
23455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23456 if (SWIG_arg_fail(1)) SWIG_fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= (wxAppTraits
*)(arg1
)->GetTraits();
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
23471 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
;
23473 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23474 PyObject
* obj0
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "self", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
23480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23481 if (SWIG_arg_fail(1)) SWIG_fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 (arg1
)->ProcessPendingEvents();
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 Py_INCREF(Py_None
); resultobj
= Py_None
;
23496 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23499 bool arg2
= (bool) false ;
23501 PyObject
* obj0
= 0 ;
23502 PyObject
* obj1
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self",(char *) "onlyIfNeeded", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
23508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23509 if (SWIG_arg_fail(1)) SWIG_fail
;
23512 arg2
= (bool)(SWIG_As_bool(obj1
));
23513 if (SWIG_arg_fail(2)) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (bool)(arg1
)->Yield(arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23532 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23534 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23535 PyObject
* obj0
= 0 ;
23536 char *kwnames
[] = {
23537 (char *) "self", NULL
23540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23542 if (SWIG_arg_fail(1)) SWIG_fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 (arg1
)->WakeUpIdle();
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 Py_INCREF(Py_None
); resultobj
= Py_None
;
23557 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23560 char *kwnames
[] = {
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (bool)wxPyApp::IsMainLoopRunning();
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23581 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23583 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23585 PyObject
* obj0
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23592 if (SWIG_arg_fail(1)) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= (int)(arg1
)->MainLoop();
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= SWIG_From_int((int)(result
));
23609 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23612 PyObject
* obj0
= 0 ;
23613 char *kwnames
[] = {
23614 (char *) "self", NULL
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23619 if (SWIG_arg_fail(1)) SWIG_fail
;
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 Py_INCREF(Py_None
); resultobj
= Py_None
;
23634 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23635 PyObject
*resultobj
;
23636 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23637 PyObject
* obj0
= 0 ;
23638 char *kwnames
[] = {
23639 (char *) "self", NULL
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23644 if (SWIG_arg_fail(1)) SWIG_fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 (arg1
)->ExitMainLoop();
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 Py_INCREF(Py_None
); resultobj
= Py_None
;
23659 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23663 PyObject
* obj0
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= (bool)(arg1
)->Pending();
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23687 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
;
23689 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23691 PyObject
* obj0
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23698 if (SWIG_arg_fail(1)) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (bool)(arg1
)->Dispatch();
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23715 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23726 if (SWIG_arg_fail(1)) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (bool)(arg1
)->ProcessIdle();
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23743 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23746 wxWindow
*arg2
= (wxWindow
*) 0 ;
23747 wxIdleEvent
*arg3
= 0 ;
23749 PyObject
* obj0
= 0 ;
23750 PyObject
* obj1
= 0 ;
23751 PyObject
* obj2
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self",(char *) "win",(char *) "event", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23758 if (SWIG_arg_fail(1)) SWIG_fail
;
23759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23760 if (SWIG_arg_fail(2)) SWIG_fail
;
23762 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23763 if (SWIG_arg_fail(3)) SWIG_fail
;
23764 if (arg3
== NULL
) {
23765 SWIG_null_ref("wxIdleEvent");
23767 if (SWIG_arg_fail(3)) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23785 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23789 PyObject
* obj0
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23796 if (SWIG_arg_fail(1)) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23813 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23816 wxWindow
*arg2
= (wxWindow
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self",(char *) "win", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail
;
23826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23827 if (SWIG_arg_fail(2)) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 (arg1
)->SetTopWindow(arg2
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 Py_INCREF(Py_None
); resultobj
= Py_None
;
23842 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
;
23844 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23846 PyObject
* obj0
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "self", NULL
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23853 if (SWIG_arg_fail(1)) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= wxPyMake_wxObject(result
, 0);
23870 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
;
23872 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self",(char *) "flag", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23882 if (SWIG_arg_fail(1)) SWIG_fail
;
23884 arg2
= (bool)(SWIG_As_bool(obj1
));
23885 if (SWIG_arg_fail(2)) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 (arg1
)->SetExitOnFrameDelete(arg2
);
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 Py_INCREF(Py_None
); resultobj
= Py_None
;
23901 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23905 PyObject
* obj0
= 0 ;
23906 char *kwnames
[] = {
23907 (char *) "self", NULL
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23912 if (SWIG_arg_fail(1)) SWIG_fail
;
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23929 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23933 PyObject
* obj0
= 0 ;
23934 PyObject
* obj1
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self",(char *) "flag", NULL
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23941 if (SWIG_arg_fail(1)) SWIG_fail
;
23943 arg2
= (bool)(SWIG_As_bool(obj1
));
23944 if (SWIG_arg_fail(2)) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 (arg1
)->SetUseBestVisual(arg2
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 Py_INCREF(Py_None
); resultobj
= Py_None
;
23960 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23964 PyObject
* obj0
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23971 if (SWIG_arg_fail(1)) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23988 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "mode", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24000 if (SWIG_arg_fail(1)) SWIG_fail
;
24002 arg2
= (int)(SWIG_As_int(obj1
));
24003 if (SWIG_arg_fail(2)) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->SetPrintMode(arg2
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24023 PyObject
* obj0
= 0 ;
24024 char *kwnames
[] = {
24025 (char *) "self", NULL
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
24029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24030 if (SWIG_arg_fail(1)) SWIG_fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_From_int((int)(result
));
24047 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24048 PyObject
*resultobj
;
24049 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24051 PyObject
* obj0
= 0 ;
24052 PyObject
* obj1
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self",(char *) "mode", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
24058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24059 if (SWIG_arg_fail(1)) SWIG_fail
;
24061 arg2
= (int)(SWIG_As_int(obj1
));
24062 if (SWIG_arg_fail(2)) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 (arg1
)->SetAssertMode(arg2
);
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 Py_INCREF(Py_None
); resultobj
= Py_None
;
24078 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24082 PyObject
* obj0
= 0 ;
24083 char *kwnames
[] = {
24084 (char *) "self", NULL
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
24088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24089 if (SWIG_arg_fail(1)) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 result
= (int)(arg1
)->GetAssertMode();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= SWIG_From_int((int)(result
));
24106 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24109 char *kwnames
[] = {
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24130 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24133 char *kwnames
[] = {
24137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (long)wxPyApp::GetMacAboutMenuItemId();
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= SWIG_From_long((long)(result
));
24154 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24157 char *kwnames
[] = {
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= SWIG_From_long((long)(result
));
24178 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24179 PyObject
*resultobj
;
24181 char *kwnames
[] = {
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (long)wxPyApp::GetMacExitMenuItemId();
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= SWIG_From_long((long)(result
));
24202 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24205 char *kwnames
[] = {
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= wxPyApp::GetMacHelpMenuTitleName();
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24230 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
;
24233 PyObject
* obj0
= 0 ;
24234 char *kwnames
[] = {
24235 (char *) "val", NULL
24238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
24240 arg1
= (bool)(SWIG_As_bool(obj0
));
24241 if (SWIG_arg_fail(1)) SWIG_fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24250 Py_INCREF(Py_None
); resultobj
= Py_None
;
24257 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24258 PyObject
*resultobj
;
24260 PyObject
* obj0
= 0 ;
24261 char *kwnames
[] = {
24262 (char *) "val", NULL
24265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
24267 arg1
= (long)(SWIG_As_long(obj0
));
24268 if (SWIG_arg_fail(1)) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 wxPyApp::SetMacAboutMenuItemId(arg1
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 Py_INCREF(Py_None
); resultobj
= Py_None
;
24284 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24287 PyObject
* obj0
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "val", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
24294 arg1
= (long)(SWIG_As_long(obj0
));
24295 if (SWIG_arg_fail(1)) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 Py_INCREF(Py_None
); resultobj
= Py_None
;
24311 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24314 PyObject
* obj0
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "val", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
24321 arg1
= (long)(SWIG_As_long(obj0
));
24322 if (SWIG_arg_fail(1)) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 wxPyApp::SetMacExitMenuItemId(arg1
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 Py_INCREF(Py_None
); resultobj
= Py_None
;
24338 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24340 wxString
*arg1
= 0 ;
24341 bool temp1
= false ;
24342 PyObject
* obj0
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "val", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
24349 arg1
= wxString_in_helper(obj0
);
24350 if (arg1
== NULL
) SWIG_fail
;
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 Py_INCREF(Py_None
); resultobj
= Py_None
;
24375 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
;
24377 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
24378 PyObject
* obj0
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
24384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
24385 if (SWIG_arg_fail(1)) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 (arg1
)->_BootstrapApp();
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 Py_INCREF(Py_None
); resultobj
= Py_None
;
24400 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
;
24403 char *kwnames
[] = {
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (int)wxPyApp::GetComCtl32Version();
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= SWIG_From_int((int)(result
));
24424 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
24426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24427 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
24429 return Py_BuildValue((char *)"");
24431 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 char *kwnames
[] = {
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24445 Py_INCREF(Py_None
); resultobj
= Py_None
;
24452 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
;
24455 char *kwnames
[] = {
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 result
= (bool)wxYield();
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24476 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24479 char *kwnames
[] = {
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 result
= (bool)wxYieldIfNeeded();
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24500 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
;
24502 wxWindow
*arg1
= (wxWindow
*) NULL
;
24503 bool arg2
= (bool) false ;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj1
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "win",(char *) "onlyIfNeeded", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
24513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24514 if (SWIG_arg_fail(1)) SWIG_fail
;
24518 arg2
= (bool)(SWIG_As_bool(obj1
));
24519 if (SWIG_arg_fail(2)) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 result
= (bool)wxSafeYield(arg1
,arg2
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24538 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 char *kwnames
[] = {
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 Py_INCREF(Py_None
); resultobj
= Py_None
;
24559 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24562 wxEvent
*arg2
= 0 ;
24563 PyObject
* obj0
= 0 ;
24564 PyObject
* obj1
= 0 ;
24565 char *kwnames
[] = {
24566 (char *) "dest",(char *) "event", NULL
24569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24571 if (SWIG_arg_fail(1)) SWIG_fail
;
24573 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24574 if (SWIG_arg_fail(2)) SWIG_fail
;
24575 if (arg2
== NULL
) {
24576 SWIG_null_ref("wxEvent");
24578 if (SWIG_arg_fail(2)) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 wxPostEvent(arg1
,*arg2
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 Py_INCREF(Py_None
); resultobj
= Py_None
;
24594 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
;
24596 char *kwnames
[] = {
24600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 Py_INCREF(Py_None
); resultobj
= Py_None
;
24615 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24618 char *kwnames
[] = {
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 result
= (wxPyApp
*)wxPyGetApp();
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24631 resultobj
= wxPyMake_wxObject(result
, 0);
24639 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24640 PyObject
*resultobj
;
24641 char *arg1
= (char *) 0 ;
24642 PyObject
* obj0
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "encoding", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24648 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24649 SWIG_arg_fail(1);SWIG_fail
;
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 wxSetDefaultPyEncoding((char const *)arg1
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 Py_INCREF(Py_None
); resultobj
= Py_None
;
24665 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24668 char *kwnames
[] = {
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (char *)wxGetDefaultPyEncoding();
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_FromCharPtr(result
);
24687 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
;
24689 wxEventLoop
*result
;
24690 char *kwnames
[] = {
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (wxEventLoop
*)new wxEventLoop();
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24709 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24712 PyObject
* obj0
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24719 if (SWIG_arg_fail(1)) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 Py_INCREF(Py_None
); resultobj
= Py_None
;
24734 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "self", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24745 if (SWIG_arg_fail(1)) SWIG_fail
;
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= (int)(arg1
)->Run();
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= SWIG_From_int((int)(result
));
24762 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24765 int arg2
= (int) 0 ;
24766 PyObject
* obj0
= 0 ;
24767 PyObject
* obj1
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self",(char *) "rc", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24774 if (SWIG_arg_fail(1)) SWIG_fail
;
24777 arg2
= (int)(SWIG_As_int(obj1
));
24778 if (SWIG_arg_fail(2)) SWIG_fail
;
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 (arg1
)->Exit(arg2
);
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24788 Py_INCREF(Py_None
); resultobj
= Py_None
;
24795 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24799 PyObject
* obj0
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24806 if (SWIG_arg_fail(1)) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24823 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24827 PyObject
* obj0
= 0 ;
24828 char *kwnames
[] = {
24829 (char *) "self", NULL
24832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24834 if (SWIG_arg_fail(1)) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= (bool)(arg1
)->Dispatch();
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24851 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24862 if (SWIG_arg_fail(1)) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24879 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxEventLoop
*result
;
24882 char *kwnames
[] = {
24886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24901 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
;
24903 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "loop", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 wxEventLoop::SetActive(arg1
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 Py_INCREF(Py_None
); resultobj
= Py_None
;
24926 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24929 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24931 return Py_BuildValue((char *)"");
24933 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 int arg1
= (int) 0 ;
24936 int arg2
= (int) 0 ;
24937 int arg3
= (int) 0 ;
24938 wxAcceleratorEntry
*result
;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 PyObject
* obj2
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24949 arg1
= (int)(SWIG_As_int(obj0
));
24950 if (SWIG_arg_fail(1)) SWIG_fail
;
24955 arg2
= (int)(SWIG_As_int(obj1
));
24956 if (SWIG_arg_fail(2)) SWIG_fail
;
24961 arg3
= (int)(SWIG_As_int(obj2
));
24962 if (SWIG_arg_fail(3)) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24979 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "self", NULL
24987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24989 if (SWIG_arg_fail(1)) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 Py_INCREF(Py_None
); resultobj
= Py_None
;
25004 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
;
25006 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25010 PyObject
* obj0
= 0 ;
25011 PyObject
* obj1
= 0 ;
25012 PyObject
* obj2
= 0 ;
25013 PyObject
* obj3
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail
;
25022 arg2
= (int)(SWIG_As_int(obj1
));
25023 if (SWIG_arg_fail(2)) SWIG_fail
;
25026 arg3
= (int)(SWIG_As_int(obj2
));
25027 if (SWIG_arg_fail(3)) SWIG_fail
;
25030 arg4
= (int)(SWIG_As_int(obj3
));
25031 if (SWIG_arg_fail(4)) SWIG_fail
;
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 (arg1
)->Set(arg2
,arg3
,arg4
);
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25040 Py_INCREF(Py_None
); resultobj
= Py_None
;
25047 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
;
25049 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25051 PyObject
* obj0
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
25057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25058 if (SWIG_arg_fail(1)) SWIG_fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 result
= (int)(arg1
)->GetFlags();
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= SWIG_From_int((int)(result
));
25075 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25079 PyObject
* obj0
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25086 if (SWIG_arg_fail(1)) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (int)(arg1
)->GetKeyCode();
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= SWIG_From_int((int)(result
));
25103 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
25107 PyObject
* obj0
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "self", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
25113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
25114 if (SWIG_arg_fail(1)) SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= (int)(arg1
)->GetCommand();
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= SWIG_From_int((int)(result
));
25131 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
25133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25134 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
25136 return Py_BuildValue((char *)"");
25138 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25141 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
25142 wxAcceleratorTable
*result
;
25143 PyObject
* obj0
= 0 ;
25144 char *kwnames
[] = {
25148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
25150 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
25151 if (arg2
) arg1
= PyList_Size(obj0
);
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
25174 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
;
25176 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
25177 PyObject
* obj0
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "self", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
25183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
25184 if (SWIG_arg_fail(1)) SWIG_fail
;
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 Py_INCREF(Py_None
); resultobj
= Py_None
;
25199 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
25203 PyObject
* obj0
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
25209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
25210 if (SWIG_arg_fail(1)) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25227 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
25229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25230 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
25232 return Py_BuildValue((char *)"");
25234 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
25235 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
25240 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
25243 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25248 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxString
*arg1
= 0 ;
25251 wxAcceleratorEntry
*result
;
25252 bool temp1
= false ;
25253 PyObject
* obj0
= 0 ;
25254 char *kwnames
[] = {
25255 (char *) "label", NULL
25258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
25260 arg1
= wxString_in_helper(obj0
);
25261 if (arg1
== NULL
) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
25286 static int _wrap_PanelNameStr_set(PyObject
*) {
25287 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
25292 static PyObject
*_wrap_PanelNameStr_get(void) {
25297 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
25299 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
25306 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxVisualAttributes
*result
;
25309 char *kwnames
[] = {
25313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
25328 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
;
25330 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25331 PyObject
* obj0
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
25337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25338 if (SWIG_arg_fail(1)) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 delete_wxVisualAttributes(arg1
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 Py_INCREF(Py_None
); resultobj
= Py_None
;
25353 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25356 wxFont
*arg2
= (wxFont
*) 0 ;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self",(char *) "font", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25365 if (SWIG_arg_fail(1)) SWIG_fail
;
25366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
25367 if (SWIG_arg_fail(2)) SWIG_fail
;
25368 if (arg1
) (arg1
)->font
= *arg2
;
25370 Py_INCREF(Py_None
); resultobj
= Py_None
;
25377 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
;
25379 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25381 PyObject
* obj0
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "self", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
25387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25388 if (SWIG_arg_fail(1)) SWIG_fail
;
25389 result
= (wxFont
*)& ((arg1
)->font
);
25391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
25398 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25401 wxColour
*arg2
= (wxColour
*) 0 ;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 char *kwnames
[] = {
25405 (char *) "self",(char *) "colFg", NULL
25408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25410 if (SWIG_arg_fail(1)) SWIG_fail
;
25411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
25412 if (SWIG_arg_fail(2)) SWIG_fail
;
25413 if (arg1
) (arg1
)->colFg
= *arg2
;
25415 Py_INCREF(Py_None
); resultobj
= Py_None
;
25422 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
25432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25433 if (SWIG_arg_fail(1)) SWIG_fail
;
25434 result
= (wxColour
*)& ((arg1
)->colFg
);
25436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
25443 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
;
25445 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25446 wxColour
*arg2
= (wxColour
*) 0 ;
25447 PyObject
* obj0
= 0 ;
25448 PyObject
* obj1
= 0 ;
25449 char *kwnames
[] = {
25450 (char *) "self",(char *) "colBg", NULL
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
25454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25455 if (SWIG_arg_fail(1)) SWIG_fail
;
25456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
25457 if (SWIG_arg_fail(2)) SWIG_fail
;
25458 if (arg1
) (arg1
)->colBg
= *arg2
;
25460 Py_INCREF(Py_None
); resultobj
= Py_None
;
25467 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25469 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 char *kwnames
[] = {
25473 (char *) "self", NULL
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
25477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
25478 if (SWIG_arg_fail(1)) SWIG_fail
;
25479 result
= (wxColour
*)& ((arg1
)->colBg
);
25481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
25488 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
25490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25491 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
25493 return Py_BuildValue((char *)"");
25495 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25497 wxWindow
*arg1
= (wxWindow
*) 0 ;
25498 int arg2
= (int) (int)-1 ;
25499 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25500 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25501 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25502 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25503 long arg5
= (long) 0 ;
25504 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25505 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25509 bool temp6
= false ;
25510 PyObject
* obj0
= 0 ;
25511 PyObject
* obj1
= 0 ;
25512 PyObject
* obj2
= 0 ;
25513 PyObject
* obj3
= 0 ;
25514 PyObject
* obj4
= 0 ;
25515 PyObject
* obj5
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25522 if (SWIG_arg_fail(1)) SWIG_fail
;
25525 arg2
= (int const)(SWIG_As_int(obj1
));
25526 if (SWIG_arg_fail(2)) SWIG_fail
;
25532 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25538 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25543 arg5
= (long)(SWIG_As_long(obj4
));
25544 if (SWIG_arg_fail(5)) SWIG_fail
;
25549 arg6
= wxString_in_helper(obj5
);
25550 if (arg6
== NULL
) SWIG_fail
;
25555 if (!wxPyCheckForApp()) SWIG_fail
;
25556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25557 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25577 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
;
25580 char *kwnames
[] = {
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25586 if (!wxPyCheckForApp()) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= (wxWindow
*)new wxWindow();
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25600 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
;
25602 wxWindow
*arg1
= (wxWindow
*) 0 ;
25603 wxWindow
*arg2
= (wxWindow
*) 0 ;
25604 int arg3
= (int) (int)-1 ;
25605 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25606 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25607 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25608 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25609 long arg6
= (long) 0 ;
25610 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25611 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25615 bool temp7
= false ;
25616 PyObject
* obj0
= 0 ;
25617 PyObject
* obj1
= 0 ;
25618 PyObject
* obj2
= 0 ;
25619 PyObject
* obj3
= 0 ;
25620 PyObject
* obj4
= 0 ;
25621 PyObject
* obj5
= 0 ;
25622 PyObject
* obj6
= 0 ;
25623 char *kwnames
[] = {
25624 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25629 if (SWIG_arg_fail(1)) SWIG_fail
;
25630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25631 if (SWIG_arg_fail(2)) SWIG_fail
;
25634 arg3
= (int const)(SWIG_As_int(obj2
));
25635 if (SWIG_arg_fail(3)) SWIG_fail
;
25641 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25647 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25652 arg6
= (long)(SWIG_As_long(obj5
));
25653 if (SWIG_arg_fail(6)) SWIG_fail
;
25658 arg7
= wxString_in_helper(obj6
);
25659 if (arg7
== NULL
) SWIG_fail
;
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25687 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxWindow
*arg1
= (wxWindow
*) 0 ;
25690 bool arg2
= (bool) false ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self",(char *) "force", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25700 if (SWIG_arg_fail(1)) SWIG_fail
;
25703 arg2
= (bool)(SWIG_As_bool(obj1
));
25704 if (SWIG_arg_fail(2)) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 result
= (bool)(arg1
)->Close(arg2
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25723 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxWindow
*arg1
= (wxWindow
*) 0 ;
25727 PyObject
* obj0
= 0 ;
25728 char *kwnames
[] = {
25729 (char *) "self", NULL
25732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25734 if (SWIG_arg_fail(1)) SWIG_fail
;
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (bool)(arg1
)->Destroy();
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25751 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
;
25753 wxWindow
*arg1
= (wxWindow
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail
;
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 result
= (bool)(arg1
)->DestroyChildren();
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25779 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
;
25781 wxWindow
*arg1
= (wxWindow
*) 0 ;
25783 PyObject
* obj0
= 0 ;
25784 char *kwnames
[] = {
25785 (char *) "self", NULL
25788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25790 if (SWIG_arg_fail(1)) SWIG_fail
;
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25807 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25808 PyObject
*resultobj
;
25809 wxWindow
*arg1
= (wxWindow
*) 0 ;
25810 wxString
*arg2
= 0 ;
25811 bool temp2
= false ;
25812 PyObject
* obj0
= 0 ;
25813 PyObject
* obj1
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "self",(char *) "label", NULL
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25820 if (SWIG_arg_fail(1)) SWIG_fail
;
25822 arg2
= wxString_in_helper(obj1
);
25823 if (arg2
== NULL
) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 (arg1
)->SetLabel((wxString
const &)*arg2
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25833 Py_INCREF(Py_None
); resultobj
= Py_None
;
25848 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25849 PyObject
*resultobj
;
25850 wxWindow
*arg1
= (wxWindow
*) 0 ;
25852 PyObject
* obj0
= 0 ;
25853 char *kwnames
[] = {
25854 (char *) "self", NULL
25857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25859 if (SWIG_arg_fail(1)) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= ((wxWindow
const *)arg1
)->GetLabel();
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25880 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
;
25882 wxWindow
*arg1
= (wxWindow
*) 0 ;
25883 wxString
*arg2
= 0 ;
25884 bool temp2
= false ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "name", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25893 if (SWIG_arg_fail(1)) SWIG_fail
;
25895 arg2
= wxString_in_helper(obj1
);
25896 if (arg2
== NULL
) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 (arg1
)->SetName((wxString
const &)*arg2
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 Py_INCREF(Py_None
); resultobj
= Py_None
;
25921 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxWindow
*arg1
= (wxWindow
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail
;
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 result
= ((wxWindow
const *)arg1
)->GetName();
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25953 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxWindow
*arg1
= (wxWindow
*) 0 ;
25956 wxWindowVariant arg2
;
25957 PyObject
* obj0
= 0 ;
25958 PyObject
* obj1
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "variant", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail
;
25967 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25968 if (SWIG_arg_fail(2)) SWIG_fail
;
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 Py_INCREF(Py_None
); resultobj
= Py_None
;
25984 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
;
25986 wxWindow
*arg1
= (wxWindow
*) 0 ;
25987 wxWindowVariant result
;
25988 PyObject
* obj0
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25995 if (SWIG_arg_fail(1)) SWIG_fail
;
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= SWIG_From_int((result
));
26010 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxWindow
*arg1
= (wxWindow
*) 0 ;
26014 PyObject
* obj0
= 0 ;
26015 PyObject
* obj1
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self",(char *) "winid", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26022 if (SWIG_arg_fail(1)) SWIG_fail
;
26024 arg2
= (int)(SWIG_As_int(obj1
));
26025 if (SWIG_arg_fail(2)) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 (arg1
)->SetId(arg2
);
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 Py_INCREF(Py_None
); resultobj
= Py_None
;
26041 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxWindow
*arg1
= (wxWindow
*) 0 ;
26045 PyObject
* obj0
= 0 ;
26046 char *kwnames
[] = {
26047 (char *) "self", NULL
26050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
26051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26052 if (SWIG_arg_fail(1)) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= (int)((wxWindow
const *)arg1
)->GetId();
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= SWIG_From_int((int)(result
));
26069 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26072 char *kwnames
[] = {
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 result
= (int)wxWindow::NewControlId();
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_From_int((int)(result
));
26093 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26094 PyObject
*resultobj
;
26097 PyObject
* obj0
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "winid", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
26104 arg1
= (int)(SWIG_As_int(obj0
));
26105 if (SWIG_arg_fail(1)) SWIG_fail
;
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 result
= (int)wxWindow::NextControlId(arg1
);
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_From_int((int)(result
));
26123 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
;
26127 PyObject
* obj0
= 0 ;
26128 char *kwnames
[] = {
26129 (char *) "winid", NULL
26132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
26134 arg1
= (int)(SWIG_As_int(obj0
));
26135 if (SWIG_arg_fail(1)) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= (int)wxWindow::PrevControlId(arg1
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 resultobj
= SWIG_From_int((int)(result
));
26153 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxWindow
*arg1
= (wxWindow
*) 0 ;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "self",(char *) "size", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26166 if (SWIG_arg_fail(1)) SWIG_fail
;
26169 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 (arg1
)->SetSize((wxSize
const &)*arg2
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 Py_INCREF(Py_None
); resultobj
= Py_None
;
26185 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxWindow
*arg1
= (wxWindow
*) 0 ;
26192 int arg6
= (int) wxSIZE_AUTO
;
26193 PyObject
* obj0
= 0 ;
26194 PyObject
* obj1
= 0 ;
26195 PyObject
* obj2
= 0 ;
26196 PyObject
* obj3
= 0 ;
26197 PyObject
* obj4
= 0 ;
26198 PyObject
* obj5
= 0 ;
26199 char *kwnames
[] = {
26200 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
26203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26205 if (SWIG_arg_fail(1)) SWIG_fail
;
26207 arg2
= (int)(SWIG_As_int(obj1
));
26208 if (SWIG_arg_fail(2)) SWIG_fail
;
26211 arg3
= (int)(SWIG_As_int(obj2
));
26212 if (SWIG_arg_fail(3)) SWIG_fail
;
26215 arg4
= (int)(SWIG_As_int(obj3
));
26216 if (SWIG_arg_fail(4)) SWIG_fail
;
26219 arg5
= (int)(SWIG_As_int(obj4
));
26220 if (SWIG_arg_fail(5)) SWIG_fail
;
26224 arg6
= (int)(SWIG_As_int(obj5
));
26225 if (SWIG_arg_fail(6)) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 Py_INCREF(Py_None
); resultobj
= Py_None
;
26242 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxWindow
*arg1
= (wxWindow
*) 0 ;
26246 int arg3
= (int) wxSIZE_AUTO
;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 PyObject
* obj2
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26257 if (SWIG_arg_fail(1)) SWIG_fail
;
26260 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26264 arg3
= (int)(SWIG_As_int(obj2
));
26265 if (SWIG_arg_fail(3)) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26275 Py_INCREF(Py_None
); resultobj
= Py_None
;
26282 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26283 PyObject
*resultobj
;
26284 wxWindow
*arg1
= (wxWindow
*) 0 ;
26287 PyObject
* obj0
= 0 ;
26288 PyObject
* obj1
= 0 ;
26289 PyObject
* obj2
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "width",(char *) "height", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26296 if (SWIG_arg_fail(1)) SWIG_fail
;
26298 arg2
= (int)(SWIG_As_int(obj1
));
26299 if (SWIG_arg_fail(2)) SWIG_fail
;
26302 arg3
= (int)(SWIG_As_int(obj2
));
26303 if (SWIG_arg_fail(3)) SWIG_fail
;
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 (arg1
)->SetSize(arg2
,arg3
);
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 Py_INCREF(Py_None
); resultobj
= Py_None
;
26319 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
;
26321 wxWindow
*arg1
= (wxWindow
*) 0 ;
26322 wxPoint
*arg2
= 0 ;
26323 int arg3
= (int) wxSIZE_USE_EXISTING
;
26325 PyObject
* obj0
= 0 ;
26326 PyObject
* obj1
= 0 ;
26327 PyObject
* obj2
= 0 ;
26328 char *kwnames
[] = {
26329 (char *) "self",(char *) "pt",(char *) "flags", NULL
26332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26334 if (SWIG_arg_fail(1)) SWIG_fail
;
26337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26341 arg3
= (int)(SWIG_As_int(obj2
));
26342 if (SWIG_arg_fail(3)) SWIG_fail
;
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 Py_INCREF(Py_None
); resultobj
= Py_None
;
26359 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26360 PyObject
*resultobj
;
26361 wxWindow
*arg1
= (wxWindow
*) 0 ;
26364 int arg4
= (int) wxSIZE_USE_EXISTING
;
26365 PyObject
* obj0
= 0 ;
26366 PyObject
* obj1
= 0 ;
26367 PyObject
* obj2
= 0 ;
26368 PyObject
* obj3
= 0 ;
26369 char *kwnames
[] = {
26370 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
26373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26375 if (SWIG_arg_fail(1)) SWIG_fail
;
26377 arg2
= (int)(SWIG_As_int(obj1
));
26378 if (SWIG_arg_fail(2)) SWIG_fail
;
26381 arg3
= (int)(SWIG_As_int(obj2
));
26382 if (SWIG_arg_fail(3)) SWIG_fail
;
26386 arg4
= (int)(SWIG_As_int(obj3
));
26387 if (SWIG_arg_fail(4)) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 (arg1
)->Move(arg2
,arg3
,arg4
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 Py_INCREF(Py_None
); resultobj
= Py_None
;
26404 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxWindow
*arg1
= (wxWindow
*) 0 ;
26407 wxSize
const &arg2_defvalue
= wxDefaultSize
;
26408 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
26410 PyObject
* obj0
= 0 ;
26411 PyObject
* obj1
= 0 ;
26412 char *kwnames
[] = {
26413 (char *) "self",(char *) "size", NULL
26416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26418 if (SWIG_arg_fail(1)) SWIG_fail
;
26422 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 Py_INCREF(Py_None
); resultobj
= Py_None
;
26439 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26441 wxWindow
*arg1
= (wxWindow
*) 0 ;
26442 PyObject
* obj0
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 Py_INCREF(Py_None
); resultobj
= Py_None
;
26464 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxWindow
*arg1
= (wxWindow
*) 0 ;
26467 PyObject
* obj0
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26474 if (SWIG_arg_fail(1)) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 Py_INCREF(Py_None
); resultobj
= Py_None
;
26489 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxWindow
*arg1
= (wxWindow
*) 0 ;
26494 PyObject
* obj0
= 0 ;
26495 PyObject
* obj1
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "self",(char *) "size", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26502 if (SWIG_arg_fail(1)) SWIG_fail
;
26505 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 Py_INCREF(Py_None
); resultobj
= Py_None
;
26521 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
;
26523 wxWindow
*arg1
= (wxWindow
*) 0 ;
26526 PyObject
* obj0
= 0 ;
26527 PyObject
* obj1
= 0 ;
26528 PyObject
* obj2
= 0 ;
26529 char *kwnames
[] = {
26530 (char *) "self",(char *) "width",(char *) "height", NULL
26533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26535 if (SWIG_arg_fail(1)) SWIG_fail
;
26537 arg2
= (int)(SWIG_As_int(obj1
));
26538 if (SWIG_arg_fail(2)) SWIG_fail
;
26541 arg3
= (int)(SWIG_As_int(obj2
));
26542 if (SWIG_arg_fail(3)) SWIG_fail
;
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 (arg1
)->SetClientSize(arg2
,arg3
);
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26551 Py_INCREF(Py_None
); resultobj
= Py_None
;
26558 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
;
26560 wxWindow
*arg1
= (wxWindow
*) 0 ;
26563 PyObject
* obj0
= 0 ;
26564 PyObject
* obj1
= 0 ;
26565 char *kwnames
[] = {
26566 (char *) "self",(char *) "rect", NULL
26569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26571 if (SWIG_arg_fail(1)) SWIG_fail
;
26574 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 Py_INCREF(Py_None
); resultobj
= Py_None
;
26590 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxWindow
*arg1
= (wxWindow
*) 0 ;
26594 PyObject
* obj0
= 0 ;
26595 char *kwnames
[] = {
26596 (char *) "self", NULL
26599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26601 if (SWIG_arg_fail(1)) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (arg1
)->GetPosition();
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26610 wxPoint
* resultptr
;
26611 resultptr
= new wxPoint((wxPoint
&)(result
));
26612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26620 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
;
26622 wxWindow
*arg1
= (wxWindow
*) 0 ;
26623 int *arg2
= (int *) 0 ;
26624 int *arg3
= (int *) 0 ;
26629 PyObject
* obj0
= 0 ;
26630 char *kwnames
[] = {
26631 (char *) "self", NULL
26634 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26635 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26638 if (SWIG_arg_fail(1)) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 (arg1
)->GetPosition(arg2
,arg3
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 Py_INCREF(Py_None
); resultobj
= Py_None
;
26647 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26648 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26649 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26650 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26657 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxWindow
*arg1
= (wxWindow
*) 0 ;
26661 PyObject
* obj0
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26668 if (SWIG_arg_fail(1)) SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= ((wxWindow
const *)arg1
)->GetSize();
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26677 wxSize
* resultptr
;
26678 resultptr
= new wxSize((wxSize
&)(result
));
26679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26687 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxWindow
*arg1
= (wxWindow
*) 0 ;
26690 int *arg2
= (int *) 0 ;
26691 int *arg3
= (int *) 0 ;
26696 PyObject
* obj0
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self", NULL
26701 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26702 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26705 if (SWIG_arg_fail(1)) SWIG_fail
;
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 Py_INCREF(Py_None
); resultobj
= Py_None
;
26714 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26715 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26716 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26717 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26724 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26725 PyObject
*resultobj
;
26726 wxWindow
*arg1
= (wxWindow
*) 0 ;
26728 PyObject
* obj0
= 0 ;
26729 char *kwnames
[] = {
26730 (char *) "self", NULL
26733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26735 if (SWIG_arg_fail(1)) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 result
= ((wxWindow
const *)arg1
)->GetRect();
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26744 wxRect
* resultptr
;
26745 resultptr
= new wxRect((wxRect
&)(result
));
26746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26754 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
;
26756 wxWindow
*arg1
= (wxWindow
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 char *kwnames
[] = {
26760 (char *) "self", NULL
26763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26765 if (SWIG_arg_fail(1)) SWIG_fail
;
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26774 wxSize
* resultptr
;
26775 resultptr
= new wxSize((wxSize
&)(result
));
26776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26784 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
;
26786 wxWindow
*arg1
= (wxWindow
*) 0 ;
26787 int *arg2
= (int *) 0 ;
26788 int *arg3
= (int *) 0 ;
26793 PyObject
* obj0
= 0 ;
26794 char *kwnames
[] = {
26795 (char *) "self", NULL
26798 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26799 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26802 if (SWIG_arg_fail(1)) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 Py_INCREF(Py_None
); resultobj
= Py_None
;
26811 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26812 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26813 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26814 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26821 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxWindow
*arg1
= (wxWindow
*) 0 ;
26825 PyObject
* obj0
= 0 ;
26826 char *kwnames
[] = {
26827 (char *) "self", NULL
26830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26832 if (SWIG_arg_fail(1)) SWIG_fail
;
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26841 wxPoint
* resultptr
;
26842 resultptr
= new wxPoint((wxPoint
&)(result
));
26843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26851 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
;
26853 wxWindow
*arg1
= (wxWindow
*) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26862 if (SWIG_arg_fail(1)) SWIG_fail
;
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26871 wxRect
* resultptr
;
26872 resultptr
= new wxRect((wxRect
&)(result
));
26873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26881 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
;
26883 wxWindow
*arg1
= (wxWindow
*) 0 ;
26885 PyObject
* obj0
= 0 ;
26886 char *kwnames
[] = {
26887 (char *) "self", NULL
26890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26892 if (SWIG_arg_fail(1)) SWIG_fail
;
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26897 wxPyEndAllowThreads(__tstate
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26901 wxSize
* resultptr
;
26902 resultptr
= new wxSize((wxSize
&)(result
));
26903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26911 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
;
26913 wxWindow
*arg1
= (wxWindow
*) 0 ;
26914 int *arg2
= (int *) 0 ;
26915 int *arg3
= (int *) 0 ;
26920 PyObject
* obj0
= 0 ;
26921 char *kwnames
[] = {
26922 (char *) "self", NULL
26925 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26926 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26929 if (SWIG_arg_fail(1)) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 Py_INCREF(Py_None
); resultobj
= Py_None
;
26938 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26939 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26940 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26941 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26948 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
;
26950 wxWindow
*arg1
= (wxWindow
*) 0 ;
26951 PyObject
* obj0
= 0 ;
26952 char *kwnames
[] = {
26953 (char *) "self", NULL
26956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26958 if (SWIG_arg_fail(1)) SWIG_fail
;
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 (arg1
)->InvalidateBestSize();
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26966 Py_INCREF(Py_None
); resultobj
= Py_None
;
26973 static PyObject
*_wrap_Window_CacheBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
;
26975 wxWindow
*arg1
= (wxWindow
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self",(char *) "size", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26986 if (SWIG_arg_fail(1)) SWIG_fail
;
26989 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 Py_INCREF(Py_None
); resultobj
= Py_None
;
27005 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxWindow
*arg1
= (wxWindow
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
27015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27016 if (SWIG_arg_fail(1)) SWIG_fail
;
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27019 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27025 wxSize
* resultptr
;
27026 resultptr
= new wxSize((wxSize
&)(result
));
27027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27035 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27036 PyObject
*resultobj
;
27037 wxWindow
*arg1
= (wxWindow
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
27045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27046 if (SWIG_arg_fail(1)) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27055 wxSize
* resultptr
;
27056 resultptr
= new wxSize((wxSize
&)(result
));
27057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27065 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxWindow
*arg1
= (wxWindow
*) 0 ;
27068 int arg2
= (int) wxBOTH
;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self",(char *) "direction", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
27076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27077 if (SWIG_arg_fail(1)) SWIG_fail
;
27080 arg2
= (int)(SWIG_As_int(obj1
));
27081 if (SWIG_arg_fail(2)) SWIG_fail
;
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 (arg1
)->Center(arg2
);
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27091 Py_INCREF(Py_None
); resultobj
= Py_None
;
27098 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27099 PyObject
*resultobj
;
27100 wxWindow
*arg1
= (wxWindow
*) 0 ;
27101 int arg2
= (int) wxBOTH
;
27102 PyObject
* obj0
= 0 ;
27103 PyObject
* obj1
= 0 ;
27104 char *kwnames
[] = {
27105 (char *) "self",(char *) "dir", NULL
27108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27110 if (SWIG_arg_fail(1)) SWIG_fail
;
27113 arg2
= (int)(SWIG_As_int(obj1
));
27114 if (SWIG_arg_fail(2)) SWIG_fail
;
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 (arg1
)->CenterOnScreen(arg2
);
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27124 Py_INCREF(Py_None
); resultobj
= Py_None
;
27131 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27132 PyObject
*resultobj
;
27133 wxWindow
*arg1
= (wxWindow
*) 0 ;
27134 int arg2
= (int) wxBOTH
;
27135 PyObject
* obj0
= 0 ;
27136 PyObject
* obj1
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self",(char *) "dir", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
27142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27143 if (SWIG_arg_fail(1)) SWIG_fail
;
27146 arg2
= (int)(SWIG_As_int(obj1
));
27147 if (SWIG_arg_fail(2)) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 (arg1
)->CenterOnParent(arg2
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 Py_INCREF(Py_None
); resultobj
= Py_None
;
27164 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxWindow
*arg1
= (wxWindow
*) 0 ;
27167 PyObject
* obj0
= 0 ;
27168 char *kwnames
[] = {
27169 (char *) "self", NULL
27172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
27173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27174 if (SWIG_arg_fail(1)) SWIG_fail
;
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 wxPyEndAllowThreads(__tstate
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27182 Py_INCREF(Py_None
); resultobj
= Py_None
;
27189 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
;
27191 wxWindow
*arg1
= (wxWindow
*) 0 ;
27192 PyObject
* obj0
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
27198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27199 if (SWIG_arg_fail(1)) SWIG_fail
;
27201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 (arg1
)->FitInside();
27204 wxPyEndAllowThreads(__tstate
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27207 Py_INCREF(Py_None
); resultobj
= Py_None
;
27214 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
;
27216 wxWindow
*arg1
= (wxWindow
*) 0 ;
27219 int arg4
= (int) -1 ;
27220 int arg5
= (int) -1 ;
27221 int arg6
= (int) -1 ;
27222 int arg7
= (int) -1 ;
27223 PyObject
* obj0
= 0 ;
27224 PyObject
* obj1
= 0 ;
27225 PyObject
* obj2
= 0 ;
27226 PyObject
* obj3
= 0 ;
27227 PyObject
* obj4
= 0 ;
27228 PyObject
* obj5
= 0 ;
27229 PyObject
* obj6
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27236 if (SWIG_arg_fail(1)) SWIG_fail
;
27238 arg2
= (int)(SWIG_As_int(obj1
));
27239 if (SWIG_arg_fail(2)) SWIG_fail
;
27242 arg3
= (int)(SWIG_As_int(obj2
));
27243 if (SWIG_arg_fail(3)) SWIG_fail
;
27247 arg4
= (int)(SWIG_As_int(obj3
));
27248 if (SWIG_arg_fail(4)) SWIG_fail
;
27253 arg5
= (int)(SWIG_As_int(obj4
));
27254 if (SWIG_arg_fail(5)) SWIG_fail
;
27259 arg6
= (int)(SWIG_As_int(obj5
));
27260 if (SWIG_arg_fail(6)) SWIG_fail
;
27265 arg7
= (int)(SWIG_As_int(obj6
));
27266 if (SWIG_arg_fail(7)) SWIG_fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 Py_INCREF(Py_None
); resultobj
= Py_None
;
27283 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxWindow
*arg1
= (wxWindow
*) 0 ;
27287 wxSize
const &arg3_defvalue
= wxDefaultSize
;
27288 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
27289 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27290 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27294 PyObject
* obj0
= 0 ;
27295 PyObject
* obj1
= 0 ;
27296 PyObject
* obj2
= 0 ;
27297 PyObject
* obj3
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27304 if (SWIG_arg_fail(1)) SWIG_fail
;
27307 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27312 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27318 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27328 Py_INCREF(Py_None
); resultobj
= Py_None
;
27335 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
;
27337 wxWindow
*arg1
= (wxWindow
*) 0 ;
27340 int arg4
= (int) -1 ;
27341 int arg5
= (int) -1 ;
27342 PyObject
* obj0
= 0 ;
27343 PyObject
* obj1
= 0 ;
27344 PyObject
* obj2
= 0 ;
27345 PyObject
* obj3
= 0 ;
27346 PyObject
* obj4
= 0 ;
27347 char *kwnames
[] = {
27348 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
27351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27353 if (SWIG_arg_fail(1)) SWIG_fail
;
27355 arg2
= (int)(SWIG_As_int(obj1
));
27356 if (SWIG_arg_fail(2)) SWIG_fail
;
27359 arg3
= (int)(SWIG_As_int(obj2
));
27360 if (SWIG_arg_fail(3)) SWIG_fail
;
27364 arg4
= (int)(SWIG_As_int(obj3
));
27365 if (SWIG_arg_fail(4)) SWIG_fail
;
27370 arg5
= (int)(SWIG_As_int(obj4
));
27371 if (SWIG_arg_fail(5)) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 Py_INCREF(Py_None
); resultobj
= Py_None
;
27388 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
;
27390 wxWindow
*arg1
= (wxWindow
*) 0 ;
27392 wxSize
const &arg3_defvalue
= wxDefaultSize
;
27393 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 PyObject
* obj2
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27405 if (SWIG_arg_fail(1)) SWIG_fail
;
27408 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27413 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 Py_INCREF(Py_None
); resultobj
= Py_None
;
27430 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxWindow
*arg1
= (wxWindow
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27450 wxSize
* resultptr
;
27451 resultptr
= new wxSize((wxSize
&)(result
));
27452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27460 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxWindow
*arg1
= (wxWindow
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 char *kwnames
[] = {
27466 (char *) "self", NULL
27469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27471 if (SWIG_arg_fail(1)) SWIG_fail
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27480 wxSize
* resultptr
;
27481 resultptr
= new wxSize((wxSize
&)(result
));
27482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27490 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
;
27492 wxWindow
*arg1
= (wxWindow
*) 0 ;
27495 PyObject
* obj0
= 0 ;
27496 PyObject
* obj1
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self",(char *) "minSize", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27503 if (SWIG_arg_fail(1)) SWIG_fail
;
27506 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 Py_INCREF(Py_None
); resultobj
= Py_None
;
27522 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxWindow
*arg1
= (wxWindow
*) 0 ;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 char *kwnames
[] = {
27530 (char *) "self",(char *) "maxSize", NULL
27533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27535 if (SWIG_arg_fail(1)) SWIG_fail
;
27538 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 Py_INCREF(Py_None
); resultobj
= Py_None
;
27554 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxWindow
*arg1
= (wxWindow
*) 0 ;
27558 PyObject
* obj0
= 0 ;
27559 char *kwnames
[] = {
27560 (char *) "self", NULL
27563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27565 if (SWIG_arg_fail(1)) SWIG_fail
;
27567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27568 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27570 wxPyEndAllowThreads(__tstate
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27574 resultobj
= SWIG_From_int((int)(result
));
27582 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27583 PyObject
*resultobj
;
27584 wxWindow
*arg1
= (wxWindow
*) 0 ;
27586 PyObject
* obj0
= 0 ;
27587 char *kwnames
[] = {
27588 (char *) "self", NULL
27591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27593 if (SWIG_arg_fail(1)) SWIG_fail
;
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27602 resultobj
= SWIG_From_int((int)(result
));
27610 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27611 PyObject
*resultobj
;
27612 wxWindow
*arg1
= (wxWindow
*) 0 ;
27614 PyObject
* obj0
= 0 ;
27615 char *kwnames
[] = {
27616 (char *) "self", NULL
27619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27621 if (SWIG_arg_fail(1)) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27630 resultobj
= SWIG_From_int((int)(result
));
27638 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxWindow
*arg1
= (wxWindow
*) 0 ;
27642 PyObject
* obj0
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27649 if (SWIG_arg_fail(1)) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= SWIG_From_int((int)(result
));
27666 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxWindow
*arg1
= (wxWindow
*) 0 ;
27671 PyObject
* obj0
= 0 ;
27672 PyObject
* obj1
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self",(char *) "size", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27679 if (SWIG_arg_fail(1)) SWIG_fail
;
27682 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 Py_INCREF(Py_None
); resultobj
= Py_None
;
27698 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxWindow
*arg1
= (wxWindow
*) 0 ;
27703 PyObject
* obj0
= 0 ;
27704 PyObject
* obj1
= 0 ;
27705 PyObject
* obj2
= 0 ;
27706 char *kwnames
[] = {
27707 (char *) "self",(char *) "w",(char *) "h", NULL
27710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27712 if (SWIG_arg_fail(1)) SWIG_fail
;
27714 arg2
= (int)(SWIG_As_int(obj1
));
27715 if (SWIG_arg_fail(2)) SWIG_fail
;
27718 arg3
= (int)(SWIG_As_int(obj2
));
27719 if (SWIG_arg_fail(3)) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 (arg1
)->SetVirtualSize(arg2
,arg3
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 Py_INCREF(Py_None
); resultobj
= Py_None
;
27735 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
;
27737 wxWindow
*arg1
= (wxWindow
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 char *kwnames
[] = {
27741 (char *) "self", NULL
27744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27746 if (SWIG_arg_fail(1)) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27755 wxSize
* resultptr
;
27756 resultptr
= new wxSize((wxSize
&)(result
));
27757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27765 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27766 PyObject
*resultobj
;
27767 wxWindow
*arg1
= (wxWindow
*) 0 ;
27768 int *arg2
= (int *) 0 ;
27769 int *arg3
= (int *) 0 ;
27774 PyObject
* obj0
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "self", NULL
27779 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27780 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27783 if (SWIG_arg_fail(1)) SWIG_fail
;
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27786 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27788 wxPyEndAllowThreads(__tstate
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27791 Py_INCREF(Py_None
); resultobj
= Py_None
;
27792 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27793 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27794 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27795 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27802 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
;
27804 wxWindow
*arg1
= (wxWindow
*) 0 ;
27806 PyObject
* obj0
= 0 ;
27807 char *kwnames
[] = {
27808 (char *) "self", NULL
27811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27813 if (SWIG_arg_fail(1)) SWIG_fail
;
27815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27816 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27822 wxSize
* resultptr
;
27823 resultptr
= new wxSize((wxSize
&)(result
));
27824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27832 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27833 PyObject
*resultobj
;
27834 wxWindow
*arg1
= (wxWindow
*) 0 ;
27835 bool arg2
= (bool) true ;
27837 PyObject
* obj0
= 0 ;
27838 PyObject
* obj1
= 0 ;
27839 char *kwnames
[] = {
27840 (char *) "self",(char *) "show", NULL
27843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27845 if (SWIG_arg_fail(1)) SWIG_fail
;
27848 arg2
= (bool)(SWIG_As_bool(obj1
));
27849 if (SWIG_arg_fail(2)) SWIG_fail
;
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 result
= (bool)(arg1
)->Show(arg2
);
27856 wxPyEndAllowThreads(__tstate
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27868 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxWindow
*arg1
= (wxWindow
*) 0 ;
27872 PyObject
* obj0
= 0 ;
27873 char *kwnames
[] = {
27874 (char *) "self", NULL
27877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27879 if (SWIG_arg_fail(1)) SWIG_fail
;
27881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27882 result
= (bool)(arg1
)->Hide();
27884 wxPyEndAllowThreads(__tstate
);
27885 if (PyErr_Occurred()) SWIG_fail
;
27888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27896 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27897 PyObject
*resultobj
;
27898 wxWindow
*arg1
= (wxWindow
*) 0 ;
27899 bool arg2
= (bool) true ;
27901 PyObject
* obj0
= 0 ;
27902 PyObject
* obj1
= 0 ;
27903 char *kwnames
[] = {
27904 (char *) "self",(char *) "enable", NULL
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27909 if (SWIG_arg_fail(1)) SWIG_fail
;
27912 arg2
= (bool)(SWIG_As_bool(obj1
));
27913 if (SWIG_arg_fail(2)) SWIG_fail
;
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 result
= (bool)(arg1
)->Enable(arg2
);
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27932 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
;
27934 wxWindow
*arg1
= (wxWindow
*) 0 ;
27936 PyObject
* obj0
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27943 if (SWIG_arg_fail(1)) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (bool)(arg1
)->Disable();
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27960 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27961 PyObject
*resultobj
;
27962 wxWindow
*arg1
= (wxWindow
*) 0 ;
27964 PyObject
* obj0
= 0 ;
27965 char *kwnames
[] = {
27966 (char *) "self", NULL
27969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27971 if (SWIG_arg_fail(1)) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27988 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27990 wxWindow
*arg1
= (wxWindow
*) 0 ;
27992 PyObject
* obj0
= 0 ;
27993 char *kwnames
[] = {
27994 (char *) "self", NULL
27997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27999 if (SWIG_arg_fail(1)) SWIG_fail
;
28001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28016 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28017 PyObject
*resultobj
;
28018 wxWindow
*arg1
= (wxWindow
*) 0 ;
28020 PyObject
* obj0
= 0 ;
28021 PyObject
* obj1
= 0 ;
28022 char *kwnames
[] = {
28023 (char *) "self",(char *) "style", NULL
28026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
28027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28028 if (SWIG_arg_fail(1)) SWIG_fail
;
28030 arg2
= (long)(SWIG_As_long(obj1
));
28031 if (SWIG_arg_fail(2)) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 (arg1
)->SetWindowStyleFlag(arg2
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28040 Py_INCREF(Py_None
); resultobj
= Py_None
;
28047 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
;
28049 wxWindow
*arg1
= (wxWindow
*) 0 ;
28051 PyObject
* obj0
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
28057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail
;
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= SWIG_From_long((long)(result
));
28075 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28076 PyObject
*resultobj
;
28077 wxWindow
*arg1
= (wxWindow
*) 0 ;
28080 PyObject
* obj0
= 0 ;
28081 PyObject
* obj1
= 0 ;
28082 char *kwnames
[] = {
28083 (char *) "self",(char *) "flag", NULL
28086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
28087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28088 if (SWIG_arg_fail(1)) SWIG_fail
;
28090 arg2
= (int)(SWIG_As_int(obj1
));
28091 if (SWIG_arg_fail(2)) SWIG_fail
;
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28109 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
;
28111 wxWindow
*arg1
= (wxWindow
*) 0 ;
28113 PyObject
* obj0
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
28119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28120 if (SWIG_arg_fail(1)) SWIG_fail
;
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28137 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28138 PyObject
*resultobj
;
28139 wxWindow
*arg1
= (wxWindow
*) 0 ;
28141 PyObject
* obj0
= 0 ;
28142 PyObject
* obj1
= 0 ;
28143 char *kwnames
[] = {
28144 (char *) "self",(char *) "exStyle", NULL
28147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
28148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28149 if (SWIG_arg_fail(1)) SWIG_fail
;
28151 arg2
= (long)(SWIG_As_long(obj1
));
28152 if (SWIG_arg_fail(2)) SWIG_fail
;
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 (arg1
)->SetExtraStyle(arg2
);
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28161 Py_INCREF(Py_None
); resultobj
= Py_None
;
28168 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
;
28170 wxWindow
*arg1
= (wxWindow
*) 0 ;
28172 PyObject
* obj0
= 0 ;
28173 char *kwnames
[] = {
28174 (char *) "self", NULL
28177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
28178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28179 if (SWIG_arg_fail(1)) SWIG_fail
;
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28188 resultobj
= SWIG_From_long((long)(result
));
28196 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
;
28198 wxWindow
*arg1
= (wxWindow
*) 0 ;
28199 bool arg2
= (bool) true ;
28200 PyObject
* obj0
= 0 ;
28201 PyObject
* obj1
= 0 ;
28202 char *kwnames
[] = {
28203 (char *) "self",(char *) "modal", NULL
28206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
28207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28208 if (SWIG_arg_fail(1)) SWIG_fail
;
28211 arg2
= (bool)(SWIG_As_bool(obj1
));
28212 if (SWIG_arg_fail(2)) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 (arg1
)->MakeModal(arg2
);
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 Py_INCREF(Py_None
); resultobj
= Py_None
;
28229 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
;
28231 wxWindow
*arg1
= (wxWindow
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 PyObject
* obj1
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self",(char *) "enableTheme", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28241 if (SWIG_arg_fail(1)) SWIG_fail
;
28243 arg2
= (bool)(SWIG_As_bool(obj1
));
28244 if (SWIG_arg_fail(2)) SWIG_fail
;
28247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28248 (arg1
)->SetThemeEnabled(arg2
);
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28253 Py_INCREF(Py_None
); resultobj
= Py_None
;
28260 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28261 PyObject
*resultobj
;
28262 wxWindow
*arg1
= (wxWindow
*) 0 ;
28264 PyObject
* obj0
= 0 ;
28265 char *kwnames
[] = {
28266 (char *) "self", NULL
28269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
28270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28271 if (SWIG_arg_fail(1)) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28288 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxWindow
*arg1
= (wxWindow
*) 0 ;
28291 PyObject
* obj0
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "self", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
28297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28298 if (SWIG_arg_fail(1)) SWIG_fail
;
28300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 (arg1
)->SetFocus();
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28306 Py_INCREF(Py_None
); resultobj
= Py_None
;
28313 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28314 PyObject
*resultobj
;
28315 wxWindow
*arg1
= (wxWindow
*) 0 ;
28316 PyObject
* obj0
= 0 ;
28317 char *kwnames
[] = {
28318 (char *) "self", NULL
28321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
28322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28323 if (SWIG_arg_fail(1)) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 (arg1
)->SetFocusFromKbd();
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28331 Py_INCREF(Py_None
); resultobj
= Py_None
;
28338 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28339 PyObject
*resultobj
;
28341 char *kwnames
[] = {
28345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
28347 if (!wxPyCheckForApp()) SWIG_fail
;
28348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 result
= (wxWindow
*)wxWindow::FindFocus();
28351 wxPyEndAllowThreads(__tstate
);
28352 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= wxPyMake_wxObject(result
, 0);
28363 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
;
28365 wxWindow
*arg1
= (wxWindow
*) 0 ;
28367 PyObject
* obj0
= 0 ;
28368 char *kwnames
[] = {
28369 (char *) "self", NULL
28372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28374 if (SWIG_arg_fail(1)) SWIG_fail
;
28376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28377 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
28379 wxPyEndAllowThreads(__tstate
);
28380 if (PyErr_Occurred()) SWIG_fail
;
28383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28391 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28392 PyObject
*resultobj
;
28393 wxWindow
*arg1
= (wxWindow
*) 0 ;
28395 PyObject
* obj0
= 0 ;
28396 char *kwnames
[] = {
28397 (char *) "self", NULL
28400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28402 if (SWIG_arg_fail(1)) SWIG_fail
;
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28419 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28420 PyObject
*resultobj
;
28421 wxWindow
*arg1
= (wxWindow
*) 0 ;
28423 PyObject
* obj0
= 0 ;
28424 char *kwnames
[] = {
28425 (char *) "self", NULL
28428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
28429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28430 if (SWIG_arg_fail(1)) SWIG_fail
;
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= wxPyMake_wxObject(result
, 0);
28447 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
;
28449 wxWindow
*arg1
= (wxWindow
*) 0 ;
28450 wxWindow
*arg2
= (wxWindow
*) 0 ;
28452 PyObject
* obj0
= 0 ;
28453 PyObject
* obj1
= 0 ;
28454 char *kwnames
[] = {
28455 (char *) "self",(char *) "child", NULL
28458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28460 if (SWIG_arg_fail(1)) SWIG_fail
;
28461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28462 if (SWIG_arg_fail(2)) SWIG_fail
;
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
28467 wxPyEndAllowThreads(__tstate
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28471 resultobj
= wxPyMake_wxObject(result
, 0);
28479 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
;
28481 wxWindow
*arg1
= (wxWindow
*) 0 ;
28482 wxWindow
*arg2
= (wxWindow
*) 0 ;
28483 PyObject
* obj0
= 0 ;
28484 PyObject
* obj1
= 0 ;
28485 char *kwnames
[] = {
28486 (char *) "self",(char *) "win", NULL
28489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28491 if (SWIG_arg_fail(1)) SWIG_fail
;
28492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28493 if (SWIG_arg_fail(2)) SWIG_fail
;
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 (arg1
)->SetTmpDefaultItem(arg2
);
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 Py_INCREF(Py_None
); resultobj
= Py_None
;
28508 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28509 PyObject
*resultobj
;
28510 wxWindow
*arg1
= (wxWindow
*) 0 ;
28511 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 char *kwnames
[] = {
28516 (char *) "self",(char *) "flags", NULL
28519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28521 if (SWIG_arg_fail(1)) SWIG_fail
;
28524 arg2
= (int)(SWIG_As_int(obj1
));
28525 if (SWIG_arg_fail(2)) SWIG_fail
;
28529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28530 result
= (bool)(arg1
)->Navigate(arg2
);
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28544 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
;
28546 wxWindow
*arg1
= (wxWindow
*) 0 ;
28547 wxWindow
*arg2
= (wxWindow
*) 0 ;
28548 PyObject
* obj0
= 0 ;
28549 PyObject
* obj1
= 0 ;
28550 char *kwnames
[] = {
28551 (char *) "self",(char *) "win", NULL
28554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28556 if (SWIG_arg_fail(1)) SWIG_fail
;
28557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28558 if (SWIG_arg_fail(2)) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 (arg1
)->MoveAfterInTabOrder(arg2
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 Py_INCREF(Py_None
); resultobj
= Py_None
;
28573 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
;
28575 wxWindow
*arg1
= (wxWindow
*) 0 ;
28576 wxWindow
*arg2
= (wxWindow
*) 0 ;
28577 PyObject
* obj0
= 0 ;
28578 PyObject
* obj1
= 0 ;
28579 char *kwnames
[] = {
28580 (char *) "self",(char *) "win", NULL
28583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28585 if (SWIG_arg_fail(1)) SWIG_fail
;
28586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28587 if (SWIG_arg_fail(2)) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 (arg1
)->MoveBeforeInTabOrder(arg2
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 Py_INCREF(Py_None
); resultobj
= Py_None
;
28602 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
;
28604 wxWindow
*arg1
= (wxWindow
*) 0 ;
28606 PyObject
* obj0
= 0 ;
28607 char *kwnames
[] = {
28608 (char *) "self", NULL
28611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28613 if (SWIG_arg_fail(1)) SWIG_fail
;
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= result
;
28628 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
;
28630 wxWindow
*arg1
= (wxWindow
*) 0 ;
28632 PyObject
* obj0
= 0 ;
28633 char *kwnames
[] = {
28634 (char *) "self", NULL
28637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28639 if (SWIG_arg_fail(1)) SWIG_fail
;
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= wxPyMake_wxObject(result
, 0);
28656 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxWindow
*arg1
= (wxWindow
*) 0 ;
28660 PyObject
* obj0
= 0 ;
28661 char *kwnames
[] = {
28662 (char *) "self", NULL
28665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28667 if (SWIG_arg_fail(1)) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28676 resultobj
= wxPyMake_wxObject(result
, 0);
28684 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
;
28686 wxWindow
*arg1
= (wxWindow
*) 0 ;
28688 PyObject
* obj0
= 0 ;
28689 char *kwnames
[] = {
28690 (char *) "self", NULL
28693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28695 if (SWIG_arg_fail(1)) SWIG_fail
;
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28712 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxWindow
*arg1
= (wxWindow
*) 0 ;
28715 wxWindow
*arg2
= (wxWindow
*) 0 ;
28717 PyObject
* obj0
= 0 ;
28718 PyObject
* obj1
= 0 ;
28719 char *kwnames
[] = {
28720 (char *) "self",(char *) "newParent", NULL
28723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28725 if (SWIG_arg_fail(1)) SWIG_fail
;
28726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28727 if (SWIG_arg_fail(2)) SWIG_fail
;
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 result
= (bool)(arg1
)->Reparent(arg2
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28744 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28745 PyObject
*resultobj
;
28746 wxWindow
*arg1
= (wxWindow
*) 0 ;
28747 wxWindow
*arg2
= (wxWindow
*) 0 ;
28748 PyObject
* obj0
= 0 ;
28749 PyObject
* obj1
= 0 ;
28750 char *kwnames
[] = {
28751 (char *) "self",(char *) "child", NULL
28754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28756 if (SWIG_arg_fail(1)) SWIG_fail
;
28757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28758 if (SWIG_arg_fail(2)) SWIG_fail
;
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 (arg1
)->AddChild(arg2
);
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28766 Py_INCREF(Py_None
); resultobj
= Py_None
;
28773 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28774 PyObject
*resultobj
;
28775 wxWindow
*arg1
= (wxWindow
*) 0 ;
28776 wxWindow
*arg2
= (wxWindow
*) 0 ;
28777 PyObject
* obj0
= 0 ;
28778 PyObject
* obj1
= 0 ;
28779 char *kwnames
[] = {
28780 (char *) "self",(char *) "child", NULL
28783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28785 if (SWIG_arg_fail(1)) SWIG_fail
;
28786 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28787 if (SWIG_arg_fail(2)) SWIG_fail
;
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 (arg1
)->RemoveChild(arg2
);
28792 wxPyEndAllowThreads(__tstate
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28795 Py_INCREF(Py_None
); resultobj
= Py_None
;
28802 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
;
28804 wxWindow
*arg1
= (wxWindow
*) 0 ;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 char *kwnames
[] = {
28810 (char *) "self",(char *) "winid", NULL
28813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28815 if (SWIG_arg_fail(1)) SWIG_fail
;
28817 arg2
= (long)(SWIG_As_long(obj1
));
28818 if (SWIG_arg_fail(2)) SWIG_fail
;
28821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= wxPyMake_wxObject(result
, 0);
28836 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
;
28838 wxWindow
*arg1
= (wxWindow
*) 0 ;
28839 wxString
*arg2
= 0 ;
28841 bool temp2
= false ;
28842 PyObject
* obj0
= 0 ;
28843 PyObject
* obj1
= 0 ;
28844 char *kwnames
[] = {
28845 (char *) "self",(char *) "name", NULL
28848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28850 if (SWIG_arg_fail(1)) SWIG_fail
;
28852 arg2
= wxString_in_helper(obj1
);
28853 if (arg2
== NULL
) SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28864 resultobj
= wxPyMake_wxObject(result
, 0);
28880 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
;
28882 wxWindow
*arg1
= (wxWindow
*) 0 ;
28883 wxEvtHandler
*result
;
28884 PyObject
* obj0
= 0 ;
28885 char *kwnames
[] = {
28886 (char *) "self", NULL
28889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28891 if (SWIG_arg_fail(1)) SWIG_fail
;
28893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28894 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28896 wxPyEndAllowThreads(__tstate
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28900 resultobj
= wxPyMake_wxObject(result
, 0);
28908 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28909 PyObject
*resultobj
;
28910 wxWindow
*arg1
= (wxWindow
*) 0 ;
28911 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28912 PyObject
* obj0
= 0 ;
28913 PyObject
* obj1
= 0 ;
28914 char *kwnames
[] = {
28915 (char *) "self",(char *) "handler", NULL
28918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28920 if (SWIG_arg_fail(1)) SWIG_fail
;
28921 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28922 if (SWIG_arg_fail(2)) SWIG_fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 (arg1
)->SetEventHandler(arg2
);
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 Py_INCREF(Py_None
); resultobj
= Py_None
;
28937 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
;
28939 wxWindow
*arg1
= (wxWindow
*) 0 ;
28940 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "self",(char *) "handler", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28949 if (SWIG_arg_fail(1)) SWIG_fail
;
28950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28951 if (SWIG_arg_fail(2)) SWIG_fail
;
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 (arg1
)->PushEventHandler(arg2
);
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 Py_INCREF(Py_None
); resultobj
= Py_None
;
28966 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxWindow
*arg1
= (wxWindow
*) 0 ;
28969 bool arg2
= (bool) false ;
28970 wxEvtHandler
*result
;
28971 PyObject
* obj0
= 0 ;
28972 PyObject
* obj1
= 0 ;
28973 char *kwnames
[] = {
28974 (char *) "self",(char *) "deleteHandler", NULL
28977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28979 if (SWIG_arg_fail(1)) SWIG_fail
;
28982 arg2
= (bool)(SWIG_As_bool(obj1
));
28983 if (SWIG_arg_fail(2)) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= wxPyMake_wxObject(result
, 0);
29002 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxWindow
*arg1
= (wxWindow
*) 0 ;
29005 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29007 PyObject
* obj0
= 0 ;
29008 PyObject
* obj1
= 0 ;
29009 char *kwnames
[] = {
29010 (char *) "self",(char *) "handler", NULL
29013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29015 if (SWIG_arg_fail(1)) SWIG_fail
;
29016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
29017 if (SWIG_arg_fail(2)) SWIG_fail
;
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29034 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxWindow
*arg1
= (wxWindow
*) 0 ;
29037 wxValidator
*arg2
= 0 ;
29038 PyObject
* obj0
= 0 ;
29039 PyObject
* obj1
= 0 ;
29040 char *kwnames
[] = {
29041 (char *) "self",(char *) "validator", NULL
29044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
29045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29046 if (SWIG_arg_fail(1)) SWIG_fail
;
29048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
29049 if (SWIG_arg_fail(2)) SWIG_fail
;
29050 if (arg2
== NULL
) {
29051 SWIG_null_ref("wxValidator");
29053 if (SWIG_arg_fail(2)) SWIG_fail
;
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 Py_INCREF(Py_None
); resultobj
= Py_None
;
29069 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxWindow
*arg1
= (wxWindow
*) 0 ;
29072 wxValidator
*result
;
29073 PyObject
* obj0
= 0 ;
29074 char *kwnames
[] = {
29075 (char *) "self", NULL
29078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
29079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29080 if (SWIG_arg_fail(1)) SWIG_fail
;
29082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29083 result
= (wxValidator
*)(arg1
)->GetValidator();
29085 wxPyEndAllowThreads(__tstate
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= wxPyMake_wxObject(result
, 0);
29097 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29098 PyObject
*resultobj
;
29099 wxWindow
*arg1
= (wxWindow
*) 0 ;
29101 PyObject
* obj0
= 0 ;
29102 char *kwnames
[] = {
29103 (char *) "self", NULL
29106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
29107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29108 if (SWIG_arg_fail(1)) SWIG_fail
;
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 result
= (bool)(arg1
)->Validate();
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29125 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
;
29127 wxWindow
*arg1
= (wxWindow
*) 0 ;
29129 PyObject
* obj0
= 0 ;
29130 char *kwnames
[] = {
29131 (char *) "self", NULL
29134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29136 if (SWIG_arg_fail(1)) SWIG_fail
;
29138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29139 result
= (bool)(arg1
)->TransferDataToWindow();
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29153 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
;
29155 wxWindow
*arg1
= (wxWindow
*) 0 ;
29157 PyObject
* obj0
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29164 if (SWIG_arg_fail(1)) SWIG_fail
;
29166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29167 result
= (bool)(arg1
)->TransferDataFromWindow();
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29181 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
;
29183 wxWindow
*arg1
= (wxWindow
*) 0 ;
29184 PyObject
* obj0
= 0 ;
29185 char *kwnames
[] = {
29186 (char *) "self", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
29190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29191 if (SWIG_arg_fail(1)) SWIG_fail
;
29193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29194 (arg1
)->InitDialog();
29196 wxPyEndAllowThreads(__tstate
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29199 Py_INCREF(Py_None
); resultobj
= Py_None
;
29206 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
;
29208 wxWindow
*arg1
= (wxWindow
*) 0 ;
29209 wxAcceleratorTable
*arg2
= 0 ;
29210 PyObject
* obj0
= 0 ;
29211 PyObject
* obj1
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "self",(char *) "accel", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
29217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29218 if (SWIG_arg_fail(1)) SWIG_fail
;
29220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
29221 if (SWIG_arg_fail(2)) SWIG_fail
;
29222 if (arg2
== NULL
) {
29223 SWIG_null_ref("wxAcceleratorTable");
29225 if (SWIG_arg_fail(2)) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 Py_INCREF(Py_None
); resultobj
= Py_None
;
29241 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29242 PyObject
*resultobj
;
29243 wxWindow
*arg1
= (wxWindow
*) 0 ;
29244 wxAcceleratorTable
*result
;
29245 PyObject
* obj0
= 0 ;
29246 char *kwnames
[] = {
29247 (char *) "self", NULL
29250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
29251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29252 if (SWIG_arg_fail(1)) SWIG_fail
;
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
29267 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
;
29269 wxWindow
*arg1
= (wxWindow
*) 0 ;
29274 PyObject
* obj0
= 0 ;
29275 PyObject
* obj1
= 0 ;
29276 PyObject
* obj2
= 0 ;
29277 PyObject
* obj3
= 0 ;
29278 char *kwnames
[] = {
29279 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
29287 if (SWIG_arg_fail(2)) SWIG_fail
;
29290 arg3
= (int)(SWIG_As_int(obj2
));
29291 if (SWIG_arg_fail(3)) SWIG_fail
;
29294 arg4
= (int)(SWIG_As_int(obj3
));
29295 if (SWIG_arg_fail(4)) SWIG_fail
;
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
29301 wxPyEndAllowThreads(__tstate
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29313 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
;
29315 wxWindow
*arg1
= (wxWindow
*) 0 ;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 char *kwnames
[] = {
29321 (char *) "self",(char *) "hotkeyId", NULL
29324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
29325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29326 if (SWIG_arg_fail(1)) SWIG_fail
;
29328 arg2
= (int)(SWIG_As_int(obj1
));
29329 if (SWIG_arg_fail(2)) SWIG_fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29347 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29348 PyObject
*resultobj
;
29349 wxWindow
*arg1
= (wxWindow
*) 0 ;
29350 wxPoint
*arg2
= 0 ;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self",(char *) "pt", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
29360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(1)) SWIG_fail
;
29364 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29368 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29370 wxPyEndAllowThreads(__tstate
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29374 wxPoint
* resultptr
;
29375 resultptr
= new wxPoint((wxPoint
&)(result
));
29376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29384 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29385 PyObject
*resultobj
;
29386 wxWindow
*arg1
= (wxWindow
*) 0 ;
29390 PyObject
* obj0
= 0 ;
29391 PyObject
* obj1
= 0 ;
29392 char *kwnames
[] = {
29393 (char *) "self",(char *) "sz", NULL
29396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
29397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29398 if (SWIG_arg_fail(1)) SWIG_fail
;
29401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29405 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29407 wxPyEndAllowThreads(__tstate
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29411 wxSize
* resultptr
;
29412 resultptr
= new wxSize((wxSize
&)(result
));
29413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29421 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29422 PyObject
*resultobj
;
29423 wxWindow
*arg1
= (wxWindow
*) 0 ;
29424 wxPoint
*arg2
= 0 ;
29427 PyObject
* obj0
= 0 ;
29428 PyObject
* obj1
= 0 ;
29429 char *kwnames
[] = {
29430 (char *) "self",(char *) "pt", NULL
29433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
29434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29435 if (SWIG_arg_fail(1)) SWIG_fail
;
29438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29448 wxPoint
* resultptr
;
29449 resultptr
= new wxPoint((wxPoint
&)(result
));
29450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29458 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29459 PyObject
*resultobj
;
29460 wxWindow
*arg1
= (wxWindow
*) 0 ;
29464 PyObject
* obj0
= 0 ;
29465 PyObject
* obj1
= 0 ;
29466 char *kwnames
[] = {
29467 (char *) "self",(char *) "sz", NULL
29470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29472 if (SWIG_arg_fail(1)) SWIG_fail
;
29475 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29485 wxSize
* resultptr
;
29486 resultptr
= new wxSize((wxSize
&)(result
));
29487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29495 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
;
29497 wxWindow
*arg1
= (wxWindow
*) 0 ;
29498 wxPoint
*arg2
= 0 ;
29501 PyObject
* obj0
= 0 ;
29502 PyObject
* obj1
= 0 ;
29503 char *kwnames
[] = {
29504 (char *) "self",(char *) "pt", NULL
29507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29509 if (SWIG_arg_fail(1)) SWIG_fail
;
29512 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29522 wxPoint
* resultptr
;
29523 resultptr
= new wxPoint((wxPoint
&)(result
));
29524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29532 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
;
29534 wxWindow
*arg1
= (wxWindow
*) 0 ;
29538 PyObject
* obj0
= 0 ;
29539 PyObject
* obj1
= 0 ;
29540 char *kwnames
[] = {
29541 (char *) "self",(char *) "sz", NULL
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29546 if (SWIG_arg_fail(1)) SWIG_fail
;
29549 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29555 wxPyEndAllowThreads(__tstate
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29559 wxSize
* resultptr
;
29560 resultptr
= new wxSize((wxSize
&)(result
));
29561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29569 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29570 PyObject
*resultobj
;
29571 wxWindow
*arg1
= (wxWindow
*) 0 ;
29574 PyObject
* obj0
= 0 ;
29575 PyObject
* obj1
= 0 ;
29576 PyObject
* obj2
= 0 ;
29577 char *kwnames
[] = {
29578 (char *) "self",(char *) "x",(char *) "y", NULL
29581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29583 if (SWIG_arg_fail(1)) SWIG_fail
;
29585 arg2
= (int)(SWIG_As_int(obj1
));
29586 if (SWIG_arg_fail(2)) SWIG_fail
;
29589 arg3
= (int)(SWIG_As_int(obj2
));
29590 if (SWIG_arg_fail(3)) SWIG_fail
;
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 (arg1
)->WarpPointer(arg2
,arg3
);
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29599 Py_INCREF(Py_None
); resultobj
= Py_None
;
29606 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
;
29608 wxWindow
*arg1
= (wxWindow
*) 0 ;
29609 PyObject
* obj0
= 0 ;
29610 char *kwnames
[] = {
29611 (char *) "self", NULL
29614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29616 if (SWIG_arg_fail(1)) SWIG_fail
;
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 (arg1
)->CaptureMouse();
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29624 Py_INCREF(Py_None
); resultobj
= Py_None
;
29631 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
;
29633 wxWindow
*arg1
= (wxWindow
*) 0 ;
29634 PyObject
* obj0
= 0 ;
29635 char *kwnames
[] = {
29636 (char *) "self", NULL
29639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29641 if (SWIG_arg_fail(1)) SWIG_fail
;
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 (arg1
)->ReleaseMouse();
29646 wxPyEndAllowThreads(__tstate
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29649 Py_INCREF(Py_None
); resultobj
= Py_None
;
29656 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
;
29659 char *kwnames
[] = {
29663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29665 if (!wxPyCheckForApp()) SWIG_fail
;
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 result
= (wxWindow
*)wxWindow::GetCapture();
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29673 resultobj
= wxPyMake_wxObject(result
, 0);
29681 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
;
29683 wxWindow
*arg1
= (wxWindow
*) 0 ;
29685 PyObject
* obj0
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "self", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29692 if (SWIG_arg_fail(1)) SWIG_fail
;
29694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29697 wxPyEndAllowThreads(__tstate
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29709 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29710 PyObject
*resultobj
;
29711 wxWindow
*arg1
= (wxWindow
*) 0 ;
29712 bool arg2
= (bool) true ;
29713 wxRect
*arg3
= (wxRect
*) NULL
;
29714 PyObject
* obj0
= 0 ;
29715 PyObject
* obj1
= 0 ;
29716 PyObject
* obj2
= 0 ;
29717 char *kwnames
[] = {
29718 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29723 if (SWIG_arg_fail(1)) SWIG_fail
;
29726 arg2
= (bool)(SWIG_As_bool(obj1
));
29727 if (SWIG_arg_fail(2)) SWIG_fail
;
29731 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29732 if (SWIG_arg_fail(3)) SWIG_fail
;
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29741 Py_INCREF(Py_None
); resultobj
= Py_None
;
29748 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
;
29750 wxWindow
*arg1
= (wxWindow
*) 0 ;
29752 bool arg3
= (bool) true ;
29754 PyObject
* obj0
= 0 ;
29755 PyObject
* obj1
= 0 ;
29756 PyObject
* obj2
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29763 if (SWIG_arg_fail(1)) SWIG_fail
;
29766 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29770 arg3
= (bool)(SWIG_As_bool(obj2
));
29771 if (SWIG_arg_fail(3)) SWIG_fail
;
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29778 wxPyEndAllowThreads(__tstate
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29781 Py_INCREF(Py_None
); resultobj
= Py_None
;
29788 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
;
29790 wxWindow
*arg1
= (wxWindow
*) 0 ;
29791 PyObject
* obj0
= 0 ;
29792 char *kwnames
[] = {
29793 (char *) "self", NULL
29796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29798 if (SWIG_arg_fail(1)) SWIG_fail
;
29800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 wxPyEndAllowThreads(__tstate
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29806 Py_INCREF(Py_None
); resultobj
= Py_None
;
29813 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29814 PyObject
*resultobj
;
29815 wxWindow
*arg1
= (wxWindow
*) 0 ;
29816 PyObject
* obj0
= 0 ;
29817 char *kwnames
[] = {
29818 (char *) "self", NULL
29821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29823 if (SWIG_arg_fail(1)) SWIG_fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 (arg1
)->ClearBackground();
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29831 Py_INCREF(Py_None
); resultobj
= Py_None
;
29838 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29839 PyObject
*resultobj
;
29840 wxWindow
*arg1
= (wxWindow
*) 0 ;
29841 PyObject
* obj0
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29848 if (SWIG_arg_fail(1)) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29856 Py_INCREF(Py_None
); resultobj
= Py_None
;
29863 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29864 PyObject
*resultobj
;
29865 wxWindow
*arg1
= (wxWindow
*) 0 ;
29866 PyObject
* obj0
= 0 ;
29867 char *kwnames
[] = {
29868 (char *) "self", NULL
29871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29873 if (SWIG_arg_fail(1)) SWIG_fail
;
29875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29878 wxPyEndAllowThreads(__tstate
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 Py_INCREF(Py_None
); resultobj
= Py_None
;
29888 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29889 PyObject
*resultobj
;
29890 wxWindow
*arg1
= (wxWindow
*) 0 ;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29894 char *kwnames
[] = {
29895 (char *) "self",(char *) "dc", NULL
29898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29900 if (SWIG_arg_fail(1)) SWIG_fail
;
29902 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29903 if (SWIG_arg_fail(2)) SWIG_fail
;
29904 if (arg2
== NULL
) {
29905 SWIG_null_ref("wxDC");
29907 if (SWIG_arg_fail(2)) SWIG_fail
;
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29911 (arg1
)->PrepareDC(*arg2
);
29913 wxPyEndAllowThreads(__tstate
);
29914 if (PyErr_Occurred()) SWIG_fail
;
29916 Py_INCREF(Py_None
); resultobj
= Py_None
;
29923 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29924 PyObject
*resultobj
;
29925 wxWindow
*arg1
= (wxWindow
*) 0 ;
29927 PyObject
* obj0
= 0 ;
29928 char *kwnames
[] = {
29929 (char *) "self", NULL
29932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29934 if (SWIG_arg_fail(1)) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29939 result
= (wxRegion
*) &_result_ref
;
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29952 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29953 PyObject
*resultobj
;
29954 wxWindow
*arg1
= (wxWindow
*) 0 ;
29956 PyObject
* obj0
= 0 ;
29957 char *kwnames
[] = {
29958 (char *) "self", NULL
29961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29963 if (SWIG_arg_fail(1)) SWIG_fail
;
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29972 wxRect
* resultptr
;
29973 resultptr
= new wxRect((wxRect
&)(result
));
29974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29982 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
;
29984 wxWindow
*arg1
= (wxWindow
*) 0 ;
29987 int arg4
= (int) 1 ;
29988 int arg5
= (int) 1 ;
29990 PyObject
* obj0
= 0 ;
29991 PyObject
* obj1
= 0 ;
29992 PyObject
* obj2
= 0 ;
29993 PyObject
* obj3
= 0 ;
29994 PyObject
* obj4
= 0 ;
29995 char *kwnames
[] = {
29996 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30001 if (SWIG_arg_fail(1)) SWIG_fail
;
30003 arg2
= (int)(SWIG_As_int(obj1
));
30004 if (SWIG_arg_fail(2)) SWIG_fail
;
30007 arg3
= (int)(SWIG_As_int(obj2
));
30008 if (SWIG_arg_fail(3)) SWIG_fail
;
30012 arg4
= (int)(SWIG_As_int(obj3
));
30013 if (SWIG_arg_fail(4)) SWIG_fail
;
30018 arg5
= (int)(SWIG_As_int(obj4
));
30019 if (SWIG_arg_fail(5)) SWIG_fail
;
30023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30024 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
30026 wxPyEndAllowThreads(__tstate
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30038 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30039 PyObject
*resultobj
;
30040 wxWindow
*arg1
= (wxWindow
*) 0 ;
30041 wxPoint
*arg2
= 0 ;
30044 PyObject
* obj0
= 0 ;
30045 PyObject
* obj1
= 0 ;
30046 char *kwnames
[] = {
30047 (char *) "self",(char *) "pt", NULL
30050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
30051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30052 if (SWIG_arg_fail(1)) SWIG_fail
;
30055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30059 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
30061 wxPyEndAllowThreads(__tstate
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30073 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
;
30075 wxWindow
*arg1
= (wxWindow
*) 0 ;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 char *kwnames
[] = {
30082 (char *) "self",(char *) "rect", NULL
30085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30087 if (SWIG_arg_fail(1)) SWIG_fail
;
30090 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30108 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
;
30110 wxWindow
*arg1
= (wxWindow
*) 0 ;
30111 wxVisualAttributes result
;
30112 PyObject
* obj0
= 0 ;
30113 char *kwnames
[] = {
30114 (char *) "self", NULL
30117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30119 if (SWIG_arg_fail(1)) SWIG_fail
;
30121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30122 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30128 wxVisualAttributes
* resultptr
;
30129 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30138 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
;
30140 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30141 wxVisualAttributes result
;
30142 PyObject
* obj0
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "variant", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30150 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30151 if (SWIG_arg_fail(1)) SWIG_fail
;
30155 if (!wxPyCheckForApp()) SWIG_fail
;
30156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30157 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30163 wxVisualAttributes
* resultptr
;
30164 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30173 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
;
30175 wxWindow
*arg1
= (wxWindow
*) 0 ;
30176 wxColour
*arg2
= 0 ;
30179 PyObject
* obj0
= 0 ;
30180 PyObject
* obj1
= 0 ;
30181 char *kwnames
[] = {
30182 (char *) "self",(char *) "colour", NULL
30185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30187 if (SWIG_arg_fail(1)) SWIG_fail
;
30190 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30194 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30208 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
;
30210 wxWindow
*arg1
= (wxWindow
*) 0 ;
30211 wxColour
*arg2
= 0 ;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 char *kwnames
[] = {
30216 (char *) "self",(char *) "colour", NULL
30219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30221 if (SWIG_arg_fail(1)) SWIG_fail
;
30224 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30233 Py_INCREF(Py_None
); resultobj
= Py_None
;
30240 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30241 PyObject
*resultobj
;
30242 wxWindow
*arg1
= (wxWindow
*) 0 ;
30243 wxColour
*arg2
= 0 ;
30246 PyObject
* obj0
= 0 ;
30247 PyObject
* obj1
= 0 ;
30248 char *kwnames
[] = {
30249 (char *) "self",(char *) "colour", NULL
30252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30254 if (SWIG_arg_fail(1)) SWIG_fail
;
30257 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30261 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
30263 wxPyEndAllowThreads(__tstate
);
30264 if (PyErr_Occurred()) SWIG_fail
;
30267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30275 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30276 PyObject
*resultobj
;
30277 wxWindow
*arg1
= (wxWindow
*) 0 ;
30278 wxColour
*arg2
= 0 ;
30280 PyObject
* obj0
= 0 ;
30281 PyObject
* obj1
= 0 ;
30282 char *kwnames
[] = {
30283 (char *) "self",(char *) "colour", NULL
30286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30288 if (SWIG_arg_fail(1)) SWIG_fail
;
30291 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30295 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
30297 wxPyEndAllowThreads(__tstate
);
30298 if (PyErr_Occurred()) SWIG_fail
;
30300 Py_INCREF(Py_None
); resultobj
= Py_None
;
30307 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30308 PyObject
*resultobj
;
30309 wxWindow
*arg1
= (wxWindow
*) 0 ;
30311 PyObject
* obj0
= 0 ;
30312 char *kwnames
[] = {
30313 (char *) "self", NULL
30316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
30317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30318 if (SWIG_arg_fail(1)) SWIG_fail
;
30320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30321 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30327 wxColour
* resultptr
;
30328 resultptr
= new wxColour((wxColour
&)(result
));
30329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30337 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30338 PyObject
*resultobj
;
30339 wxWindow
*arg1
= (wxWindow
*) 0 ;
30341 PyObject
* obj0
= 0 ;
30342 char *kwnames
[] = {
30343 (char *) "self", NULL
30346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
30347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30348 if (SWIG_arg_fail(1)) SWIG_fail
;
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30351 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
30353 wxPyEndAllowThreads(__tstate
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30357 wxColour
* resultptr
;
30358 resultptr
= new wxColour((wxColour
&)(result
));
30359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
30367 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30368 PyObject
*resultobj
;
30369 wxWindow
*arg1
= (wxWindow
*) 0 ;
30371 PyObject
* obj0
= 0 ;
30372 char *kwnames
[] = {
30373 (char *) "self", NULL
30376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
30377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30378 if (SWIG_arg_fail(1)) SWIG_fail
;
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
30383 wxPyEndAllowThreads(__tstate
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30395 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30396 PyObject
*resultobj
;
30397 wxWindow
*arg1
= (wxWindow
*) 0 ;
30399 PyObject
* obj0
= 0 ;
30400 char *kwnames
[] = {
30401 (char *) "self", NULL
30404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
30405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30406 if (SWIG_arg_fail(1)) SWIG_fail
;
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30423 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30424 PyObject
*resultobj
;
30425 wxWindow
*arg1
= (wxWindow
*) 0 ;
30426 wxBackgroundStyle arg2
;
30428 PyObject
* obj0
= 0 ;
30429 PyObject
* obj1
= 0 ;
30430 char *kwnames
[] = {
30431 (char *) "self",(char *) "style", NULL
30434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
30435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30436 if (SWIG_arg_fail(1)) SWIG_fail
;
30438 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
30439 if (SWIG_arg_fail(2)) SWIG_fail
;
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
30445 wxPyEndAllowThreads(__tstate
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30457 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
;
30459 wxWindow
*arg1
= (wxWindow
*) 0 ;
30460 wxBackgroundStyle result
;
30461 PyObject
* obj0
= 0 ;
30462 char *kwnames
[] = {
30463 (char *) "self", NULL
30466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
30467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30468 if (SWIG_arg_fail(1)) SWIG_fail
;
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= SWIG_From_int((result
));
30483 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
;
30485 wxWindow
*arg1
= (wxWindow
*) 0 ;
30487 PyObject
* obj0
= 0 ;
30488 char *kwnames
[] = {
30489 (char *) "self", NULL
30492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30494 if (SWIG_arg_fail(1)) SWIG_fail
;
30496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30497 result
= (bool)(arg1
)->HasTransparentBackground();
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30511 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30512 PyObject
*resultobj
;
30513 wxWindow
*arg1
= (wxWindow
*) 0 ;
30514 wxCursor
*arg2
= 0 ;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 char *kwnames
[] = {
30519 (char *) "self",(char *) "cursor", NULL
30522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30524 if (SWIG_arg_fail(1)) SWIG_fail
;
30526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30527 if (SWIG_arg_fail(2)) SWIG_fail
;
30528 if (arg2
== NULL
) {
30529 SWIG_null_ref("wxCursor");
30531 if (SWIG_arg_fail(2)) SWIG_fail
;
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30549 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
;
30551 wxWindow
*arg1
= (wxWindow
*) 0 ;
30553 PyObject
* obj0
= 0 ;
30554 char *kwnames
[] = {
30555 (char *) "self", NULL
30558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30560 if (SWIG_arg_fail(1)) SWIG_fail
;
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 result
= (arg1
)->GetCursor();
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30569 wxCursor
* resultptr
;
30570 resultptr
= new wxCursor((wxCursor
&)(result
));
30571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30579 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30580 PyObject
*resultobj
;
30581 wxWindow
*arg1
= (wxWindow
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self",(char *) "font", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30592 if (SWIG_arg_fail(1)) SWIG_fail
;
30594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30595 if (SWIG_arg_fail(2)) SWIG_fail
;
30596 if (arg2
== NULL
) {
30597 SWIG_null_ref("wxFont");
30599 if (SWIG_arg_fail(2)) SWIG_fail
;
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30603 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30605 wxPyEndAllowThreads(__tstate
);
30606 if (PyErr_Occurred()) SWIG_fail
;
30609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30617 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30618 PyObject
*resultobj
;
30619 wxWindow
*arg1
= (wxWindow
*) 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 char *kwnames
[] = {
30624 (char *) "self",(char *) "font", NULL
30627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30629 if (SWIG_arg_fail(1)) SWIG_fail
;
30631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30632 if (SWIG_arg_fail(2)) SWIG_fail
;
30633 if (arg2
== NULL
) {
30634 SWIG_null_ref("wxFont");
30636 if (SWIG_arg_fail(2)) SWIG_fail
;
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30645 Py_INCREF(Py_None
); resultobj
= Py_None
;
30652 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30653 PyObject
*resultobj
;
30654 wxWindow
*arg1
= (wxWindow
*) 0 ;
30656 PyObject
* obj0
= 0 ;
30657 char *kwnames
[] = {
30658 (char *) "self", NULL
30661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30663 if (SWIG_arg_fail(1)) SWIG_fail
;
30665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30666 result
= (arg1
)->GetFont();
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30672 wxFont
* resultptr
;
30673 resultptr
= new wxFont((wxFont
&)(result
));
30674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30682 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30683 PyObject
*resultobj
;
30684 wxWindow
*arg1
= (wxWindow
*) 0 ;
30685 wxCaret
*arg2
= (wxCaret
*) 0 ;
30686 PyObject
* obj0
= 0 ;
30687 PyObject
* obj1
= 0 ;
30688 char *kwnames
[] = {
30689 (char *) "self",(char *) "caret", NULL
30692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30694 if (SWIG_arg_fail(1)) SWIG_fail
;
30695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30696 if (SWIG_arg_fail(2)) SWIG_fail
;
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 (arg1
)->SetCaret(arg2
);
30701 wxPyEndAllowThreads(__tstate
);
30702 if (PyErr_Occurred()) SWIG_fail
;
30704 Py_INCREF(Py_None
); resultobj
= Py_None
;
30711 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30712 PyObject
*resultobj
;
30713 wxWindow
*arg1
= (wxWindow
*) 0 ;
30715 PyObject
* obj0
= 0 ;
30716 char *kwnames
[] = {
30717 (char *) "self", NULL
30720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30727 wxPyEndAllowThreads(__tstate
);
30728 if (PyErr_Occurred()) SWIG_fail
;
30730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30737 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
;
30739 wxWindow
*arg1
= (wxWindow
*) 0 ;
30741 PyObject
* obj0
= 0 ;
30742 char *kwnames
[] = {
30743 (char *) "self", NULL
30746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30748 if (SWIG_arg_fail(1)) SWIG_fail
;
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30753 wxPyEndAllowThreads(__tstate
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30757 resultobj
= SWIG_From_int((int)(result
));
30765 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30766 PyObject
*resultobj
;
30767 wxWindow
*arg1
= (wxWindow
*) 0 ;
30769 PyObject
* obj0
= 0 ;
30770 char *kwnames
[] = {
30771 (char *) "self", NULL
30774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30776 if (SWIG_arg_fail(1)) SWIG_fail
;
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30781 wxPyEndAllowThreads(__tstate
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= SWIG_From_int((int)(result
));
30793 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
;
30795 wxWindow
*arg1
= (wxWindow
*) 0 ;
30796 wxString
*arg2
= 0 ;
30797 int *arg3
= (int *) 0 ;
30798 int *arg4
= (int *) 0 ;
30799 bool temp2
= false ;
30804 PyObject
* obj0
= 0 ;
30805 PyObject
* obj1
= 0 ;
30806 char *kwnames
[] = {
30807 (char *) "self",(char *) "string", NULL
30810 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30811 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30814 if (SWIG_arg_fail(1)) SWIG_fail
;
30816 arg2
= wxString_in_helper(obj1
);
30817 if (arg2
== NULL
) SWIG_fail
;
30821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30822 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30824 wxPyEndAllowThreads(__tstate
);
30825 if (PyErr_Occurred()) SWIG_fail
;
30827 Py_INCREF(Py_None
); resultobj
= Py_None
;
30828 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30829 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30830 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30831 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30846 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
;
30848 wxWindow
*arg1
= (wxWindow
*) 0 ;
30849 wxString
*arg2
= 0 ;
30850 int *arg3
= (int *) 0 ;
30851 int *arg4
= (int *) 0 ;
30852 int *arg5
= (int *) 0 ;
30853 int *arg6
= (int *) 0 ;
30854 wxFont
*arg7
= (wxFont
*) NULL
;
30855 bool temp2
= false ;
30864 PyObject
* obj0
= 0 ;
30865 PyObject
* obj1
= 0 ;
30866 PyObject
* obj2
= 0 ;
30867 char *kwnames
[] = {
30868 (char *) "self",(char *) "string",(char *) "font", NULL
30871 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30872 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30873 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30874 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30877 if (SWIG_arg_fail(1)) SWIG_fail
;
30879 arg2
= wxString_in_helper(obj1
);
30880 if (arg2
== NULL
) SWIG_fail
;
30884 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30885 if (SWIG_arg_fail(7)) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30894 Py_INCREF(Py_None
); resultobj
= Py_None
;
30895 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30896 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30897 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30898 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30899 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30900 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30901 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30902 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30917 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30918 PyObject
*resultobj
;
30919 wxWindow
*arg1
= (wxWindow
*) 0 ;
30920 int *arg2
= (int *) 0 ;
30921 int *arg3
= (int *) 0 ;
30926 PyObject
* obj0
= 0 ;
30927 PyObject
* obj1
= 0 ;
30928 PyObject
* obj2
= 0 ;
30929 char *kwnames
[] = {
30930 (char *) "self",(char *) "x",(char *) "y", NULL
30933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30935 if (SWIG_arg_fail(1)) SWIG_fail
;
30937 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30938 temp2
= SWIG_As_int(obj1
);
30939 if (SWIG_arg_fail(2)) SWIG_fail
;
30941 res2
= SWIG_NEWOBJ
;
30945 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30946 temp3
= SWIG_As_int(obj2
);
30947 if (SWIG_arg_fail(3)) SWIG_fail
;
30949 res3
= SWIG_NEWOBJ
;
30953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30954 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30959 Py_INCREF(Py_None
); resultobj
= Py_None
;
30960 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30961 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30962 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30963 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30970 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30971 PyObject
*resultobj
;
30972 wxWindow
*arg1
= (wxWindow
*) 0 ;
30973 int *arg2
= (int *) 0 ;
30974 int *arg3
= (int *) 0 ;
30979 PyObject
* obj0
= 0 ;
30980 PyObject
* obj1
= 0 ;
30981 PyObject
* obj2
= 0 ;
30982 char *kwnames
[] = {
30983 (char *) "self",(char *) "x",(char *) "y", NULL
30986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30988 if (SWIG_arg_fail(1)) SWIG_fail
;
30990 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30991 temp2
= SWIG_As_int(obj1
);
30992 if (SWIG_arg_fail(2)) SWIG_fail
;
30994 res2
= SWIG_NEWOBJ
;
30998 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30999 temp3
= SWIG_As_int(obj2
);
31000 if (SWIG_arg_fail(3)) SWIG_fail
;
31002 res3
= SWIG_NEWOBJ
;
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 Py_INCREF(Py_None
); resultobj
= Py_None
;
31013 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
31014 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
31015 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31016 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31023 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
;
31025 wxWindow
*arg1
= (wxWindow
*) 0 ;
31026 wxPoint
*arg2
= 0 ;
31029 PyObject
* obj0
= 0 ;
31030 PyObject
* obj1
= 0 ;
31031 char *kwnames
[] = {
31032 (char *) "self",(char *) "pt", NULL
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
31036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail
;
31040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
31046 wxPyEndAllowThreads(__tstate
);
31047 if (PyErr_Occurred()) SWIG_fail
;
31050 wxPoint
* resultptr
;
31051 resultptr
= new wxPoint((wxPoint
&)(result
));
31052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
31060 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
;
31062 wxWindow
*arg1
= (wxWindow
*) 0 ;
31063 wxPoint
*arg2
= 0 ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 char *kwnames
[] = {
31069 (char *) "self",(char *) "pt", NULL
31072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
31073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31074 if (SWIG_arg_fail(1)) SWIG_fail
;
31077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31081 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
31083 wxPyEndAllowThreads(__tstate
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31087 wxPoint
* resultptr
;
31088 resultptr
= new wxPoint((wxPoint
&)(result
));
31089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
31097 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
;
31099 wxWindow
*arg1
= (wxWindow
*) 0 ;
31103 PyObject
* obj0
= 0 ;
31104 PyObject
* obj1
= 0 ;
31105 PyObject
* obj2
= 0 ;
31106 char *kwnames
[] = {
31107 (char *) "self",(char *) "x",(char *) "y", NULL
31110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31112 if (SWIG_arg_fail(1)) SWIG_fail
;
31114 arg2
= (int)(SWIG_As_int(obj1
));
31115 if (SWIG_arg_fail(2)) SWIG_fail
;
31118 arg3
= (int)(SWIG_As_int(obj2
));
31119 if (SWIG_arg_fail(3)) SWIG_fail
;
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31128 resultobj
= SWIG_From_int((result
));
31135 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31136 PyObject
*resultobj
;
31137 wxWindow
*arg1
= (wxWindow
*) 0 ;
31138 wxPoint
*arg2
= 0 ;
31141 PyObject
* obj0
= 0 ;
31142 PyObject
* obj1
= 0 ;
31143 char *kwnames
[] = {
31144 (char *) "self",(char *) "pt", NULL
31147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
31148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31149 if (SWIG_arg_fail(1)) SWIG_fail
;
31152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= SWIG_From_int((result
));
31168 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
31169 PyObject
*resultobj
;
31170 wxWindow
*arg1
= (wxWindow
*) 0 ;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31176 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
31177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31178 if (SWIG_arg_fail(1)) SWIG_fail
;
31180 arg2
= (long)(SWIG_As_long(obj1
));
31181 if (SWIG_arg_fail(2)) SWIG_fail
;
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
31187 wxPyEndAllowThreads(__tstate
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31190 resultobj
= SWIG_From_int((result
));
31197 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
31198 PyObject
*resultobj
;
31199 wxWindow
*arg1
= (wxWindow
*) 0 ;
31201 PyObject
* obj0
= 0 ;
31203 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= SWIG_From_int((result
));
31220 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
31225 argc
= PyObject_Length(args
);
31226 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
31227 argv
[ii
] = PyTuple_GetItem(args
,ii
);
31233 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
31241 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
31248 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
31256 _v
= SWIG_Check_long(argv
[1]);
31258 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
31263 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
31268 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
;
31270 wxWindow
*arg1
= (wxWindow
*) 0 ;
31271 long arg2
= (long) wxUPDATE_UI_NONE
;
31272 PyObject
* obj0
= 0 ;
31273 PyObject
* obj1
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self",(char *) "flags", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31280 if (SWIG_arg_fail(1)) SWIG_fail
;
31283 arg2
= (long)(SWIG_As_long(obj1
));
31284 if (SWIG_arg_fail(2)) SWIG_fail
;
31288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31289 (arg1
)->UpdateWindowUI(arg2
);
31291 wxPyEndAllowThreads(__tstate
);
31292 if (PyErr_Occurred()) SWIG_fail
;
31294 Py_INCREF(Py_None
); resultobj
= Py_None
;
31301 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31302 PyObject
*resultobj
;
31303 wxWindow
*arg1
= (wxWindow
*) 0 ;
31304 wxMenu
*arg2
= (wxMenu
*) 0 ;
31305 int arg3
= (int) -1 ;
31306 int arg4
= (int) -1 ;
31308 PyObject
* obj0
= 0 ;
31309 PyObject
* obj1
= 0 ;
31310 PyObject
* obj2
= 0 ;
31311 PyObject
* obj3
= 0 ;
31312 char *kwnames
[] = {
31313 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
31316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31318 if (SWIG_arg_fail(1)) SWIG_fail
;
31319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31320 if (SWIG_arg_fail(2)) SWIG_fail
;
31323 arg3
= (int)(SWIG_As_int(obj2
));
31324 if (SWIG_arg_fail(3)) SWIG_fail
;
31329 arg4
= (int)(SWIG_As_int(obj3
));
31330 if (SWIG_arg_fail(4)) SWIG_fail
;
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
31337 wxPyEndAllowThreads(__tstate
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31349 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
;
31351 wxWindow
*arg1
= (wxWindow
*) 0 ;
31352 wxMenu
*arg2
= (wxMenu
*) 0 ;
31353 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31354 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31357 PyObject
* obj0
= 0 ;
31358 PyObject
* obj1
= 0 ;
31359 PyObject
* obj2
= 0 ;
31360 char *kwnames
[] = {
31361 (char *) "self",(char *) "menu",(char *) "pos", NULL
31364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31366 if (SWIG_arg_fail(1)) SWIG_fail
;
31367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31368 if (SWIG_arg_fail(2)) SWIG_fail
;
31372 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31377 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
31379 wxPyEndAllowThreads(__tstate
);
31380 if (PyErr_Occurred()) SWIG_fail
;
31383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31391 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31392 PyObject
*resultobj
;
31393 wxWindow
*arg1
= (wxWindow
*) 0 ;
31395 PyObject
* obj0
= 0 ;
31396 char *kwnames
[] = {
31397 (char *) "self", NULL
31400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
31401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31402 if (SWIG_arg_fail(1)) SWIG_fail
;
31404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31405 result
= (long)wxWindow_GetHandle(arg1
);
31407 wxPyEndAllowThreads(__tstate
);
31408 if (PyErr_Occurred()) SWIG_fail
;
31411 resultobj
= SWIG_From_long((long)(result
));
31419 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
;
31421 wxWindow
*arg1
= (wxWindow
*) 0 ;
31423 PyObject
* obj0
= 0 ;
31424 PyObject
* obj1
= 0 ;
31425 char *kwnames
[] = {
31426 (char *) "self",(char *) "handle", NULL
31429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
31430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31431 if (SWIG_arg_fail(1)) SWIG_fail
;
31433 arg2
= (long)(SWIG_As_long(obj1
));
31434 if (SWIG_arg_fail(2)) SWIG_fail
;
31437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31438 wxWindow_AssociateHandle(arg1
,arg2
);
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31443 Py_INCREF(Py_None
); resultobj
= Py_None
;
31450 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31451 PyObject
*resultobj
;
31452 wxWindow
*arg1
= (wxWindow
*) 0 ;
31453 PyObject
* obj0
= 0 ;
31454 char *kwnames
[] = {
31455 (char *) "self", NULL
31458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
31459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31460 if (SWIG_arg_fail(1)) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 (arg1
)->DissociateHandle();
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 Py_INCREF(Py_None
); resultobj
= Py_None
;
31475 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31476 PyObject
*resultobj
;
31477 wxWindow
*arg1
= (wxWindow
*) 0 ;
31478 wxPaintEvent
*arg2
= 0 ;
31479 PyObject
* obj0
= 0 ;
31480 PyObject
* obj1
= 0 ;
31481 char *kwnames
[] = {
31482 (char *) "self",(char *) "event", NULL
31485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
31486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31487 if (SWIG_arg_fail(1)) SWIG_fail
;
31489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
31490 if (SWIG_arg_fail(2)) SWIG_fail
;
31491 if (arg2
== NULL
) {
31492 SWIG_null_ref("wxPaintEvent");
31494 if (SWIG_arg_fail(2)) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 (arg1
)->OnPaint(*arg2
);
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31503 Py_INCREF(Py_None
); resultobj
= Py_None
;
31510 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31511 PyObject
*resultobj
;
31512 wxWindow
*arg1
= (wxWindow
*) 0 ;
31515 PyObject
* obj0
= 0 ;
31516 PyObject
* obj1
= 0 ;
31517 char *kwnames
[] = {
31518 (char *) "self",(char *) "orient", NULL
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31523 if (SWIG_arg_fail(1)) SWIG_fail
;
31525 arg2
= (int)(SWIG_As_int(obj1
));
31526 if (SWIG_arg_fail(2)) SWIG_fail
;
31529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31530 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31544 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31545 PyObject
*resultobj
;
31546 wxWindow
*arg1
= (wxWindow
*) 0 ;
31551 bool arg6
= (bool) true ;
31552 PyObject
* obj0
= 0 ;
31553 PyObject
* obj1
= 0 ;
31554 PyObject
* obj2
= 0 ;
31555 PyObject
* obj3
= 0 ;
31556 PyObject
* obj4
= 0 ;
31557 PyObject
* obj5
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31564 if (SWIG_arg_fail(1)) SWIG_fail
;
31566 arg2
= (int)(SWIG_As_int(obj1
));
31567 if (SWIG_arg_fail(2)) SWIG_fail
;
31570 arg3
= (int)(SWIG_As_int(obj2
));
31571 if (SWIG_arg_fail(3)) SWIG_fail
;
31574 arg4
= (int)(SWIG_As_int(obj3
));
31575 if (SWIG_arg_fail(4)) SWIG_fail
;
31578 arg5
= (int)(SWIG_As_int(obj4
));
31579 if (SWIG_arg_fail(5)) SWIG_fail
;
31583 arg6
= (bool)(SWIG_As_bool(obj5
));
31584 if (SWIG_arg_fail(6)) SWIG_fail
;
31588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31589 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31591 wxPyEndAllowThreads(__tstate
);
31592 if (PyErr_Occurred()) SWIG_fail
;
31594 Py_INCREF(Py_None
); resultobj
= Py_None
;
31601 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31602 PyObject
*resultobj
;
31603 wxWindow
*arg1
= (wxWindow
*) 0 ;
31606 bool arg4
= (bool) true ;
31607 PyObject
* obj0
= 0 ;
31608 PyObject
* obj1
= 0 ;
31609 PyObject
* obj2
= 0 ;
31610 PyObject
* obj3
= 0 ;
31611 char *kwnames
[] = {
31612 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31617 if (SWIG_arg_fail(1)) SWIG_fail
;
31619 arg2
= (int)(SWIG_As_int(obj1
));
31620 if (SWIG_arg_fail(2)) SWIG_fail
;
31623 arg3
= (int)(SWIG_As_int(obj2
));
31624 if (SWIG_arg_fail(3)) SWIG_fail
;
31628 arg4
= (bool)(SWIG_As_bool(obj3
));
31629 if (SWIG_arg_fail(4)) SWIG_fail
;
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 Py_INCREF(Py_None
); resultobj
= Py_None
;
31646 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31647 PyObject
*resultobj
;
31648 wxWindow
*arg1
= (wxWindow
*) 0 ;
31651 PyObject
* obj0
= 0 ;
31652 PyObject
* obj1
= 0 ;
31653 char *kwnames
[] = {
31654 (char *) "self",(char *) "orientation", NULL
31657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31659 if (SWIG_arg_fail(1)) SWIG_fail
;
31661 arg2
= (int)(SWIG_As_int(obj1
));
31662 if (SWIG_arg_fail(2)) SWIG_fail
;
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31668 wxPyEndAllowThreads(__tstate
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= SWIG_From_int((int)(result
));
31680 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31681 PyObject
*resultobj
;
31682 wxWindow
*arg1
= (wxWindow
*) 0 ;
31685 PyObject
* obj0
= 0 ;
31686 PyObject
* obj1
= 0 ;
31687 char *kwnames
[] = {
31688 (char *) "self",(char *) "orientation", NULL
31691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31693 if (SWIG_arg_fail(1)) SWIG_fail
;
31695 arg2
= (int)(SWIG_As_int(obj1
));
31696 if (SWIG_arg_fail(2)) SWIG_fail
;
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31706 resultobj
= SWIG_From_int((int)(result
));
31714 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
;
31716 wxWindow
*arg1
= (wxWindow
*) 0 ;
31719 PyObject
* obj0
= 0 ;
31720 PyObject
* obj1
= 0 ;
31721 char *kwnames
[] = {
31722 (char *) "self",(char *) "orientation", NULL
31725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31727 if (SWIG_arg_fail(1)) SWIG_fail
;
31729 arg2
= (int)(SWIG_As_int(obj1
));
31730 if (SWIG_arg_fail(2)) SWIG_fail
;
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31736 wxPyEndAllowThreads(__tstate
);
31737 if (PyErr_Occurred()) SWIG_fail
;
31740 resultobj
= SWIG_From_int((int)(result
));
31748 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31749 PyObject
*resultobj
;
31750 wxWindow
*arg1
= (wxWindow
*) 0 ;
31753 wxRect
*arg4
= (wxRect
*) NULL
;
31754 PyObject
* obj0
= 0 ;
31755 PyObject
* obj1
= 0 ;
31756 PyObject
* obj2
= 0 ;
31757 PyObject
* obj3
= 0 ;
31758 char *kwnames
[] = {
31759 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31764 if (SWIG_arg_fail(1)) SWIG_fail
;
31766 arg2
= (int)(SWIG_As_int(obj1
));
31767 if (SWIG_arg_fail(2)) SWIG_fail
;
31770 arg3
= (int)(SWIG_As_int(obj2
));
31771 if (SWIG_arg_fail(3)) SWIG_fail
;
31774 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31775 if (SWIG_arg_fail(4)) SWIG_fail
;
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31784 Py_INCREF(Py_None
); resultobj
= Py_None
;
31791 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31792 PyObject
*resultobj
;
31793 wxWindow
*arg1
= (wxWindow
*) 0 ;
31796 PyObject
* obj0
= 0 ;
31797 PyObject
* obj1
= 0 ;
31798 char *kwnames
[] = {
31799 (char *) "self",(char *) "lines", NULL
31802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31804 if (SWIG_arg_fail(1)) SWIG_fail
;
31806 arg2
= (int)(SWIG_As_int(obj1
));
31807 if (SWIG_arg_fail(2)) SWIG_fail
;
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 result
= (bool)(arg1
)->ScrollLines(arg2
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31825 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31826 PyObject
*resultobj
;
31827 wxWindow
*arg1
= (wxWindow
*) 0 ;
31830 PyObject
* obj0
= 0 ;
31831 PyObject
* obj1
= 0 ;
31832 char *kwnames
[] = {
31833 (char *) "self",(char *) "pages", NULL
31836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31838 if (SWIG_arg_fail(1)) SWIG_fail
;
31840 arg2
= (int)(SWIG_As_int(obj1
));
31841 if (SWIG_arg_fail(2)) SWIG_fail
;
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 result
= (bool)(arg1
)->ScrollPages(arg2
);
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31859 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
;
31861 wxWindow
*arg1
= (wxWindow
*) 0 ;
31863 PyObject
* obj0
= 0 ;
31864 char *kwnames
[] = {
31865 (char *) "self", NULL
31868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31870 if (SWIG_arg_fail(1)) SWIG_fail
;
31872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31873 result
= (bool)(arg1
)->LineUp();
31875 wxPyEndAllowThreads(__tstate
);
31876 if (PyErr_Occurred()) SWIG_fail
;
31879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31887 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31888 PyObject
*resultobj
;
31889 wxWindow
*arg1
= (wxWindow
*) 0 ;
31891 PyObject
* obj0
= 0 ;
31892 char *kwnames
[] = {
31893 (char *) "self", NULL
31896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31898 if (SWIG_arg_fail(1)) SWIG_fail
;
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 result
= (bool)(arg1
)->LineDown();
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31915 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31916 PyObject
*resultobj
;
31917 wxWindow
*arg1
= (wxWindow
*) 0 ;
31919 PyObject
* obj0
= 0 ;
31920 char *kwnames
[] = {
31921 (char *) "self", NULL
31924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31926 if (SWIG_arg_fail(1)) SWIG_fail
;
31928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31929 result
= (bool)(arg1
)->PageUp();
31931 wxPyEndAllowThreads(__tstate
);
31932 if (PyErr_Occurred()) SWIG_fail
;
31935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31943 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31944 PyObject
*resultobj
;
31945 wxWindow
*arg1
= (wxWindow
*) 0 ;
31947 PyObject
* obj0
= 0 ;
31948 char *kwnames
[] = {
31949 (char *) "self", NULL
31952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31954 if (SWIG_arg_fail(1)) SWIG_fail
;
31956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31957 result
= (bool)(arg1
)->PageDown();
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31971 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31972 PyObject
*resultobj
;
31973 wxWindow
*arg1
= (wxWindow
*) 0 ;
31974 wxString
*arg2
= 0 ;
31975 bool temp2
= false ;
31976 PyObject
* obj0
= 0 ;
31977 PyObject
* obj1
= 0 ;
31978 char *kwnames
[] = {
31979 (char *) "self",(char *) "text", NULL
31982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
31987 if (arg2
== NULL
) SWIG_fail
;
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31994 wxPyEndAllowThreads(__tstate
);
31995 if (PyErr_Occurred()) SWIG_fail
;
31997 Py_INCREF(Py_None
); resultobj
= Py_None
;
32012 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32013 PyObject
*resultobj
;
32014 wxWindow
*arg1
= (wxWindow
*) 0 ;
32015 wxString
*arg2
= 0 ;
32016 bool temp2
= false ;
32017 PyObject
* obj0
= 0 ;
32018 PyObject
* obj1
= 0 ;
32019 char *kwnames
[] = {
32020 (char *) "self",(char *) "text", NULL
32023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
32024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32025 if (SWIG_arg_fail(1)) SWIG_fail
;
32027 arg2
= wxString_in_helper(obj1
);
32028 if (arg2
== NULL
) SWIG_fail
;
32032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32033 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
32035 wxPyEndAllowThreads(__tstate
);
32036 if (PyErr_Occurred()) SWIG_fail
;
32038 Py_INCREF(Py_None
); resultobj
= Py_None
;
32053 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32054 PyObject
*resultobj
;
32055 wxWindow
*arg1
= (wxWindow
*) 0 ;
32057 PyObject
* obj0
= 0 ;
32058 char *kwnames
[] = {
32059 (char *) "self", NULL
32062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
32063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32064 if (SWIG_arg_fail(1)) SWIG_fail
;
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32067 result
= ((wxWindow
const *)arg1
)->GetHelpText();
32069 wxPyEndAllowThreads(__tstate
);
32070 if (PyErr_Occurred()) SWIG_fail
;
32074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32085 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32086 PyObject
*resultobj
;
32087 wxWindow
*arg1
= (wxWindow
*) 0 ;
32088 wxString
*arg2
= 0 ;
32089 bool temp2
= false ;
32090 PyObject
* obj0
= 0 ;
32091 PyObject
* obj1
= 0 ;
32092 char *kwnames
[] = {
32093 (char *) "self",(char *) "tip", NULL
32096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
32097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32098 if (SWIG_arg_fail(1)) SWIG_fail
;
32100 arg2
= wxString_in_helper(obj1
);
32101 if (arg2
== NULL
) SWIG_fail
;
32105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32106 (arg1
)->SetToolTip((wxString
const &)*arg2
);
32108 wxPyEndAllowThreads(__tstate
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32111 Py_INCREF(Py_None
); resultobj
= Py_None
;
32126 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32127 PyObject
*resultobj
;
32128 wxWindow
*arg1
= (wxWindow
*) 0 ;
32129 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
32130 PyObject
* obj0
= 0 ;
32131 PyObject
* obj1
= 0 ;
32132 char *kwnames
[] = {
32133 (char *) "self",(char *) "tip", NULL
32136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
32137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32138 if (SWIG_arg_fail(1)) SWIG_fail
;
32139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
32140 if (SWIG_arg_fail(2)) SWIG_fail
;
32142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32143 (arg1
)->SetToolTip(arg2
);
32145 wxPyEndAllowThreads(__tstate
);
32146 if (PyErr_Occurred()) SWIG_fail
;
32148 Py_INCREF(Py_None
); resultobj
= Py_None
;
32155 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32156 PyObject
*resultobj
;
32157 wxWindow
*arg1
= (wxWindow
*) 0 ;
32159 PyObject
* obj0
= 0 ;
32160 char *kwnames
[] = {
32161 (char *) "self", NULL
32164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
32165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32166 if (SWIG_arg_fail(1)) SWIG_fail
;
32168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32169 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
32171 wxPyEndAllowThreads(__tstate
);
32172 if (PyErr_Occurred()) SWIG_fail
;
32175 resultobj
= wxPyMake_wxObject(result
, 0);
32183 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32184 PyObject
*resultobj
;
32185 wxWindow
*arg1
= (wxWindow
*) 0 ;
32186 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
32187 PyObject
* obj0
= 0 ;
32188 PyObject
* obj1
= 0 ;
32189 char *kwnames
[] = {
32190 (char *) "self",(char *) "dropTarget", NULL
32193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
32194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32195 if (SWIG_arg_fail(1)) SWIG_fail
;
32196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
32197 if (SWIG_arg_fail(2)) SWIG_fail
;
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 (arg1
)->SetDropTarget(arg2
);
32202 wxPyEndAllowThreads(__tstate
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32205 Py_INCREF(Py_None
); resultobj
= Py_None
;
32212 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32213 PyObject
*resultobj
;
32214 wxWindow
*arg1
= (wxWindow
*) 0 ;
32215 wxPyDropTarget
*result
;
32216 PyObject
* obj0
= 0 ;
32217 char *kwnames
[] = {
32218 (char *) "self", NULL
32221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
32222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32223 if (SWIG_arg_fail(1)) SWIG_fail
;
32225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32226 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
32228 wxPyEndAllowThreads(__tstate
);
32229 if (PyErr_Occurred()) SWIG_fail
;
32231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
32238 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32239 PyObject
*resultobj
;
32240 wxWindow
*arg1
= (wxWindow
*) 0 ;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 char *kwnames
[] = {
32245 (char *) "self",(char *) "accept", NULL
32248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
32249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32250 if (SWIG_arg_fail(1)) SWIG_fail
;
32252 arg2
= (bool)(SWIG_As_bool(obj1
));
32253 if (SWIG_arg_fail(2)) SWIG_fail
;
32256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32257 (arg1
)->DragAcceptFiles(arg2
);
32259 wxPyEndAllowThreads(__tstate
);
32260 if (PyErr_Occurred()) SWIG_fail
;
32262 Py_INCREF(Py_None
); resultobj
= Py_None
;
32269 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32270 PyObject
*resultobj
;
32271 wxWindow
*arg1
= (wxWindow
*) 0 ;
32272 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
32273 PyObject
* obj0
= 0 ;
32274 PyObject
* obj1
= 0 ;
32275 char *kwnames
[] = {
32276 (char *) "self",(char *) "constraints", NULL
32279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
32280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32281 if (SWIG_arg_fail(1)) SWIG_fail
;
32282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
32283 if (SWIG_arg_fail(2)) SWIG_fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32286 (arg1
)->SetConstraints(arg2
);
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 Py_INCREF(Py_None
); resultobj
= Py_None
;
32298 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32299 PyObject
*resultobj
;
32300 wxWindow
*arg1
= (wxWindow
*) 0 ;
32301 wxLayoutConstraints
*result
;
32302 PyObject
* obj0
= 0 ;
32303 char *kwnames
[] = {
32304 (char *) "self", NULL
32307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
32308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32309 if (SWIG_arg_fail(1)) SWIG_fail
;
32311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32312 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
32314 wxPyEndAllowThreads(__tstate
);
32315 if (PyErr_Occurred()) SWIG_fail
;
32317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
32324 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32325 PyObject
*resultobj
;
32326 wxWindow
*arg1
= (wxWindow
*) 0 ;
32328 PyObject
* obj0
= 0 ;
32329 PyObject
* obj1
= 0 ;
32330 char *kwnames
[] = {
32331 (char *) "self",(char *) "autoLayout", NULL
32334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
32335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32336 if (SWIG_arg_fail(1)) SWIG_fail
;
32338 arg2
= (bool)(SWIG_As_bool(obj1
));
32339 if (SWIG_arg_fail(2)) SWIG_fail
;
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 (arg1
)->SetAutoLayout(arg2
);
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32348 Py_INCREF(Py_None
); resultobj
= Py_None
;
32355 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32356 PyObject
*resultobj
;
32357 wxWindow
*arg1
= (wxWindow
*) 0 ;
32359 PyObject
* obj0
= 0 ;
32360 char *kwnames
[] = {
32361 (char *) "self", NULL
32364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
32365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32366 if (SWIG_arg_fail(1)) SWIG_fail
;
32368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32369 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
32371 wxPyEndAllowThreads(__tstate
);
32372 if (PyErr_Occurred()) SWIG_fail
;
32375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32383 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32384 PyObject
*resultobj
;
32385 wxWindow
*arg1
= (wxWindow
*) 0 ;
32387 PyObject
* obj0
= 0 ;
32388 char *kwnames
[] = {
32389 (char *) "self", NULL
32392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32397 result
= (bool)(arg1
)->Layout();
32399 wxPyEndAllowThreads(__tstate
);
32400 if (PyErr_Occurred()) SWIG_fail
;
32403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32411 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32412 PyObject
*resultobj
;
32413 wxWindow
*arg1
= (wxWindow
*) 0 ;
32414 wxSizer
*arg2
= (wxSizer
*) 0 ;
32415 bool arg3
= (bool) true ;
32416 PyObject
* obj0
= 0 ;
32417 PyObject
* obj1
= 0 ;
32418 PyObject
* obj2
= 0 ;
32419 char *kwnames
[] = {
32420 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32425 if (SWIG_arg_fail(1)) SWIG_fail
;
32426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32427 if (SWIG_arg_fail(2)) SWIG_fail
;
32430 arg3
= (bool)(SWIG_As_bool(obj2
));
32431 if (SWIG_arg_fail(3)) SWIG_fail
;
32435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32436 (arg1
)->SetSizer(arg2
,arg3
);
32438 wxPyEndAllowThreads(__tstate
);
32439 if (PyErr_Occurred()) SWIG_fail
;
32441 Py_INCREF(Py_None
); resultobj
= Py_None
;
32448 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32449 PyObject
*resultobj
;
32450 wxWindow
*arg1
= (wxWindow
*) 0 ;
32451 wxSizer
*arg2
= (wxSizer
*) 0 ;
32452 bool arg3
= (bool) true ;
32453 PyObject
* obj0
= 0 ;
32454 PyObject
* obj1
= 0 ;
32455 PyObject
* obj2
= 0 ;
32456 char *kwnames
[] = {
32457 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32462 if (SWIG_arg_fail(1)) SWIG_fail
;
32463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32464 if (SWIG_arg_fail(2)) SWIG_fail
;
32467 arg3
= (bool)(SWIG_As_bool(obj2
));
32468 if (SWIG_arg_fail(3)) SWIG_fail
;
32472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32473 (arg1
)->SetSizerAndFit(arg2
,arg3
);
32475 wxPyEndAllowThreads(__tstate
);
32476 if (PyErr_Occurred()) SWIG_fail
;
32478 Py_INCREF(Py_None
); resultobj
= Py_None
;
32485 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32486 PyObject
*resultobj
;
32487 wxWindow
*arg1
= (wxWindow
*) 0 ;
32489 PyObject
* obj0
= 0 ;
32490 char *kwnames
[] = {
32491 (char *) "self", NULL
32494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32496 if (SWIG_arg_fail(1)) SWIG_fail
;
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32499 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32501 wxPyEndAllowThreads(__tstate
);
32502 if (PyErr_Occurred()) SWIG_fail
;
32505 resultobj
= wxPyMake_wxObject(result
, 0);
32513 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32514 PyObject
*resultobj
;
32515 wxWindow
*arg1
= (wxWindow
*) 0 ;
32516 wxSizer
*arg2
= (wxSizer
*) 0 ;
32517 PyObject
* obj0
= 0 ;
32518 PyObject
* obj1
= 0 ;
32519 char *kwnames
[] = {
32520 (char *) "self",(char *) "sizer", NULL
32523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32525 if (SWIG_arg_fail(1)) SWIG_fail
;
32526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32527 if (SWIG_arg_fail(2)) SWIG_fail
;
32529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32530 (arg1
)->SetContainingSizer(arg2
);
32532 wxPyEndAllowThreads(__tstate
);
32533 if (PyErr_Occurred()) SWIG_fail
;
32535 Py_INCREF(Py_None
); resultobj
= Py_None
;
32542 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32543 PyObject
*resultobj
;
32544 wxWindow
*arg1
= (wxWindow
*) 0 ;
32546 PyObject
* obj0
= 0 ;
32547 char *kwnames
[] = {
32548 (char *) "self", NULL
32551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32553 if (SWIG_arg_fail(1)) SWIG_fail
;
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32556 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32558 wxPyEndAllowThreads(__tstate
);
32559 if (PyErr_Occurred()) SWIG_fail
;
32562 resultobj
= wxPyMake_wxObject(result
, 0);
32570 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32571 PyObject
*resultobj
;
32572 wxWindow
*arg1
= (wxWindow
*) 0 ;
32573 PyObject
* obj0
= 0 ;
32574 char *kwnames
[] = {
32575 (char *) "self", NULL
32578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32580 if (SWIG_arg_fail(1)) SWIG_fail
;
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 (arg1
)->InheritAttributes();
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 Py_INCREF(Py_None
); resultobj
= Py_None
;
32595 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32596 PyObject
*resultobj
;
32597 wxWindow
*arg1
= (wxWindow
*) 0 ;
32599 PyObject
* obj0
= 0 ;
32600 char *kwnames
[] = {
32601 (char *) "self", NULL
32604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32606 if (SWIG_arg_fail(1)) SWIG_fail
;
32608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32609 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32611 wxPyEndAllowThreads(__tstate
);
32612 if (PyErr_Occurred()) SWIG_fail
;
32615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32623 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32626 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32628 return Py_BuildValue((char *)"");
32630 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32631 PyObject
*resultobj
;
32633 wxWindow
*arg2
= (wxWindow
*) NULL
;
32635 PyObject
* obj0
= 0 ;
32636 PyObject
* obj1
= 0 ;
32637 char *kwnames
[] = {
32638 (char *) "id",(char *) "parent", NULL
32641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32643 arg1
= (long)(SWIG_As_long(obj0
));
32644 if (SWIG_arg_fail(1)) SWIG_fail
;
32647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32648 if (SWIG_arg_fail(2)) SWIG_fail
;
32651 if (!wxPyCheckForApp()) SWIG_fail
;
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= wxPyMake_wxObject(result
, 0);
32667 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
;
32669 wxString
*arg1
= 0 ;
32670 wxWindow
*arg2
= (wxWindow
*) NULL
;
32672 bool temp1
= false ;
32673 PyObject
* obj0
= 0 ;
32674 PyObject
* obj1
= 0 ;
32675 char *kwnames
[] = {
32676 (char *) "name",(char *) "parent", NULL
32679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32681 arg1
= wxString_in_helper(obj0
);
32682 if (arg1
== NULL
) SWIG_fail
;
32686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32687 if (SWIG_arg_fail(2)) SWIG_fail
;
32690 if (!wxPyCheckForApp()) SWIG_fail
;
32691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32692 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32698 resultobj
= wxPyMake_wxObject(result
, 0);
32714 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32715 PyObject
*resultobj
;
32716 wxString
*arg1
= 0 ;
32717 wxWindow
*arg2
= (wxWindow
*) NULL
;
32719 bool temp1
= false ;
32720 PyObject
* obj0
= 0 ;
32721 PyObject
* obj1
= 0 ;
32722 char *kwnames
[] = {
32723 (char *) "label",(char *) "parent", NULL
32726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32728 arg1
= wxString_in_helper(obj0
);
32729 if (arg1
== NULL
) SWIG_fail
;
32733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32734 if (SWIG_arg_fail(2)) SWIG_fail
;
32737 if (!wxPyCheckForApp()) SWIG_fail
;
32738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32739 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32745 resultobj
= wxPyMake_wxObject(result
, 0);
32761 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32762 PyObject
*resultobj
;
32763 wxWindow
*arg1
= (wxWindow
*) 0 ;
32764 unsigned long arg2
;
32766 PyObject
* obj0
= 0 ;
32767 PyObject
* obj1
= 0 ;
32768 char *kwnames
[] = {
32769 (char *) "parent",(char *) "_hWnd", NULL
32772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32774 if (SWIG_arg_fail(1)) SWIG_fail
;
32776 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32777 if (SWIG_arg_fail(2)) SWIG_fail
;
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32781 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= wxPyMake_wxObject(result
, 0);
32795 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32796 PyObject
*resultobj
;
32798 char *kwnames
[] = {
32802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32805 result
= (PyObject
*)GetTopLevelWindows();
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32810 resultobj
= result
;
32817 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32818 PyObject
*resultobj
;
32819 wxValidator
*result
;
32820 char *kwnames
[] = {
32824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32827 result
= (wxValidator
*)new wxValidator();
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32839 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
;
32841 wxValidator
*arg1
= (wxValidator
*) 0 ;
32842 wxValidator
*result
;
32843 PyObject
* obj0
= 0 ;
32844 char *kwnames
[] = {
32845 (char *) "self", NULL
32848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32850 if (SWIG_arg_fail(1)) SWIG_fail
;
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 result
= (wxValidator
*)(arg1
)->Clone();
32855 wxPyEndAllowThreads(__tstate
);
32856 if (PyErr_Occurred()) SWIG_fail
;
32859 resultobj
= wxPyMake_wxObject(result
, 0);
32867 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32868 PyObject
*resultobj
;
32869 wxValidator
*arg1
= (wxValidator
*) 0 ;
32870 wxWindow
*arg2
= (wxWindow
*) 0 ;
32872 PyObject
* obj0
= 0 ;
32873 PyObject
* obj1
= 0 ;
32874 char *kwnames
[] = {
32875 (char *) "self",(char *) "parent", NULL
32878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32880 if (SWIG_arg_fail(1)) SWIG_fail
;
32881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32882 if (SWIG_arg_fail(2)) SWIG_fail
;
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= (bool)(arg1
)->Validate(arg2
);
32887 wxPyEndAllowThreads(__tstate
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32899 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32900 PyObject
*resultobj
;
32901 wxValidator
*arg1
= (wxValidator
*) 0 ;
32903 PyObject
* obj0
= 0 ;
32904 char *kwnames
[] = {
32905 (char *) "self", NULL
32908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32910 if (SWIG_arg_fail(1)) SWIG_fail
;
32912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32913 result
= (bool)(arg1
)->TransferToWindow();
32915 wxPyEndAllowThreads(__tstate
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32927 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32928 PyObject
*resultobj
;
32929 wxValidator
*arg1
= (wxValidator
*) 0 ;
32931 PyObject
* obj0
= 0 ;
32932 char *kwnames
[] = {
32933 (char *) "self", NULL
32936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32938 if (SWIG_arg_fail(1)) SWIG_fail
;
32940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32941 result
= (bool)(arg1
)->TransferFromWindow();
32943 wxPyEndAllowThreads(__tstate
);
32944 if (PyErr_Occurred()) SWIG_fail
;
32947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32955 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32956 PyObject
*resultobj
;
32957 wxValidator
*arg1
= (wxValidator
*) 0 ;
32959 PyObject
* obj0
= 0 ;
32960 char *kwnames
[] = {
32961 (char *) "self", NULL
32964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32966 if (SWIG_arg_fail(1)) SWIG_fail
;
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 result
= (wxWindow
*)(arg1
)->GetWindow();
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32975 resultobj
= wxPyMake_wxObject(result
, 0);
32983 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32984 PyObject
*resultobj
;
32985 wxValidator
*arg1
= (wxValidator
*) 0 ;
32986 wxWindow
*arg2
= (wxWindow
*) 0 ;
32987 PyObject
* obj0
= 0 ;
32988 PyObject
* obj1
= 0 ;
32989 char *kwnames
[] = {
32990 (char *) "self",(char *) "window", NULL
32993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32995 if (SWIG_arg_fail(1)) SWIG_fail
;
32996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32997 if (SWIG_arg_fail(2)) SWIG_fail
;
32999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33000 (arg1
)->SetWindow(arg2
);
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33005 Py_INCREF(Py_None
); resultobj
= Py_None
;
33012 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33013 PyObject
*resultobj
;
33015 char *kwnames
[] = {
33019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
33021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33022 result
= (bool)wxValidator::IsSilent();
33024 wxPyEndAllowThreads(__tstate
);
33025 if (PyErr_Occurred()) SWIG_fail
;
33028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33036 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33037 PyObject
*resultobj
;
33038 int arg1
= (int) true ;
33039 PyObject
* obj0
= 0 ;
33040 char *kwnames
[] = {
33041 (char *) "doIt", NULL
33044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
33047 arg1
= (int)(SWIG_As_int(obj0
));
33048 if (SWIG_arg_fail(1)) SWIG_fail
;
33052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33053 wxValidator::SetBellOnError(arg1
);
33055 wxPyEndAllowThreads(__tstate
);
33056 if (PyErr_Occurred()) SWIG_fail
;
33058 Py_INCREF(Py_None
); resultobj
= Py_None
;
33065 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
33067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33068 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
33070 return Py_BuildValue((char *)"");
33072 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33073 PyObject
*resultobj
;
33074 wxPyValidator
*result
;
33075 char *kwnames
[] = {
33079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 result
= (wxPyValidator
*)new wxPyValidator();
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
33094 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33095 PyObject
*resultobj
;
33096 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
33097 PyObject
*arg2
= (PyObject
*) 0 ;
33098 PyObject
*arg3
= (PyObject
*) 0 ;
33099 int arg4
= (int) true ;
33100 PyObject
* obj0
= 0 ;
33101 PyObject
* obj1
= 0 ;
33102 PyObject
* obj2
= 0 ;
33103 PyObject
* obj3
= 0 ;
33104 char *kwnames
[] = {
33105 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
33110 if (SWIG_arg_fail(1)) SWIG_fail
;
33115 arg4
= (int)(SWIG_As_int(obj3
));
33116 if (SWIG_arg_fail(4)) SWIG_fail
;
33120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33121 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33123 wxPyEndAllowThreads(__tstate
);
33124 if (PyErr_Occurred()) SWIG_fail
;
33126 Py_INCREF(Py_None
); resultobj
= Py_None
;
33133 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
33135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33136 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
33138 return Py_BuildValue((char *)"");
33140 static int _wrap_DefaultValidator_set(PyObject
*) {
33141 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
33146 static PyObject
*_wrap_DefaultValidator_get(void) {
33149 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
33154 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33155 PyObject
*resultobj
;
33156 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33157 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33158 long arg2
= (long) 0 ;
33160 bool temp1
= false ;
33161 PyObject
* obj0
= 0 ;
33162 PyObject
* obj1
= 0 ;
33163 char *kwnames
[] = {
33164 (char *) "title",(char *) "style", NULL
33167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
33170 arg1
= wxString_in_helper(obj0
);
33171 if (arg1
== NULL
) SWIG_fail
;
33177 arg2
= (long)(SWIG_As_long(obj1
));
33178 if (SWIG_arg_fail(2)) SWIG_fail
;
33182 if (!wxPyCheckForApp()) SWIG_fail
;
33183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
33186 wxPyEndAllowThreads(__tstate
);
33187 if (PyErr_Occurred()) SWIG_fail
;
33189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
33204 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33205 PyObject
*resultobj
;
33206 wxMenu
*arg1
= (wxMenu
*) 0 ;
33208 wxString
*arg3
= 0 ;
33209 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33210 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33211 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33212 wxMenuItem
*result
;
33213 bool temp3
= false ;
33214 bool temp4
= false ;
33215 PyObject
* obj0
= 0 ;
33216 PyObject
* obj1
= 0 ;
33217 PyObject
* obj2
= 0 ;
33218 PyObject
* obj3
= 0 ;
33219 PyObject
* obj4
= 0 ;
33220 char *kwnames
[] = {
33221 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33226 if (SWIG_arg_fail(1)) SWIG_fail
;
33228 arg2
= (int)(SWIG_As_int(obj1
));
33229 if (SWIG_arg_fail(2)) SWIG_fail
;
33232 arg3
= wxString_in_helper(obj2
);
33233 if (arg3
== NULL
) SWIG_fail
;
33238 arg4
= wxString_in_helper(obj3
);
33239 if (arg4
== NULL
) SWIG_fail
;
33245 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33246 if (SWIG_arg_fail(5)) SWIG_fail
;
33250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33251 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33253 wxPyEndAllowThreads(__tstate
);
33254 if (PyErr_Occurred()) SWIG_fail
;
33257 resultobj
= wxPyMake_wxObject(result
, 0);
33281 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33282 PyObject
*resultobj
;
33283 wxMenu
*arg1
= (wxMenu
*) 0 ;
33284 wxMenuItem
*result
;
33285 PyObject
* obj0
= 0 ;
33286 char *kwnames
[] = {
33287 (char *) "self", NULL
33290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
33291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33292 if (SWIG_arg_fail(1)) SWIG_fail
;
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
33297 wxPyEndAllowThreads(__tstate
);
33298 if (PyErr_Occurred()) SWIG_fail
;
33301 resultobj
= wxPyMake_wxObject(result
, 0);
33309 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33310 PyObject
*resultobj
;
33311 wxMenu
*arg1
= (wxMenu
*) 0 ;
33313 wxString
*arg3
= 0 ;
33314 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33315 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33316 wxMenuItem
*result
;
33317 bool temp3
= false ;
33318 bool temp4
= false ;
33319 PyObject
* obj0
= 0 ;
33320 PyObject
* obj1
= 0 ;
33321 PyObject
* obj2
= 0 ;
33322 PyObject
* obj3
= 0 ;
33323 char *kwnames
[] = {
33324 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33329 if (SWIG_arg_fail(1)) SWIG_fail
;
33331 arg2
= (int)(SWIG_As_int(obj1
));
33332 if (SWIG_arg_fail(2)) SWIG_fail
;
33335 arg3
= wxString_in_helper(obj2
);
33336 if (arg3
== NULL
) SWIG_fail
;
33341 arg4
= wxString_in_helper(obj3
);
33342 if (arg4
== NULL
) SWIG_fail
;
33347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33348 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33350 wxPyEndAllowThreads(__tstate
);
33351 if (PyErr_Occurred()) SWIG_fail
;
33354 resultobj
= wxPyMake_wxObject(result
, 0);
33378 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
;
33380 wxMenu
*arg1
= (wxMenu
*) 0 ;
33382 wxString
*arg3
= 0 ;
33383 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33384 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33385 wxMenuItem
*result
;
33386 bool temp3
= false ;
33387 bool temp4
= false ;
33388 PyObject
* obj0
= 0 ;
33389 PyObject
* obj1
= 0 ;
33390 PyObject
* obj2
= 0 ;
33391 PyObject
* obj3
= 0 ;
33392 char *kwnames
[] = {
33393 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33398 if (SWIG_arg_fail(1)) SWIG_fail
;
33400 arg2
= (int)(SWIG_As_int(obj1
));
33401 if (SWIG_arg_fail(2)) SWIG_fail
;
33404 arg3
= wxString_in_helper(obj2
);
33405 if (arg3
== NULL
) SWIG_fail
;
33410 arg4
= wxString_in_helper(obj3
);
33411 if (arg4
== NULL
) SWIG_fail
;
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33419 wxPyEndAllowThreads(__tstate
);
33420 if (PyErr_Occurred()) SWIG_fail
;
33423 resultobj
= wxPyMake_wxObject(result
, 0);
33447 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33448 PyObject
*resultobj
;
33449 wxMenu
*arg1
= (wxMenu
*) 0 ;
33451 wxString
*arg3
= 0 ;
33452 wxMenu
*arg4
= (wxMenu
*) 0 ;
33453 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33454 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33455 wxMenuItem
*result
;
33456 bool temp3
= false ;
33457 bool temp5
= false ;
33458 PyObject
* obj0
= 0 ;
33459 PyObject
* obj1
= 0 ;
33460 PyObject
* obj2
= 0 ;
33461 PyObject
* obj3
= 0 ;
33462 PyObject
* obj4
= 0 ;
33463 char *kwnames
[] = {
33464 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33469 if (SWIG_arg_fail(1)) SWIG_fail
;
33471 arg2
= (int)(SWIG_As_int(obj1
));
33472 if (SWIG_arg_fail(2)) SWIG_fail
;
33475 arg3
= wxString_in_helper(obj2
);
33476 if (arg3
== NULL
) SWIG_fail
;
33479 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33480 if (SWIG_arg_fail(4)) SWIG_fail
;
33483 arg5
= wxString_in_helper(obj4
);
33484 if (arg5
== NULL
) SWIG_fail
;
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33490 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33492 wxPyEndAllowThreads(__tstate
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33496 resultobj
= wxPyMake_wxObject(result
, 0);
33520 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33521 PyObject
*resultobj
;
33522 wxMenu
*arg1
= (wxMenu
*) 0 ;
33523 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33524 wxMenuItem
*result
;
33525 PyObject
* obj0
= 0 ;
33526 PyObject
* obj1
= 0 ;
33527 char *kwnames
[] = {
33528 (char *) "self",(char *) "item", NULL
33531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33533 if (SWIG_arg_fail(1)) SWIG_fail
;
33534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33535 if (SWIG_arg_fail(2)) SWIG_fail
;
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33540 wxPyEndAllowThreads(__tstate
);
33541 if (PyErr_Occurred()) SWIG_fail
;
33544 resultobj
= wxPyMake_wxObject(result
, 0);
33552 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33553 PyObject
*resultobj
;
33554 wxMenu
*arg1
= (wxMenu
*) 0 ;
33555 PyObject
* obj0
= 0 ;
33556 char *kwnames
[] = {
33557 (char *) "self", NULL
33560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33562 if (SWIG_arg_fail(1)) SWIG_fail
;
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33567 wxPyEndAllowThreads(__tstate
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33570 Py_INCREF(Py_None
); resultobj
= Py_None
;
33577 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33578 PyObject
*resultobj
;
33579 wxMenu
*arg1
= (wxMenu
*) 0 ;
33581 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33582 wxMenuItem
*result
;
33583 PyObject
* obj0
= 0 ;
33584 PyObject
* obj1
= 0 ;
33585 PyObject
* obj2
= 0 ;
33586 char *kwnames
[] = {
33587 (char *) "self",(char *) "pos",(char *) "item", NULL
33590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33592 if (SWIG_arg_fail(1)) SWIG_fail
;
33594 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33595 if (SWIG_arg_fail(2)) SWIG_fail
;
33597 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33598 if (SWIG_arg_fail(3)) SWIG_fail
;
33600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33601 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33607 resultobj
= wxPyMake_wxObject(result
, 0);
33615 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33616 PyObject
*resultobj
;
33617 wxMenu
*arg1
= (wxMenu
*) 0 ;
33620 wxString
*arg4
= 0 ;
33621 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33622 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33623 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33624 wxMenuItem
*result
;
33625 bool temp4
= false ;
33626 bool temp5
= false ;
33627 PyObject
* obj0
= 0 ;
33628 PyObject
* obj1
= 0 ;
33629 PyObject
* obj2
= 0 ;
33630 PyObject
* obj3
= 0 ;
33631 PyObject
* obj4
= 0 ;
33632 PyObject
* obj5
= 0 ;
33633 char *kwnames
[] = {
33634 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33639 if (SWIG_arg_fail(1)) SWIG_fail
;
33641 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33642 if (SWIG_arg_fail(2)) SWIG_fail
;
33645 arg3
= (int)(SWIG_As_int(obj2
));
33646 if (SWIG_arg_fail(3)) SWIG_fail
;
33649 arg4
= wxString_in_helper(obj3
);
33650 if (arg4
== NULL
) SWIG_fail
;
33655 arg5
= wxString_in_helper(obj4
);
33656 if (arg5
== NULL
) SWIG_fail
;
33662 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33663 if (SWIG_arg_fail(6)) SWIG_fail
;
33667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33668 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33670 wxPyEndAllowThreads(__tstate
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33674 resultobj
= wxPyMake_wxObject(result
, 0);
33698 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33699 PyObject
*resultobj
;
33700 wxMenu
*arg1
= (wxMenu
*) 0 ;
33702 wxMenuItem
*result
;
33703 PyObject
* obj0
= 0 ;
33704 PyObject
* obj1
= 0 ;
33705 char *kwnames
[] = {
33706 (char *) "self",(char *) "pos", NULL
33709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33711 if (SWIG_arg_fail(1)) SWIG_fail
;
33713 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33714 if (SWIG_arg_fail(2)) SWIG_fail
;
33717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33718 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33720 wxPyEndAllowThreads(__tstate
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33724 resultobj
= wxPyMake_wxObject(result
, 0);
33732 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33733 PyObject
*resultobj
;
33734 wxMenu
*arg1
= (wxMenu
*) 0 ;
33737 wxString
*arg4
= 0 ;
33738 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33739 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33740 wxMenuItem
*result
;
33741 bool temp4
= false ;
33742 bool temp5
= false ;
33743 PyObject
* obj0
= 0 ;
33744 PyObject
* obj1
= 0 ;
33745 PyObject
* obj2
= 0 ;
33746 PyObject
* obj3
= 0 ;
33747 PyObject
* obj4
= 0 ;
33748 char *kwnames
[] = {
33749 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33754 if (SWIG_arg_fail(1)) SWIG_fail
;
33756 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33757 if (SWIG_arg_fail(2)) SWIG_fail
;
33760 arg3
= (int)(SWIG_As_int(obj2
));
33761 if (SWIG_arg_fail(3)) SWIG_fail
;
33764 arg4
= wxString_in_helper(obj3
);
33765 if (arg4
== NULL
) SWIG_fail
;
33770 arg5
= wxString_in_helper(obj4
);
33771 if (arg5
== NULL
) SWIG_fail
;
33776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33777 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33783 resultobj
= wxPyMake_wxObject(result
, 0);
33807 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33808 PyObject
*resultobj
;
33809 wxMenu
*arg1
= (wxMenu
*) 0 ;
33812 wxString
*arg4
= 0 ;
33813 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33814 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33815 wxMenuItem
*result
;
33816 bool temp4
= false ;
33817 bool temp5
= false ;
33818 PyObject
* obj0
= 0 ;
33819 PyObject
* obj1
= 0 ;
33820 PyObject
* obj2
= 0 ;
33821 PyObject
* obj3
= 0 ;
33822 PyObject
* obj4
= 0 ;
33823 char *kwnames
[] = {
33824 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33829 if (SWIG_arg_fail(1)) SWIG_fail
;
33831 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33832 if (SWIG_arg_fail(2)) SWIG_fail
;
33835 arg3
= (int)(SWIG_As_int(obj2
));
33836 if (SWIG_arg_fail(3)) SWIG_fail
;
33839 arg4
= wxString_in_helper(obj3
);
33840 if (arg4
== NULL
) SWIG_fail
;
33845 arg5
= wxString_in_helper(obj4
);
33846 if (arg5
== NULL
) SWIG_fail
;
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33858 resultobj
= wxPyMake_wxObject(result
, 0);
33882 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
;
33884 wxMenu
*arg1
= (wxMenu
*) 0 ;
33887 wxString
*arg4
= 0 ;
33888 wxMenu
*arg5
= (wxMenu
*) 0 ;
33889 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33890 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33891 wxMenuItem
*result
;
33892 bool temp4
= false ;
33893 bool temp6
= false ;
33894 PyObject
* obj0
= 0 ;
33895 PyObject
* obj1
= 0 ;
33896 PyObject
* obj2
= 0 ;
33897 PyObject
* obj3
= 0 ;
33898 PyObject
* obj4
= 0 ;
33899 PyObject
* obj5
= 0 ;
33900 char *kwnames
[] = {
33901 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33906 if (SWIG_arg_fail(1)) SWIG_fail
;
33908 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33909 if (SWIG_arg_fail(2)) SWIG_fail
;
33912 arg3
= (int)(SWIG_As_int(obj2
));
33913 if (SWIG_arg_fail(3)) SWIG_fail
;
33916 arg4
= wxString_in_helper(obj3
);
33917 if (arg4
== NULL
) SWIG_fail
;
33920 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33921 if (SWIG_arg_fail(5)) SWIG_fail
;
33924 arg6
= wxString_in_helper(obj5
);
33925 if (arg6
== NULL
) SWIG_fail
;
33930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33931 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33933 wxPyEndAllowThreads(__tstate
);
33934 if (PyErr_Occurred()) SWIG_fail
;
33937 resultobj
= wxPyMake_wxObject(result
, 0);
33961 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33962 PyObject
*resultobj
;
33963 wxMenu
*arg1
= (wxMenu
*) 0 ;
33964 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33965 wxMenuItem
*result
;
33966 PyObject
* obj0
= 0 ;
33967 PyObject
* obj1
= 0 ;
33968 char *kwnames
[] = {
33969 (char *) "self",(char *) "item", NULL
33972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33974 if (SWIG_arg_fail(1)) SWIG_fail
;
33975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33976 if (SWIG_arg_fail(2)) SWIG_fail
;
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33979 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33981 wxPyEndAllowThreads(__tstate
);
33982 if (PyErr_Occurred()) SWIG_fail
;
33985 resultobj
= wxPyMake_wxObject(result
, 0);
33993 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33994 PyObject
*resultobj
;
33995 wxMenu
*arg1
= (wxMenu
*) 0 ;
33997 wxString
*arg3
= 0 ;
33998 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33999 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34000 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
34001 wxMenuItem
*result
;
34002 bool temp3
= false ;
34003 bool temp4
= false ;
34004 PyObject
* obj0
= 0 ;
34005 PyObject
* obj1
= 0 ;
34006 PyObject
* obj2
= 0 ;
34007 PyObject
* obj3
= 0 ;
34008 PyObject
* obj4
= 0 ;
34009 char *kwnames
[] = {
34010 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
34013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34015 if (SWIG_arg_fail(1)) SWIG_fail
;
34017 arg2
= (int)(SWIG_As_int(obj1
));
34018 if (SWIG_arg_fail(2)) SWIG_fail
;
34021 arg3
= wxString_in_helper(obj2
);
34022 if (arg3
== NULL
) SWIG_fail
;
34027 arg4
= wxString_in_helper(obj3
);
34028 if (arg4
== NULL
) SWIG_fail
;
34034 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
34035 if (SWIG_arg_fail(5)) SWIG_fail
;
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
34042 wxPyEndAllowThreads(__tstate
);
34043 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= wxPyMake_wxObject(result
, 0);
34070 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34071 PyObject
*resultobj
;
34072 wxMenu
*arg1
= (wxMenu
*) 0 ;
34073 wxMenuItem
*result
;
34074 PyObject
* obj0
= 0 ;
34075 char *kwnames
[] = {
34076 (char *) "self", NULL
34079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
34080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34081 if (SWIG_arg_fail(1)) SWIG_fail
;
34083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34084 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
34086 wxPyEndAllowThreads(__tstate
);
34087 if (PyErr_Occurred()) SWIG_fail
;
34090 resultobj
= wxPyMake_wxObject(result
, 0);
34098 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34099 PyObject
*resultobj
;
34100 wxMenu
*arg1
= (wxMenu
*) 0 ;
34102 wxString
*arg3
= 0 ;
34103 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34104 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34105 wxMenuItem
*result
;
34106 bool temp3
= false ;
34107 bool temp4
= false ;
34108 PyObject
* obj0
= 0 ;
34109 PyObject
* obj1
= 0 ;
34110 PyObject
* obj2
= 0 ;
34111 PyObject
* obj3
= 0 ;
34112 char *kwnames
[] = {
34113 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
34116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34118 if (SWIG_arg_fail(1)) SWIG_fail
;
34120 arg2
= (int)(SWIG_As_int(obj1
));
34121 if (SWIG_arg_fail(2)) SWIG_fail
;
34124 arg3
= wxString_in_helper(obj2
);
34125 if (arg3
== NULL
) SWIG_fail
;
34130 arg4
= wxString_in_helper(obj3
);
34131 if (arg4
== NULL
) SWIG_fail
;
34136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34137 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
34139 wxPyEndAllowThreads(__tstate
);
34140 if (PyErr_Occurred()) SWIG_fail
;
34143 resultobj
= wxPyMake_wxObject(result
, 0);
34167 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34168 PyObject
*resultobj
;
34169 wxMenu
*arg1
= (wxMenu
*) 0 ;
34171 wxString
*arg3
= 0 ;
34172 wxString
const &arg4_defvalue
= wxPyEmptyString
;
34173 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
34174 wxMenuItem
*result
;
34175 bool temp3
= false ;
34176 bool temp4
= false ;
34177 PyObject
* obj0
= 0 ;
34178 PyObject
* obj1
= 0 ;
34179 PyObject
* obj2
= 0 ;
34180 PyObject
* obj3
= 0 ;
34181 char *kwnames
[] = {
34182 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
34185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34187 if (SWIG_arg_fail(1)) SWIG_fail
;
34189 arg2
= (int)(SWIG_As_int(obj1
));
34190 if (SWIG_arg_fail(2)) SWIG_fail
;
34193 arg3
= wxString_in_helper(obj2
);
34194 if (arg3
== NULL
) SWIG_fail
;
34199 arg4
= wxString_in_helper(obj3
);
34200 if (arg4
== NULL
) SWIG_fail
;
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34212 resultobj
= wxPyMake_wxObject(result
, 0);
34236 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34237 PyObject
*resultobj
;
34238 wxMenu
*arg1
= (wxMenu
*) 0 ;
34240 wxString
*arg3
= 0 ;
34241 wxMenu
*arg4
= (wxMenu
*) 0 ;
34242 wxString
const &arg5_defvalue
= wxPyEmptyString
;
34243 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
34244 wxMenuItem
*result
;
34245 bool temp3
= false ;
34246 bool temp5
= false ;
34247 PyObject
* obj0
= 0 ;
34248 PyObject
* obj1
= 0 ;
34249 PyObject
* obj2
= 0 ;
34250 PyObject
* obj3
= 0 ;
34251 PyObject
* obj4
= 0 ;
34252 char *kwnames
[] = {
34253 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
34256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34258 if (SWIG_arg_fail(1)) SWIG_fail
;
34260 arg2
= (int)(SWIG_As_int(obj1
));
34261 if (SWIG_arg_fail(2)) SWIG_fail
;
34264 arg3
= wxString_in_helper(obj2
);
34265 if (arg3
== NULL
) SWIG_fail
;
34268 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34269 if (SWIG_arg_fail(4)) SWIG_fail
;
34272 arg5
= wxString_in_helper(obj4
);
34273 if (arg5
== NULL
) SWIG_fail
;
34278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34279 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
34281 wxPyEndAllowThreads(__tstate
);
34282 if (PyErr_Occurred()) SWIG_fail
;
34285 resultobj
= wxPyMake_wxObject(result
, 0);
34309 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34310 PyObject
*resultobj
;
34311 wxMenu
*arg1
= (wxMenu
*) 0 ;
34313 wxMenuItem
*result
;
34314 PyObject
* obj0
= 0 ;
34315 PyObject
* obj1
= 0 ;
34316 char *kwnames
[] = {
34317 (char *) "self",(char *) "id", NULL
34320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34322 if (SWIG_arg_fail(1)) SWIG_fail
;
34324 arg2
= (int)(SWIG_As_int(obj1
));
34325 if (SWIG_arg_fail(2)) SWIG_fail
;
34328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34329 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
34331 wxPyEndAllowThreads(__tstate
);
34332 if (PyErr_Occurred()) SWIG_fail
;
34335 resultobj
= wxPyMake_wxObject(result
, 0);
34343 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34344 PyObject
*resultobj
;
34345 wxMenu
*arg1
= (wxMenu
*) 0 ;
34346 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34347 wxMenuItem
*result
;
34348 PyObject
* obj0
= 0 ;
34349 PyObject
* obj1
= 0 ;
34350 char *kwnames
[] = {
34351 (char *) "self",(char *) "item", NULL
34354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34356 if (SWIG_arg_fail(1)) SWIG_fail
;
34357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34358 if (SWIG_arg_fail(2)) SWIG_fail
;
34360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34361 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
34363 wxPyEndAllowThreads(__tstate
);
34364 if (PyErr_Occurred()) SWIG_fail
;
34367 resultobj
= wxPyMake_wxObject(result
, 0);
34375 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34376 PyObject
*resultobj
;
34377 wxMenu
*arg1
= (wxMenu
*) 0 ;
34380 PyObject
* obj0
= 0 ;
34381 PyObject
* obj1
= 0 ;
34382 char *kwnames
[] = {
34383 (char *) "self",(char *) "id", NULL
34386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34388 if (SWIG_arg_fail(1)) SWIG_fail
;
34390 arg2
= (int)(SWIG_As_int(obj1
));
34391 if (SWIG_arg_fail(2)) SWIG_fail
;
34394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34395 result
= (bool)(arg1
)->Delete(arg2
);
34397 wxPyEndAllowThreads(__tstate
);
34398 if (PyErr_Occurred()) SWIG_fail
;
34401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34409 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34410 PyObject
*resultobj
;
34411 wxMenu
*arg1
= (wxMenu
*) 0 ;
34412 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34414 PyObject
* obj0
= 0 ;
34415 PyObject
* obj1
= 0 ;
34416 char *kwnames
[] = {
34417 (char *) "self",(char *) "item", NULL
34420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34422 if (SWIG_arg_fail(1)) SWIG_fail
;
34423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34424 if (SWIG_arg_fail(2)) SWIG_fail
;
34426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34427 result
= (bool)(arg1
)->Delete(arg2
);
34429 wxPyEndAllowThreads(__tstate
);
34430 if (PyErr_Occurred()) SWIG_fail
;
34433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34441 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34442 PyObject
*resultobj
;
34443 wxMenu
*arg1
= (wxMenu
*) 0 ;
34444 PyObject
* obj0
= 0 ;
34445 char *kwnames
[] = {
34446 (char *) "self", NULL
34449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
34450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34451 if (SWIG_arg_fail(1)) SWIG_fail
;
34453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34454 wxMenu_Destroy(arg1
);
34456 wxPyEndAllowThreads(__tstate
);
34457 if (PyErr_Occurred()) SWIG_fail
;
34459 Py_INCREF(Py_None
); resultobj
= Py_None
;
34466 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34467 PyObject
*resultobj
;
34468 wxMenu
*arg1
= (wxMenu
*) 0 ;
34471 PyObject
* obj0
= 0 ;
34472 PyObject
* obj1
= 0 ;
34473 char *kwnames
[] = {
34474 (char *) "self",(char *) "id", NULL
34477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
34478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34479 if (SWIG_arg_fail(1)) SWIG_fail
;
34481 arg2
= (int)(SWIG_As_int(obj1
));
34482 if (SWIG_arg_fail(2)) SWIG_fail
;
34485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34486 result
= (bool)(arg1
)->Destroy(arg2
);
34488 wxPyEndAllowThreads(__tstate
);
34489 if (PyErr_Occurred()) SWIG_fail
;
34492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34500 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34501 PyObject
*resultobj
;
34502 wxMenu
*arg1
= (wxMenu
*) 0 ;
34503 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34505 PyObject
* obj0
= 0 ;
34506 PyObject
* obj1
= 0 ;
34507 char *kwnames
[] = {
34508 (char *) "self",(char *) "item", NULL
34511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34513 if (SWIG_arg_fail(1)) SWIG_fail
;
34514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34515 if (SWIG_arg_fail(2)) SWIG_fail
;
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 result
= (bool)(arg1
)->Destroy(arg2
);
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34532 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34533 PyObject
*resultobj
;
34534 wxMenu
*arg1
= (wxMenu
*) 0 ;
34536 PyObject
* obj0
= 0 ;
34537 char *kwnames
[] = {
34538 (char *) "self", NULL
34541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34543 if (SWIG_arg_fail(1)) SWIG_fail
;
34545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34546 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34548 wxPyEndAllowThreads(__tstate
);
34549 if (PyErr_Occurred()) SWIG_fail
;
34552 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34560 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34561 PyObject
*resultobj
;
34562 wxMenu
*arg1
= (wxMenu
*) 0 ;
34564 PyObject
* obj0
= 0 ;
34565 char *kwnames
[] = {
34566 (char *) "self", NULL
34569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34571 if (SWIG_arg_fail(1)) SWIG_fail
;
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34574 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34576 wxPyEndAllowThreads(__tstate
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34579 resultobj
= result
;
34586 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34587 PyObject
*resultobj
;
34588 wxMenu
*arg1
= (wxMenu
*) 0 ;
34589 wxString
*arg2
= 0 ;
34591 bool temp2
= false ;
34592 PyObject
* obj0
= 0 ;
34593 PyObject
* obj1
= 0 ;
34594 char *kwnames
[] = {
34595 (char *) "self",(char *) "item", NULL
34598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34600 if (SWIG_arg_fail(1)) SWIG_fail
;
34602 arg2
= wxString_in_helper(obj1
);
34603 if (arg2
== NULL
) SWIG_fail
;
34607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34608 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34610 wxPyEndAllowThreads(__tstate
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34614 resultobj
= SWIG_From_int((int)(result
));
34630 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34631 PyObject
*resultobj
;
34632 wxMenu
*arg1
= (wxMenu
*) 0 ;
34634 wxMenuItem
*result
;
34635 PyObject
* obj0
= 0 ;
34636 PyObject
* obj1
= 0 ;
34637 char *kwnames
[] = {
34638 (char *) "self",(char *) "id", NULL
34641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34643 if (SWIG_arg_fail(1)) SWIG_fail
;
34645 arg2
= (int)(SWIG_As_int(obj1
));
34646 if (SWIG_arg_fail(2)) SWIG_fail
;
34649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34650 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34652 wxPyEndAllowThreads(__tstate
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34656 resultobj
= wxPyMake_wxObject(result
, 0);
34664 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
;
34666 wxMenu
*arg1
= (wxMenu
*) 0 ;
34668 wxMenuItem
*result
;
34669 PyObject
* obj0
= 0 ;
34670 PyObject
* obj1
= 0 ;
34671 char *kwnames
[] = {
34672 (char *) "self",(char *) "position", NULL
34675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34677 if (SWIG_arg_fail(1)) SWIG_fail
;
34679 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34680 if (SWIG_arg_fail(2)) SWIG_fail
;
34683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= wxPyMake_wxObject(result
, 0);
34698 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
;
34700 wxMenu
*arg1
= (wxMenu
*) 0 ;
34703 PyObject
* obj0
= 0 ;
34704 PyObject
* obj1
= 0 ;
34705 PyObject
* obj2
= 0 ;
34706 char *kwnames
[] = {
34707 (char *) "self",(char *) "id",(char *) "enable", NULL
34710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34712 if (SWIG_arg_fail(1)) SWIG_fail
;
34714 arg2
= (int)(SWIG_As_int(obj1
));
34715 if (SWIG_arg_fail(2)) SWIG_fail
;
34718 arg3
= (bool)(SWIG_As_bool(obj2
));
34719 if (SWIG_arg_fail(3)) SWIG_fail
;
34722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34723 (arg1
)->Enable(arg2
,arg3
);
34725 wxPyEndAllowThreads(__tstate
);
34726 if (PyErr_Occurred()) SWIG_fail
;
34728 Py_INCREF(Py_None
); resultobj
= Py_None
;
34735 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34736 PyObject
*resultobj
;
34737 wxMenu
*arg1
= (wxMenu
*) 0 ;
34740 PyObject
* obj0
= 0 ;
34741 PyObject
* obj1
= 0 ;
34742 char *kwnames
[] = {
34743 (char *) "self",(char *) "id", NULL
34746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34748 if (SWIG_arg_fail(1)) SWIG_fail
;
34750 arg2
= (int)(SWIG_As_int(obj1
));
34751 if (SWIG_arg_fail(2)) SWIG_fail
;
34754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34755 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34757 wxPyEndAllowThreads(__tstate
);
34758 if (PyErr_Occurred()) SWIG_fail
;
34761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34769 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
;
34771 wxMenu
*arg1
= (wxMenu
*) 0 ;
34774 PyObject
* obj0
= 0 ;
34775 PyObject
* obj1
= 0 ;
34776 PyObject
* obj2
= 0 ;
34777 char *kwnames
[] = {
34778 (char *) "self",(char *) "id",(char *) "check", NULL
34781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34783 if (SWIG_arg_fail(1)) SWIG_fail
;
34785 arg2
= (int)(SWIG_As_int(obj1
));
34786 if (SWIG_arg_fail(2)) SWIG_fail
;
34789 arg3
= (bool)(SWIG_As_bool(obj2
));
34790 if (SWIG_arg_fail(3)) SWIG_fail
;
34793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 (arg1
)->Check(arg2
,arg3
);
34796 wxPyEndAllowThreads(__tstate
);
34797 if (PyErr_Occurred()) SWIG_fail
;
34799 Py_INCREF(Py_None
); resultobj
= Py_None
;
34806 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34807 PyObject
*resultobj
;
34808 wxMenu
*arg1
= (wxMenu
*) 0 ;
34811 PyObject
* obj0
= 0 ;
34812 PyObject
* obj1
= 0 ;
34813 char *kwnames
[] = {
34814 (char *) "self",(char *) "id", NULL
34817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34819 if (SWIG_arg_fail(1)) SWIG_fail
;
34821 arg2
= (int)(SWIG_As_int(obj1
));
34822 if (SWIG_arg_fail(2)) SWIG_fail
;
34825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34826 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34828 wxPyEndAllowThreads(__tstate
);
34829 if (PyErr_Occurred()) SWIG_fail
;
34832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34840 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34841 PyObject
*resultobj
;
34842 wxMenu
*arg1
= (wxMenu
*) 0 ;
34844 wxString
*arg3
= 0 ;
34845 bool temp3
= false ;
34846 PyObject
* obj0
= 0 ;
34847 PyObject
* obj1
= 0 ;
34848 PyObject
* obj2
= 0 ;
34849 char *kwnames
[] = {
34850 (char *) "self",(char *) "id",(char *) "label", NULL
34853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34855 if (SWIG_arg_fail(1)) SWIG_fail
;
34857 arg2
= (int)(SWIG_As_int(obj1
));
34858 if (SWIG_arg_fail(2)) SWIG_fail
;
34861 arg3
= wxString_in_helper(obj2
);
34862 if (arg3
== NULL
) SWIG_fail
;
34866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34867 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34869 wxPyEndAllowThreads(__tstate
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34872 Py_INCREF(Py_None
); resultobj
= Py_None
;
34887 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34888 PyObject
*resultobj
;
34889 wxMenu
*arg1
= (wxMenu
*) 0 ;
34892 PyObject
* obj0
= 0 ;
34893 PyObject
* obj1
= 0 ;
34894 char *kwnames
[] = {
34895 (char *) "self",(char *) "id", NULL
34898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34900 if (SWIG_arg_fail(1)) SWIG_fail
;
34902 arg2
= (int)(SWIG_As_int(obj1
));
34903 if (SWIG_arg_fail(2)) SWIG_fail
;
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34909 wxPyEndAllowThreads(__tstate
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34925 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34926 PyObject
*resultobj
;
34927 wxMenu
*arg1
= (wxMenu
*) 0 ;
34929 wxString
*arg3
= 0 ;
34930 bool temp3
= false ;
34931 PyObject
* obj0
= 0 ;
34932 PyObject
* obj1
= 0 ;
34933 PyObject
* obj2
= 0 ;
34934 char *kwnames
[] = {
34935 (char *) "self",(char *) "id",(char *) "helpString", NULL
34938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34940 if (SWIG_arg_fail(1)) SWIG_fail
;
34942 arg2
= (int)(SWIG_As_int(obj1
));
34943 if (SWIG_arg_fail(2)) SWIG_fail
;
34946 arg3
= wxString_in_helper(obj2
);
34947 if (arg3
== NULL
) SWIG_fail
;
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34954 wxPyEndAllowThreads(__tstate
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34957 Py_INCREF(Py_None
); resultobj
= Py_None
;
34972 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34973 PyObject
*resultobj
;
34974 wxMenu
*arg1
= (wxMenu
*) 0 ;
34977 PyObject
* obj0
= 0 ;
34978 PyObject
* obj1
= 0 ;
34979 char *kwnames
[] = {
34980 (char *) "self",(char *) "id", NULL
34983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34985 if (SWIG_arg_fail(1)) SWIG_fail
;
34987 arg2
= (int)(SWIG_As_int(obj1
));
34988 if (SWIG_arg_fail(2)) SWIG_fail
;
34991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34992 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34994 wxPyEndAllowThreads(__tstate
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35010 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35011 PyObject
*resultobj
;
35012 wxMenu
*arg1
= (wxMenu
*) 0 ;
35013 wxString
*arg2
= 0 ;
35014 bool temp2
= false ;
35015 PyObject
* obj0
= 0 ;
35016 PyObject
* obj1
= 0 ;
35017 char *kwnames
[] = {
35018 (char *) "self",(char *) "title", NULL
35021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
35022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35023 if (SWIG_arg_fail(1)) SWIG_fail
;
35025 arg2
= wxString_in_helper(obj1
);
35026 if (arg2
== NULL
) SWIG_fail
;
35030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35031 (arg1
)->SetTitle((wxString
const &)*arg2
);
35033 wxPyEndAllowThreads(__tstate
);
35034 if (PyErr_Occurred()) SWIG_fail
;
35036 Py_INCREF(Py_None
); resultobj
= Py_None
;
35051 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35052 PyObject
*resultobj
;
35053 wxMenu
*arg1
= (wxMenu
*) 0 ;
35055 PyObject
* obj0
= 0 ;
35056 char *kwnames
[] = {
35057 (char *) "self", NULL
35060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
35061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35062 if (SWIG_arg_fail(1)) SWIG_fail
;
35064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35065 result
= ((wxMenu
const *)arg1
)->GetTitle();
35067 wxPyEndAllowThreads(__tstate
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35083 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35084 PyObject
*resultobj
;
35085 wxMenu
*arg1
= (wxMenu
*) 0 ;
35086 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
35087 PyObject
* obj0
= 0 ;
35088 PyObject
* obj1
= 0 ;
35089 char *kwnames
[] = {
35090 (char *) "self",(char *) "handler", NULL
35093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
35094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35095 if (SWIG_arg_fail(1)) SWIG_fail
;
35096 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
35097 if (SWIG_arg_fail(2)) SWIG_fail
;
35099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35100 (arg1
)->SetEventHandler(arg2
);
35102 wxPyEndAllowThreads(__tstate
);
35103 if (PyErr_Occurred()) SWIG_fail
;
35105 Py_INCREF(Py_None
); resultobj
= Py_None
;
35112 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35113 PyObject
*resultobj
;
35114 wxMenu
*arg1
= (wxMenu
*) 0 ;
35115 wxEvtHandler
*result
;
35116 PyObject
* obj0
= 0 ;
35117 char *kwnames
[] = {
35118 (char *) "self", NULL
35121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
35122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35123 if (SWIG_arg_fail(1)) SWIG_fail
;
35125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35126 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
35128 wxPyEndAllowThreads(__tstate
);
35129 if (PyErr_Occurred()) SWIG_fail
;
35132 resultobj
= wxPyMake_wxObject(result
, 0);
35140 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35141 PyObject
*resultobj
;
35142 wxMenu
*arg1
= (wxMenu
*) 0 ;
35143 wxWindow
*arg2
= (wxWindow
*) 0 ;
35144 PyObject
* obj0
= 0 ;
35145 PyObject
* obj1
= 0 ;
35146 char *kwnames
[] = {
35147 (char *) "self",(char *) "win", NULL
35150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35152 if (SWIG_arg_fail(1)) SWIG_fail
;
35153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35154 if (SWIG_arg_fail(2)) SWIG_fail
;
35156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35157 (arg1
)->SetInvokingWindow(arg2
);
35159 wxPyEndAllowThreads(__tstate
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35162 Py_INCREF(Py_None
); resultobj
= Py_None
;
35169 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35170 PyObject
*resultobj
;
35171 wxMenu
*arg1
= (wxMenu
*) 0 ;
35173 PyObject
* obj0
= 0 ;
35174 char *kwnames
[] = {
35175 (char *) "self", NULL
35178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
35179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35180 if (SWIG_arg_fail(1)) SWIG_fail
;
35182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35183 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
35185 wxPyEndAllowThreads(__tstate
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35189 resultobj
= wxPyMake_wxObject(result
, 0);
35197 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35198 PyObject
*resultobj
;
35199 wxMenu
*arg1
= (wxMenu
*) 0 ;
35201 PyObject
* obj0
= 0 ;
35202 char *kwnames
[] = {
35203 (char *) "self", NULL
35206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
35207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35208 if (SWIG_arg_fail(1)) SWIG_fail
;
35210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35211 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35217 resultobj
= SWIG_From_long((long)(result
));
35225 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35226 PyObject
*resultobj
;
35227 wxMenu
*arg1
= (wxMenu
*) 0 ;
35228 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
35229 PyObject
* obj0
= 0 ;
35230 PyObject
* obj1
= 0 ;
35231 char *kwnames
[] = {
35232 (char *) "self",(char *) "source", NULL
35235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
35236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35237 if (SWIG_arg_fail(1)) SWIG_fail
;
35239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
35240 if (SWIG_arg_fail(2)) SWIG_fail
;
35243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35244 (arg1
)->UpdateUI(arg2
);
35246 wxPyEndAllowThreads(__tstate
);
35247 if (PyErr_Occurred()) SWIG_fail
;
35249 Py_INCREF(Py_None
); resultobj
= Py_None
;
35256 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35257 PyObject
*resultobj
;
35258 wxMenu
*arg1
= (wxMenu
*) 0 ;
35260 PyObject
* obj0
= 0 ;
35261 char *kwnames
[] = {
35262 (char *) "self", NULL
35265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
35266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35267 if (SWIG_arg_fail(1)) SWIG_fail
;
35269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35270 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
35272 wxPyEndAllowThreads(__tstate
);
35273 if (PyErr_Occurred()) SWIG_fail
;
35276 resultobj
= wxPyMake_wxObject(result
, 0);
35284 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35285 PyObject
*resultobj
;
35286 wxMenu
*arg1
= (wxMenu
*) 0 ;
35287 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
35288 PyObject
* obj0
= 0 ;
35289 PyObject
* obj1
= 0 ;
35290 char *kwnames
[] = {
35291 (char *) "self",(char *) "menubar", NULL
35294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35296 if (SWIG_arg_fail(1)) SWIG_fail
;
35297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
35298 if (SWIG_arg_fail(2)) SWIG_fail
;
35300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35301 (arg1
)->Attach(arg2
);
35303 wxPyEndAllowThreads(__tstate
);
35304 if (PyErr_Occurred()) SWIG_fail
;
35306 Py_INCREF(Py_None
); resultobj
= Py_None
;
35313 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35314 PyObject
*resultobj
;
35315 wxMenu
*arg1
= (wxMenu
*) 0 ;
35316 PyObject
* obj0
= 0 ;
35317 char *kwnames
[] = {
35318 (char *) "self", NULL
35321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
35322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35323 if (SWIG_arg_fail(1)) SWIG_fail
;
35325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35328 wxPyEndAllowThreads(__tstate
);
35329 if (PyErr_Occurred()) SWIG_fail
;
35331 Py_INCREF(Py_None
); resultobj
= Py_None
;
35338 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35339 PyObject
*resultobj
;
35340 wxMenu
*arg1
= (wxMenu
*) 0 ;
35342 PyObject
* obj0
= 0 ;
35343 char *kwnames
[] = {
35344 (char *) "self", NULL
35347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
35348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35349 if (SWIG_arg_fail(1)) SWIG_fail
;
35351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35352 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
35354 wxPyEndAllowThreads(__tstate
);
35355 if (PyErr_Occurred()) SWIG_fail
;
35358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35366 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35367 PyObject
*resultobj
;
35368 wxMenu
*arg1
= (wxMenu
*) 0 ;
35369 wxMenu
*arg2
= (wxMenu
*) 0 ;
35370 PyObject
* obj0
= 0 ;
35371 PyObject
* obj1
= 0 ;
35372 char *kwnames
[] = {
35373 (char *) "self",(char *) "parent", NULL
35376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
35377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35378 if (SWIG_arg_fail(1)) SWIG_fail
;
35379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35380 if (SWIG_arg_fail(2)) SWIG_fail
;
35382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35383 (arg1
)->SetParent(arg2
);
35385 wxPyEndAllowThreads(__tstate
);
35386 if (PyErr_Occurred()) SWIG_fail
;
35388 Py_INCREF(Py_None
); resultobj
= Py_None
;
35395 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35396 PyObject
*resultobj
;
35397 wxMenu
*arg1
= (wxMenu
*) 0 ;
35399 PyObject
* obj0
= 0 ;
35400 char *kwnames
[] = {
35401 (char *) "self", NULL
35404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
35405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35406 if (SWIG_arg_fail(1)) SWIG_fail
;
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35415 resultobj
= wxPyMake_wxObject(result
, 0);
35423 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
35425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35426 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
35428 return Py_BuildValue((char *)"");
35430 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35431 PyObject
*resultobj
;
35432 long arg1
= (long) 0 ;
35434 PyObject
* obj0
= 0 ;
35435 char *kwnames
[] = {
35436 (char *) "style", NULL
35439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
35442 arg1
= (long)(SWIG_As_long(obj0
));
35443 if (SWIG_arg_fail(1)) SWIG_fail
;
35447 if (!wxPyCheckForApp()) SWIG_fail
;
35448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35449 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
35451 wxPyEndAllowThreads(__tstate
);
35452 if (PyErr_Occurred()) SWIG_fail
;
35454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
35461 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35462 PyObject
*resultobj
;
35463 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35464 wxMenu
*arg2
= (wxMenu
*) 0 ;
35465 wxString
*arg3
= 0 ;
35467 bool temp3
= false ;
35468 PyObject
* obj0
= 0 ;
35469 PyObject
* obj1
= 0 ;
35470 PyObject
* obj2
= 0 ;
35471 char *kwnames
[] = {
35472 (char *) "self",(char *) "menu",(char *) "title", NULL
35475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35477 if (SWIG_arg_fail(1)) SWIG_fail
;
35478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35479 if (SWIG_arg_fail(2)) SWIG_fail
;
35481 arg3
= wxString_in_helper(obj2
);
35482 if (arg3
== NULL
) SWIG_fail
;
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35489 wxPyEndAllowThreads(__tstate
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35509 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35510 PyObject
*resultobj
;
35511 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35513 wxMenu
*arg3
= (wxMenu
*) 0 ;
35514 wxString
*arg4
= 0 ;
35516 bool temp4
= false ;
35517 PyObject
* obj0
= 0 ;
35518 PyObject
* obj1
= 0 ;
35519 PyObject
* obj2
= 0 ;
35520 PyObject
* obj3
= 0 ;
35521 char *kwnames
[] = {
35522 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35527 if (SWIG_arg_fail(1)) SWIG_fail
;
35529 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35530 if (SWIG_arg_fail(2)) SWIG_fail
;
35532 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35533 if (SWIG_arg_fail(3)) SWIG_fail
;
35535 arg4
= wxString_in_helper(obj3
);
35536 if (arg4
== NULL
) SWIG_fail
;
35540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35541 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35543 wxPyEndAllowThreads(__tstate
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35563 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35564 PyObject
*resultobj
;
35565 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35567 PyObject
* obj0
= 0 ;
35568 char *kwnames
[] = {
35569 (char *) "self", NULL
35572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35574 if (SWIG_arg_fail(1)) SWIG_fail
;
35576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35577 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35579 wxPyEndAllowThreads(__tstate
);
35580 if (PyErr_Occurred()) SWIG_fail
;
35583 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35591 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35592 PyObject
*resultobj
;
35593 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35596 PyObject
* obj0
= 0 ;
35597 PyObject
* obj1
= 0 ;
35598 char *kwnames
[] = {
35599 (char *) "self",(char *) "pos", NULL
35602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35604 if (SWIG_arg_fail(1)) SWIG_fail
;
35606 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35607 if (SWIG_arg_fail(2)) SWIG_fail
;
35610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35611 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35613 wxPyEndAllowThreads(__tstate
);
35614 if (PyErr_Occurred()) SWIG_fail
;
35617 resultobj
= wxPyMake_wxObject(result
, 0);
35625 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35626 PyObject
*resultobj
;
35627 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35629 wxMenu
*arg3
= (wxMenu
*) 0 ;
35630 wxString
*arg4
= 0 ;
35632 bool temp4
= false ;
35633 PyObject
* obj0
= 0 ;
35634 PyObject
* obj1
= 0 ;
35635 PyObject
* obj2
= 0 ;
35636 PyObject
* obj3
= 0 ;
35637 char *kwnames
[] = {
35638 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35643 if (SWIG_arg_fail(1)) SWIG_fail
;
35645 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35646 if (SWIG_arg_fail(2)) SWIG_fail
;
35648 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35649 if (SWIG_arg_fail(3)) SWIG_fail
;
35651 arg4
= wxString_in_helper(obj3
);
35652 if (arg4
== NULL
) SWIG_fail
;
35656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35657 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35659 wxPyEndAllowThreads(__tstate
);
35660 if (PyErr_Occurred()) SWIG_fail
;
35663 resultobj
= wxPyMake_wxObject(result
, 0);
35679 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
;
35681 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35684 PyObject
* obj0
= 0 ;
35685 PyObject
* obj1
= 0 ;
35686 char *kwnames
[] = {
35687 (char *) "self",(char *) "pos", NULL
35690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35692 if (SWIG_arg_fail(1)) SWIG_fail
;
35694 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35695 if (SWIG_arg_fail(2)) SWIG_fail
;
35698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35699 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35701 wxPyEndAllowThreads(__tstate
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35705 resultobj
= wxPyMake_wxObject(result
, 0);
35713 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35714 PyObject
*resultobj
;
35715 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35718 PyObject
* obj0
= 0 ;
35719 PyObject
* obj1
= 0 ;
35720 PyObject
* obj2
= 0 ;
35721 char *kwnames
[] = {
35722 (char *) "self",(char *) "pos",(char *) "enable", NULL
35725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35727 if (SWIG_arg_fail(1)) SWIG_fail
;
35729 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35730 if (SWIG_arg_fail(2)) SWIG_fail
;
35733 arg3
= (bool)(SWIG_As_bool(obj2
));
35734 if (SWIG_arg_fail(3)) SWIG_fail
;
35737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35738 (arg1
)->EnableTop(arg2
,arg3
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 Py_INCREF(Py_None
); resultobj
= Py_None
;
35750 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35751 PyObject
*resultobj
;
35752 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35755 PyObject
* obj0
= 0 ;
35756 PyObject
* obj1
= 0 ;
35757 char *kwnames
[] = {
35758 (char *) "self",(char *) "pos", NULL
35761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35763 if (SWIG_arg_fail(1)) SWIG_fail
;
35765 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35766 if (SWIG_arg_fail(2)) SWIG_fail
;
35769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35770 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35772 wxPyEndAllowThreads(__tstate
);
35773 if (PyErr_Occurred()) SWIG_fail
;
35776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35784 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35785 PyObject
*resultobj
;
35786 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35788 wxString
*arg3
= 0 ;
35789 bool temp3
= false ;
35790 PyObject
* obj0
= 0 ;
35791 PyObject
* obj1
= 0 ;
35792 PyObject
* obj2
= 0 ;
35793 char *kwnames
[] = {
35794 (char *) "self",(char *) "pos",(char *) "label", NULL
35797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35799 if (SWIG_arg_fail(1)) SWIG_fail
;
35801 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35802 if (SWIG_arg_fail(2)) SWIG_fail
;
35805 arg3
= wxString_in_helper(obj2
);
35806 if (arg3
== NULL
) SWIG_fail
;
35810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35811 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35813 wxPyEndAllowThreads(__tstate
);
35814 if (PyErr_Occurred()) SWIG_fail
;
35816 Py_INCREF(Py_None
); resultobj
= Py_None
;
35831 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35832 PyObject
*resultobj
;
35833 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35836 PyObject
* obj0
= 0 ;
35837 PyObject
* obj1
= 0 ;
35838 char *kwnames
[] = {
35839 (char *) "self",(char *) "pos", NULL
35842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35844 if (SWIG_arg_fail(1)) SWIG_fail
;
35846 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35847 if (SWIG_arg_fail(2)) SWIG_fail
;
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35853 wxPyEndAllowThreads(__tstate
);
35854 if (PyErr_Occurred()) SWIG_fail
;
35858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35869 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35870 PyObject
*resultobj
;
35871 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35872 wxString
*arg2
= 0 ;
35873 wxString
*arg3
= 0 ;
35875 bool temp2
= false ;
35876 bool temp3
= false ;
35877 PyObject
* obj0
= 0 ;
35878 PyObject
* obj1
= 0 ;
35879 PyObject
* obj2
= 0 ;
35880 char *kwnames
[] = {
35881 (char *) "self",(char *) "menu",(char *) "item", NULL
35884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35886 if (SWIG_arg_fail(1)) SWIG_fail
;
35888 arg2
= wxString_in_helper(obj1
);
35889 if (arg2
== NULL
) SWIG_fail
;
35893 arg3
= wxString_in_helper(obj2
);
35894 if (arg3
== NULL
) SWIG_fail
;
35898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35899 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35901 wxPyEndAllowThreads(__tstate
);
35902 if (PyErr_Occurred()) SWIG_fail
;
35905 resultobj
= SWIG_From_int((int)(result
));
35929 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35930 PyObject
*resultobj
;
35931 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35933 wxMenuItem
*result
;
35934 PyObject
* obj0
= 0 ;
35935 PyObject
* obj1
= 0 ;
35936 char *kwnames
[] = {
35937 (char *) "self",(char *) "id", NULL
35940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35942 if (SWIG_arg_fail(1)) SWIG_fail
;
35944 arg2
= (int)(SWIG_As_int(obj1
));
35945 if (SWIG_arg_fail(2)) SWIG_fail
;
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35951 wxPyEndAllowThreads(__tstate
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35955 resultobj
= wxPyMake_wxObject(result
, 0);
35963 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35964 PyObject
*resultobj
;
35965 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35966 wxString
*arg2
= 0 ;
35968 bool temp2
= false ;
35969 PyObject
* obj0
= 0 ;
35970 PyObject
* obj1
= 0 ;
35971 char *kwnames
[] = {
35972 (char *) "self",(char *) "title", NULL
35975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35977 if (SWIG_arg_fail(1)) SWIG_fail
;
35979 arg2
= wxString_in_helper(obj1
);
35980 if (arg2
== NULL
) SWIG_fail
;
35984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35985 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
35987 wxPyEndAllowThreads(__tstate
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35991 resultobj
= SWIG_From_int((int)(result
));
36007 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36008 PyObject
*resultobj
;
36009 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36012 PyObject
* obj0
= 0 ;
36013 PyObject
* obj1
= 0 ;
36014 PyObject
* obj2
= 0 ;
36015 char *kwnames
[] = {
36016 (char *) "self",(char *) "id",(char *) "enable", NULL
36019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36021 if (SWIG_arg_fail(1)) SWIG_fail
;
36023 arg2
= (int)(SWIG_As_int(obj1
));
36024 if (SWIG_arg_fail(2)) SWIG_fail
;
36027 arg3
= (bool)(SWIG_As_bool(obj2
));
36028 if (SWIG_arg_fail(3)) SWIG_fail
;
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 (arg1
)->Enable(arg2
,arg3
);
36034 wxPyEndAllowThreads(__tstate
);
36035 if (PyErr_Occurred()) SWIG_fail
;
36037 Py_INCREF(Py_None
); resultobj
= Py_None
;
36044 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36045 PyObject
*resultobj
;
36046 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36049 PyObject
* obj0
= 0 ;
36050 PyObject
* obj1
= 0 ;
36051 PyObject
* obj2
= 0 ;
36052 char *kwnames
[] = {
36053 (char *) "self",(char *) "id",(char *) "check", NULL
36056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36058 if (SWIG_arg_fail(1)) SWIG_fail
;
36060 arg2
= (int)(SWIG_As_int(obj1
));
36061 if (SWIG_arg_fail(2)) SWIG_fail
;
36064 arg3
= (bool)(SWIG_As_bool(obj2
));
36065 if (SWIG_arg_fail(3)) SWIG_fail
;
36068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 (arg1
)->Check(arg2
,arg3
);
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 Py_INCREF(Py_None
); resultobj
= Py_None
;
36081 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36082 PyObject
*resultobj
;
36083 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36086 PyObject
* obj0
= 0 ;
36087 PyObject
* obj1
= 0 ;
36088 char *kwnames
[] = {
36089 (char *) "self",(char *) "id", NULL
36092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
36093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36094 if (SWIG_arg_fail(1)) SWIG_fail
;
36096 arg2
= (int)(SWIG_As_int(obj1
));
36097 if (SWIG_arg_fail(2)) SWIG_fail
;
36100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36101 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
36103 wxPyEndAllowThreads(__tstate
);
36104 if (PyErr_Occurred()) SWIG_fail
;
36107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36115 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36116 PyObject
*resultobj
;
36117 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36120 PyObject
* obj0
= 0 ;
36121 PyObject
* obj1
= 0 ;
36122 char *kwnames
[] = {
36123 (char *) "self",(char *) "id", NULL
36126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
36127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36128 if (SWIG_arg_fail(1)) SWIG_fail
;
36130 arg2
= (int)(SWIG_As_int(obj1
));
36131 if (SWIG_arg_fail(2)) SWIG_fail
;
36134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36135 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
36137 wxPyEndAllowThreads(__tstate
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36149 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36150 PyObject
*resultobj
;
36151 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36153 wxString
*arg3
= 0 ;
36154 bool temp3
= false ;
36155 PyObject
* obj0
= 0 ;
36156 PyObject
* obj1
= 0 ;
36157 PyObject
* obj2
= 0 ;
36158 char *kwnames
[] = {
36159 (char *) "self",(char *) "id",(char *) "label", NULL
36162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36164 if (SWIG_arg_fail(1)) SWIG_fail
;
36166 arg2
= (int)(SWIG_As_int(obj1
));
36167 if (SWIG_arg_fail(2)) SWIG_fail
;
36170 arg3
= wxString_in_helper(obj2
);
36171 if (arg3
== NULL
) SWIG_fail
;
36175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36176 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
36178 wxPyEndAllowThreads(__tstate
);
36179 if (PyErr_Occurred()) SWIG_fail
;
36181 Py_INCREF(Py_None
); resultobj
= Py_None
;
36196 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36197 PyObject
*resultobj
;
36198 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36201 PyObject
* obj0
= 0 ;
36202 PyObject
* obj1
= 0 ;
36203 char *kwnames
[] = {
36204 (char *) "self",(char *) "id", NULL
36207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36209 if (SWIG_arg_fail(1)) SWIG_fail
;
36211 arg2
= (int)(SWIG_As_int(obj1
));
36212 if (SWIG_arg_fail(2)) SWIG_fail
;
36215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36216 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
36218 wxPyEndAllowThreads(__tstate
);
36219 if (PyErr_Occurred()) SWIG_fail
;
36223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36234 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36235 PyObject
*resultobj
;
36236 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36238 wxString
*arg3
= 0 ;
36239 bool temp3
= false ;
36240 PyObject
* obj0
= 0 ;
36241 PyObject
* obj1
= 0 ;
36242 PyObject
* obj2
= 0 ;
36243 char *kwnames
[] = {
36244 (char *) "self",(char *) "id",(char *) "helpString", NULL
36247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36249 if (SWIG_arg_fail(1)) SWIG_fail
;
36251 arg2
= (int)(SWIG_As_int(obj1
));
36252 if (SWIG_arg_fail(2)) SWIG_fail
;
36255 arg3
= wxString_in_helper(obj2
);
36256 if (arg3
== NULL
) SWIG_fail
;
36260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36261 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
36263 wxPyEndAllowThreads(__tstate
);
36264 if (PyErr_Occurred()) SWIG_fail
;
36266 Py_INCREF(Py_None
); resultobj
= Py_None
;
36281 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36282 PyObject
*resultobj
;
36283 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36286 PyObject
* obj0
= 0 ;
36287 PyObject
* obj1
= 0 ;
36288 char *kwnames
[] = {
36289 (char *) "self",(char *) "id", NULL
36292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
36293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36294 if (SWIG_arg_fail(1)) SWIG_fail
;
36296 arg2
= (int)(SWIG_As_int(obj1
));
36297 if (SWIG_arg_fail(2)) SWIG_fail
;
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36319 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36320 PyObject
*resultobj
;
36321 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36323 PyObject
* obj0
= 0 ;
36324 char *kwnames
[] = {
36325 (char *) "self", NULL
36328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
36329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36330 if (SWIG_arg_fail(1)) SWIG_fail
;
36332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36333 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
36335 wxPyEndAllowThreads(__tstate
);
36336 if (PyErr_Occurred()) SWIG_fail
;
36339 resultobj
= wxPyMake_wxObject(result
, 0);
36347 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36348 PyObject
*resultobj
;
36349 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36351 PyObject
* obj0
= 0 ;
36352 char *kwnames
[] = {
36353 (char *) "self", NULL
36356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
36357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36358 if (SWIG_arg_fail(1)) SWIG_fail
;
36360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36361 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36375 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36376 PyObject
*resultobj
;
36377 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36378 wxFrame
*arg2
= (wxFrame
*) 0 ;
36379 PyObject
* obj0
= 0 ;
36380 PyObject
* obj1
= 0 ;
36381 char *kwnames
[] = {
36382 (char *) "self",(char *) "frame", NULL
36385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
36386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36387 if (SWIG_arg_fail(1)) SWIG_fail
;
36388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
36389 if (SWIG_arg_fail(2)) SWIG_fail
;
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 (arg1
)->Attach(arg2
);
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36397 Py_INCREF(Py_None
); resultobj
= Py_None
;
36404 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36405 PyObject
*resultobj
;
36406 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
36407 PyObject
* obj0
= 0 ;
36408 char *kwnames
[] = {
36409 (char *) "self", NULL
36412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
36413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
36414 if (SWIG_arg_fail(1)) SWIG_fail
;
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36419 wxPyEndAllowThreads(__tstate
);
36420 if (PyErr_Occurred()) SWIG_fail
;
36422 Py_INCREF(Py_None
); resultobj
= Py_None
;
36429 static PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36430 PyObject
*resultobj
;
36432 PyObject
* obj0
= 0 ;
36433 char *kwnames
[] = {
36434 (char *) "enable", NULL
36437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) goto fail
;
36439 arg1
= (bool)(SWIG_As_bool(obj0
));
36440 if (SWIG_arg_fail(1)) SWIG_fail
;
36443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36444 MenuBar_SetAutoWindowMenu(arg1
);
36446 wxPyEndAllowThreads(__tstate
);
36447 if (PyErr_Occurred()) SWIG_fail
;
36449 Py_INCREF(Py_None
); resultobj
= Py_None
;
36456 static PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36457 PyObject
*resultobj
;
36459 char *kwnames
[] = {
36463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuBar_GetAutoWindowMenu",kwnames
)) goto fail
;
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 result
= (bool)MenuBar_GetAutoWindowMenu();
36468 wxPyEndAllowThreads(__tstate
);
36469 if (PyErr_Occurred()) SWIG_fail
;
36472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36480 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
36482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36483 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
36485 return Py_BuildValue((char *)"");
36487 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36488 PyObject
*resultobj
;
36489 wxMenu
*arg1
= (wxMenu
*) NULL
;
36490 int arg2
= (int) wxID_ANY
;
36491 wxString
const &arg3_defvalue
= wxPyEmptyString
;
36492 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36493 wxString
const &arg4_defvalue
= wxPyEmptyString
;
36494 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36495 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
36496 wxMenu
*arg6
= (wxMenu
*) NULL
;
36497 wxMenuItem
*result
;
36498 bool temp3
= false ;
36499 bool temp4
= false ;
36500 PyObject
* obj0
= 0 ;
36501 PyObject
* obj1
= 0 ;
36502 PyObject
* obj2
= 0 ;
36503 PyObject
* obj3
= 0 ;
36504 PyObject
* obj4
= 0 ;
36505 PyObject
* obj5
= 0 ;
36506 char *kwnames
[] = {
36507 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
36510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36513 if (SWIG_arg_fail(1)) SWIG_fail
;
36517 arg2
= (int)(SWIG_As_int(obj1
));
36518 if (SWIG_arg_fail(2)) SWIG_fail
;
36523 arg3
= wxString_in_helper(obj2
);
36524 if (arg3
== NULL
) SWIG_fail
;
36530 arg4
= wxString_in_helper(obj3
);
36531 if (arg4
== NULL
) SWIG_fail
;
36537 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36538 if (SWIG_arg_fail(5)) SWIG_fail
;
36542 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36543 if (SWIG_arg_fail(6)) SWIG_fail
;
36546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36547 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36549 wxPyEndAllowThreads(__tstate
);
36550 if (PyErr_Occurred()) SWIG_fail
;
36553 resultobj
= wxPyMake_wxObject(result
, 1);
36577 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36578 PyObject
*resultobj
;
36579 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36581 PyObject
* obj0
= 0 ;
36582 char *kwnames
[] = {
36583 (char *) "self", NULL
36586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36588 if (SWIG_arg_fail(1)) SWIG_fail
;
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36593 wxPyEndAllowThreads(__tstate
);
36594 if (PyErr_Occurred()) SWIG_fail
;
36597 resultobj
= wxPyMake_wxObject(result
, 0);
36605 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36606 PyObject
*resultobj
;
36607 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36608 wxMenu
*arg2
= (wxMenu
*) 0 ;
36609 PyObject
* obj0
= 0 ;
36610 PyObject
* obj1
= 0 ;
36611 char *kwnames
[] = {
36612 (char *) "self",(char *) "menu", NULL
36615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36617 if (SWIG_arg_fail(1)) SWIG_fail
;
36618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36619 if (SWIG_arg_fail(2)) SWIG_fail
;
36621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36622 (arg1
)->SetMenu(arg2
);
36624 wxPyEndAllowThreads(__tstate
);
36625 if (PyErr_Occurred()) SWIG_fail
;
36627 Py_INCREF(Py_None
); resultobj
= Py_None
;
36634 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36635 PyObject
*resultobj
;
36636 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36638 PyObject
* obj0
= 0 ;
36639 PyObject
* obj1
= 0 ;
36640 char *kwnames
[] = {
36641 (char *) "self",(char *) "id", NULL
36644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
36649 if (SWIG_arg_fail(2)) SWIG_fail
;
36652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36653 (arg1
)->SetId(arg2
);
36655 wxPyEndAllowThreads(__tstate
);
36656 if (PyErr_Occurred()) SWIG_fail
;
36658 Py_INCREF(Py_None
); resultobj
= Py_None
;
36665 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36666 PyObject
*resultobj
;
36667 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36669 PyObject
* obj0
= 0 ;
36670 char *kwnames
[] = {
36671 (char *) "self", NULL
36674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36676 if (SWIG_arg_fail(1)) SWIG_fail
;
36678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36679 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36681 wxPyEndAllowThreads(__tstate
);
36682 if (PyErr_Occurred()) SWIG_fail
;
36685 resultobj
= SWIG_From_int((int)(result
));
36693 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36694 PyObject
*resultobj
;
36695 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36697 PyObject
* obj0
= 0 ;
36698 char *kwnames
[] = {
36699 (char *) "self", NULL
36702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36707 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36709 wxPyEndAllowThreads(__tstate
);
36710 if (PyErr_Occurred()) SWIG_fail
;
36713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36721 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36722 PyObject
*resultobj
;
36723 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36724 wxString
*arg2
= 0 ;
36725 bool temp2
= false ;
36726 PyObject
* obj0
= 0 ;
36727 PyObject
* obj1
= 0 ;
36728 char *kwnames
[] = {
36729 (char *) "self",(char *) "str", NULL
36732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
36737 if (arg2
== NULL
) SWIG_fail
;
36741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36742 (arg1
)->SetText((wxString
const &)*arg2
);
36744 wxPyEndAllowThreads(__tstate
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36747 Py_INCREF(Py_None
); resultobj
= Py_None
;
36762 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36763 PyObject
*resultobj
;
36764 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36766 PyObject
* obj0
= 0 ;
36767 char *kwnames
[] = {
36768 (char *) "self", NULL
36771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36773 if (SWIG_arg_fail(1)) SWIG_fail
;
36775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36776 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36778 wxPyEndAllowThreads(__tstate
);
36779 if (PyErr_Occurred()) SWIG_fail
;
36783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36794 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36795 PyObject
*resultobj
;
36796 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36798 PyObject
* obj0
= 0 ;
36799 char *kwnames
[] = {
36800 (char *) "self", NULL
36803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36805 if (SWIG_arg_fail(1)) SWIG_fail
;
36807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36809 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36810 result
= (wxString
*) &_result_ref
;
36813 wxPyEndAllowThreads(__tstate
);
36814 if (PyErr_Occurred()) SWIG_fail
;
36818 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36820 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36829 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36830 PyObject
*resultobj
;
36831 wxString
*arg1
= 0 ;
36833 bool temp1
= false ;
36834 PyObject
* obj0
= 0 ;
36835 char *kwnames
[] = {
36836 (char *) "text", NULL
36839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36841 arg1
= wxString_in_helper(obj0
);
36842 if (arg1
== NULL
) SWIG_fail
;
36846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36847 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36849 wxPyEndAllowThreads(__tstate
);
36850 if (PyErr_Occurred()) SWIG_fail
;
36854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36873 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36874 PyObject
*resultobj
;
36875 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36877 PyObject
* obj0
= 0 ;
36878 char *kwnames
[] = {
36879 (char *) "self", NULL
36882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36884 if (SWIG_arg_fail(1)) SWIG_fail
;
36886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36887 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36889 wxPyEndAllowThreads(__tstate
);
36890 if (PyErr_Occurred()) SWIG_fail
;
36892 resultobj
= SWIG_From_int((result
));
36899 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36900 PyObject
*resultobj
;
36901 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36903 PyObject
* obj0
= 0 ;
36904 PyObject
* obj1
= 0 ;
36905 char *kwnames
[] = {
36906 (char *) "self",(char *) "kind", NULL
36909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36911 if (SWIG_arg_fail(1)) SWIG_fail
;
36913 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36914 if (SWIG_arg_fail(2)) SWIG_fail
;
36917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36918 (arg1
)->SetKind((wxItemKind
)arg2
);
36920 wxPyEndAllowThreads(__tstate
);
36921 if (PyErr_Occurred()) SWIG_fail
;
36923 Py_INCREF(Py_None
); resultobj
= Py_None
;
36930 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
;
36932 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36934 PyObject
* obj0
= 0 ;
36935 PyObject
* obj1
= 0 ;
36936 char *kwnames
[] = {
36937 (char *) "self",(char *) "checkable", NULL
36940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
36945 if (SWIG_arg_fail(2)) SWIG_fail
;
36948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36949 (arg1
)->SetCheckable(arg2
);
36951 wxPyEndAllowThreads(__tstate
);
36952 if (PyErr_Occurred()) SWIG_fail
;
36954 Py_INCREF(Py_None
); resultobj
= Py_None
;
36961 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36962 PyObject
*resultobj
;
36963 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36965 PyObject
* obj0
= 0 ;
36966 char *kwnames
[] = {
36967 (char *) "self", NULL
36970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36972 if (SWIG_arg_fail(1)) SWIG_fail
;
36974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36975 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36977 wxPyEndAllowThreads(__tstate
);
36978 if (PyErr_Occurred()) SWIG_fail
;
36981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36989 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36990 PyObject
*resultobj
;
36991 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36993 PyObject
* obj0
= 0 ;
36994 char *kwnames
[] = {
36995 (char *) "self", NULL
36998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37003 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
37005 wxPyEndAllowThreads(__tstate
);
37006 if (PyErr_Occurred()) SWIG_fail
;
37009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37017 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37018 PyObject
*resultobj
;
37019 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37020 wxMenu
*arg2
= (wxMenu
*) 0 ;
37021 PyObject
* obj0
= 0 ;
37022 PyObject
* obj1
= 0 ;
37023 char *kwnames
[] = {
37024 (char *) "self",(char *) "menu", NULL
37027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
37028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37029 if (SWIG_arg_fail(1)) SWIG_fail
;
37030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
37031 if (SWIG_arg_fail(2)) SWIG_fail
;
37033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37034 (arg1
)->SetSubMenu(arg2
);
37036 wxPyEndAllowThreads(__tstate
);
37037 if (PyErr_Occurred()) SWIG_fail
;
37039 Py_INCREF(Py_None
); resultobj
= Py_None
;
37046 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37047 PyObject
*resultobj
;
37048 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37050 PyObject
* obj0
= 0 ;
37051 char *kwnames
[] = {
37052 (char *) "self", NULL
37055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
37056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37057 if (SWIG_arg_fail(1)) SWIG_fail
;
37059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37060 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
37062 wxPyEndAllowThreads(__tstate
);
37063 if (PyErr_Occurred()) SWIG_fail
;
37066 resultobj
= wxPyMake_wxObject(result
, 0);
37074 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37075 PyObject
*resultobj
;
37076 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37077 bool arg2
= (bool) true ;
37078 PyObject
* obj0
= 0 ;
37079 PyObject
* obj1
= 0 ;
37080 char *kwnames
[] = {
37081 (char *) "self",(char *) "enable", NULL
37084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
37085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37086 if (SWIG_arg_fail(1)) SWIG_fail
;
37089 arg2
= (bool)(SWIG_As_bool(obj1
));
37090 if (SWIG_arg_fail(2)) SWIG_fail
;
37094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37095 (arg1
)->Enable(arg2
);
37097 wxPyEndAllowThreads(__tstate
);
37098 if (PyErr_Occurred()) SWIG_fail
;
37100 Py_INCREF(Py_None
); resultobj
= Py_None
;
37107 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37108 PyObject
*resultobj
;
37109 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37111 PyObject
* obj0
= 0 ;
37112 char *kwnames
[] = {
37113 (char *) "self", NULL
37116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
37117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37118 if (SWIG_arg_fail(1)) SWIG_fail
;
37120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37121 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
37123 wxPyEndAllowThreads(__tstate
);
37124 if (PyErr_Occurred()) SWIG_fail
;
37127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37135 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37136 PyObject
*resultobj
;
37137 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37138 bool arg2
= (bool) true ;
37139 PyObject
* obj0
= 0 ;
37140 PyObject
* obj1
= 0 ;
37141 char *kwnames
[] = {
37142 (char *) "self",(char *) "check", NULL
37145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
37146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37147 if (SWIG_arg_fail(1)) SWIG_fail
;
37150 arg2
= (bool)(SWIG_As_bool(obj1
));
37151 if (SWIG_arg_fail(2)) SWIG_fail
;
37155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37156 (arg1
)->Check(arg2
);
37158 wxPyEndAllowThreads(__tstate
);
37159 if (PyErr_Occurred()) SWIG_fail
;
37161 Py_INCREF(Py_None
); resultobj
= Py_None
;
37168 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37169 PyObject
*resultobj
;
37170 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37172 PyObject
* obj0
= 0 ;
37173 char *kwnames
[] = {
37174 (char *) "self", NULL
37177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
37178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37179 if (SWIG_arg_fail(1)) SWIG_fail
;
37181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37182 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37196 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37197 PyObject
*resultobj
;
37198 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37199 PyObject
* obj0
= 0 ;
37200 char *kwnames
[] = {
37201 (char *) "self", NULL
37204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
37205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37206 if (SWIG_arg_fail(1)) SWIG_fail
;
37208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37211 wxPyEndAllowThreads(__tstate
);
37212 if (PyErr_Occurred()) SWIG_fail
;
37214 Py_INCREF(Py_None
); resultobj
= Py_None
;
37221 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37222 PyObject
*resultobj
;
37223 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37224 wxString
*arg2
= 0 ;
37225 bool temp2
= false ;
37226 PyObject
* obj0
= 0 ;
37227 PyObject
* obj1
= 0 ;
37228 char *kwnames
[] = {
37229 (char *) "self",(char *) "str", NULL
37232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
37233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37234 if (SWIG_arg_fail(1)) SWIG_fail
;
37236 arg2
= wxString_in_helper(obj1
);
37237 if (arg2
== NULL
) SWIG_fail
;
37241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37242 (arg1
)->SetHelp((wxString
const &)*arg2
);
37244 wxPyEndAllowThreads(__tstate
);
37245 if (PyErr_Occurred()) SWIG_fail
;
37247 Py_INCREF(Py_None
); resultobj
= Py_None
;
37262 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37263 PyObject
*resultobj
;
37264 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37266 PyObject
* obj0
= 0 ;
37267 char *kwnames
[] = {
37268 (char *) "self", NULL
37271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
37272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37273 if (SWIG_arg_fail(1)) SWIG_fail
;
37275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
37278 result
= (wxString
*) &_result_ref
;
37281 wxPyEndAllowThreads(__tstate
);
37282 if (PyErr_Occurred()) SWIG_fail
;
37286 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
37288 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
37297 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37298 PyObject
*resultobj
;
37299 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37300 wxAcceleratorEntry
*result
;
37301 PyObject
* obj0
= 0 ;
37302 char *kwnames
[] = {
37303 (char *) "self", NULL
37306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
37307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37308 if (SWIG_arg_fail(1)) SWIG_fail
;
37310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37311 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
37313 wxPyEndAllowThreads(__tstate
);
37314 if (PyErr_Occurred()) SWIG_fail
;
37316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
37323 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37324 PyObject
*resultobj
;
37325 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37326 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
37327 PyObject
* obj0
= 0 ;
37328 PyObject
* obj1
= 0 ;
37329 char *kwnames
[] = {
37330 (char *) "self",(char *) "accel", NULL
37333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
37334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37335 if (SWIG_arg_fail(1)) SWIG_fail
;
37336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
37337 if (SWIG_arg_fail(2)) SWIG_fail
;
37339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37340 (arg1
)->SetAccel(arg2
);
37342 wxPyEndAllowThreads(__tstate
);
37343 if (PyErr_Occurred()) SWIG_fail
;
37345 Py_INCREF(Py_None
); resultobj
= Py_None
;
37352 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37353 PyObject
*resultobj
;
37354 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37356 PyObject
* obj0
= 0 ;
37357 PyObject
* obj1
= 0 ;
37358 char *kwnames
[] = {
37359 (char *) "self",(char *) "font", NULL
37362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
37363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37364 if (SWIG_arg_fail(1)) SWIG_fail
;
37366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
37367 if (SWIG_arg_fail(2)) SWIG_fail
;
37368 if (arg2
== NULL
) {
37369 SWIG_null_ref("wxFont");
37371 if (SWIG_arg_fail(2)) SWIG_fail
;
37374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37375 (arg1
)->SetFont((wxFont
const &)*arg2
);
37377 wxPyEndAllowThreads(__tstate
);
37378 if (PyErr_Occurred()) SWIG_fail
;
37380 Py_INCREF(Py_None
); resultobj
= Py_None
;
37387 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37388 PyObject
*resultobj
;
37389 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37391 PyObject
* obj0
= 0 ;
37392 char *kwnames
[] = {
37393 (char *) "self", NULL
37396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
37397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37398 if (SWIG_arg_fail(1)) SWIG_fail
;
37400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37401 result
= (arg1
)->GetFont();
37403 wxPyEndAllowThreads(__tstate
);
37404 if (PyErr_Occurred()) SWIG_fail
;
37407 wxFont
* resultptr
;
37408 resultptr
= new wxFont((wxFont
&)(result
));
37409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
37417 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37418 PyObject
*resultobj
;
37419 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37420 wxColour
*arg2
= 0 ;
37422 PyObject
* obj0
= 0 ;
37423 PyObject
* obj1
= 0 ;
37424 char *kwnames
[] = {
37425 (char *) "self",(char *) "colText", NULL
37428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
37429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37430 if (SWIG_arg_fail(1)) SWIG_fail
;
37433 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37437 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
37439 wxPyEndAllowThreads(__tstate
);
37440 if (PyErr_Occurred()) SWIG_fail
;
37442 Py_INCREF(Py_None
); resultobj
= Py_None
;
37449 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37450 PyObject
*resultobj
;
37451 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37453 PyObject
* obj0
= 0 ;
37454 char *kwnames
[] = {
37455 (char *) "self", NULL
37458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
37459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37460 if (SWIG_arg_fail(1)) SWIG_fail
;
37462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37463 result
= (arg1
)->GetTextColour();
37465 wxPyEndAllowThreads(__tstate
);
37466 if (PyErr_Occurred()) SWIG_fail
;
37469 wxColour
* resultptr
;
37470 resultptr
= new wxColour((wxColour
&)(result
));
37471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37479 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37480 PyObject
*resultobj
;
37481 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37482 wxColour
*arg2
= 0 ;
37484 PyObject
* obj0
= 0 ;
37485 PyObject
* obj1
= 0 ;
37486 char *kwnames
[] = {
37487 (char *) "self",(char *) "colBack", NULL
37490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
37491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37492 if (SWIG_arg_fail(1)) SWIG_fail
;
37495 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37499 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
37501 wxPyEndAllowThreads(__tstate
);
37502 if (PyErr_Occurred()) SWIG_fail
;
37504 Py_INCREF(Py_None
); resultobj
= Py_None
;
37511 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37512 PyObject
*resultobj
;
37513 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37515 PyObject
* obj0
= 0 ;
37516 char *kwnames
[] = {
37517 (char *) "self", NULL
37520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
37521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37522 if (SWIG_arg_fail(1)) SWIG_fail
;
37524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37525 result
= (arg1
)->GetBackgroundColour();
37527 wxPyEndAllowThreads(__tstate
);
37528 if (PyErr_Occurred()) SWIG_fail
;
37531 wxColour
* resultptr
;
37532 resultptr
= new wxColour((wxColour
&)(result
));
37533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37541 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37542 PyObject
*resultobj
;
37543 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37544 wxBitmap
*arg2
= 0 ;
37545 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37546 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37547 PyObject
* obj0
= 0 ;
37548 PyObject
* obj1
= 0 ;
37549 PyObject
* obj2
= 0 ;
37550 char *kwnames
[] = {
37551 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37556 if (SWIG_arg_fail(1)) SWIG_fail
;
37558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37559 if (SWIG_arg_fail(2)) SWIG_fail
;
37560 if (arg2
== NULL
) {
37561 SWIG_null_ref("wxBitmap");
37563 if (SWIG_arg_fail(2)) SWIG_fail
;
37567 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37568 if (SWIG_arg_fail(3)) SWIG_fail
;
37569 if (arg3
== NULL
) {
37570 SWIG_null_ref("wxBitmap");
37572 if (SWIG_arg_fail(3)) SWIG_fail
;
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37579 wxPyEndAllowThreads(__tstate
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37582 Py_INCREF(Py_None
); resultobj
= Py_None
;
37589 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37590 PyObject
*resultobj
;
37591 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37592 wxBitmap
*arg2
= 0 ;
37593 PyObject
* obj0
= 0 ;
37594 PyObject
* obj1
= 0 ;
37595 char *kwnames
[] = {
37596 (char *) "self",(char *) "bmpDisabled", NULL
37599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37601 if (SWIG_arg_fail(1)) SWIG_fail
;
37603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37604 if (SWIG_arg_fail(2)) SWIG_fail
;
37605 if (arg2
== NULL
) {
37606 SWIG_null_ref("wxBitmap");
37608 if (SWIG_arg_fail(2)) SWIG_fail
;
37611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37612 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
37614 wxPyEndAllowThreads(__tstate
);
37615 if (PyErr_Occurred()) SWIG_fail
;
37617 Py_INCREF(Py_None
); resultobj
= Py_None
;
37624 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37625 PyObject
*resultobj
;
37626 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37628 PyObject
* obj0
= 0 ;
37629 char *kwnames
[] = {
37630 (char *) "self", NULL
37633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37635 if (SWIG_arg_fail(1)) SWIG_fail
;
37637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37639 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
37640 result
= (wxBitmap
*) &_result_ref
;
37643 wxPyEndAllowThreads(__tstate
);
37644 if (PyErr_Occurred()) SWIG_fail
;
37647 wxBitmap
* resultptr
= new wxBitmap(*result
);
37648 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37656 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37657 PyObject
*resultobj
;
37658 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37660 PyObject
* obj0
= 0 ;
37661 PyObject
* obj1
= 0 ;
37662 char *kwnames
[] = {
37663 (char *) "self",(char *) "nWidth", NULL
37666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37668 if (SWIG_arg_fail(1)) SWIG_fail
;
37670 arg2
= (int)(SWIG_As_int(obj1
));
37671 if (SWIG_arg_fail(2)) SWIG_fail
;
37674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37675 (arg1
)->SetMarginWidth(arg2
);
37677 wxPyEndAllowThreads(__tstate
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37680 Py_INCREF(Py_None
); resultobj
= Py_None
;
37687 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37688 PyObject
*resultobj
;
37689 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37691 PyObject
* obj0
= 0 ;
37692 char *kwnames
[] = {
37693 (char *) "self", NULL
37696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37698 if (SWIG_arg_fail(1)) SWIG_fail
;
37700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37701 result
= (int)(arg1
)->GetMarginWidth();
37703 wxPyEndAllowThreads(__tstate
);
37704 if (PyErr_Occurred()) SWIG_fail
;
37707 resultobj
= SWIG_From_int((int)(result
));
37715 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37716 PyObject
*resultobj
;
37718 char *kwnames
[] = {
37722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37725 result
= (int)wxMenuItem::GetDefaultMarginWidth();
37727 wxPyEndAllowThreads(__tstate
);
37728 if (PyErr_Occurred()) SWIG_fail
;
37731 resultobj
= SWIG_From_int((int)(result
));
37739 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37740 PyObject
*resultobj
;
37741 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37743 PyObject
* obj0
= 0 ;
37744 char *kwnames
[] = {
37745 (char *) "self", NULL
37748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37750 if (SWIG_arg_fail(1)) SWIG_fail
;
37752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37753 result
= (bool)(arg1
)->IsOwnerDrawn();
37755 wxPyEndAllowThreads(__tstate
);
37756 if (PyErr_Occurred()) SWIG_fail
;
37759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37767 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37768 PyObject
*resultobj
;
37769 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37770 bool arg2
= (bool) true ;
37771 PyObject
* obj0
= 0 ;
37772 PyObject
* obj1
= 0 ;
37773 char *kwnames
[] = {
37774 (char *) "self",(char *) "ownerDrawn", NULL
37777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37779 if (SWIG_arg_fail(1)) SWIG_fail
;
37782 arg2
= (bool)(SWIG_As_bool(obj1
));
37783 if (SWIG_arg_fail(2)) SWIG_fail
;
37787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37788 (arg1
)->SetOwnerDrawn(arg2
);
37790 wxPyEndAllowThreads(__tstate
);
37791 if (PyErr_Occurred()) SWIG_fail
;
37793 Py_INCREF(Py_None
); resultobj
= Py_None
;
37800 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37801 PyObject
*resultobj
;
37802 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37803 PyObject
* obj0
= 0 ;
37804 char *kwnames
[] = {
37805 (char *) "self", NULL
37808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37810 if (SWIG_arg_fail(1)) SWIG_fail
;
37812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37813 (arg1
)->ResetOwnerDrawn();
37815 wxPyEndAllowThreads(__tstate
);
37816 if (PyErr_Occurred()) SWIG_fail
;
37818 Py_INCREF(Py_None
); resultobj
= Py_None
;
37825 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37826 PyObject
*resultobj
;
37827 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37828 wxBitmap
*arg2
= 0 ;
37829 PyObject
* obj0
= 0 ;
37830 PyObject
* obj1
= 0 ;
37831 char *kwnames
[] = {
37832 (char *) "self",(char *) "bitmap", NULL
37835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",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
;
37839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37840 if (SWIG_arg_fail(2)) SWIG_fail
;
37841 if (arg2
== NULL
) {
37842 SWIG_null_ref("wxBitmap");
37844 if (SWIG_arg_fail(2)) SWIG_fail
;
37847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37848 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37850 wxPyEndAllowThreads(__tstate
);
37851 if (PyErr_Occurred()) SWIG_fail
;
37853 Py_INCREF(Py_None
); resultobj
= Py_None
;
37860 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37861 PyObject
*resultobj
;
37862 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37864 PyObject
* obj0
= 0 ;
37865 char *kwnames
[] = {
37866 (char *) "self", NULL
37869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37871 if (SWIG_arg_fail(1)) SWIG_fail
;
37873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37875 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37876 result
= (wxBitmap
*) &_result_ref
;
37879 wxPyEndAllowThreads(__tstate
);
37880 if (PyErr_Occurred()) SWIG_fail
;
37883 wxBitmap
* resultptr
= new wxBitmap(*result
);
37884 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37892 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37895 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37897 return Py_BuildValue((char *)"");
37899 static int _wrap_ControlNameStr_set(PyObject
*) {
37900 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37905 static PyObject
*_wrap_ControlNameStr_get(void) {
37910 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37912 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37919 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37920 PyObject
*resultobj
;
37921 wxWindow
*arg1
= (wxWindow
*) 0 ;
37922 int arg2
= (int) -1 ;
37923 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37924 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37925 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37926 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37927 long arg5
= (long) 0 ;
37928 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37929 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37930 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37931 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37935 bool temp7
= false ;
37936 PyObject
* obj0
= 0 ;
37937 PyObject
* obj1
= 0 ;
37938 PyObject
* obj2
= 0 ;
37939 PyObject
* obj3
= 0 ;
37940 PyObject
* obj4
= 0 ;
37941 PyObject
* obj5
= 0 ;
37942 PyObject
* obj6
= 0 ;
37943 char *kwnames
[] = {
37944 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37949 if (SWIG_arg_fail(1)) SWIG_fail
;
37952 arg2
= (int)(SWIG_As_int(obj1
));
37953 if (SWIG_arg_fail(2)) SWIG_fail
;
37959 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37965 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37970 arg5
= (long)(SWIG_As_long(obj4
));
37971 if (SWIG_arg_fail(5)) SWIG_fail
;
37976 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37977 if (SWIG_arg_fail(6)) SWIG_fail
;
37978 if (arg6
== NULL
) {
37979 SWIG_null_ref("wxValidator");
37981 if (SWIG_arg_fail(6)) SWIG_fail
;
37986 arg7
= wxString_in_helper(obj6
);
37987 if (arg7
== NULL
) SWIG_fail
;
37992 if (!wxPyCheckForApp()) SWIG_fail
;
37993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37994 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37996 wxPyEndAllowThreads(__tstate
);
37997 if (PyErr_Occurred()) SWIG_fail
;
37999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
38014 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38015 PyObject
*resultobj
;
38017 char *kwnames
[] = {
38021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
38023 if (!wxPyCheckForApp()) SWIG_fail
;
38024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38025 result
= (wxControl
*)new wxControl();
38027 wxPyEndAllowThreads(__tstate
);
38028 if (PyErr_Occurred()) SWIG_fail
;
38030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
38037 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38038 PyObject
*resultobj
;
38039 wxControl
*arg1
= (wxControl
*) 0 ;
38040 wxWindow
*arg2
= (wxWindow
*) 0 ;
38041 int arg3
= (int) -1 ;
38042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38046 long arg6
= (long) 0 ;
38047 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
38048 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
38049 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
38050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
38054 bool temp8
= false ;
38055 PyObject
* obj0
= 0 ;
38056 PyObject
* obj1
= 0 ;
38057 PyObject
* obj2
= 0 ;
38058 PyObject
* obj3
= 0 ;
38059 PyObject
* obj4
= 0 ;
38060 PyObject
* obj5
= 0 ;
38061 PyObject
* obj6
= 0 ;
38062 PyObject
* obj7
= 0 ;
38063 char *kwnames
[] = {
38064 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
38068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38069 if (SWIG_arg_fail(1)) SWIG_fail
;
38070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38071 if (SWIG_arg_fail(2)) SWIG_fail
;
38074 arg3
= (int)(SWIG_As_int(obj2
));
38075 if (SWIG_arg_fail(3)) SWIG_fail
;
38081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38092 arg6
= (long)(SWIG_As_long(obj5
));
38093 if (SWIG_arg_fail(6)) SWIG_fail
;
38098 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
38099 if (SWIG_arg_fail(7)) SWIG_fail
;
38100 if (arg7
== NULL
) {
38101 SWIG_null_ref("wxValidator");
38103 if (SWIG_arg_fail(7)) SWIG_fail
;
38108 arg8
= wxString_in_helper(obj7
);
38109 if (arg8
== NULL
) SWIG_fail
;
38114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38115 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
38117 wxPyEndAllowThreads(__tstate
);
38118 if (PyErr_Occurred()) SWIG_fail
;
38121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38137 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38138 PyObject
*resultobj
;
38139 wxControl
*arg1
= (wxControl
*) 0 ;
38140 wxCommandEvent
*arg2
= 0 ;
38141 PyObject
* obj0
= 0 ;
38142 PyObject
* obj1
= 0 ;
38143 char *kwnames
[] = {
38144 (char *) "self",(char *) "event", NULL
38147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
38148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38149 if (SWIG_arg_fail(1)) SWIG_fail
;
38151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
38152 if (SWIG_arg_fail(2)) SWIG_fail
;
38153 if (arg2
== NULL
) {
38154 SWIG_null_ref("wxCommandEvent");
38156 if (SWIG_arg_fail(2)) SWIG_fail
;
38159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38160 (arg1
)->Command(*arg2
);
38162 wxPyEndAllowThreads(__tstate
);
38163 if (PyErr_Occurred()) SWIG_fail
;
38165 Py_INCREF(Py_None
); resultobj
= Py_None
;
38172 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38173 PyObject
*resultobj
;
38174 wxControl
*arg1
= (wxControl
*) 0 ;
38176 PyObject
* obj0
= 0 ;
38177 char *kwnames
[] = {
38178 (char *) "self", NULL
38181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
38182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38183 if (SWIG_arg_fail(1)) SWIG_fail
;
38185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38186 result
= (arg1
)->GetLabel();
38188 wxPyEndAllowThreads(__tstate
);
38189 if (PyErr_Occurred()) SWIG_fail
;
38193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38204 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38205 PyObject
*resultobj
;
38206 wxControl
*arg1
= (wxControl
*) 0 ;
38207 wxString
*arg2
= 0 ;
38208 bool temp2
= false ;
38209 PyObject
* obj0
= 0 ;
38210 PyObject
* obj1
= 0 ;
38211 char *kwnames
[] = {
38212 (char *) "self",(char *) "label", NULL
38215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
38216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
38217 if (SWIG_arg_fail(1)) SWIG_fail
;
38219 arg2
= wxString_in_helper(obj1
);
38220 if (arg2
== NULL
) SWIG_fail
;
38224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38225 (arg1
)->SetLabel((wxString
const &)*arg2
);
38227 wxPyEndAllowThreads(__tstate
);
38228 if (PyErr_Occurred()) SWIG_fail
;
38230 Py_INCREF(Py_None
); resultobj
= Py_None
;
38245 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38246 PyObject
*resultobj
;
38247 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
38248 wxVisualAttributes result
;
38249 PyObject
* obj0
= 0 ;
38250 char *kwnames
[] = {
38251 (char *) "variant", NULL
38254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
38257 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
38258 if (SWIG_arg_fail(1)) SWIG_fail
;
38262 if (!wxPyCheckForApp()) SWIG_fail
;
38263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38264 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
38266 wxPyEndAllowThreads(__tstate
);
38267 if (PyErr_Occurred()) SWIG_fail
;
38270 wxVisualAttributes
* resultptr
;
38271 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
38272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
38280 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
38282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38283 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
38285 return Py_BuildValue((char *)"");
38287 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38288 PyObject
*resultobj
;
38289 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38290 wxString
*arg2
= 0 ;
38291 PyObject
*arg3
= (PyObject
*) NULL
;
38293 bool temp2
= false ;
38294 PyObject
* obj0
= 0 ;
38295 PyObject
* obj1
= 0 ;
38296 PyObject
* obj2
= 0 ;
38297 char *kwnames
[] = {
38298 (char *) "self",(char *) "item",(char *) "clientData", NULL
38301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38303 if (SWIG_arg_fail(1)) SWIG_fail
;
38305 arg2
= wxString_in_helper(obj1
);
38306 if (arg2
== NULL
) SWIG_fail
;
38313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38314 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38320 resultobj
= SWIG_From_int((int)(result
));
38336 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38337 PyObject
*resultobj
;
38338 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38339 wxArrayString
*arg2
= 0 ;
38340 bool temp2
= false ;
38341 PyObject
* obj0
= 0 ;
38342 PyObject
* obj1
= 0 ;
38343 char *kwnames
[] = {
38344 (char *) "self",(char *) "strings", NULL
38347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
38348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38349 if (SWIG_arg_fail(1)) SWIG_fail
;
38351 if (! PySequence_Check(obj1
)) {
38352 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38355 arg2
= new wxArrayString
;
38357 int i
, len
=PySequence_Length(obj1
);
38358 for (i
=0; i
<len
; i
++) {
38359 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38360 wxString
* s
= wxString_in_helper(item
);
38361 if (PyErr_Occurred()) SWIG_fail
;
38368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38369 (arg1
)->Append((wxArrayString
const &)*arg2
);
38371 wxPyEndAllowThreads(__tstate
);
38372 if (PyErr_Occurred()) SWIG_fail
;
38374 Py_INCREF(Py_None
); resultobj
= Py_None
;
38376 if (temp2
) delete arg2
;
38381 if (temp2
) delete arg2
;
38387 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38388 PyObject
*resultobj
;
38389 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38390 wxString
*arg2
= 0 ;
38392 PyObject
*arg4
= (PyObject
*) NULL
;
38394 bool temp2
= false ;
38395 PyObject
* obj0
= 0 ;
38396 PyObject
* obj1
= 0 ;
38397 PyObject
* obj2
= 0 ;
38398 PyObject
* obj3
= 0 ;
38399 char *kwnames
[] = {
38400 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
38403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38405 if (SWIG_arg_fail(1)) SWIG_fail
;
38407 arg2
= wxString_in_helper(obj1
);
38408 if (arg2
== NULL
) SWIG_fail
;
38412 arg3
= (int)(SWIG_As_int(obj2
));
38413 if (SWIG_arg_fail(3)) SWIG_fail
;
38419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38420 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
38422 wxPyEndAllowThreads(__tstate
);
38423 if (PyErr_Occurred()) SWIG_fail
;
38426 resultobj
= SWIG_From_int((int)(result
));
38442 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38443 PyObject
*resultobj
;
38444 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38445 PyObject
* obj0
= 0 ;
38446 char *kwnames
[] = {
38447 (char *) "self", NULL
38450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
38451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38452 if (SWIG_arg_fail(1)) SWIG_fail
;
38454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38457 wxPyEndAllowThreads(__tstate
);
38458 if (PyErr_Occurred()) SWIG_fail
;
38460 Py_INCREF(Py_None
); resultobj
= Py_None
;
38467 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38468 PyObject
*resultobj
;
38469 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38471 PyObject
* obj0
= 0 ;
38472 PyObject
* obj1
= 0 ;
38473 char *kwnames
[] = {
38474 (char *) "self",(char *) "n", NULL
38477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
38478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38479 if (SWIG_arg_fail(1)) SWIG_fail
;
38481 arg2
= (int)(SWIG_As_int(obj1
));
38482 if (SWIG_arg_fail(2)) SWIG_fail
;
38485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38486 (arg1
)->Delete(arg2
);
38488 wxPyEndAllowThreads(__tstate
);
38489 if (PyErr_Occurred()) SWIG_fail
;
38491 Py_INCREF(Py_None
); resultobj
= Py_None
;
38498 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38499 PyObject
*resultobj
;
38500 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38503 PyObject
* obj0
= 0 ;
38504 PyObject
* obj1
= 0 ;
38505 char *kwnames
[] = {
38506 (char *) "self",(char *) "n", NULL
38509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
38510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38511 if (SWIG_arg_fail(1)) SWIG_fail
;
38513 arg2
= (int)(SWIG_As_int(obj1
));
38514 if (SWIG_arg_fail(2)) SWIG_fail
;
38517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38518 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
38520 wxPyEndAllowThreads(__tstate
);
38521 if (PyErr_Occurred()) SWIG_fail
;
38523 resultobj
= result
;
38530 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38531 PyObject
*resultobj
;
38532 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38534 PyObject
*arg3
= (PyObject
*) 0 ;
38535 PyObject
* obj0
= 0 ;
38536 PyObject
* obj1
= 0 ;
38537 PyObject
* obj2
= 0 ;
38538 char *kwnames
[] = {
38539 (char *) "self",(char *) "n",(char *) "clientData", NULL
38542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38544 if (SWIG_arg_fail(1)) SWIG_fail
;
38546 arg2
= (int)(SWIG_As_int(obj1
));
38547 if (SWIG_arg_fail(2)) SWIG_fail
;
38551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38552 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38554 wxPyEndAllowThreads(__tstate
);
38555 if (PyErr_Occurred()) SWIG_fail
;
38557 Py_INCREF(Py_None
); resultobj
= Py_None
;
38564 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38565 PyObject
*resultobj
;
38566 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38568 PyObject
* obj0
= 0 ;
38569 char *kwnames
[] = {
38570 (char *) "self", NULL
38573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38575 if (SWIG_arg_fail(1)) SWIG_fail
;
38577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38578 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38580 wxPyEndAllowThreads(__tstate
);
38581 if (PyErr_Occurred()) SWIG_fail
;
38584 resultobj
= SWIG_From_int((int)(result
));
38592 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38593 PyObject
*resultobj
;
38594 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38596 PyObject
* obj0
= 0 ;
38597 char *kwnames
[] = {
38598 (char *) "self", NULL
38601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38603 if (SWIG_arg_fail(1)) SWIG_fail
;
38605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38606 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38608 wxPyEndAllowThreads(__tstate
);
38609 if (PyErr_Occurred()) SWIG_fail
;
38612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38620 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38621 PyObject
*resultobj
;
38622 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38625 PyObject
* obj0
= 0 ;
38626 PyObject
* obj1
= 0 ;
38627 char *kwnames
[] = {
38628 (char *) "self",(char *) "n", NULL
38631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
38636 if (SWIG_arg_fail(2)) SWIG_fail
;
38639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38640 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38642 wxPyEndAllowThreads(__tstate
);
38643 if (PyErr_Occurred()) SWIG_fail
;
38647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38658 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38659 PyObject
*resultobj
;
38660 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38661 wxArrayString result
;
38662 PyObject
* obj0
= 0 ;
38663 char *kwnames
[] = {
38664 (char *) "self", NULL
38667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38669 if (SWIG_arg_fail(1)) SWIG_fail
;
38671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38672 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38674 wxPyEndAllowThreads(__tstate
);
38675 if (PyErr_Occurred()) SWIG_fail
;
38678 resultobj
= wxArrayString2PyList_helper(result
);
38686 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38687 PyObject
*resultobj
;
38688 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38690 wxString
*arg3
= 0 ;
38691 bool temp3
= false ;
38692 PyObject
* obj0
= 0 ;
38693 PyObject
* obj1
= 0 ;
38694 PyObject
* obj2
= 0 ;
38695 char *kwnames
[] = {
38696 (char *) "self",(char *) "n",(char *) "s", NULL
38699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38701 if (SWIG_arg_fail(1)) SWIG_fail
;
38703 arg2
= (int)(SWIG_As_int(obj1
));
38704 if (SWIG_arg_fail(2)) SWIG_fail
;
38707 arg3
= wxString_in_helper(obj2
);
38708 if (arg3
== NULL
) SWIG_fail
;
38712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38713 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38715 wxPyEndAllowThreads(__tstate
);
38716 if (PyErr_Occurred()) SWIG_fail
;
38718 Py_INCREF(Py_None
); resultobj
= Py_None
;
38733 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38734 PyObject
*resultobj
;
38735 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38736 wxString
*arg2
= 0 ;
38738 bool temp2
= false ;
38739 PyObject
* obj0
= 0 ;
38740 PyObject
* obj1
= 0 ;
38741 char *kwnames
[] = {
38742 (char *) "self",(char *) "s", NULL
38745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38747 if (SWIG_arg_fail(1)) SWIG_fail
;
38749 arg2
= wxString_in_helper(obj1
);
38750 if (arg2
== NULL
) SWIG_fail
;
38754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38755 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38757 wxPyEndAllowThreads(__tstate
);
38758 if (PyErr_Occurred()) SWIG_fail
;
38761 resultobj
= SWIG_From_int((int)(result
));
38777 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38778 PyObject
*resultobj
;
38779 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38781 PyObject
* obj0
= 0 ;
38782 PyObject
* obj1
= 0 ;
38783 char *kwnames
[] = {
38784 (char *) "self",(char *) "n", NULL
38787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38789 if (SWIG_arg_fail(1)) SWIG_fail
;
38791 arg2
= (int)(SWIG_As_int(obj1
));
38792 if (SWIG_arg_fail(2)) SWIG_fail
;
38795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38796 (arg1
)->SetSelection(arg2
);
38798 wxPyEndAllowThreads(__tstate
);
38799 if (PyErr_Occurred()) SWIG_fail
;
38801 Py_INCREF(Py_None
); resultobj
= Py_None
;
38808 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38809 PyObject
*resultobj
;
38810 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38812 PyObject
* obj0
= 0 ;
38813 char *kwnames
[] = {
38814 (char *) "self", NULL
38817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38819 if (SWIG_arg_fail(1)) SWIG_fail
;
38821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38822 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38824 wxPyEndAllowThreads(__tstate
);
38825 if (PyErr_Occurred()) SWIG_fail
;
38828 resultobj
= SWIG_From_int((int)(result
));
38836 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38837 PyObject
*resultobj
;
38838 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38839 wxString
*arg2
= 0 ;
38841 bool temp2
= false ;
38842 PyObject
* obj0
= 0 ;
38843 PyObject
* obj1
= 0 ;
38844 char *kwnames
[] = {
38845 (char *) "self",(char *) "s", NULL
38848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38850 if (SWIG_arg_fail(1)) SWIG_fail
;
38852 arg2
= wxString_in_helper(obj1
);
38853 if (arg2
== NULL
) SWIG_fail
;
38857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38858 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38860 wxPyEndAllowThreads(__tstate
);
38861 if (PyErr_Occurred()) SWIG_fail
;
38864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38880 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38881 PyObject
*resultobj
;
38882 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38884 PyObject
* obj0
= 0 ;
38885 char *kwnames
[] = {
38886 (char *) "self", NULL
38889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38891 if (SWIG_arg_fail(1)) SWIG_fail
;
38893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38894 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38896 wxPyEndAllowThreads(__tstate
);
38897 if (PyErr_Occurred()) SWIG_fail
;
38901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38912 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38913 PyObject
*resultobj
;
38914 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38916 PyObject
* obj0
= 0 ;
38917 PyObject
* obj1
= 0 ;
38918 char *kwnames
[] = {
38919 (char *) "self",(char *) "n", NULL
38922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38924 if (SWIG_arg_fail(1)) SWIG_fail
;
38926 arg2
= (int)(SWIG_As_int(obj1
));
38927 if (SWIG_arg_fail(2)) SWIG_fail
;
38930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38931 (arg1
)->Select(arg2
);
38933 wxPyEndAllowThreads(__tstate
);
38934 if (PyErr_Occurred()) SWIG_fail
;
38936 Py_INCREF(Py_None
); resultobj
= Py_None
;
38943 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38946 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38948 return Py_BuildValue((char *)"");
38950 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38953 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38955 return Py_BuildValue((char *)"");
38957 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38958 PyObject
*resultobj
;
38959 wxSizerItem
*result
;
38960 char *kwnames
[] = {
38964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38967 result
= (wxSizerItem
*)new wxSizerItem();
38969 wxPyEndAllowThreads(__tstate
);
38970 if (PyErr_Occurred()) SWIG_fail
;
38972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38979 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38980 PyObject
*resultobj
;
38981 wxWindow
*arg1
= (wxWindow
*) 0 ;
38985 PyObject
*arg5
= (PyObject
*) NULL
;
38986 wxSizerItem
*result
;
38987 PyObject
* obj0
= 0 ;
38988 PyObject
* obj1
= 0 ;
38989 PyObject
* obj2
= 0 ;
38990 PyObject
* obj3
= 0 ;
38991 PyObject
* obj4
= 0 ;
38992 char *kwnames
[] = {
38993 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38998 if (SWIG_arg_fail(1)) SWIG_fail
;
39000 arg2
= (int)(SWIG_As_int(obj1
));
39001 if (SWIG_arg_fail(2)) SWIG_fail
;
39004 arg3
= (int)(SWIG_As_int(obj2
));
39005 if (SWIG_arg_fail(3)) SWIG_fail
;
39008 arg4
= (int)(SWIG_As_int(obj3
));
39009 if (SWIG_arg_fail(4)) SWIG_fail
;
39015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39016 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
39018 wxPyEndAllowThreads(__tstate
);
39019 if (PyErr_Occurred()) SWIG_fail
;
39021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39028 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39029 PyObject
*resultobj
;
39035 PyObject
*arg6
= (PyObject
*) NULL
;
39036 wxSizerItem
*result
;
39037 PyObject
* obj0
= 0 ;
39038 PyObject
* obj1
= 0 ;
39039 PyObject
* obj2
= 0 ;
39040 PyObject
* obj3
= 0 ;
39041 PyObject
* obj4
= 0 ;
39042 PyObject
* obj5
= 0 ;
39043 char *kwnames
[] = {
39044 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39049 arg1
= (int)(SWIG_As_int(obj0
));
39050 if (SWIG_arg_fail(1)) SWIG_fail
;
39053 arg2
= (int)(SWIG_As_int(obj1
));
39054 if (SWIG_arg_fail(2)) SWIG_fail
;
39057 arg3
= (int)(SWIG_As_int(obj2
));
39058 if (SWIG_arg_fail(3)) SWIG_fail
;
39061 arg4
= (int)(SWIG_As_int(obj3
));
39062 if (SWIG_arg_fail(4)) SWIG_fail
;
39065 arg5
= (int)(SWIG_As_int(obj4
));
39066 if (SWIG_arg_fail(5)) SWIG_fail
;
39072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39073 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39075 wxPyEndAllowThreads(__tstate
);
39076 if (PyErr_Occurred()) SWIG_fail
;
39078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39085 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39086 PyObject
*resultobj
;
39087 wxSizer
*arg1
= (wxSizer
*) 0 ;
39091 PyObject
*arg5
= (PyObject
*) NULL
;
39092 wxSizerItem
*result
;
39093 PyObject
* obj0
= 0 ;
39094 PyObject
* obj1
= 0 ;
39095 PyObject
* obj2
= 0 ;
39096 PyObject
* obj3
= 0 ;
39097 PyObject
* obj4
= 0 ;
39098 char *kwnames
[] = {
39099 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39104 if (SWIG_arg_fail(1)) SWIG_fail
;
39106 arg2
= (int)(SWIG_As_int(obj1
));
39107 if (SWIG_arg_fail(2)) SWIG_fail
;
39110 arg3
= (int)(SWIG_As_int(obj2
));
39111 if (SWIG_arg_fail(3)) SWIG_fail
;
39114 arg4
= (int)(SWIG_As_int(obj3
));
39115 if (SWIG_arg_fail(4)) SWIG_fail
;
39121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39122 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
39124 wxPyEndAllowThreads(__tstate
);
39125 if (PyErr_Occurred()) SWIG_fail
;
39127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
39134 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39135 PyObject
*resultobj
;
39136 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39137 PyObject
* obj0
= 0 ;
39138 char *kwnames
[] = {
39139 (char *) "self", NULL
39142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39144 if (SWIG_arg_fail(1)) SWIG_fail
;
39146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39147 (arg1
)->DeleteWindows();
39149 wxPyEndAllowThreads(__tstate
);
39150 if (PyErr_Occurred()) SWIG_fail
;
39152 Py_INCREF(Py_None
); resultobj
= Py_None
;
39159 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39160 PyObject
*resultobj
;
39161 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39162 PyObject
* obj0
= 0 ;
39163 char *kwnames
[] = {
39164 (char *) "self", NULL
39167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
39168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39169 if (SWIG_arg_fail(1)) SWIG_fail
;
39171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39172 (arg1
)->DetachSizer();
39174 wxPyEndAllowThreads(__tstate
);
39175 if (PyErr_Occurred()) SWIG_fail
;
39177 Py_INCREF(Py_None
); resultobj
= Py_None
;
39184 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39185 PyObject
*resultobj
;
39186 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39188 PyObject
* obj0
= 0 ;
39189 char *kwnames
[] = {
39190 (char *) "self", NULL
39193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
39194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39195 if (SWIG_arg_fail(1)) SWIG_fail
;
39197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39198 result
= (arg1
)->GetSize();
39200 wxPyEndAllowThreads(__tstate
);
39201 if (PyErr_Occurred()) SWIG_fail
;
39204 wxSize
* resultptr
;
39205 resultptr
= new wxSize((wxSize
&)(result
));
39206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39214 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39215 PyObject
*resultobj
;
39216 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39218 PyObject
* obj0
= 0 ;
39219 char *kwnames
[] = {
39220 (char *) "self", NULL
39223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
39224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39225 if (SWIG_arg_fail(1)) SWIG_fail
;
39227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39228 result
= (arg1
)->CalcMin();
39230 wxPyEndAllowThreads(__tstate
);
39231 if (PyErr_Occurred()) SWIG_fail
;
39234 wxSize
* resultptr
;
39235 resultptr
= new wxSize((wxSize
&)(result
));
39236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39244 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39245 PyObject
*resultobj
;
39246 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39249 PyObject
* obj0
= 0 ;
39250 PyObject
* obj1
= 0 ;
39251 PyObject
* obj2
= 0 ;
39252 char *kwnames
[] = {
39253 (char *) "self",(char *) "pos",(char *) "size", NULL
39256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39258 if (SWIG_arg_fail(1)) SWIG_fail
;
39261 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
39262 if (SWIG_arg_fail(2)) SWIG_fail
;
39263 if (argp
== NULL
) {
39264 SWIG_null_ref("wxPoint");
39266 if (SWIG_arg_fail(2)) SWIG_fail
;
39271 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
39272 if (SWIG_arg_fail(3)) SWIG_fail
;
39273 if (argp
== NULL
) {
39274 SWIG_null_ref("wxSize");
39276 if (SWIG_arg_fail(3)) SWIG_fail
;
39280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39281 (arg1
)->SetDimension(arg2
,arg3
);
39283 wxPyEndAllowThreads(__tstate
);
39284 if (PyErr_Occurred()) SWIG_fail
;
39286 Py_INCREF(Py_None
); resultobj
= Py_None
;
39293 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39294 PyObject
*resultobj
;
39295 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39297 PyObject
* obj0
= 0 ;
39298 char *kwnames
[] = {
39299 (char *) "self", NULL
39302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
39303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39304 if (SWIG_arg_fail(1)) SWIG_fail
;
39306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39307 result
= (arg1
)->GetMinSize();
39309 wxPyEndAllowThreads(__tstate
);
39310 if (PyErr_Occurred()) SWIG_fail
;
39313 wxSize
* resultptr
;
39314 resultptr
= new wxSize((wxSize
&)(result
));
39315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39323 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39324 PyObject
*resultobj
;
39325 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39327 PyObject
* obj0
= 0 ;
39328 char *kwnames
[] = {
39329 (char *) "self", NULL
39332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
39333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39334 if (SWIG_arg_fail(1)) SWIG_fail
;
39336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39337 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
39339 wxPyEndAllowThreads(__tstate
);
39340 if (PyErr_Occurred()) SWIG_fail
;
39343 wxSize
* resultptr
;
39344 resultptr
= new wxSize((wxSize
&)(result
));
39345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39353 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39354 PyObject
*resultobj
;
39355 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39358 PyObject
* obj0
= 0 ;
39359 PyObject
* obj1
= 0 ;
39360 PyObject
* obj2
= 0 ;
39361 char *kwnames
[] = {
39362 (char *) "self",(char *) "x",(char *) "y", NULL
39365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39367 if (SWIG_arg_fail(1)) SWIG_fail
;
39369 arg2
= (int)(SWIG_As_int(obj1
));
39370 if (SWIG_arg_fail(2)) SWIG_fail
;
39373 arg3
= (int)(SWIG_As_int(obj2
));
39374 if (SWIG_arg_fail(3)) SWIG_fail
;
39377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39378 (arg1
)->SetInitSize(arg2
,arg3
);
39380 wxPyEndAllowThreads(__tstate
);
39381 if (PyErr_Occurred()) SWIG_fail
;
39383 Py_INCREF(Py_None
); resultobj
= Py_None
;
39390 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39391 PyObject
*resultobj
;
39392 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39395 PyObject
* obj0
= 0 ;
39396 PyObject
* obj1
= 0 ;
39397 PyObject
* obj2
= 0 ;
39398 char *kwnames
[] = {
39399 (char *) "self",(char *) "width",(char *) "height", NULL
39402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39404 if (SWIG_arg_fail(1)) SWIG_fail
;
39406 arg2
= (int)(SWIG_As_int(obj1
));
39407 if (SWIG_arg_fail(2)) SWIG_fail
;
39410 arg3
= (int)(SWIG_As_int(obj2
));
39411 if (SWIG_arg_fail(3)) SWIG_fail
;
39414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39415 (arg1
)->SetRatio(arg2
,arg3
);
39417 wxPyEndAllowThreads(__tstate
);
39418 if (PyErr_Occurred()) SWIG_fail
;
39420 Py_INCREF(Py_None
); resultobj
= Py_None
;
39427 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39428 PyObject
*resultobj
;
39429 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39432 PyObject
* obj0
= 0 ;
39433 PyObject
* obj1
= 0 ;
39434 char *kwnames
[] = {
39435 (char *) "self",(char *) "size", NULL
39438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39440 if (SWIG_arg_fail(1)) SWIG_fail
;
39443 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39447 (arg1
)->SetRatio((wxSize
const &)*arg2
);
39449 wxPyEndAllowThreads(__tstate
);
39450 if (PyErr_Occurred()) SWIG_fail
;
39452 Py_INCREF(Py_None
); resultobj
= Py_None
;
39459 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39460 PyObject
*resultobj
;
39461 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39463 PyObject
* obj0
= 0 ;
39464 PyObject
* obj1
= 0 ;
39465 char *kwnames
[] = {
39466 (char *) "self",(char *) "ratio", NULL
39469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
39470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39471 if (SWIG_arg_fail(1)) SWIG_fail
;
39473 arg2
= (float)(SWIG_As_float(obj1
));
39474 if (SWIG_arg_fail(2)) SWIG_fail
;
39477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39478 (arg1
)->SetRatio(arg2
);
39480 wxPyEndAllowThreads(__tstate
);
39481 if (PyErr_Occurred()) SWIG_fail
;
39483 Py_INCREF(Py_None
); resultobj
= Py_None
;
39490 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39491 PyObject
*resultobj
;
39492 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39494 PyObject
* obj0
= 0 ;
39495 char *kwnames
[] = {
39496 (char *) "self", NULL
39499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
39500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39501 if (SWIG_arg_fail(1)) SWIG_fail
;
39503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 result
= (float)(arg1
)->GetRatio();
39506 wxPyEndAllowThreads(__tstate
);
39507 if (PyErr_Occurred()) SWIG_fail
;
39510 resultobj
= SWIG_From_float((float)(result
));
39518 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39519 PyObject
*resultobj
;
39520 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39522 PyObject
* obj0
= 0 ;
39523 char *kwnames
[] = {
39524 (char *) "self", NULL
39527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39532 result
= (arg1
)->GetRect();
39534 wxPyEndAllowThreads(__tstate
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39538 wxRect
* resultptr
;
39539 resultptr
= new wxRect((wxRect
&)(result
));
39540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39548 static PyObject
*_wrap_SizerItem_IsWindow(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_IsWindow",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
= (bool)(arg1
)->IsWindow();
39564 wxPyEndAllowThreads(__tstate
);
39565 if (PyErr_Occurred()) SWIG_fail
;
39568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39576 static PyObject
*_wrap_SizerItem_IsSizer(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_IsSizer",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
= (bool)(arg1
)->IsSizer();
39592 wxPyEndAllowThreads(__tstate
);
39593 if (PyErr_Occurred()) SWIG_fail
;
39596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39604 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39605 PyObject
*resultobj
;
39606 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39608 PyObject
* obj0
= 0 ;
39609 char *kwnames
[] = {
39610 (char *) "self", NULL
39613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39615 if (SWIG_arg_fail(1)) SWIG_fail
;
39617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39618 result
= (bool)(arg1
)->IsSpacer();
39620 wxPyEndAllowThreads(__tstate
);
39621 if (PyErr_Occurred()) SWIG_fail
;
39624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39632 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39633 PyObject
*resultobj
;
39634 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39636 PyObject
* obj0
= 0 ;
39637 PyObject
* obj1
= 0 ;
39638 char *kwnames
[] = {
39639 (char *) "self",(char *) "proportion", NULL
39642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39644 if (SWIG_arg_fail(1)) SWIG_fail
;
39646 arg2
= (int)(SWIG_As_int(obj1
));
39647 if (SWIG_arg_fail(2)) SWIG_fail
;
39650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39651 (arg1
)->SetProportion(arg2
);
39653 wxPyEndAllowThreads(__tstate
);
39654 if (PyErr_Occurred()) SWIG_fail
;
39656 Py_INCREF(Py_None
); resultobj
= Py_None
;
39663 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39664 PyObject
*resultobj
;
39665 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39667 PyObject
* obj0
= 0 ;
39668 char *kwnames
[] = {
39669 (char *) "self", NULL
39672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39674 if (SWIG_arg_fail(1)) SWIG_fail
;
39676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39677 result
= (int)(arg1
)->GetProportion();
39679 wxPyEndAllowThreads(__tstate
);
39680 if (PyErr_Occurred()) SWIG_fail
;
39683 resultobj
= SWIG_From_int((int)(result
));
39691 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39692 PyObject
*resultobj
;
39693 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39695 PyObject
* obj0
= 0 ;
39696 PyObject
* obj1
= 0 ;
39697 char *kwnames
[] = {
39698 (char *) "self",(char *) "flag", NULL
39701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39703 if (SWIG_arg_fail(1)) SWIG_fail
;
39705 arg2
= (int)(SWIG_As_int(obj1
));
39706 if (SWIG_arg_fail(2)) SWIG_fail
;
39709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39710 (arg1
)->SetFlag(arg2
);
39712 wxPyEndAllowThreads(__tstate
);
39713 if (PyErr_Occurred()) SWIG_fail
;
39715 Py_INCREF(Py_None
); resultobj
= Py_None
;
39722 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39723 PyObject
*resultobj
;
39724 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39726 PyObject
* obj0
= 0 ;
39727 char *kwnames
[] = {
39728 (char *) "self", NULL
39731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39733 if (SWIG_arg_fail(1)) SWIG_fail
;
39735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39736 result
= (int)(arg1
)->GetFlag();
39738 wxPyEndAllowThreads(__tstate
);
39739 if (PyErr_Occurred()) SWIG_fail
;
39742 resultobj
= SWIG_From_int((int)(result
));
39750 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39751 PyObject
*resultobj
;
39752 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39754 PyObject
* obj0
= 0 ;
39755 PyObject
* obj1
= 0 ;
39756 char *kwnames
[] = {
39757 (char *) "self",(char *) "border", NULL
39760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39762 if (SWIG_arg_fail(1)) SWIG_fail
;
39764 arg2
= (int)(SWIG_As_int(obj1
));
39765 if (SWIG_arg_fail(2)) SWIG_fail
;
39768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39769 (arg1
)->SetBorder(arg2
);
39771 wxPyEndAllowThreads(__tstate
);
39772 if (PyErr_Occurred()) SWIG_fail
;
39774 Py_INCREF(Py_None
); resultobj
= Py_None
;
39781 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39782 PyObject
*resultobj
;
39783 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39785 PyObject
* obj0
= 0 ;
39786 char *kwnames
[] = {
39787 (char *) "self", NULL
39790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39792 if (SWIG_arg_fail(1)) SWIG_fail
;
39794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39795 result
= (int)(arg1
)->GetBorder();
39797 wxPyEndAllowThreads(__tstate
);
39798 if (PyErr_Occurred()) SWIG_fail
;
39801 resultobj
= SWIG_From_int((int)(result
));
39809 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39810 PyObject
*resultobj
;
39811 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39813 PyObject
* obj0
= 0 ;
39814 char *kwnames
[] = {
39815 (char *) "self", NULL
39818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39823 result
= (wxWindow
*)(arg1
)->GetWindow();
39825 wxPyEndAllowThreads(__tstate
);
39826 if (PyErr_Occurred()) SWIG_fail
;
39829 resultobj
= wxPyMake_wxObject(result
, 0);
39837 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39838 PyObject
*resultobj
;
39839 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39840 wxWindow
*arg2
= (wxWindow
*) 0 ;
39841 PyObject
* obj0
= 0 ;
39842 PyObject
* obj1
= 0 ;
39843 char *kwnames
[] = {
39844 (char *) "self",(char *) "window", NULL
39847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39849 if (SWIG_arg_fail(1)) SWIG_fail
;
39850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39851 if (SWIG_arg_fail(2)) SWIG_fail
;
39853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39854 (arg1
)->SetWindow(arg2
);
39856 wxPyEndAllowThreads(__tstate
);
39857 if (PyErr_Occurred()) SWIG_fail
;
39859 Py_INCREF(Py_None
); resultobj
= Py_None
;
39866 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39867 PyObject
*resultobj
;
39868 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39870 PyObject
* obj0
= 0 ;
39871 char *kwnames
[] = {
39872 (char *) "self", NULL
39875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39877 if (SWIG_arg_fail(1)) SWIG_fail
;
39879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39880 result
= (wxSizer
*)(arg1
)->GetSizer();
39882 wxPyEndAllowThreads(__tstate
);
39883 if (PyErr_Occurred()) SWIG_fail
;
39886 resultobj
= wxPyMake_wxObject(result
, 0);
39894 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39895 PyObject
*resultobj
;
39896 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39897 wxSizer
*arg2
= (wxSizer
*) 0 ;
39898 PyObject
* obj0
= 0 ;
39899 PyObject
* obj1
= 0 ;
39900 char *kwnames
[] = {
39901 (char *) "self",(char *) "sizer", NULL
39904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39906 if (SWIG_arg_fail(1)) SWIG_fail
;
39907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39908 if (SWIG_arg_fail(2)) SWIG_fail
;
39910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39911 (arg1
)->SetSizer(arg2
);
39913 wxPyEndAllowThreads(__tstate
);
39914 if (PyErr_Occurred()) SWIG_fail
;
39916 Py_INCREF(Py_None
); resultobj
= Py_None
;
39923 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39924 PyObject
*resultobj
;
39925 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39927 PyObject
* obj0
= 0 ;
39928 char *kwnames
[] = {
39929 (char *) "self", NULL
39932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39934 if (SWIG_arg_fail(1)) SWIG_fail
;
39936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39938 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39939 result
= (wxSize
*) &_result_ref
;
39942 wxPyEndAllowThreads(__tstate
);
39943 if (PyErr_Occurred()) SWIG_fail
;
39945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39952 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39953 PyObject
*resultobj
;
39954 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39957 PyObject
* obj0
= 0 ;
39958 PyObject
* obj1
= 0 ;
39959 char *kwnames
[] = {
39960 (char *) "self",(char *) "size", NULL
39963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39965 if (SWIG_arg_fail(1)) SWIG_fail
;
39968 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39972 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39974 wxPyEndAllowThreads(__tstate
);
39975 if (PyErr_Occurred()) SWIG_fail
;
39977 Py_INCREF(Py_None
); resultobj
= Py_None
;
39984 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39985 PyObject
*resultobj
;
39986 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39988 PyObject
* obj0
= 0 ;
39989 PyObject
* obj1
= 0 ;
39990 char *kwnames
[] = {
39991 (char *) "self",(char *) "show", NULL
39994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39996 if (SWIG_arg_fail(1)) SWIG_fail
;
39998 arg2
= (bool)(SWIG_As_bool(obj1
));
39999 if (SWIG_arg_fail(2)) SWIG_fail
;
40002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40003 (arg1
)->Show(arg2
);
40005 wxPyEndAllowThreads(__tstate
);
40006 if (PyErr_Occurred()) SWIG_fail
;
40008 Py_INCREF(Py_None
); resultobj
= Py_None
;
40015 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40016 PyObject
*resultobj
;
40017 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40019 PyObject
* obj0
= 0 ;
40020 char *kwnames
[] = {
40021 (char *) "self", NULL
40024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
40025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40026 if (SWIG_arg_fail(1)) SWIG_fail
;
40028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40029 result
= (bool)(arg1
)->IsShown();
40031 wxPyEndAllowThreads(__tstate
);
40032 if (PyErr_Occurred()) SWIG_fail
;
40035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40043 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40044 PyObject
*resultobj
;
40045 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
40047 PyObject
* obj0
= 0 ;
40048 char *kwnames
[] = {
40049 (char *) "self", NULL
40052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40057 result
= (arg1
)->GetPosition();
40059 wxPyEndAllowThreads(__tstate
);
40060 if (PyErr_Occurred()) SWIG_fail
;
40063 wxPoint
* resultptr
;
40064 resultptr
= new wxPoint((wxPoint
&)(result
));
40065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40073 static PyObject
*_wrap_SizerItem_GetUserData(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_GetUserData",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
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
40089 wxPyEndAllowThreads(__tstate
);
40090 if (PyErr_Occurred()) SWIG_fail
;
40092 resultobj
= result
;
40099 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
40101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40102 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
40104 return Py_BuildValue((char *)"");
40106 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40107 PyObject
*resultobj
;
40108 wxSizer
*arg1
= (wxSizer
*) 0 ;
40109 PyObject
*arg2
= (PyObject
*) 0 ;
40110 PyObject
* obj0
= 0 ;
40111 PyObject
* obj1
= 0 ;
40112 char *kwnames
[] = {
40113 (char *) "self",(char *) "_self", NULL
40116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
40117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40118 if (SWIG_arg_fail(1)) SWIG_fail
;
40121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40122 wxSizer__setOORInfo(arg1
,arg2
);
40124 wxPyEndAllowThreads(__tstate
);
40125 if (PyErr_Occurred()) SWIG_fail
;
40127 Py_INCREF(Py_None
); resultobj
= Py_None
;
40134 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40135 PyObject
*resultobj
;
40136 wxSizer
*arg1
= (wxSizer
*) 0 ;
40137 PyObject
*arg2
= (PyObject
*) 0 ;
40138 int arg3
= (int) 0 ;
40139 int arg4
= (int) 0 ;
40140 int arg5
= (int) 0 ;
40141 PyObject
*arg6
= (PyObject
*) NULL
;
40142 wxSizerItem
*result
;
40143 PyObject
* obj0
= 0 ;
40144 PyObject
* obj1
= 0 ;
40145 PyObject
* obj2
= 0 ;
40146 PyObject
* obj3
= 0 ;
40147 PyObject
* obj4
= 0 ;
40148 PyObject
* obj5
= 0 ;
40149 char *kwnames
[] = {
40150 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40155 if (SWIG_arg_fail(1)) SWIG_fail
;
40159 arg3
= (int)(SWIG_As_int(obj2
));
40160 if (SWIG_arg_fail(3)) SWIG_fail
;
40165 arg4
= (int)(SWIG_As_int(obj3
));
40166 if (SWIG_arg_fail(4)) SWIG_fail
;
40171 arg5
= (int)(SWIG_As_int(obj4
));
40172 if (SWIG_arg_fail(5)) SWIG_fail
;
40179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40180 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
40182 wxPyEndAllowThreads(__tstate
);
40183 if (PyErr_Occurred()) SWIG_fail
;
40185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40192 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40193 PyObject
*resultobj
;
40194 wxSizer
*arg1
= (wxSizer
*) 0 ;
40196 PyObject
*arg3
= (PyObject
*) 0 ;
40197 int arg4
= (int) 0 ;
40198 int arg5
= (int) 0 ;
40199 int arg6
= (int) 0 ;
40200 PyObject
*arg7
= (PyObject
*) NULL
;
40201 wxSizerItem
*result
;
40202 PyObject
* obj0
= 0 ;
40203 PyObject
* obj1
= 0 ;
40204 PyObject
* obj2
= 0 ;
40205 PyObject
* obj3
= 0 ;
40206 PyObject
* obj4
= 0 ;
40207 PyObject
* obj5
= 0 ;
40208 PyObject
* obj6
= 0 ;
40209 char *kwnames
[] = {
40210 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
40214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40215 if (SWIG_arg_fail(1)) SWIG_fail
;
40217 arg2
= (int)(SWIG_As_int(obj1
));
40218 if (SWIG_arg_fail(2)) 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
;
40235 arg6
= (int)(SWIG_As_int(obj5
));
40236 if (SWIG_arg_fail(6)) SWIG_fail
;
40243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40244 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
40246 wxPyEndAllowThreads(__tstate
);
40247 if (PyErr_Occurred()) SWIG_fail
;
40249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40256 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40257 PyObject
*resultobj
;
40258 wxSizer
*arg1
= (wxSizer
*) 0 ;
40259 PyObject
*arg2
= (PyObject
*) 0 ;
40260 int arg3
= (int) 0 ;
40261 int arg4
= (int) 0 ;
40262 int arg5
= (int) 0 ;
40263 PyObject
*arg6
= (PyObject
*) NULL
;
40264 wxSizerItem
*result
;
40265 PyObject
* obj0
= 0 ;
40266 PyObject
* obj1
= 0 ;
40267 PyObject
* obj2
= 0 ;
40268 PyObject
* obj3
= 0 ;
40269 PyObject
* obj4
= 0 ;
40270 PyObject
* obj5
= 0 ;
40271 char *kwnames
[] = {
40272 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40277 if (SWIG_arg_fail(1)) SWIG_fail
;
40281 arg3
= (int)(SWIG_As_int(obj2
));
40282 if (SWIG_arg_fail(3)) SWIG_fail
;
40287 arg4
= (int)(SWIG_As_int(obj3
));
40288 if (SWIG_arg_fail(4)) SWIG_fail
;
40293 arg5
= (int)(SWIG_As_int(obj4
));
40294 if (SWIG_arg_fail(5)) SWIG_fail
;
40301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40302 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
40304 wxPyEndAllowThreads(__tstate
);
40305 if (PyErr_Occurred()) SWIG_fail
;
40307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40314 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40315 PyObject
*resultobj
;
40316 wxSizer
*arg1
= (wxSizer
*) 0 ;
40317 PyObject
*arg2
= (PyObject
*) 0 ;
40319 PyObject
* obj0
= 0 ;
40320 PyObject
* obj1
= 0 ;
40321 char *kwnames
[] = {
40322 (char *) "self",(char *) "item", NULL
40325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
40326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40327 if (SWIG_arg_fail(1)) SWIG_fail
;
40330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40331 result
= (bool)wxSizer_Remove(arg1
,arg2
);
40333 wxPyEndAllowThreads(__tstate
);
40334 if (PyErr_Occurred()) SWIG_fail
;
40337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40345 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40346 PyObject
*resultobj
;
40347 wxSizer
*arg1
= (wxSizer
*) 0 ;
40348 PyObject
*arg2
= (PyObject
*) 0 ;
40350 PyObject
* obj0
= 0 ;
40351 PyObject
* obj1
= 0 ;
40352 char *kwnames
[] = {
40353 (char *) "self",(char *) "item", NULL
40356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
40357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40358 if (SWIG_arg_fail(1)) SWIG_fail
;
40361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40362 result
= (bool)wxSizer_Detach(arg1
,arg2
);
40364 wxPyEndAllowThreads(__tstate
);
40365 if (PyErr_Occurred()) SWIG_fail
;
40368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40376 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40377 PyObject
*resultobj
;
40378 wxSizer
*arg1
= (wxSizer
*) 0 ;
40379 PyObject
*arg2
= (PyObject
*) 0 ;
40380 wxSizerItem
*result
;
40381 PyObject
* obj0
= 0 ;
40382 PyObject
* obj1
= 0 ;
40383 char *kwnames
[] = {
40384 (char *) "self",(char *) "item", NULL
40387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40389 if (SWIG_arg_fail(1)) SWIG_fail
;
40392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40393 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
40395 wxPyEndAllowThreads(__tstate
);
40396 if (PyErr_Occurred()) SWIG_fail
;
40398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40405 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40406 PyObject
*resultobj
;
40407 wxSizer
*arg1
= (wxSizer
*) 0 ;
40408 PyObject
*arg2
= (PyObject
*) 0 ;
40411 PyObject
* obj0
= 0 ;
40412 PyObject
* obj1
= 0 ;
40413 PyObject
* obj2
= 0 ;
40414 char *kwnames
[] = {
40415 (char *) "self",(char *) "item",(char *) "size", NULL
40418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40420 if (SWIG_arg_fail(1)) SWIG_fail
;
40424 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
40427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40428 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
40430 wxPyEndAllowThreads(__tstate
);
40431 if (PyErr_Occurred()) SWIG_fail
;
40433 Py_INCREF(Py_None
); resultobj
= Py_None
;
40440 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40441 PyObject
*resultobj
;
40442 wxSizer
*arg1
= (wxSizer
*) 0 ;
40443 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40444 wxSizerItem
*result
;
40445 PyObject
* obj0
= 0 ;
40446 PyObject
* obj1
= 0 ;
40447 char *kwnames
[] = {
40448 (char *) "self",(char *) "item", NULL
40451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40453 if (SWIG_arg_fail(1)) SWIG_fail
;
40454 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40455 if (SWIG_arg_fail(2)) SWIG_fail
;
40457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40458 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
40460 wxPyEndAllowThreads(__tstate
);
40461 if (PyErr_Occurred()) SWIG_fail
;
40463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40470 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40471 PyObject
*resultobj
;
40472 wxSizer
*arg1
= (wxSizer
*) 0 ;
40474 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
40475 wxSizerItem
*result
;
40476 PyObject
* obj0
= 0 ;
40477 PyObject
* obj1
= 0 ;
40478 PyObject
* obj2
= 0 ;
40479 char *kwnames
[] = {
40480 (char *) "self",(char *) "index",(char *) "item", NULL
40483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40485 if (SWIG_arg_fail(1)) SWIG_fail
;
40487 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40488 if (SWIG_arg_fail(2)) SWIG_fail
;
40490 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40491 if (SWIG_arg_fail(3)) SWIG_fail
;
40493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40494 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
40496 wxPyEndAllowThreads(__tstate
);
40497 if (PyErr_Occurred()) SWIG_fail
;
40499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40506 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40507 PyObject
*resultobj
;
40508 wxSizer
*arg1
= (wxSizer
*) 0 ;
40509 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40510 wxSizerItem
*result
;
40511 PyObject
* obj0
= 0 ;
40512 PyObject
* obj1
= 0 ;
40513 char *kwnames
[] = {
40514 (char *) "self",(char *) "item", NULL
40517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40519 if (SWIG_arg_fail(1)) SWIG_fail
;
40520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40521 if (SWIG_arg_fail(2)) SWIG_fail
;
40523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40524 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
40526 wxPyEndAllowThreads(__tstate
);
40527 if (PyErr_Occurred()) SWIG_fail
;
40529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40536 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40537 PyObject
*resultobj
;
40538 wxSizer
*arg1
= (wxSizer
*) 0 ;
40543 PyObject
* obj0
= 0 ;
40544 PyObject
* obj1
= 0 ;
40545 PyObject
* obj2
= 0 ;
40546 PyObject
* obj3
= 0 ;
40547 PyObject
* obj4
= 0 ;
40548 char *kwnames
[] = {
40549 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40554 if (SWIG_arg_fail(1)) SWIG_fail
;
40556 arg2
= (int)(SWIG_As_int(obj1
));
40557 if (SWIG_arg_fail(2)) SWIG_fail
;
40560 arg3
= (int)(SWIG_As_int(obj2
));
40561 if (SWIG_arg_fail(3)) SWIG_fail
;
40564 arg4
= (int)(SWIG_As_int(obj3
));
40565 if (SWIG_arg_fail(4)) SWIG_fail
;
40568 arg5
= (int)(SWIG_As_int(obj4
));
40569 if (SWIG_arg_fail(5)) SWIG_fail
;
40572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40573 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40575 wxPyEndAllowThreads(__tstate
);
40576 if (PyErr_Occurred()) SWIG_fail
;
40578 Py_INCREF(Py_None
); resultobj
= Py_None
;
40585 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40586 PyObject
*resultobj
;
40587 wxSizer
*arg1
= (wxSizer
*) 0 ;
40590 PyObject
* obj0
= 0 ;
40591 PyObject
* obj1
= 0 ;
40592 char *kwnames
[] = {
40593 (char *) "self",(char *) "size", NULL
40596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40598 if (SWIG_arg_fail(1)) SWIG_fail
;
40601 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40605 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40607 wxPyEndAllowThreads(__tstate
);
40608 if (PyErr_Occurred()) SWIG_fail
;
40610 Py_INCREF(Py_None
); resultobj
= Py_None
;
40617 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40618 PyObject
*resultobj
;
40619 wxSizer
*arg1
= (wxSizer
*) 0 ;
40621 PyObject
* obj0
= 0 ;
40622 char *kwnames
[] = {
40623 (char *) "self", NULL
40626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40628 if (SWIG_arg_fail(1)) SWIG_fail
;
40630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40631 result
= (arg1
)->GetSize();
40633 wxPyEndAllowThreads(__tstate
);
40634 if (PyErr_Occurred()) SWIG_fail
;
40637 wxSize
* resultptr
;
40638 resultptr
= new wxSize((wxSize
&)(result
));
40639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40647 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40648 PyObject
*resultobj
;
40649 wxSizer
*arg1
= (wxSizer
*) 0 ;
40651 PyObject
* obj0
= 0 ;
40652 char *kwnames
[] = {
40653 (char *) "self", NULL
40656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40658 if (SWIG_arg_fail(1)) SWIG_fail
;
40660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40661 result
= (arg1
)->GetPosition();
40663 wxPyEndAllowThreads(__tstate
);
40664 if (PyErr_Occurred()) SWIG_fail
;
40667 wxPoint
* resultptr
;
40668 resultptr
= new wxPoint((wxPoint
&)(result
));
40669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40677 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40678 PyObject
*resultobj
;
40679 wxSizer
*arg1
= (wxSizer
*) 0 ;
40681 PyObject
* obj0
= 0 ;
40682 char *kwnames
[] = {
40683 (char *) "self", NULL
40686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40688 if (SWIG_arg_fail(1)) SWIG_fail
;
40690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40691 result
= (arg1
)->GetMinSize();
40693 wxPyEndAllowThreads(__tstate
);
40694 if (PyErr_Occurred()) SWIG_fail
;
40697 wxSize
* resultptr
;
40698 resultptr
= new wxSize((wxSize
&)(result
));
40699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40707 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40708 PyObject
*resultobj
;
40709 wxSizer
*arg1
= (wxSizer
*) 0 ;
40710 PyObject
* obj0
= 0 ;
40711 char *kwnames
[] = {
40712 (char *) "self", NULL
40715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40717 if (SWIG_arg_fail(1)) SWIG_fail
;
40719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40720 (arg1
)->RecalcSizes();
40722 wxPyEndAllowThreads(__tstate
);
40723 if (PyErr_Occurred()) SWIG_fail
;
40725 Py_INCREF(Py_None
); resultobj
= Py_None
;
40732 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40733 PyObject
*resultobj
;
40734 wxSizer
*arg1
= (wxSizer
*) 0 ;
40736 PyObject
* obj0
= 0 ;
40737 char *kwnames
[] = {
40738 (char *) "self", NULL
40741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40743 if (SWIG_arg_fail(1)) SWIG_fail
;
40745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40746 result
= (arg1
)->CalcMin();
40748 wxPyEndAllowThreads(__tstate
);
40749 if (PyErr_Occurred()) SWIG_fail
;
40752 wxSize
* resultptr
;
40753 resultptr
= new wxSize((wxSize
&)(result
));
40754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40762 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40763 PyObject
*resultobj
;
40764 wxSizer
*arg1
= (wxSizer
*) 0 ;
40765 PyObject
* obj0
= 0 ;
40766 char *kwnames
[] = {
40767 (char *) "self", NULL
40770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40772 if (SWIG_arg_fail(1)) SWIG_fail
;
40774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40777 wxPyEndAllowThreads(__tstate
);
40778 if (PyErr_Occurred()) SWIG_fail
;
40780 Py_INCREF(Py_None
); resultobj
= Py_None
;
40787 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40788 PyObject
*resultobj
;
40789 wxSizer
*arg1
= (wxSizer
*) 0 ;
40790 wxWindow
*arg2
= (wxWindow
*) 0 ;
40792 PyObject
* obj0
= 0 ;
40793 PyObject
* obj1
= 0 ;
40794 char *kwnames
[] = {
40795 (char *) "self",(char *) "window", NULL
40798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40800 if (SWIG_arg_fail(1)) SWIG_fail
;
40801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40802 if (SWIG_arg_fail(2)) SWIG_fail
;
40804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40805 result
= (arg1
)->Fit(arg2
);
40807 wxPyEndAllowThreads(__tstate
);
40808 if (PyErr_Occurred()) SWIG_fail
;
40811 wxSize
* resultptr
;
40812 resultptr
= new wxSize((wxSize
&)(result
));
40813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40821 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40822 PyObject
*resultobj
;
40823 wxSizer
*arg1
= (wxSizer
*) 0 ;
40824 wxWindow
*arg2
= (wxWindow
*) 0 ;
40825 PyObject
* obj0
= 0 ;
40826 PyObject
* obj1
= 0 ;
40827 char *kwnames
[] = {
40828 (char *) "self",(char *) "window", NULL
40831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40833 if (SWIG_arg_fail(1)) SWIG_fail
;
40834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40835 if (SWIG_arg_fail(2)) SWIG_fail
;
40837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40838 (arg1
)->FitInside(arg2
);
40840 wxPyEndAllowThreads(__tstate
);
40841 if (PyErr_Occurred()) SWIG_fail
;
40843 Py_INCREF(Py_None
); resultobj
= Py_None
;
40850 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40851 PyObject
*resultobj
;
40852 wxSizer
*arg1
= (wxSizer
*) 0 ;
40853 wxWindow
*arg2
= (wxWindow
*) 0 ;
40854 PyObject
* obj0
= 0 ;
40855 PyObject
* obj1
= 0 ;
40856 char *kwnames
[] = {
40857 (char *) "self",(char *) "window", NULL
40860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40862 if (SWIG_arg_fail(1)) SWIG_fail
;
40863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40864 if (SWIG_arg_fail(2)) SWIG_fail
;
40866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40867 (arg1
)->SetSizeHints(arg2
);
40869 wxPyEndAllowThreads(__tstate
);
40870 if (PyErr_Occurred()) SWIG_fail
;
40872 Py_INCREF(Py_None
); resultobj
= Py_None
;
40879 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(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_SetVirtualSizeHints",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
)->SetVirtualSizeHints(arg2
);
40898 wxPyEndAllowThreads(__tstate
);
40899 if (PyErr_Occurred()) SWIG_fail
;
40901 Py_INCREF(Py_None
); resultobj
= Py_None
;
40908 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40909 PyObject
*resultobj
;
40910 wxSizer
*arg1
= (wxSizer
*) 0 ;
40911 bool arg2
= (bool) false ;
40912 PyObject
* obj0
= 0 ;
40913 PyObject
* obj1
= 0 ;
40914 char *kwnames
[] = {
40915 (char *) "self",(char *) "deleteWindows", NULL
40918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",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
;
40923 arg2
= (bool)(SWIG_As_bool(obj1
));
40924 if (SWIG_arg_fail(2)) SWIG_fail
;
40928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40929 (arg1
)->Clear(arg2
);
40931 wxPyEndAllowThreads(__tstate
);
40932 if (PyErr_Occurred()) SWIG_fail
;
40934 Py_INCREF(Py_None
); resultobj
= Py_None
;
40941 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40942 PyObject
*resultobj
;
40943 wxSizer
*arg1
= (wxSizer
*) 0 ;
40944 PyObject
* obj0
= 0 ;
40945 char *kwnames
[] = {
40946 (char *) "self", NULL
40949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40951 if (SWIG_arg_fail(1)) SWIG_fail
;
40953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40954 (arg1
)->DeleteWindows();
40956 wxPyEndAllowThreads(__tstate
);
40957 if (PyErr_Occurred()) SWIG_fail
;
40959 Py_INCREF(Py_None
); resultobj
= Py_None
;
40966 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40967 PyObject
*resultobj
;
40968 wxSizer
*arg1
= (wxSizer
*) 0 ;
40970 PyObject
* obj0
= 0 ;
40971 char *kwnames
[] = {
40972 (char *) "self", NULL
40975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40977 if (SWIG_arg_fail(1)) SWIG_fail
;
40979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40980 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40982 wxPyEndAllowThreads(__tstate
);
40983 if (PyErr_Occurred()) SWIG_fail
;
40985 resultobj
= result
;
40992 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40993 PyObject
*resultobj
;
40994 wxSizer
*arg1
= (wxSizer
*) 0 ;
40995 PyObject
*arg2
= (PyObject
*) 0 ;
40996 bool arg3
= (bool) true ;
40997 bool arg4
= (bool) false ;
40999 PyObject
* obj0
= 0 ;
41000 PyObject
* obj1
= 0 ;
41001 PyObject
* obj2
= 0 ;
41002 PyObject
* obj3
= 0 ;
41003 char *kwnames
[] = {
41004 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
41007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41009 if (SWIG_arg_fail(1)) SWIG_fail
;
41013 arg3
= (bool)(SWIG_As_bool(obj2
));
41014 if (SWIG_arg_fail(3)) SWIG_fail
;
41019 arg4
= (bool)(SWIG_As_bool(obj3
));
41020 if (SWIG_arg_fail(4)) SWIG_fail
;
41024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41025 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
41027 wxPyEndAllowThreads(__tstate
);
41028 if (PyErr_Occurred()) SWIG_fail
;
41031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41039 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41040 PyObject
*resultobj
;
41041 wxSizer
*arg1
= (wxSizer
*) 0 ;
41042 PyObject
*arg2
= (PyObject
*) 0 ;
41044 PyObject
* obj0
= 0 ;
41045 PyObject
* obj1
= 0 ;
41046 char *kwnames
[] = {
41047 (char *) "self",(char *) "item", NULL
41050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
41051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41052 if (SWIG_arg_fail(1)) SWIG_fail
;
41055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41056 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
41058 wxPyEndAllowThreads(__tstate
);
41059 if (PyErr_Occurred()) SWIG_fail
;
41062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41070 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41071 PyObject
*resultobj
;
41072 wxSizer
*arg1
= (wxSizer
*) 0 ;
41074 PyObject
* obj0
= 0 ;
41075 PyObject
* obj1
= 0 ;
41076 char *kwnames
[] = {
41077 (char *) "self",(char *) "show", NULL
41080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
41081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41082 if (SWIG_arg_fail(1)) SWIG_fail
;
41084 arg2
= (bool)(SWIG_As_bool(obj1
));
41085 if (SWIG_arg_fail(2)) SWIG_fail
;
41088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41089 (arg1
)->ShowItems(arg2
);
41091 wxPyEndAllowThreads(__tstate
);
41092 if (PyErr_Occurred()) SWIG_fail
;
41094 Py_INCREF(Py_None
); resultobj
= Py_None
;
41101 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
41103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41104 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
41106 return Py_BuildValue((char *)"");
41108 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41109 PyObject
*resultobj
;
41111 char *kwnames
[] = {
41115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
41117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41118 result
= (wxPySizer
*)new wxPySizer();
41120 wxPyEndAllowThreads(__tstate
);
41121 if (PyErr_Occurred()) SWIG_fail
;
41123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
41130 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41131 PyObject
*resultobj
;
41132 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
41133 PyObject
*arg2
= (PyObject
*) 0 ;
41134 PyObject
*arg3
= (PyObject
*) 0 ;
41135 PyObject
* obj0
= 0 ;
41136 PyObject
* obj1
= 0 ;
41137 PyObject
* obj2
= 0 ;
41138 char *kwnames
[] = {
41139 (char *) "self",(char *) "self",(char *) "_class", NULL
41142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
41144 if (SWIG_arg_fail(1)) SWIG_fail
;
41148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41149 (arg1
)->_setCallbackInfo(arg2
,arg3
);
41151 wxPyEndAllowThreads(__tstate
);
41152 if (PyErr_Occurred()) SWIG_fail
;
41154 Py_INCREF(Py_None
); resultobj
= Py_None
;
41161 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
41163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41164 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
41166 return Py_BuildValue((char *)"");
41168 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41169 PyObject
*resultobj
;
41170 int arg1
= (int) wxHORIZONTAL
;
41171 wxBoxSizer
*result
;
41172 PyObject
* obj0
= 0 ;
41173 char *kwnames
[] = {
41174 (char *) "orient", NULL
41177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
41180 arg1
= (int)(SWIG_As_int(obj0
));
41181 if (SWIG_arg_fail(1)) SWIG_fail
;
41185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41186 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
41188 wxPyEndAllowThreads(__tstate
);
41189 if (PyErr_Occurred()) SWIG_fail
;
41191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
41198 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41199 PyObject
*resultobj
;
41200 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
41202 PyObject
* obj0
= 0 ;
41203 char *kwnames
[] = {
41204 (char *) "self", NULL
41207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
41208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41209 if (SWIG_arg_fail(1)) SWIG_fail
;
41211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41212 result
= (int)(arg1
)->GetOrientation();
41214 wxPyEndAllowThreads(__tstate
);
41215 if (PyErr_Occurred()) SWIG_fail
;
41218 resultobj
= SWIG_From_int((int)(result
));
41226 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41227 PyObject
*resultobj
;
41228 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
41230 PyObject
* obj0
= 0 ;
41231 PyObject
* obj1
= 0 ;
41232 char *kwnames
[] = {
41233 (char *) "self",(char *) "orient", NULL
41236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
41237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41238 if (SWIG_arg_fail(1)) SWIG_fail
;
41240 arg2
= (int)(SWIG_As_int(obj1
));
41241 if (SWIG_arg_fail(2)) SWIG_fail
;
41244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41245 (arg1
)->SetOrientation(arg2
);
41247 wxPyEndAllowThreads(__tstate
);
41248 if (PyErr_Occurred()) SWIG_fail
;
41250 Py_INCREF(Py_None
); resultobj
= Py_None
;
41257 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
41259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41260 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
41262 return Py_BuildValue((char *)"");
41264 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41265 PyObject
*resultobj
;
41266 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
41267 int arg2
= (int) wxHORIZONTAL
;
41268 wxStaticBoxSizer
*result
;
41269 PyObject
* obj0
= 0 ;
41270 PyObject
* obj1
= 0 ;
41271 char *kwnames
[] = {
41272 (char *) "box",(char *) "orient", NULL
41275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
41277 if (SWIG_arg_fail(1)) SWIG_fail
;
41280 arg2
= (int)(SWIG_As_int(obj1
));
41281 if (SWIG_arg_fail(2)) SWIG_fail
;
41285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41286 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
41288 wxPyEndAllowThreads(__tstate
);
41289 if (PyErr_Occurred()) SWIG_fail
;
41291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
41298 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41299 PyObject
*resultobj
;
41300 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
41301 wxStaticBox
*result
;
41302 PyObject
* obj0
= 0 ;
41303 char *kwnames
[] = {
41304 (char *) "self", NULL
41307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
41308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41309 if (SWIG_arg_fail(1)) SWIG_fail
;
41311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41312 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
41314 wxPyEndAllowThreads(__tstate
);
41315 if (PyErr_Occurred()) SWIG_fail
;
41318 resultobj
= wxPyMake_wxObject(result
, 0);
41326 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
41328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41329 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
41331 return Py_BuildValue((char *)"");
41333 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41334 PyObject
*resultobj
;
41335 int arg1
= (int) 1 ;
41336 int arg2
= (int) 0 ;
41337 int arg3
= (int) 0 ;
41338 int arg4
= (int) 0 ;
41339 wxGridSizer
*result
;
41340 PyObject
* obj0
= 0 ;
41341 PyObject
* obj1
= 0 ;
41342 PyObject
* obj2
= 0 ;
41343 PyObject
* obj3
= 0 ;
41344 char *kwnames
[] = {
41345 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41351 arg1
= (int)(SWIG_As_int(obj0
));
41352 if (SWIG_arg_fail(1)) SWIG_fail
;
41357 arg2
= (int)(SWIG_As_int(obj1
));
41358 if (SWIG_arg_fail(2)) SWIG_fail
;
41363 arg3
= (int)(SWIG_As_int(obj2
));
41364 if (SWIG_arg_fail(3)) SWIG_fail
;
41369 arg4
= (int)(SWIG_As_int(obj3
));
41370 if (SWIG_arg_fail(4)) SWIG_fail
;
41374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41375 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
41377 wxPyEndAllowThreads(__tstate
);
41378 if (PyErr_Occurred()) SWIG_fail
;
41380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
41387 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41388 PyObject
*resultobj
;
41389 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41391 PyObject
* obj0
= 0 ;
41392 PyObject
* obj1
= 0 ;
41393 char *kwnames
[] = {
41394 (char *) "self",(char *) "cols", NULL
41397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
41398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41399 if (SWIG_arg_fail(1)) SWIG_fail
;
41401 arg2
= (int)(SWIG_As_int(obj1
));
41402 if (SWIG_arg_fail(2)) SWIG_fail
;
41405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41406 (arg1
)->SetCols(arg2
);
41408 wxPyEndAllowThreads(__tstate
);
41409 if (PyErr_Occurred()) SWIG_fail
;
41411 Py_INCREF(Py_None
); resultobj
= Py_None
;
41418 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41419 PyObject
*resultobj
;
41420 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41422 PyObject
* obj0
= 0 ;
41423 PyObject
* obj1
= 0 ;
41424 char *kwnames
[] = {
41425 (char *) "self",(char *) "rows", NULL
41428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
41429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41430 if (SWIG_arg_fail(1)) SWIG_fail
;
41432 arg2
= (int)(SWIG_As_int(obj1
));
41433 if (SWIG_arg_fail(2)) SWIG_fail
;
41436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41437 (arg1
)->SetRows(arg2
);
41439 wxPyEndAllowThreads(__tstate
);
41440 if (PyErr_Occurred()) SWIG_fail
;
41442 Py_INCREF(Py_None
); resultobj
= Py_None
;
41449 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41450 PyObject
*resultobj
;
41451 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41453 PyObject
* obj0
= 0 ;
41454 PyObject
* obj1
= 0 ;
41455 char *kwnames
[] = {
41456 (char *) "self",(char *) "gap", NULL
41459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41461 if (SWIG_arg_fail(1)) SWIG_fail
;
41463 arg2
= (int)(SWIG_As_int(obj1
));
41464 if (SWIG_arg_fail(2)) SWIG_fail
;
41467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41468 (arg1
)->SetVGap(arg2
);
41470 wxPyEndAllowThreads(__tstate
);
41471 if (PyErr_Occurred()) SWIG_fail
;
41473 Py_INCREF(Py_None
); resultobj
= Py_None
;
41480 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41481 PyObject
*resultobj
;
41482 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41484 PyObject
* obj0
= 0 ;
41485 PyObject
* obj1
= 0 ;
41486 char *kwnames
[] = {
41487 (char *) "self",(char *) "gap", NULL
41490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41492 if (SWIG_arg_fail(1)) SWIG_fail
;
41494 arg2
= (int)(SWIG_As_int(obj1
));
41495 if (SWIG_arg_fail(2)) SWIG_fail
;
41498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41499 (arg1
)->SetHGap(arg2
);
41501 wxPyEndAllowThreads(__tstate
);
41502 if (PyErr_Occurred()) SWIG_fail
;
41504 Py_INCREF(Py_None
); resultobj
= Py_None
;
41511 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41512 PyObject
*resultobj
;
41513 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41515 PyObject
* obj0
= 0 ;
41516 char *kwnames
[] = {
41517 (char *) "self", NULL
41520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
41521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41522 if (SWIG_arg_fail(1)) SWIG_fail
;
41524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41525 result
= (int)(arg1
)->GetCols();
41527 wxPyEndAllowThreads(__tstate
);
41528 if (PyErr_Occurred()) SWIG_fail
;
41531 resultobj
= SWIG_From_int((int)(result
));
41539 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41540 PyObject
*resultobj
;
41541 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41543 PyObject
* obj0
= 0 ;
41544 char *kwnames
[] = {
41545 (char *) "self", NULL
41548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41553 result
= (int)(arg1
)->GetRows();
41555 wxPyEndAllowThreads(__tstate
);
41556 if (PyErr_Occurred()) SWIG_fail
;
41559 resultobj
= SWIG_From_int((int)(result
));
41567 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41568 PyObject
*resultobj
;
41569 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41571 PyObject
* obj0
= 0 ;
41572 char *kwnames
[] = {
41573 (char *) "self", NULL
41576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41578 if (SWIG_arg_fail(1)) SWIG_fail
;
41580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41581 result
= (int)(arg1
)->GetVGap();
41583 wxPyEndAllowThreads(__tstate
);
41584 if (PyErr_Occurred()) SWIG_fail
;
41587 resultobj
= SWIG_From_int((int)(result
));
41595 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41596 PyObject
*resultobj
;
41597 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41599 PyObject
* obj0
= 0 ;
41600 char *kwnames
[] = {
41601 (char *) "self", NULL
41604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41606 if (SWIG_arg_fail(1)) SWIG_fail
;
41608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41609 result
= (int)(arg1
)->GetHGap();
41611 wxPyEndAllowThreads(__tstate
);
41612 if (PyErr_Occurred()) SWIG_fail
;
41615 resultobj
= SWIG_From_int((int)(result
));
41623 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41626 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41628 return Py_BuildValue((char *)"");
41630 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41631 PyObject
*resultobj
;
41632 int arg1
= (int) 1 ;
41633 int arg2
= (int) 0 ;
41634 int arg3
= (int) 0 ;
41635 int arg4
= (int) 0 ;
41636 wxFlexGridSizer
*result
;
41637 PyObject
* obj0
= 0 ;
41638 PyObject
* obj1
= 0 ;
41639 PyObject
* obj2
= 0 ;
41640 PyObject
* obj3
= 0 ;
41641 char *kwnames
[] = {
41642 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41648 arg1
= (int)(SWIG_As_int(obj0
));
41649 if (SWIG_arg_fail(1)) SWIG_fail
;
41654 arg2
= (int)(SWIG_As_int(obj1
));
41655 if (SWIG_arg_fail(2)) SWIG_fail
;
41660 arg3
= (int)(SWIG_As_int(obj2
));
41661 if (SWIG_arg_fail(3)) SWIG_fail
;
41666 arg4
= (int)(SWIG_As_int(obj3
));
41667 if (SWIG_arg_fail(4)) SWIG_fail
;
41671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41672 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41674 wxPyEndAllowThreads(__tstate
);
41675 if (PyErr_Occurred()) SWIG_fail
;
41677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41684 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41685 PyObject
*resultobj
;
41686 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41688 int arg3
= (int) 0 ;
41689 PyObject
* obj0
= 0 ;
41690 PyObject
* obj1
= 0 ;
41691 PyObject
* obj2
= 0 ;
41692 char *kwnames
[] = {
41693 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41698 if (SWIG_arg_fail(1)) SWIG_fail
;
41700 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41701 if (SWIG_arg_fail(2)) SWIG_fail
;
41705 arg3
= (int)(SWIG_As_int(obj2
));
41706 if (SWIG_arg_fail(3)) SWIG_fail
;
41710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41711 (arg1
)->AddGrowableRow(arg2
,arg3
);
41713 wxPyEndAllowThreads(__tstate
);
41714 if (PyErr_Occurred()) SWIG_fail
;
41716 Py_INCREF(Py_None
); resultobj
= Py_None
;
41723 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41724 PyObject
*resultobj
;
41725 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41727 PyObject
* obj0
= 0 ;
41728 PyObject
* obj1
= 0 ;
41729 char *kwnames
[] = {
41730 (char *) "self",(char *) "idx", NULL
41733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41735 if (SWIG_arg_fail(1)) SWIG_fail
;
41737 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41738 if (SWIG_arg_fail(2)) SWIG_fail
;
41741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41742 (arg1
)->RemoveGrowableRow(arg2
);
41744 wxPyEndAllowThreads(__tstate
);
41745 if (PyErr_Occurred()) SWIG_fail
;
41747 Py_INCREF(Py_None
); resultobj
= Py_None
;
41754 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41755 PyObject
*resultobj
;
41756 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41758 int arg3
= (int) 0 ;
41759 PyObject
* obj0
= 0 ;
41760 PyObject
* obj1
= 0 ;
41761 PyObject
* obj2
= 0 ;
41762 char *kwnames
[] = {
41763 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41768 if (SWIG_arg_fail(1)) SWIG_fail
;
41770 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41771 if (SWIG_arg_fail(2)) SWIG_fail
;
41775 arg3
= (int)(SWIG_As_int(obj2
));
41776 if (SWIG_arg_fail(3)) SWIG_fail
;
41780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41781 (arg1
)->AddGrowableCol(arg2
,arg3
);
41783 wxPyEndAllowThreads(__tstate
);
41784 if (PyErr_Occurred()) SWIG_fail
;
41786 Py_INCREF(Py_None
); resultobj
= Py_None
;
41793 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41794 PyObject
*resultobj
;
41795 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41797 PyObject
* obj0
= 0 ;
41798 PyObject
* obj1
= 0 ;
41799 char *kwnames
[] = {
41800 (char *) "self",(char *) "idx", NULL
41803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41805 if (SWIG_arg_fail(1)) SWIG_fail
;
41807 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41808 if (SWIG_arg_fail(2)) SWIG_fail
;
41811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41812 (arg1
)->RemoveGrowableCol(arg2
);
41814 wxPyEndAllowThreads(__tstate
);
41815 if (PyErr_Occurred()) SWIG_fail
;
41817 Py_INCREF(Py_None
); resultobj
= Py_None
;
41824 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41825 PyObject
*resultobj
;
41826 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41828 PyObject
* obj0
= 0 ;
41829 PyObject
* obj1
= 0 ;
41830 char *kwnames
[] = {
41831 (char *) "self",(char *) "direction", NULL
41834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41836 if (SWIG_arg_fail(1)) SWIG_fail
;
41838 arg2
= (int)(SWIG_As_int(obj1
));
41839 if (SWIG_arg_fail(2)) SWIG_fail
;
41842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41843 (arg1
)->SetFlexibleDirection(arg2
);
41845 wxPyEndAllowThreads(__tstate
);
41846 if (PyErr_Occurred()) SWIG_fail
;
41848 Py_INCREF(Py_None
); resultobj
= Py_None
;
41855 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41856 PyObject
*resultobj
;
41857 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41859 PyObject
* obj0
= 0 ;
41860 char *kwnames
[] = {
41861 (char *) "self", NULL
41864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41866 if (SWIG_arg_fail(1)) SWIG_fail
;
41868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41869 result
= (int)(arg1
)->GetFlexibleDirection();
41871 wxPyEndAllowThreads(__tstate
);
41872 if (PyErr_Occurred()) SWIG_fail
;
41875 resultobj
= SWIG_From_int((int)(result
));
41883 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41884 PyObject
*resultobj
;
41885 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41886 wxFlexSizerGrowMode arg2
;
41887 PyObject
* obj0
= 0 ;
41888 PyObject
* obj1
= 0 ;
41889 char *kwnames
[] = {
41890 (char *) "self",(char *) "mode", NULL
41893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41895 if (SWIG_arg_fail(1)) SWIG_fail
;
41897 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41898 if (SWIG_arg_fail(2)) SWIG_fail
;
41901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41902 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41904 wxPyEndAllowThreads(__tstate
);
41905 if (PyErr_Occurred()) SWIG_fail
;
41907 Py_INCREF(Py_None
); resultobj
= Py_None
;
41914 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41915 PyObject
*resultobj
;
41916 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41917 wxFlexSizerGrowMode result
;
41918 PyObject
* obj0
= 0 ;
41919 char *kwnames
[] = {
41920 (char *) "self", NULL
41923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41925 if (SWIG_arg_fail(1)) SWIG_fail
;
41927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41928 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41930 wxPyEndAllowThreads(__tstate
);
41931 if (PyErr_Occurred()) SWIG_fail
;
41933 resultobj
= SWIG_From_int((result
));
41940 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41941 PyObject
*resultobj
;
41942 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41943 wxArrayInt
*result
;
41944 PyObject
* obj0
= 0 ;
41945 char *kwnames
[] = {
41946 (char *) "self", NULL
41949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41951 if (SWIG_arg_fail(1)) SWIG_fail
;
41953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41955 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41956 result
= (wxArrayInt
*) &_result_ref
;
41959 wxPyEndAllowThreads(__tstate
);
41960 if (PyErr_Occurred()) SWIG_fail
;
41963 resultobj
= PyList_New(0);
41965 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41966 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41967 PyList_Append(resultobj
, val
);
41977 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41978 PyObject
*resultobj
;
41979 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41980 wxArrayInt
*result
;
41981 PyObject
* obj0
= 0 ;
41982 char *kwnames
[] = {
41983 (char *) "self", NULL
41986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41988 if (SWIG_arg_fail(1)) SWIG_fail
;
41990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41992 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41993 result
= (wxArrayInt
*) &_result_ref
;
41996 wxPyEndAllowThreads(__tstate
);
41997 if (PyErr_Occurred()) SWIG_fail
;
42000 resultobj
= PyList_New(0);
42002 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
42003 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
42004 PyList_Append(resultobj
, val
);
42014 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
42016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42017 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
42019 return Py_BuildValue((char *)"");
42021 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42022 PyObject
*resultobj
;
42023 wxStdDialogButtonSizer
*result
;
42024 char *kwnames
[] = {
42028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
42030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42031 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
42033 wxPyEndAllowThreads(__tstate
);
42034 if (PyErr_Occurred()) SWIG_fail
;
42036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
42043 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42044 PyObject
*resultobj
;
42045 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42046 wxButton
*arg2
= (wxButton
*) 0 ;
42047 PyObject
* obj0
= 0 ;
42048 PyObject
* obj1
= 0 ;
42049 char *kwnames
[] = {
42050 (char *) "self",(char *) "button", NULL
42053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42055 if (SWIG_arg_fail(1)) SWIG_fail
;
42056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42057 if (SWIG_arg_fail(2)) SWIG_fail
;
42059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42060 (arg1
)->AddButton(arg2
);
42062 wxPyEndAllowThreads(__tstate
);
42063 if (PyErr_Occurred()) SWIG_fail
;
42065 Py_INCREF(Py_None
); resultobj
= Py_None
;
42072 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42073 PyObject
*resultobj
;
42074 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42075 PyObject
* obj0
= 0 ;
42076 char *kwnames
[] = {
42077 (char *) "self", NULL
42080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
42081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42082 if (SWIG_arg_fail(1)) SWIG_fail
;
42084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42087 wxPyEndAllowThreads(__tstate
);
42088 if (PyErr_Occurred()) SWIG_fail
;
42090 Py_INCREF(Py_None
); resultobj
= Py_None
;
42097 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42098 PyObject
*resultobj
;
42099 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42100 wxButton
*arg2
= (wxButton
*) 0 ;
42101 PyObject
* obj0
= 0 ;
42102 PyObject
* obj1
= 0 ;
42103 char *kwnames
[] = {
42104 (char *) "self",(char *) "button", NULL
42107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42109 if (SWIG_arg_fail(1)) SWIG_fail
;
42110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42111 if (SWIG_arg_fail(2)) SWIG_fail
;
42113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42114 (arg1
)->SetAffirmativeButton(arg2
);
42116 wxPyEndAllowThreads(__tstate
);
42117 if (PyErr_Occurred()) SWIG_fail
;
42119 Py_INCREF(Py_None
); resultobj
= Py_None
;
42126 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42127 PyObject
*resultobj
;
42128 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42129 wxButton
*arg2
= (wxButton
*) 0 ;
42130 PyObject
* obj0
= 0 ;
42131 PyObject
* obj1
= 0 ;
42132 char *kwnames
[] = {
42133 (char *) "self",(char *) "button", NULL
42136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
42137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42138 if (SWIG_arg_fail(1)) SWIG_fail
;
42139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
42140 if (SWIG_arg_fail(2)) SWIG_fail
;
42142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42143 (arg1
)->SetNegativeButton(arg2
);
42145 wxPyEndAllowThreads(__tstate
);
42146 if (PyErr_Occurred()) SWIG_fail
;
42148 Py_INCREF(Py_None
); resultobj
= Py_None
;
42155 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(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_SetCancelButton",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
)->SetCancelButton(arg2
);
42174 wxPyEndAllowThreads(__tstate
);
42175 if (PyErr_Occurred()) SWIG_fail
;
42177 Py_INCREF(Py_None
); resultobj
= Py_None
;
42184 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42185 PyObject
*resultobj
;
42186 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42188 PyObject
* obj0
= 0 ;
42189 char *kwnames
[] = {
42190 (char *) "self", NULL
42193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
42194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42195 if (SWIG_arg_fail(1)) SWIG_fail
;
42197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42198 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
42200 wxPyEndAllowThreads(__tstate
);
42201 if (PyErr_Occurred()) SWIG_fail
;
42204 resultobj
= wxPyMake_wxObject(result
, 0);
42212 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42213 PyObject
*resultobj
;
42214 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42216 PyObject
* obj0
= 0 ;
42217 char *kwnames
[] = {
42218 (char *) "self", NULL
42221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
42222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42223 if (SWIG_arg_fail(1)) SWIG_fail
;
42225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42226 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
42228 wxPyEndAllowThreads(__tstate
);
42229 if (PyErr_Occurred()) SWIG_fail
;
42232 resultobj
= wxPyMake_wxObject(result
, 0);
42240 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42241 PyObject
*resultobj
;
42242 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42244 PyObject
* obj0
= 0 ;
42245 char *kwnames
[] = {
42246 (char *) "self", NULL
42249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
42250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42251 if (SWIG_arg_fail(1)) SWIG_fail
;
42253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42254 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
42256 wxPyEndAllowThreads(__tstate
);
42257 if (PyErr_Occurred()) SWIG_fail
;
42260 resultobj
= wxPyMake_wxObject(result
, 0);
42268 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42269 PyObject
*resultobj
;
42270 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42272 PyObject
* obj0
= 0 ;
42273 char *kwnames
[] = {
42274 (char *) "self", NULL
42277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
42278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42279 if (SWIG_arg_fail(1)) SWIG_fail
;
42281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42282 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
42284 wxPyEndAllowThreads(__tstate
);
42285 if (PyErr_Occurred()) SWIG_fail
;
42288 resultobj
= wxPyMake_wxObject(result
, 0);
42296 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42297 PyObject
*resultobj
;
42298 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
42300 PyObject
* obj0
= 0 ;
42301 char *kwnames
[] = {
42302 (char *) "self", NULL
42305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
42306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
42307 if (SWIG_arg_fail(1)) SWIG_fail
;
42309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42310 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
42312 wxPyEndAllowThreads(__tstate
);
42313 if (PyErr_Occurred()) SWIG_fail
;
42316 resultobj
= wxPyMake_wxObject(result
, 0);
42324 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
42326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42327 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
42329 return Py_BuildValue((char *)"");
42331 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42332 PyObject
*resultobj
;
42333 int arg1
= (int) 0 ;
42334 int arg2
= (int) 0 ;
42335 wxGBPosition
*result
;
42336 PyObject
* obj0
= 0 ;
42337 PyObject
* obj1
= 0 ;
42338 char *kwnames
[] = {
42339 (char *) "row",(char *) "col", NULL
42342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
42345 arg1
= (int)(SWIG_As_int(obj0
));
42346 if (SWIG_arg_fail(1)) SWIG_fail
;
42351 arg2
= (int)(SWIG_As_int(obj1
));
42352 if (SWIG_arg_fail(2)) SWIG_fail
;
42356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42357 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
42359 wxPyEndAllowThreads(__tstate
);
42360 if (PyErr_Occurred()) SWIG_fail
;
42362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
42369 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42370 PyObject
*resultobj
;
42371 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42373 PyObject
* obj0
= 0 ;
42374 char *kwnames
[] = {
42375 (char *) "self", NULL
42378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
42379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42380 if (SWIG_arg_fail(1)) SWIG_fail
;
42382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42383 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
42385 wxPyEndAllowThreads(__tstate
);
42386 if (PyErr_Occurred()) SWIG_fail
;
42389 resultobj
= SWIG_From_int((int)(result
));
42397 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42398 PyObject
*resultobj
;
42399 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42401 PyObject
* obj0
= 0 ;
42402 char *kwnames
[] = {
42403 (char *) "self", NULL
42406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
42407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42408 if (SWIG_arg_fail(1)) SWIG_fail
;
42410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42411 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
42413 wxPyEndAllowThreads(__tstate
);
42414 if (PyErr_Occurred()) SWIG_fail
;
42417 resultobj
= SWIG_From_int((int)(result
));
42425 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42426 PyObject
*resultobj
;
42427 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42429 PyObject
* obj0
= 0 ;
42430 PyObject
* obj1
= 0 ;
42431 char *kwnames
[] = {
42432 (char *) "self",(char *) "row", NULL
42435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
42436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42437 if (SWIG_arg_fail(1)) SWIG_fail
;
42439 arg2
= (int)(SWIG_As_int(obj1
));
42440 if (SWIG_arg_fail(2)) SWIG_fail
;
42443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42444 (arg1
)->SetRow(arg2
);
42446 wxPyEndAllowThreads(__tstate
);
42447 if (PyErr_Occurred()) SWIG_fail
;
42449 Py_INCREF(Py_None
); resultobj
= Py_None
;
42456 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42457 PyObject
*resultobj
;
42458 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42460 PyObject
* obj0
= 0 ;
42461 PyObject
* obj1
= 0 ;
42462 char *kwnames
[] = {
42463 (char *) "self",(char *) "col", NULL
42466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
42467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42468 if (SWIG_arg_fail(1)) SWIG_fail
;
42470 arg2
= (int)(SWIG_As_int(obj1
));
42471 if (SWIG_arg_fail(2)) SWIG_fail
;
42474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42475 (arg1
)->SetCol(arg2
);
42477 wxPyEndAllowThreads(__tstate
);
42478 if (PyErr_Occurred()) SWIG_fail
;
42480 Py_INCREF(Py_None
); resultobj
= Py_None
;
42487 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42488 PyObject
*resultobj
;
42489 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42490 wxGBPosition
*arg2
= 0 ;
42492 wxGBPosition temp2
;
42493 PyObject
* obj0
= 0 ;
42494 PyObject
* obj1
= 0 ;
42495 char *kwnames
[] = {
42496 (char *) "self",(char *) "other", NULL
42499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42501 if (SWIG_arg_fail(1)) SWIG_fail
;
42504 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42508 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
42510 wxPyEndAllowThreads(__tstate
);
42511 if (PyErr_Occurred()) SWIG_fail
;
42514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42522 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42523 PyObject
*resultobj
;
42524 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42525 wxGBPosition
*arg2
= 0 ;
42527 wxGBPosition temp2
;
42528 PyObject
* obj0
= 0 ;
42529 PyObject
* obj1
= 0 ;
42530 char *kwnames
[] = {
42531 (char *) "self",(char *) "other", NULL
42534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42536 if (SWIG_arg_fail(1)) SWIG_fail
;
42539 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42543 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42545 wxPyEndAllowThreads(__tstate
);
42546 if (PyErr_Occurred()) SWIG_fail
;
42549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42557 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42558 PyObject
*resultobj
;
42559 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42560 int arg2
= (int) 0 ;
42561 int arg3
= (int) 0 ;
42562 PyObject
* obj0
= 0 ;
42563 PyObject
* obj1
= 0 ;
42564 PyObject
* obj2
= 0 ;
42565 char *kwnames
[] = {
42566 (char *) "self",(char *) "row",(char *) "col", NULL
42569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42571 if (SWIG_arg_fail(1)) SWIG_fail
;
42574 arg2
= (int)(SWIG_As_int(obj1
));
42575 if (SWIG_arg_fail(2)) SWIG_fail
;
42580 arg3
= (int)(SWIG_As_int(obj2
));
42581 if (SWIG_arg_fail(3)) SWIG_fail
;
42585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42586 wxGBPosition_Set(arg1
,arg2
,arg3
);
42588 wxPyEndAllowThreads(__tstate
);
42589 if (PyErr_Occurred()) SWIG_fail
;
42591 Py_INCREF(Py_None
); resultobj
= Py_None
;
42598 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42599 PyObject
*resultobj
;
42600 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42602 PyObject
* obj0
= 0 ;
42603 char *kwnames
[] = {
42604 (char *) "self", NULL
42607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42609 if (SWIG_arg_fail(1)) SWIG_fail
;
42611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42612 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42614 wxPyEndAllowThreads(__tstate
);
42615 if (PyErr_Occurred()) SWIG_fail
;
42617 resultobj
= result
;
42624 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42627 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42629 return Py_BuildValue((char *)"");
42631 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42632 PyObject
*resultobj
;
42633 int arg1
= (int) 1 ;
42634 int arg2
= (int) 1 ;
42636 PyObject
* obj0
= 0 ;
42637 PyObject
* obj1
= 0 ;
42638 char *kwnames
[] = {
42639 (char *) "rowspan",(char *) "colspan", NULL
42642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42645 arg1
= (int)(SWIG_As_int(obj0
));
42646 if (SWIG_arg_fail(1)) SWIG_fail
;
42651 arg2
= (int)(SWIG_As_int(obj1
));
42652 if (SWIG_arg_fail(2)) SWIG_fail
;
42656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42657 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42659 wxPyEndAllowThreads(__tstate
);
42660 if (PyErr_Occurred()) SWIG_fail
;
42662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42669 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42670 PyObject
*resultobj
;
42671 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42673 PyObject
* obj0
= 0 ;
42674 char *kwnames
[] = {
42675 (char *) "self", NULL
42678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42680 if (SWIG_arg_fail(1)) SWIG_fail
;
42682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42683 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42685 wxPyEndAllowThreads(__tstate
);
42686 if (PyErr_Occurred()) SWIG_fail
;
42689 resultobj
= SWIG_From_int((int)(result
));
42697 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42698 PyObject
*resultobj
;
42699 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42701 PyObject
* obj0
= 0 ;
42702 char *kwnames
[] = {
42703 (char *) "self", NULL
42706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42708 if (SWIG_arg_fail(1)) SWIG_fail
;
42710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42711 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42713 wxPyEndAllowThreads(__tstate
);
42714 if (PyErr_Occurred()) SWIG_fail
;
42717 resultobj
= SWIG_From_int((int)(result
));
42725 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42726 PyObject
*resultobj
;
42727 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42729 PyObject
* obj0
= 0 ;
42730 PyObject
* obj1
= 0 ;
42731 char *kwnames
[] = {
42732 (char *) "self",(char *) "rowspan", NULL
42735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42737 if (SWIG_arg_fail(1)) SWIG_fail
;
42739 arg2
= (int)(SWIG_As_int(obj1
));
42740 if (SWIG_arg_fail(2)) SWIG_fail
;
42743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42744 (arg1
)->SetRowspan(arg2
);
42746 wxPyEndAllowThreads(__tstate
);
42747 if (PyErr_Occurred()) SWIG_fail
;
42749 Py_INCREF(Py_None
); resultobj
= Py_None
;
42756 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42757 PyObject
*resultobj
;
42758 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42760 PyObject
* obj0
= 0 ;
42761 PyObject
* obj1
= 0 ;
42762 char *kwnames
[] = {
42763 (char *) "self",(char *) "colspan", NULL
42766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42768 if (SWIG_arg_fail(1)) SWIG_fail
;
42770 arg2
= (int)(SWIG_As_int(obj1
));
42771 if (SWIG_arg_fail(2)) SWIG_fail
;
42774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42775 (arg1
)->SetColspan(arg2
);
42777 wxPyEndAllowThreads(__tstate
);
42778 if (PyErr_Occurred()) SWIG_fail
;
42780 Py_INCREF(Py_None
); resultobj
= Py_None
;
42787 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42788 PyObject
*resultobj
;
42789 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42790 wxGBSpan
*arg2
= 0 ;
42793 PyObject
* obj0
= 0 ;
42794 PyObject
* obj1
= 0 ;
42795 char *kwnames
[] = {
42796 (char *) "self",(char *) "other", NULL
42799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42801 if (SWIG_arg_fail(1)) SWIG_fail
;
42804 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42808 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42810 wxPyEndAllowThreads(__tstate
);
42811 if (PyErr_Occurred()) SWIG_fail
;
42814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42822 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42823 PyObject
*resultobj
;
42824 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42825 wxGBSpan
*arg2
= 0 ;
42828 PyObject
* obj0
= 0 ;
42829 PyObject
* obj1
= 0 ;
42830 char *kwnames
[] = {
42831 (char *) "self",(char *) "other", NULL
42834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42836 if (SWIG_arg_fail(1)) SWIG_fail
;
42839 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42843 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42845 wxPyEndAllowThreads(__tstate
);
42846 if (PyErr_Occurred()) SWIG_fail
;
42849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42857 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42858 PyObject
*resultobj
;
42859 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42860 int arg2
= (int) 1 ;
42861 int arg3
= (int) 1 ;
42862 PyObject
* obj0
= 0 ;
42863 PyObject
* obj1
= 0 ;
42864 PyObject
* obj2
= 0 ;
42865 char *kwnames
[] = {
42866 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42871 if (SWIG_arg_fail(1)) SWIG_fail
;
42874 arg2
= (int)(SWIG_As_int(obj1
));
42875 if (SWIG_arg_fail(2)) SWIG_fail
;
42880 arg3
= (int)(SWIG_As_int(obj2
));
42881 if (SWIG_arg_fail(3)) SWIG_fail
;
42885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42886 wxGBSpan_Set(arg1
,arg2
,arg3
);
42888 wxPyEndAllowThreads(__tstate
);
42889 if (PyErr_Occurred()) SWIG_fail
;
42891 Py_INCREF(Py_None
); resultobj
= Py_None
;
42898 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42899 PyObject
*resultobj
;
42900 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42902 PyObject
* obj0
= 0 ;
42903 char *kwnames
[] = {
42904 (char *) "self", NULL
42907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42909 if (SWIG_arg_fail(1)) SWIG_fail
;
42911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42912 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42914 wxPyEndAllowThreads(__tstate
);
42915 if (PyErr_Occurred()) SWIG_fail
;
42917 resultobj
= result
;
42924 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42927 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42929 return Py_BuildValue((char *)"");
42931 static int _wrap_DefaultSpan_set(PyObject
*) {
42932 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42937 static PyObject
*_wrap_DefaultSpan_get(void) {
42940 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42945 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42946 PyObject
*resultobj
;
42947 wxGBSizerItem
*result
;
42948 char *kwnames
[] = {
42952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42955 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42957 wxPyEndAllowThreads(__tstate
);
42958 if (PyErr_Occurred()) SWIG_fail
;
42960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42967 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42968 PyObject
*resultobj
;
42969 wxWindow
*arg1
= (wxWindow
*) 0 ;
42970 wxGBPosition
*arg2
= 0 ;
42971 wxGBSpan
*arg3
= 0 ;
42974 PyObject
*arg6
= (PyObject
*) NULL
;
42975 wxGBSizerItem
*result
;
42976 wxGBPosition temp2
;
42978 PyObject
* obj0
= 0 ;
42979 PyObject
* obj1
= 0 ;
42980 PyObject
* obj2
= 0 ;
42981 PyObject
* obj3
= 0 ;
42982 PyObject
* obj4
= 0 ;
42983 PyObject
* obj5
= 0 ;
42984 char *kwnames
[] = {
42985 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42990 if (SWIG_arg_fail(1)) SWIG_fail
;
42993 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42997 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43000 arg4
= (int)(SWIG_As_int(obj3
));
43001 if (SWIG_arg_fail(4)) SWIG_fail
;
43004 arg5
= (int)(SWIG_As_int(obj4
));
43005 if (SWIG_arg_fail(5)) SWIG_fail
;
43011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43012 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
43014 wxPyEndAllowThreads(__tstate
);
43015 if (PyErr_Occurred()) SWIG_fail
;
43017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43024 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43025 PyObject
*resultobj
;
43026 wxSizer
*arg1
= (wxSizer
*) 0 ;
43027 wxGBPosition
*arg2
= 0 ;
43028 wxGBSpan
*arg3
= 0 ;
43031 PyObject
*arg6
= (PyObject
*) NULL
;
43032 wxGBSizerItem
*result
;
43033 wxGBPosition temp2
;
43035 PyObject
* obj0
= 0 ;
43036 PyObject
* obj1
= 0 ;
43037 PyObject
* obj2
= 0 ;
43038 PyObject
* obj3
= 0 ;
43039 PyObject
* obj4
= 0 ;
43040 PyObject
* obj5
= 0 ;
43041 char *kwnames
[] = {
43042 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43047 if (SWIG_arg_fail(1)) SWIG_fail
;
43050 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43054 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43057 arg4
= (int)(SWIG_As_int(obj3
));
43058 if (SWIG_arg_fail(4)) SWIG_fail
;
43061 arg5
= (int)(SWIG_As_int(obj4
));
43062 if (SWIG_arg_fail(5)) SWIG_fail
;
43068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43069 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
43071 wxPyEndAllowThreads(__tstate
);
43072 if (PyErr_Occurred()) SWIG_fail
;
43074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43081 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43082 PyObject
*resultobj
;
43085 wxGBPosition
*arg3
= 0 ;
43086 wxGBSpan
*arg4
= 0 ;
43089 PyObject
*arg7
= (PyObject
*) NULL
;
43090 wxGBSizerItem
*result
;
43091 wxGBPosition temp3
;
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 PyObject
* obj6
= 0 ;
43100 char *kwnames
[] = {
43101 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43106 arg1
= (int)(SWIG_As_int(obj0
));
43107 if (SWIG_arg_fail(1)) SWIG_fail
;
43110 arg2
= (int)(SWIG_As_int(obj1
));
43111 if (SWIG_arg_fail(2)) SWIG_fail
;
43115 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43119 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43122 arg5
= (int)(SWIG_As_int(obj4
));
43123 if (SWIG_arg_fail(5)) SWIG_fail
;
43126 arg6
= (int)(SWIG_As_int(obj5
));
43127 if (SWIG_arg_fail(6)) SWIG_fail
;
43133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43134 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43136 wxPyEndAllowThreads(__tstate
);
43137 if (PyErr_Occurred()) SWIG_fail
;
43139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
43146 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43147 PyObject
*resultobj
;
43148 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43149 wxGBPosition result
;
43150 PyObject
* obj0
= 0 ;
43151 char *kwnames
[] = {
43152 (char *) "self", NULL
43155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
43156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43157 if (SWIG_arg_fail(1)) SWIG_fail
;
43159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43160 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
43162 wxPyEndAllowThreads(__tstate
);
43163 if (PyErr_Occurred()) SWIG_fail
;
43166 wxGBPosition
* resultptr
;
43167 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43176 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43177 PyObject
*resultobj
;
43178 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43180 PyObject
* obj0
= 0 ;
43181 char *kwnames
[] = {
43182 (char *) "self", NULL
43185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
43186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43187 if (SWIG_arg_fail(1)) SWIG_fail
;
43189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43190 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
43192 wxPyEndAllowThreads(__tstate
);
43193 if (PyErr_Occurred()) SWIG_fail
;
43196 wxGBSpan
* resultptr
;
43197 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43206 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43207 PyObject
*resultobj
;
43208 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43209 wxGBPosition
*arg2
= 0 ;
43211 wxGBPosition temp2
;
43212 PyObject
* obj0
= 0 ;
43213 PyObject
* obj1
= 0 ;
43214 char *kwnames
[] = {
43215 (char *) "self",(char *) "pos", NULL
43218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
43219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43220 if (SWIG_arg_fail(1)) SWIG_fail
;
43223 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43227 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
43229 wxPyEndAllowThreads(__tstate
);
43230 if (PyErr_Occurred()) SWIG_fail
;
43233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43241 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43242 PyObject
*resultobj
;
43243 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43244 wxGBSpan
*arg2
= 0 ;
43247 PyObject
* obj0
= 0 ;
43248 PyObject
* obj1
= 0 ;
43249 char *kwnames
[] = {
43250 (char *) "self",(char *) "span", NULL
43253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
43254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43255 if (SWIG_arg_fail(1)) SWIG_fail
;
43258 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
43261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43262 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
43264 wxPyEndAllowThreads(__tstate
);
43265 if (PyErr_Occurred()) SWIG_fail
;
43268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43276 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43277 PyObject
*resultobj
;
43278 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43279 wxGBSizerItem
*arg2
= 0 ;
43281 PyObject
* obj0
= 0 ;
43282 PyObject
* obj1
= 0 ;
43283 char *kwnames
[] = {
43284 (char *) "self",(char *) "other", NULL
43287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
43288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43289 if (SWIG_arg_fail(1)) SWIG_fail
;
43291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43292 if (SWIG_arg_fail(2)) SWIG_fail
;
43293 if (arg2
== NULL
) {
43294 SWIG_null_ref("wxGBSizerItem");
43296 if (SWIG_arg_fail(2)) SWIG_fail
;
43299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43300 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
43302 wxPyEndAllowThreads(__tstate
);
43303 if (PyErr_Occurred()) SWIG_fail
;
43306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43314 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43315 PyObject
*resultobj
;
43316 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43317 wxGBPosition
*arg2
= 0 ;
43318 wxGBSpan
*arg3
= 0 ;
43320 wxGBPosition temp2
;
43322 PyObject
* obj0
= 0 ;
43323 PyObject
* obj1
= 0 ;
43324 PyObject
* obj2
= 0 ;
43325 char *kwnames
[] = {
43326 (char *) "self",(char *) "pos",(char *) "span", NULL
43329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43331 if (SWIG_arg_fail(1)) SWIG_fail
;
43334 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43338 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43342 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
43344 wxPyEndAllowThreads(__tstate
);
43345 if (PyErr_Occurred()) SWIG_fail
;
43348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43356 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43357 PyObject
*resultobj
;
43358 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43359 wxGBPosition result
;
43360 PyObject
* obj0
= 0 ;
43361 char *kwnames
[] = {
43362 (char *) "self", NULL
43365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
43366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43367 if (SWIG_arg_fail(1)) SWIG_fail
;
43369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43370 result
= wxGBSizerItem_GetEndPos(arg1
);
43372 wxPyEndAllowThreads(__tstate
);
43373 if (PyErr_Occurred()) SWIG_fail
;
43376 wxGBPosition
* resultptr
;
43377 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43386 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43387 PyObject
*resultobj
;
43388 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43389 wxGridBagSizer
*result
;
43390 PyObject
* obj0
= 0 ;
43391 char *kwnames
[] = {
43392 (char *) "self", NULL
43395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
43396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43397 if (SWIG_arg_fail(1)) SWIG_fail
;
43399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43400 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
43402 wxPyEndAllowThreads(__tstate
);
43403 if (PyErr_Occurred()) SWIG_fail
;
43405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
43412 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43413 PyObject
*resultobj
;
43414 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
43415 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
43416 PyObject
* obj0
= 0 ;
43417 PyObject
* obj1
= 0 ;
43418 char *kwnames
[] = {
43419 (char *) "self",(char *) "sizer", NULL
43422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
43423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43424 if (SWIG_arg_fail(1)) SWIG_fail
;
43425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43426 if (SWIG_arg_fail(2)) SWIG_fail
;
43428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43429 (arg1
)->SetGBSizer(arg2
);
43431 wxPyEndAllowThreads(__tstate
);
43432 if (PyErr_Occurred()) SWIG_fail
;
43434 Py_INCREF(Py_None
); resultobj
= Py_None
;
43441 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
43443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43444 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
43446 return Py_BuildValue((char *)"");
43448 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43449 PyObject
*resultobj
;
43450 int arg1
= (int) 0 ;
43451 int arg2
= (int) 0 ;
43452 wxGridBagSizer
*result
;
43453 PyObject
* obj0
= 0 ;
43454 PyObject
* obj1
= 0 ;
43455 char *kwnames
[] = {
43456 (char *) "vgap",(char *) "hgap", NULL
43459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
43462 arg1
= (int)(SWIG_As_int(obj0
));
43463 if (SWIG_arg_fail(1)) SWIG_fail
;
43468 arg2
= (int)(SWIG_As_int(obj1
));
43469 if (SWIG_arg_fail(2)) SWIG_fail
;
43473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43474 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
43476 wxPyEndAllowThreads(__tstate
);
43477 if (PyErr_Occurred()) SWIG_fail
;
43479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
43486 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43487 PyObject
*resultobj
;
43488 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43489 PyObject
*arg2
= (PyObject
*) 0 ;
43490 wxGBPosition
*arg3
= 0 ;
43491 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
43492 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
43493 int arg5
= (int) 0 ;
43494 int arg6
= (int) 0 ;
43495 PyObject
*arg7
= (PyObject
*) NULL
;
43496 wxGBSizerItem
*result
;
43497 wxGBPosition temp3
;
43499 PyObject
* obj0
= 0 ;
43500 PyObject
* obj1
= 0 ;
43501 PyObject
* obj2
= 0 ;
43502 PyObject
* obj3
= 0 ;
43503 PyObject
* obj4
= 0 ;
43504 PyObject
* obj5
= 0 ;
43505 PyObject
* obj6
= 0 ;
43506 char *kwnames
[] = {
43507 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43512 if (SWIG_arg_fail(1)) SWIG_fail
;
43516 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43521 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43526 arg5
= (int)(SWIG_As_int(obj4
));
43527 if (SWIG_arg_fail(5)) SWIG_fail
;
43532 arg6
= (int)(SWIG_As_int(obj5
));
43533 if (SWIG_arg_fail(6)) SWIG_fail
;
43540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43541 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43543 wxPyEndAllowThreads(__tstate
);
43544 if (PyErr_Occurred()) SWIG_fail
;
43546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43553 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43554 PyObject
*resultobj
;
43555 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43556 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43557 wxGBSizerItem
*result
;
43558 PyObject
* obj0
= 0 ;
43559 PyObject
* obj1
= 0 ;
43560 char *kwnames
[] = {
43561 (char *) "self",(char *) "item", NULL
43564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43566 if (SWIG_arg_fail(1)) SWIG_fail
;
43567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43568 if (SWIG_arg_fail(2)) SWIG_fail
;
43570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43571 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43573 wxPyEndAllowThreads(__tstate
);
43574 if (PyErr_Occurred()) SWIG_fail
;
43576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43583 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43584 PyObject
*resultobj
;
43585 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43589 PyObject
* obj0
= 0 ;
43590 PyObject
* obj1
= 0 ;
43591 PyObject
* obj2
= 0 ;
43592 char *kwnames
[] = {
43593 (char *) "self",(char *) "row",(char *) "col", NULL
43596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43598 if (SWIG_arg_fail(1)) SWIG_fail
;
43600 arg2
= (int)(SWIG_As_int(obj1
));
43601 if (SWIG_arg_fail(2)) SWIG_fail
;
43604 arg3
= (int)(SWIG_As_int(obj2
));
43605 if (SWIG_arg_fail(3)) SWIG_fail
;
43608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43609 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43611 wxPyEndAllowThreads(__tstate
);
43612 if (PyErr_Occurred()) SWIG_fail
;
43615 wxSize
* resultptr
;
43616 resultptr
= new wxSize((wxSize
&)(result
));
43617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43625 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43626 PyObject
*resultobj
;
43627 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43629 PyObject
* obj0
= 0 ;
43630 char *kwnames
[] = {
43631 (char *) "self", NULL
43634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43636 if (SWIG_arg_fail(1)) SWIG_fail
;
43638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43639 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43641 wxPyEndAllowThreads(__tstate
);
43642 if (PyErr_Occurred()) SWIG_fail
;
43645 wxSize
* resultptr
;
43646 resultptr
= new wxSize((wxSize
&)(result
));
43647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43655 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43656 PyObject
*resultobj
;
43657 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43660 PyObject
* obj0
= 0 ;
43661 PyObject
* obj1
= 0 ;
43662 char *kwnames
[] = {
43663 (char *) "self",(char *) "sz", NULL
43666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43668 if (SWIG_arg_fail(1)) SWIG_fail
;
43671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43675 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43677 wxPyEndAllowThreads(__tstate
);
43678 if (PyErr_Occurred()) SWIG_fail
;
43680 Py_INCREF(Py_None
); resultobj
= Py_None
;
43687 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43688 PyObject
*resultobj
;
43689 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43690 wxWindow
*arg2
= (wxWindow
*) 0 ;
43691 wxGBPosition result
;
43692 PyObject
* obj0
= 0 ;
43693 PyObject
* obj1
= 0 ;
43695 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43697 if (SWIG_arg_fail(1)) SWIG_fail
;
43698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43699 if (SWIG_arg_fail(2)) SWIG_fail
;
43701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43702 result
= (arg1
)->GetItemPosition(arg2
);
43704 wxPyEndAllowThreads(__tstate
);
43705 if (PyErr_Occurred()) SWIG_fail
;
43708 wxGBPosition
* resultptr
;
43709 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43718 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43719 PyObject
*resultobj
;
43720 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43721 wxSizer
*arg2
= (wxSizer
*) 0 ;
43722 wxGBPosition result
;
43723 PyObject
* obj0
= 0 ;
43724 PyObject
* obj1
= 0 ;
43726 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43728 if (SWIG_arg_fail(1)) SWIG_fail
;
43729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43730 if (SWIG_arg_fail(2)) SWIG_fail
;
43732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43733 result
= (arg1
)->GetItemPosition(arg2
);
43735 wxPyEndAllowThreads(__tstate
);
43736 if (PyErr_Occurred()) SWIG_fail
;
43739 wxGBPosition
* resultptr
;
43740 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43749 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43750 PyObject
*resultobj
;
43751 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43753 wxGBPosition result
;
43754 PyObject
* obj0
= 0 ;
43755 PyObject
* obj1
= 0 ;
43757 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43759 if (SWIG_arg_fail(1)) SWIG_fail
;
43761 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43762 if (SWIG_arg_fail(2)) SWIG_fail
;
43765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43766 result
= (arg1
)->GetItemPosition(arg2
);
43768 wxPyEndAllowThreads(__tstate
);
43769 if (PyErr_Occurred()) SWIG_fail
;
43772 wxGBPosition
* resultptr
;
43773 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43782 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43787 argc
= PyObject_Length(args
);
43788 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43789 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43795 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43805 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43813 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43821 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43831 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43839 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43855 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43857 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43862 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43867 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43868 PyObject
*resultobj
;
43869 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43870 wxWindow
*arg2
= (wxWindow
*) 0 ;
43871 wxGBPosition
*arg3
= 0 ;
43873 wxGBPosition temp3
;
43874 PyObject
* obj0
= 0 ;
43875 PyObject
* obj1
= 0 ;
43876 PyObject
* obj2
= 0 ;
43878 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43880 if (SWIG_arg_fail(1)) SWIG_fail
;
43881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43882 if (SWIG_arg_fail(2)) SWIG_fail
;
43885 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43889 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43891 wxPyEndAllowThreads(__tstate
);
43892 if (PyErr_Occurred()) SWIG_fail
;
43895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43903 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43904 PyObject
*resultobj
;
43905 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43906 wxSizer
*arg2
= (wxSizer
*) 0 ;
43907 wxGBPosition
*arg3
= 0 ;
43909 wxGBPosition temp3
;
43910 PyObject
* obj0
= 0 ;
43911 PyObject
* obj1
= 0 ;
43912 PyObject
* obj2
= 0 ;
43914 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43916 if (SWIG_arg_fail(1)) SWIG_fail
;
43917 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43918 if (SWIG_arg_fail(2)) SWIG_fail
;
43921 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43925 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43927 wxPyEndAllowThreads(__tstate
);
43928 if (PyErr_Occurred()) SWIG_fail
;
43931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43939 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43940 PyObject
*resultobj
;
43941 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43943 wxGBPosition
*arg3
= 0 ;
43945 wxGBPosition temp3
;
43946 PyObject
* obj0
= 0 ;
43947 PyObject
* obj1
= 0 ;
43948 PyObject
* obj2
= 0 ;
43950 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43952 if (SWIG_arg_fail(1)) SWIG_fail
;
43954 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43955 if (SWIG_arg_fail(2)) SWIG_fail
;
43959 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43963 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43965 wxPyEndAllowThreads(__tstate
);
43966 if (PyErr_Occurred()) SWIG_fail
;
43969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43977 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43982 argc
= PyObject_Length(args
);
43983 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43984 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43990 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44000 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44009 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44012 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
44021 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44031 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44040 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44043 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
44052 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44060 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44063 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
44066 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
44072 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
44077 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
44078 PyObject
*resultobj
;
44079 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44080 wxWindow
*arg2
= (wxWindow
*) 0 ;
44082 PyObject
* obj0
= 0 ;
44083 PyObject
* obj1
= 0 ;
44085 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44087 if (SWIG_arg_fail(1)) SWIG_fail
;
44088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44089 if (SWIG_arg_fail(2)) SWIG_fail
;
44091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44092 result
= (arg1
)->GetItemSpan(arg2
);
44094 wxPyEndAllowThreads(__tstate
);
44095 if (PyErr_Occurred()) SWIG_fail
;
44098 wxGBSpan
* resultptr
;
44099 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44108 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
44109 PyObject
*resultobj
;
44110 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44111 wxSizer
*arg2
= (wxSizer
*) 0 ;
44113 PyObject
* obj0
= 0 ;
44114 PyObject
* obj1
= 0 ;
44116 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44118 if (SWIG_arg_fail(1)) SWIG_fail
;
44119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44120 if (SWIG_arg_fail(2)) SWIG_fail
;
44122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44123 result
= (arg1
)->GetItemSpan(arg2
);
44125 wxPyEndAllowThreads(__tstate
);
44126 if (PyErr_Occurred()) SWIG_fail
;
44129 wxGBSpan
* resultptr
;
44130 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44139 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
44140 PyObject
*resultobj
;
44141 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44144 PyObject
* obj0
= 0 ;
44145 PyObject
* obj1
= 0 ;
44147 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
44148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44149 if (SWIG_arg_fail(1)) SWIG_fail
;
44151 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44152 if (SWIG_arg_fail(2)) SWIG_fail
;
44155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44156 result
= (arg1
)->GetItemSpan(arg2
);
44158 wxPyEndAllowThreads(__tstate
);
44159 if (PyErr_Occurred()) SWIG_fail
;
44162 wxGBSpan
* resultptr
;
44163 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
44164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
44172 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
44177 argc
= PyObject_Length(args
);
44178 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44179 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44185 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44195 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44203 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
44211 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44221 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44229 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
44237 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44245 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44247 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
44252 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
44257 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
44258 PyObject
*resultobj
;
44259 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44260 wxWindow
*arg2
= (wxWindow
*) 0 ;
44261 wxGBSpan
*arg3
= 0 ;
44264 PyObject
* obj0
= 0 ;
44265 PyObject
* obj1
= 0 ;
44266 PyObject
* obj2
= 0 ;
44268 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44270 if (SWIG_arg_fail(1)) SWIG_fail
;
44271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44272 if (SWIG_arg_fail(2)) SWIG_fail
;
44275 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44279 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44281 wxPyEndAllowThreads(__tstate
);
44282 if (PyErr_Occurred()) SWIG_fail
;
44285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44293 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
44294 PyObject
*resultobj
;
44295 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44296 wxSizer
*arg2
= (wxSizer
*) 0 ;
44297 wxGBSpan
*arg3
= 0 ;
44300 PyObject
* obj0
= 0 ;
44301 PyObject
* obj1
= 0 ;
44302 PyObject
* obj2
= 0 ;
44304 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44306 if (SWIG_arg_fail(1)) SWIG_fail
;
44307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44308 if (SWIG_arg_fail(2)) SWIG_fail
;
44311 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44315 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44317 wxPyEndAllowThreads(__tstate
);
44318 if (PyErr_Occurred()) SWIG_fail
;
44321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44329 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
44330 PyObject
*resultobj
;
44331 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44333 wxGBSpan
*arg3
= 0 ;
44336 PyObject
* obj0
= 0 ;
44337 PyObject
* obj1
= 0 ;
44338 PyObject
* obj2
= 0 ;
44340 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
44341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44342 if (SWIG_arg_fail(1)) SWIG_fail
;
44344 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
44345 if (SWIG_arg_fail(2)) SWIG_fail
;
44349 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44353 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
44355 wxPyEndAllowThreads(__tstate
);
44356 if (PyErr_Occurred()) SWIG_fail
;
44359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44367 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
44372 argc
= PyObject_Length(args
);
44373 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
44374 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44380 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44390 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44399 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44402 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
44411 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44421 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44430 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44433 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
44442 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44450 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44453 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44456 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
44462 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
44467 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
44468 PyObject
*resultobj
;
44469 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44470 wxWindow
*arg2
= (wxWindow
*) 0 ;
44471 wxGBSizerItem
*result
;
44472 PyObject
* obj0
= 0 ;
44473 PyObject
* obj1
= 0 ;
44475 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44477 if (SWIG_arg_fail(1)) SWIG_fail
;
44478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44479 if (SWIG_arg_fail(2)) SWIG_fail
;
44481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44482 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44484 wxPyEndAllowThreads(__tstate
);
44485 if (PyErr_Occurred()) SWIG_fail
;
44487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44494 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
44495 PyObject
*resultobj
;
44496 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44497 wxSizer
*arg2
= (wxSizer
*) 0 ;
44498 wxGBSizerItem
*result
;
44499 PyObject
* obj0
= 0 ;
44500 PyObject
* obj1
= 0 ;
44502 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44504 if (SWIG_arg_fail(1)) SWIG_fail
;
44505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44506 if (SWIG_arg_fail(2)) SWIG_fail
;
44508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44509 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44511 wxPyEndAllowThreads(__tstate
);
44512 if (PyErr_Occurred()) SWIG_fail
;
44514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44521 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
44526 argc
= PyObject_Length(args
);
44527 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44528 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44534 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44544 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44552 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44560 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44570 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44578 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44583 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44588 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44589 PyObject
*resultobj
;
44590 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44591 wxGBPosition
*arg2
= 0 ;
44592 wxGBSizerItem
*result
;
44593 wxGBPosition temp2
;
44594 PyObject
* obj0
= 0 ;
44595 PyObject
* obj1
= 0 ;
44596 char *kwnames
[] = {
44597 (char *) "self",(char *) "pos", NULL
44600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44602 if (SWIG_arg_fail(1)) SWIG_fail
;
44605 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44609 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44611 wxPyEndAllowThreads(__tstate
);
44612 if (PyErr_Occurred()) SWIG_fail
;
44614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44621 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44622 PyObject
*resultobj
;
44623 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44624 wxPoint
*arg2
= 0 ;
44625 wxGBSizerItem
*result
;
44627 PyObject
* obj0
= 0 ;
44628 PyObject
* obj1
= 0 ;
44629 char *kwnames
[] = {
44630 (char *) "self",(char *) "pt", NULL
44633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44635 if (SWIG_arg_fail(1)) SWIG_fail
;
44638 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44642 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44644 wxPyEndAllowThreads(__tstate
);
44645 if (PyErr_Occurred()) SWIG_fail
;
44647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44654 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44655 PyObject
*resultobj
;
44656 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44657 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44658 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44660 PyObject
* obj0
= 0 ;
44661 PyObject
* obj1
= 0 ;
44662 PyObject
* obj2
= 0 ;
44663 char *kwnames
[] = {
44664 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44669 if (SWIG_arg_fail(1)) SWIG_fail
;
44670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44671 if (SWIG_arg_fail(2)) SWIG_fail
;
44673 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44674 if (SWIG_arg_fail(3)) SWIG_fail
;
44677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44678 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44680 wxPyEndAllowThreads(__tstate
);
44681 if (PyErr_Occurred()) SWIG_fail
;
44684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44692 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44693 PyObject
*resultobj
;
44694 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44695 wxGBPosition
*arg2
= 0 ;
44696 wxGBSpan
*arg3
= 0 ;
44697 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44699 wxGBPosition temp2
;
44701 PyObject
* obj0
= 0 ;
44702 PyObject
* obj1
= 0 ;
44703 PyObject
* obj2
= 0 ;
44704 PyObject
* obj3
= 0 ;
44705 char *kwnames
[] = {
44706 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44711 if (SWIG_arg_fail(1)) SWIG_fail
;
44714 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44718 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44721 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44722 if (SWIG_arg_fail(4)) SWIG_fail
;
44725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44726 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44728 wxPyEndAllowThreads(__tstate
);
44729 if (PyErr_Occurred()) SWIG_fail
;
44732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44740 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44743 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44745 return Py_BuildValue((char *)"");
44747 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44748 PyObject
*resultobj
;
44749 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44750 wxRelationship arg2
;
44751 wxWindow
*arg3
= (wxWindow
*) 0 ;
44753 int arg5
= (int) 0 ;
44754 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44755 PyObject
* obj0
= 0 ;
44756 PyObject
* obj1
= 0 ;
44757 PyObject
* obj2
= 0 ;
44758 PyObject
* obj3
= 0 ;
44759 PyObject
* obj4
= 0 ;
44760 PyObject
* obj5
= 0 ;
44761 char *kwnames
[] = {
44762 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44767 if (SWIG_arg_fail(1)) SWIG_fail
;
44769 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44770 if (SWIG_arg_fail(2)) SWIG_fail
;
44772 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44773 if (SWIG_arg_fail(3)) SWIG_fail
;
44775 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44776 if (SWIG_arg_fail(4)) SWIG_fail
;
44780 arg5
= (int)(SWIG_As_int(obj4
));
44781 if (SWIG_arg_fail(5)) SWIG_fail
;
44786 arg6
= (int)(SWIG_As_int(obj5
));
44787 if (SWIG_arg_fail(6)) SWIG_fail
;
44791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44792 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44794 wxPyEndAllowThreads(__tstate
);
44795 if (PyErr_Occurred()) SWIG_fail
;
44797 Py_INCREF(Py_None
); resultobj
= Py_None
;
44804 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44805 PyObject
*resultobj
;
44806 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44807 wxWindow
*arg2
= (wxWindow
*) 0 ;
44808 int arg3
= (int) 0 ;
44809 PyObject
* obj0
= 0 ;
44810 PyObject
* obj1
= 0 ;
44811 PyObject
* obj2
= 0 ;
44812 char *kwnames
[] = {
44813 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44818 if (SWIG_arg_fail(1)) SWIG_fail
;
44819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44820 if (SWIG_arg_fail(2)) SWIG_fail
;
44823 arg3
= (int)(SWIG_As_int(obj2
));
44824 if (SWIG_arg_fail(3)) SWIG_fail
;
44828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44829 (arg1
)->LeftOf(arg2
,arg3
);
44831 wxPyEndAllowThreads(__tstate
);
44832 if (PyErr_Occurred()) SWIG_fail
;
44834 Py_INCREF(Py_None
); resultobj
= Py_None
;
44841 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44842 PyObject
*resultobj
;
44843 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44844 wxWindow
*arg2
= (wxWindow
*) 0 ;
44845 int arg3
= (int) 0 ;
44846 PyObject
* obj0
= 0 ;
44847 PyObject
* obj1
= 0 ;
44848 PyObject
* obj2
= 0 ;
44849 char *kwnames
[] = {
44850 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44855 if (SWIG_arg_fail(1)) SWIG_fail
;
44856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44857 if (SWIG_arg_fail(2)) SWIG_fail
;
44860 arg3
= (int)(SWIG_As_int(obj2
));
44861 if (SWIG_arg_fail(3)) SWIG_fail
;
44865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44866 (arg1
)->RightOf(arg2
,arg3
);
44868 wxPyEndAllowThreads(__tstate
);
44869 if (PyErr_Occurred()) SWIG_fail
;
44871 Py_INCREF(Py_None
); resultobj
= Py_None
;
44878 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44879 PyObject
*resultobj
;
44880 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44881 wxWindow
*arg2
= (wxWindow
*) 0 ;
44882 int arg3
= (int) 0 ;
44883 PyObject
* obj0
= 0 ;
44884 PyObject
* obj1
= 0 ;
44885 PyObject
* obj2
= 0 ;
44886 char *kwnames
[] = {
44887 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44892 if (SWIG_arg_fail(1)) SWIG_fail
;
44893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44894 if (SWIG_arg_fail(2)) SWIG_fail
;
44897 arg3
= (int)(SWIG_As_int(obj2
));
44898 if (SWIG_arg_fail(3)) SWIG_fail
;
44902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44903 (arg1
)->Above(arg2
,arg3
);
44905 wxPyEndAllowThreads(__tstate
);
44906 if (PyErr_Occurred()) SWIG_fail
;
44908 Py_INCREF(Py_None
); resultobj
= Py_None
;
44915 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44916 PyObject
*resultobj
;
44917 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44918 wxWindow
*arg2
= (wxWindow
*) 0 ;
44919 int arg3
= (int) 0 ;
44920 PyObject
* obj0
= 0 ;
44921 PyObject
* obj1
= 0 ;
44922 PyObject
* obj2
= 0 ;
44923 char *kwnames
[] = {
44924 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44929 if (SWIG_arg_fail(1)) SWIG_fail
;
44930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44931 if (SWIG_arg_fail(2)) SWIG_fail
;
44934 arg3
= (int)(SWIG_As_int(obj2
));
44935 if (SWIG_arg_fail(3)) SWIG_fail
;
44939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44940 (arg1
)->Below(arg2
,arg3
);
44942 wxPyEndAllowThreads(__tstate
);
44943 if (PyErr_Occurred()) SWIG_fail
;
44945 Py_INCREF(Py_None
); resultobj
= Py_None
;
44952 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44953 PyObject
*resultobj
;
44954 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44955 wxWindow
*arg2
= (wxWindow
*) 0 ;
44957 int arg4
= (int) 0 ;
44958 PyObject
* obj0
= 0 ;
44959 PyObject
* obj1
= 0 ;
44960 PyObject
* obj2
= 0 ;
44961 PyObject
* obj3
= 0 ;
44962 char *kwnames
[] = {
44963 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44968 if (SWIG_arg_fail(1)) SWIG_fail
;
44969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44970 if (SWIG_arg_fail(2)) SWIG_fail
;
44972 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44973 if (SWIG_arg_fail(3)) SWIG_fail
;
44977 arg4
= (int)(SWIG_As_int(obj3
));
44978 if (SWIG_arg_fail(4)) SWIG_fail
;
44982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44983 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44985 wxPyEndAllowThreads(__tstate
);
44986 if (PyErr_Occurred()) SWIG_fail
;
44988 Py_INCREF(Py_None
); resultobj
= Py_None
;
44995 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44996 PyObject
*resultobj
;
44997 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44998 wxWindow
*arg2
= (wxWindow
*) 0 ;
45001 PyObject
* obj0
= 0 ;
45002 PyObject
* obj1
= 0 ;
45003 PyObject
* obj2
= 0 ;
45004 PyObject
* obj3
= 0 ;
45005 char *kwnames
[] = {
45006 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
45009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45011 if (SWIG_arg_fail(1)) SWIG_fail
;
45012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45013 if (SWIG_arg_fail(2)) SWIG_fail
;
45015 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
45016 if (SWIG_arg_fail(3)) SWIG_fail
;
45019 arg4
= (int)(SWIG_As_int(obj3
));
45020 if (SWIG_arg_fail(4)) SWIG_fail
;
45023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45024 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
45026 wxPyEndAllowThreads(__tstate
);
45027 if (PyErr_Occurred()) SWIG_fail
;
45029 Py_INCREF(Py_None
); resultobj
= Py_None
;
45036 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45037 PyObject
*resultobj
;
45038 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45040 PyObject
* obj0
= 0 ;
45041 PyObject
* obj1
= 0 ;
45042 char *kwnames
[] = {
45043 (char *) "self",(char *) "val", NULL
45046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
45047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45048 if (SWIG_arg_fail(1)) SWIG_fail
;
45050 arg2
= (int)(SWIG_As_int(obj1
));
45051 if (SWIG_arg_fail(2)) SWIG_fail
;
45054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45055 (arg1
)->Absolute(arg2
);
45057 wxPyEndAllowThreads(__tstate
);
45058 if (PyErr_Occurred()) SWIG_fail
;
45060 Py_INCREF(Py_None
); resultobj
= Py_None
;
45067 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45068 PyObject
*resultobj
;
45069 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45070 PyObject
* obj0
= 0 ;
45071 char *kwnames
[] = {
45072 (char *) "self", NULL
45075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
45076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45077 if (SWIG_arg_fail(1)) SWIG_fail
;
45079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45080 (arg1
)->Unconstrained();
45082 wxPyEndAllowThreads(__tstate
);
45083 if (PyErr_Occurred()) SWIG_fail
;
45085 Py_INCREF(Py_None
); resultobj
= Py_None
;
45092 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45093 PyObject
*resultobj
;
45094 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45095 PyObject
* obj0
= 0 ;
45096 char *kwnames
[] = {
45097 (char *) "self", NULL
45100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
45101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45102 if (SWIG_arg_fail(1)) SWIG_fail
;
45104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45107 wxPyEndAllowThreads(__tstate
);
45108 if (PyErr_Occurred()) SWIG_fail
;
45110 Py_INCREF(Py_None
); resultobj
= Py_None
;
45117 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45118 PyObject
*resultobj
;
45119 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45121 PyObject
* obj0
= 0 ;
45122 char *kwnames
[] = {
45123 (char *) "self", NULL
45126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
45127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45128 if (SWIG_arg_fail(1)) SWIG_fail
;
45130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45131 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
45133 wxPyEndAllowThreads(__tstate
);
45134 if (PyErr_Occurred()) SWIG_fail
;
45137 resultobj
= wxPyMake_wxObject(result
, 0);
45145 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45146 PyObject
*resultobj
;
45147 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45149 PyObject
* obj0
= 0 ;
45150 char *kwnames
[] = {
45151 (char *) "self", NULL
45154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
45155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45156 if (SWIG_arg_fail(1)) SWIG_fail
;
45158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45159 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
45161 wxPyEndAllowThreads(__tstate
);
45162 if (PyErr_Occurred()) SWIG_fail
;
45164 resultobj
= SWIG_From_int((result
));
45171 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45172 PyObject
*resultobj
;
45173 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45175 PyObject
* obj0
= 0 ;
45176 PyObject
* obj1
= 0 ;
45177 char *kwnames
[] = {
45178 (char *) "self",(char *) "which", NULL
45181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
45182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45183 if (SWIG_arg_fail(1)) SWIG_fail
;
45185 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45186 if (SWIG_arg_fail(2)) SWIG_fail
;
45189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45190 (arg1
)->SetEdge((wxEdge
)arg2
);
45192 wxPyEndAllowThreads(__tstate
);
45193 if (PyErr_Occurred()) SWIG_fail
;
45195 Py_INCREF(Py_None
); resultobj
= Py_None
;
45202 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45203 PyObject
*resultobj
;
45204 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45206 PyObject
* obj0
= 0 ;
45207 PyObject
* obj1
= 0 ;
45208 char *kwnames
[] = {
45209 (char *) "self",(char *) "v", NULL
45212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
45217 if (SWIG_arg_fail(2)) SWIG_fail
;
45220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45221 (arg1
)->SetValue(arg2
);
45223 wxPyEndAllowThreads(__tstate
);
45224 if (PyErr_Occurred()) SWIG_fail
;
45226 Py_INCREF(Py_None
); resultobj
= Py_None
;
45233 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45234 PyObject
*resultobj
;
45235 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45237 PyObject
* obj0
= 0 ;
45238 char *kwnames
[] = {
45239 (char *) "self", NULL
45242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
45243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45244 if (SWIG_arg_fail(1)) SWIG_fail
;
45246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45247 result
= (int)(arg1
)->GetMargin();
45249 wxPyEndAllowThreads(__tstate
);
45250 if (PyErr_Occurred()) SWIG_fail
;
45253 resultobj
= SWIG_From_int((int)(result
));
45261 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45262 PyObject
*resultobj
;
45263 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45265 PyObject
* obj0
= 0 ;
45266 PyObject
* obj1
= 0 ;
45267 char *kwnames
[] = {
45268 (char *) "self",(char *) "m", NULL
45271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
45272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45273 if (SWIG_arg_fail(1)) SWIG_fail
;
45275 arg2
= (int)(SWIG_As_int(obj1
));
45276 if (SWIG_arg_fail(2)) SWIG_fail
;
45279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45280 (arg1
)->SetMargin(arg2
);
45282 wxPyEndAllowThreads(__tstate
);
45283 if (PyErr_Occurred()) SWIG_fail
;
45285 Py_INCREF(Py_None
); resultobj
= Py_None
;
45292 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45293 PyObject
*resultobj
;
45294 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45296 PyObject
* obj0
= 0 ;
45297 char *kwnames
[] = {
45298 (char *) "self", NULL
45301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
45302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45303 if (SWIG_arg_fail(1)) SWIG_fail
;
45305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45306 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
45308 wxPyEndAllowThreads(__tstate
);
45309 if (PyErr_Occurred()) SWIG_fail
;
45312 resultobj
= SWIG_From_int((int)(result
));
45320 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45321 PyObject
*resultobj
;
45322 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45324 PyObject
* obj0
= 0 ;
45325 char *kwnames
[] = {
45326 (char *) "self", NULL
45329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45334 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
45336 wxPyEndAllowThreads(__tstate
);
45337 if (PyErr_Occurred()) SWIG_fail
;
45340 resultobj
= SWIG_From_int((int)(result
));
45348 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45349 PyObject
*resultobj
;
45350 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45352 PyObject
* obj0
= 0 ;
45353 char *kwnames
[] = {
45354 (char *) "self", NULL
45357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
45358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45359 if (SWIG_arg_fail(1)) SWIG_fail
;
45361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45362 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
45364 wxPyEndAllowThreads(__tstate
);
45365 if (PyErr_Occurred()) SWIG_fail
;
45368 resultobj
= SWIG_From_int((int)(result
));
45376 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45377 PyObject
*resultobj
;
45378 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45380 PyObject
* obj0
= 0 ;
45381 char *kwnames
[] = {
45382 (char *) "self", NULL
45385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
45386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45387 if (SWIG_arg_fail(1)) SWIG_fail
;
45389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45390 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
45392 wxPyEndAllowThreads(__tstate
);
45393 if (PyErr_Occurred()) SWIG_fail
;
45396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45404 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45405 PyObject
*resultobj
;
45406 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45408 PyObject
* obj0
= 0 ;
45409 PyObject
* obj1
= 0 ;
45410 char *kwnames
[] = {
45411 (char *) "self",(char *) "d", NULL
45414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
45415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45416 if (SWIG_arg_fail(1)) SWIG_fail
;
45418 arg2
= (bool)(SWIG_As_bool(obj1
));
45419 if (SWIG_arg_fail(2)) SWIG_fail
;
45422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45423 (arg1
)->SetDone(arg2
);
45425 wxPyEndAllowThreads(__tstate
);
45426 if (PyErr_Occurred()) SWIG_fail
;
45428 Py_INCREF(Py_None
); resultobj
= Py_None
;
45435 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45436 PyObject
*resultobj
;
45437 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45438 wxRelationship result
;
45439 PyObject
* obj0
= 0 ;
45440 char *kwnames
[] = {
45441 (char *) "self", NULL
45444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
45445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45446 if (SWIG_arg_fail(1)) SWIG_fail
;
45448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45449 result
= (wxRelationship
)(arg1
)->GetRelationship();
45451 wxPyEndAllowThreads(__tstate
);
45452 if (PyErr_Occurred()) SWIG_fail
;
45454 resultobj
= SWIG_From_int((result
));
45461 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45462 PyObject
*resultobj
;
45463 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45464 wxRelationship arg2
;
45465 PyObject
* obj0
= 0 ;
45466 PyObject
* obj1
= 0 ;
45467 char *kwnames
[] = {
45468 (char *) "self",(char *) "r", NULL
45471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
45472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45473 if (SWIG_arg_fail(1)) SWIG_fail
;
45475 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
45476 if (SWIG_arg_fail(2)) SWIG_fail
;
45479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45480 (arg1
)->SetRelationship((wxRelationship
)arg2
);
45482 wxPyEndAllowThreads(__tstate
);
45483 if (PyErr_Occurred()) SWIG_fail
;
45485 Py_INCREF(Py_None
); resultobj
= Py_None
;
45492 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45493 PyObject
*resultobj
;
45494 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45495 wxWindow
*arg2
= (wxWindow
*) 0 ;
45497 PyObject
* obj0
= 0 ;
45498 PyObject
* obj1
= 0 ;
45499 char *kwnames
[] = {
45500 (char *) "self",(char *) "otherW", NULL
45503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
45504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45505 if (SWIG_arg_fail(1)) SWIG_fail
;
45506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45507 if (SWIG_arg_fail(2)) SWIG_fail
;
45509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45510 result
= (bool)(arg1
)->ResetIfWin(arg2
);
45512 wxPyEndAllowThreads(__tstate
);
45513 if (PyErr_Occurred()) SWIG_fail
;
45516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45524 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45525 PyObject
*resultobj
;
45526 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45527 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
45528 wxWindow
*arg3
= (wxWindow
*) 0 ;
45530 PyObject
* obj0
= 0 ;
45531 PyObject
* obj1
= 0 ;
45532 PyObject
* obj2
= 0 ;
45533 char *kwnames
[] = {
45534 (char *) "self",(char *) "constraints",(char *) "win", NULL
45537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45539 if (SWIG_arg_fail(1)) SWIG_fail
;
45540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45541 if (SWIG_arg_fail(2)) SWIG_fail
;
45542 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45543 if (SWIG_arg_fail(3)) SWIG_fail
;
45545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45546 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45548 wxPyEndAllowThreads(__tstate
);
45549 if (PyErr_Occurred()) SWIG_fail
;
45552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45560 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45561 PyObject
*resultobj
;
45562 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45564 wxWindow
*arg3
= (wxWindow
*) 0 ;
45565 wxWindow
*arg4
= (wxWindow
*) 0 ;
45567 PyObject
* obj0
= 0 ;
45568 PyObject
* obj1
= 0 ;
45569 PyObject
* obj2
= 0 ;
45570 PyObject
* obj3
= 0 ;
45571 char *kwnames
[] = {
45572 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45577 if (SWIG_arg_fail(1)) SWIG_fail
;
45579 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45580 if (SWIG_arg_fail(2)) SWIG_fail
;
45582 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45583 if (SWIG_arg_fail(3)) SWIG_fail
;
45584 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45585 if (SWIG_arg_fail(4)) SWIG_fail
;
45587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45588 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45590 wxPyEndAllowThreads(__tstate
);
45591 if (PyErr_Occurred()) SWIG_fail
;
45594 resultobj
= SWIG_From_int((int)(result
));
45602 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45605 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45607 return Py_BuildValue((char *)"");
45609 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45610 PyObject
*resultobj
;
45611 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45612 wxIndividualLayoutConstraint
*result
;
45613 PyObject
* obj0
= 0 ;
45614 char *kwnames
[] = {
45615 (char *) "self", NULL
45618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45620 if (SWIG_arg_fail(1)) SWIG_fail
;
45621 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45630 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45631 PyObject
*resultobj
;
45632 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45633 wxIndividualLayoutConstraint
*result
;
45634 PyObject
* obj0
= 0 ;
45635 char *kwnames
[] = {
45636 (char *) "self", NULL
45639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45641 if (SWIG_arg_fail(1)) SWIG_fail
;
45642 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45651 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45652 PyObject
*resultobj
;
45653 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45654 wxIndividualLayoutConstraint
*result
;
45655 PyObject
* obj0
= 0 ;
45656 char *kwnames
[] = {
45657 (char *) "self", NULL
45660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45662 if (SWIG_arg_fail(1)) SWIG_fail
;
45663 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45672 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45673 PyObject
*resultobj
;
45674 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45675 wxIndividualLayoutConstraint
*result
;
45676 PyObject
* obj0
= 0 ;
45677 char *kwnames
[] = {
45678 (char *) "self", NULL
45681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45683 if (SWIG_arg_fail(1)) SWIG_fail
;
45684 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45693 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45694 PyObject
*resultobj
;
45695 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45696 wxIndividualLayoutConstraint
*result
;
45697 PyObject
* obj0
= 0 ;
45698 char *kwnames
[] = {
45699 (char *) "self", NULL
45702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45704 if (SWIG_arg_fail(1)) SWIG_fail
;
45705 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45714 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45715 PyObject
*resultobj
;
45716 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45717 wxIndividualLayoutConstraint
*result
;
45718 PyObject
* obj0
= 0 ;
45719 char *kwnames
[] = {
45720 (char *) "self", NULL
45723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45725 if (SWIG_arg_fail(1)) SWIG_fail
;
45726 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45735 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45736 PyObject
*resultobj
;
45737 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45738 wxIndividualLayoutConstraint
*result
;
45739 PyObject
* obj0
= 0 ;
45740 char *kwnames
[] = {
45741 (char *) "self", NULL
45744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45746 if (SWIG_arg_fail(1)) SWIG_fail
;
45747 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45756 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45757 PyObject
*resultobj
;
45758 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45759 wxIndividualLayoutConstraint
*result
;
45760 PyObject
* obj0
= 0 ;
45761 char *kwnames
[] = {
45762 (char *) "self", NULL
45765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45767 if (SWIG_arg_fail(1)) SWIG_fail
;
45768 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45777 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45778 PyObject
*resultobj
;
45779 wxLayoutConstraints
*result
;
45780 char *kwnames
[] = {
45784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45787 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45789 wxPyEndAllowThreads(__tstate
);
45790 if (PyErr_Occurred()) SWIG_fail
;
45792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45799 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45800 PyObject
*resultobj
;
45801 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45802 wxWindow
*arg2
= (wxWindow
*) 0 ;
45803 int *arg3
= (int *) 0 ;
45807 PyObject
* obj0
= 0 ;
45808 PyObject
* obj1
= 0 ;
45809 char *kwnames
[] = {
45810 (char *) "self",(char *) "win", NULL
45813 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45816 if (SWIG_arg_fail(1)) SWIG_fail
;
45817 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45818 if (SWIG_arg_fail(2)) SWIG_fail
;
45820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45821 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45823 wxPyEndAllowThreads(__tstate
);
45824 if (PyErr_Occurred()) SWIG_fail
;
45827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45829 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45830 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45837 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45838 PyObject
*resultobj
;
45839 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45841 PyObject
* obj0
= 0 ;
45842 char *kwnames
[] = {
45843 (char *) "self", NULL
45846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45848 if (SWIG_arg_fail(1)) SWIG_fail
;
45850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45851 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45853 wxPyEndAllowThreads(__tstate
);
45854 if (PyErr_Occurred()) SWIG_fail
;
45857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45865 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45868 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45870 return Py_BuildValue((char *)"");
45872 static PyMethodDef SwigMethods
[] = {
45873 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45874 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45875 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45878 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45899 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45912 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45927 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45981 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
46009 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
46028 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
46030 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
46038 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
46039 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
46051 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
46063 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
46067 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
46073 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
46083 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
46093 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
46100 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Image_RGBValue_red_set", (PyCFunction
) _wrap_Image_RGBValue_red_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Image_RGBValue_red_get", (PyCFunction
) _wrap_Image_RGBValue_red_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Image_RGBValue_green_set", (PyCFunction
) _wrap_Image_RGBValue_green_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Image_RGBValue_green_get", (PyCFunction
) _wrap_Image_RGBValue_green_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Image_RGBValue_blue_set", (PyCFunction
) _wrap_Image_RGBValue_blue_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Image_RGBValue_blue_get", (PyCFunction
) _wrap_Image_RGBValue_blue_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
46108 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Image_HSVValue_hue_set", (PyCFunction
) _wrap_Image_HSVValue_hue_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Image_HSVValue_hue_get", (PyCFunction
) _wrap_Image_HSVValue_hue_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Image_HSVValue_saturation_set", (PyCFunction
) _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
) _wrap_Image_HSVValue_saturation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Image_HSVValue_value_set", (PyCFunction
) _wrap_Image_HSVValue_value_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Image_HSVValue_value_get", (PyCFunction
) _wrap_Image_HSVValue_value_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
46116 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
46199 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
46201 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
46203 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
46205 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
46207 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
46209 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
46211 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
46213 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
46215 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
46217 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
46219 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
46221 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
46223 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
46237 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
46255 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
46258 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
46261 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
46273 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
46278 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
46284 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
46290 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
46353 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
46360 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
46396 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
46406 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
46412 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
46414 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
46416 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
46419 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
46423 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
46426 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
46429 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
46431 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
46436 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
46444 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
46448 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
46451 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
46453 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
46457 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
46474 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46476 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46479 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46481 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46485 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
46489 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
46500 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
46503 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
46506 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
46510 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
46517 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
46522 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
46527 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
46531 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46576 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46596 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46603 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46607 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46617 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46664 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46683 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46686 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46701 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46704 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46732 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46752 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46754 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46757 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46759 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46760 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46762 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46763 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46765 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46766 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46767 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46769 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46770 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46772 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46779 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46781 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46782 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46788 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46806 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46809 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46810 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46813 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46815 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46817 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46819 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46821 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46824 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46826 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46827 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46830 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46831 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46834 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46837 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46841 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46842 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46843 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46844 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46845 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46846 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46848 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46849 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46857 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46859 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46860 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46863 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46864 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46866 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46878 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46881 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46887 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46889 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46893 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46899 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46903 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46904 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46906 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46909 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46911 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46920 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_GetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46932 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46941 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46950 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46953 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46976 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46977 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46984 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46990 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46993 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
47003 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
47004 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47009 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
47041 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47048 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47057 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47059 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47060 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47061 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47063 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47064 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
47071 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
47074 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
47078 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
47081 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47085 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
47091 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47100 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
47103 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47111 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47114 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
47115 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47117 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47121 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
47125 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47127 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47129 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47132 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47134 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
47135 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47136 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47141 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
47149 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
47156 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
47157 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
47158 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
47159 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
47160 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
47165 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47188 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
47192 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
47204 { NULL
, NULL
, 0, NULL
}
47208 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47210 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
47211 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
47213 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
47214 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
47216 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
47217 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47219 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
47220 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47222 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
47223 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47225 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
47226 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
47228 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
47229 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47231 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
47232 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
47234 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
47235 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47237 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
47238 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47240 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47241 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47243 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47244 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47246 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47247 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47249 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47250 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47252 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47253 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47255 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47256 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47258 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47259 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47261 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47262 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47264 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47265 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47267 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47268 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47270 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47271 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47273 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47274 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47276 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47277 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47279 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47280 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47282 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47283 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47285 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47286 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47288 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47289 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47291 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47292 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47294 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47295 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47297 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47298 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47300 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47301 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47303 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47304 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47306 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47307 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47309 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47310 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47312 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47313 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47315 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47316 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47318 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47319 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47321 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47322 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47324 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47325 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47327 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47328 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47330 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47331 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47333 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47336 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47337 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47339 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47340 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47342 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47343 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47345 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47346 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47348 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
47349 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47351 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
47352 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47354 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
47355 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47357 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47358 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47360 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47361 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47363 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47364 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47366 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47367 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47369 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47372 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47373 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47375 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47376 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47378 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47379 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47381 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47382 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47384 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47385 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47387 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
47388 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
47390 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
47391 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
47393 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
47394 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
47396 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
47397 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
47399 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
47400 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
47402 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
47403 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47405 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
47406 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
47408 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
47409 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
47411 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
47412 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47414 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
47415 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47417 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
47418 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
47420 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
47421 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
47423 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
47424 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
47426 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
47427 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
47429 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
47430 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
47432 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
47433 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
47435 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
47436 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
47438 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
47439 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
47441 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47442 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
47444 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47445 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
47447 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
47448 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
47450 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47451 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47453 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47454 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47456 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47457 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47459 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47462 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47463 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47465 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47466 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47468 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47469 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47471 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47472 return (void *)((wxObject
*) ((wxSizer
*) x
));
47474 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47475 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47477 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47480 static void *_p_wxEventTo_p_wxObject(void *x
) {
47481 return (void *)((wxObject
*) ((wxEvent
*) x
));
47483 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47484 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47486 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47487 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47489 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47490 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47492 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47493 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47495 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47496 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47498 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47499 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47501 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47502 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47504 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47505 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47507 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47508 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47510 static void *_p_wxControlTo_p_wxObject(void *x
) {
47511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47513 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47514 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47516 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47517 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47519 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47520 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47522 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47523 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47525 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47528 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47529 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47531 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47532 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47534 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47537 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47538 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47540 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47543 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47544 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47546 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47547 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47549 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47550 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47552 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47553 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47555 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47556 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47558 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47559 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47561 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47562 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47564 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47565 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47567 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47568 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47570 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47573 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47576 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47579 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47580 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47582 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47583 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47585 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47586 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47588 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47589 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47591 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47592 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47594 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47595 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47597 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47598 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47600 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47601 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47603 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47604 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47606 static void *_p_wxImageTo_p_wxObject(void *x
) {
47607 return (void *)((wxObject
*) ((wxImage
*) x
));
47609 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47610 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47612 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47615 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47616 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47618 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47619 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47621 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47622 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47624 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47625 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47627 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47630 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47631 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47633 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47636 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47637 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47639 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47640 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47642 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47643 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47645 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47646 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47648 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47649 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47651 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47654 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47655 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47657 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47658 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47660 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47661 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47663 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47666 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47669 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47672 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47673 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47675 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47676 return (void *)((wxWindow
*) ((wxControl
*) x
));
47678 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47679 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47681 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47682 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47684 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47685 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47687 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47688 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47690 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47691 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47693 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47694 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47696 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47697 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47699 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47700 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47702 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47703 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47705 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47706 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47708 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47709 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47711 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47712 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47714 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}};
47715 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}};
47716 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}};
47717 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}};
47718 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}};
47719 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}};
47720 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}};
47721 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}};
47722 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}};
47723 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}};
47724 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}};
47725 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}};
47726 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}};
47727 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}};
47728 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}};
47729 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}};
47730 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}};
47731 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}};
47732 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}};
47733 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}};
47734 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}};
47735 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}};
47736 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}};
47737 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}};
47738 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}};
47739 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}};
47740 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}};
47741 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}};
47742 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}};
47743 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}};
47744 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}};
47745 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}};
47746 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}};
47747 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}};
47748 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}};
47749 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}};
47750 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}};
47751 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}};
47752 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}};
47753 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}};
47754 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}};
47755 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}};
47756 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}};
47757 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}};
47758 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}};
47759 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}};
47760 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}};
47761 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}};
47762 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}};
47763 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}};
47764 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}};
47765 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}};
47766 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}};
47767 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}};
47768 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}};
47769 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}};
47770 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}};
47771 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}};
47772 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}};
47773 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}};
47774 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}};
47775 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}};
47776 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}};
47777 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}};
47778 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}};
47779 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}};
47780 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}};
47781 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}};
47782 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}};
47783 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}};
47784 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}};
47785 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}};
47786 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}};
47787 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}};
47788 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}};
47789 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}};
47790 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}};
47791 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}};
47792 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}};
47793 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}};
47794 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47795 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}};
47796 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}};
47797 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}};
47798 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}};
47799 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}};
47800 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}};
47801 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}};
47802 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}};
47803 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}};
47804 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}};
47805 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}};
47806 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}};
47807 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}};
47808 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}};
47809 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}};
47810 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}};
47811 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47812 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}};
47813 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}};
47814 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}};
47815 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}};
47816 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}};
47817 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}};
47818 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}};
47819 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}};
47820 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}};
47821 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}};
47822 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}};
47823 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}};
47824 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}};
47825 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}};
47826 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}};
47827 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}};
47828 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}};
47829 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}};
47830 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}};
47831 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}};
47832 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}};
47833 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}};
47834 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}};
47835 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}};
47836 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}};
47837 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}};
47838 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}};
47839 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}};
47840 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}};
47841 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}};
47842 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}};
47843 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}};
47845 static swig_type_info
*swig_types_initial
[] = {
47846 _swigt__p_wxLayoutConstraints
,
47847 _swigt__p_wxRealPoint
,
47848 _swigt__p_wxSizerItem
,
47849 _swigt__p_wxGBSizerItem
,
47850 _swigt__p_wxScrollEvent
,
47851 _swigt__p_wxEventLoop
,
47852 _swigt__p_wxIndividualLayoutConstraint
,
47854 _swigt__p_wxBoxSizer
,
47855 _swigt__p_wxStaticBoxSizer
,
47856 _swigt__p_wxGridBagSizer
,
47857 _swigt__p_wxAcceleratorEntry
,
47858 _swigt__p_wxUpdateUIEvent
,
47862 _swigt__p_wxGridSizer
,
47863 _swigt__p_wxFlexGridSizer
,
47864 _swigt__p_wxInitDialogEvent
,
47865 _swigt__p_wxItemContainer
,
47866 _swigt__p_wxNcPaintEvent
,
47867 _swigt__p_wxPaintEvent
,
47868 _swigt__p_wxSysColourChangedEvent
,
47869 _swigt__p_wxMouseCaptureChangedEvent
,
47870 _swigt__p_wxDisplayChangedEvent
,
47871 _swigt__p_wxPaletteChangedEvent
,
47872 _swigt__p_wxControl
,
47874 _swigt__p_wxMenuBarBase
,
47875 _swigt__p_wxSetCursorEvent
,
47876 _swigt__p_wxFSFile
,
47879 _swigt__std__ptrdiff_t
,
47880 _swigt__p_wxRegion
,
47881 _swigt__p_wxPoint2D
,
47882 _swigt__p_wxImage_HSVValue
,
47886 _swigt__p_wxPySizer
,
47887 _swigt__p_wxVisualAttributes
,
47888 _swigt__p_wxImage_RGBValue
,
47889 _swigt__p_wxNotifyEvent
,
47890 _swigt__p_wxPyEvent
,
47891 _swigt__p_wxPropagationDisabler
,
47892 _swigt__p_form_ops_t
,
47893 _swigt__p_wxAppTraits
,
47894 _swigt__p_wxArrayString
,
47895 _swigt__p_wxShowEvent
,
47896 _swigt__p_wxToolTip
,
47897 _swigt__p_wxMoveEvent
,
47898 _swigt__p_wxSizeEvent
,
47899 _swigt__p_wxActivateEvent
,
47900 _swigt__p_wxIconizeEvent
,
47901 _swigt__p_wxMaximizeEvent
,
47902 _swigt__p_wxQueryNewPaletteEvent
,
47903 _swigt__p_wxWindowCreateEvent
,
47904 _swigt__p_wxIdleEvent
,
47905 _swigt__p_wxDateEvent
,
47906 _swigt__p_wxMenuItem
,
47907 _swigt__p_wxStaticBox
,
47909 _swigt__p_wxDuplexMode
,
47910 _swigt__p_wxTIFFHandler
,
47911 _swigt__p_wxXPMHandler
,
47912 _swigt__p_wxPNMHandler
,
47913 _swigt__p_wxJPEGHandler
,
47914 _swigt__p_wxPCXHandler
,
47915 _swigt__p_wxGIFHandler
,
47916 _swigt__p_wxPNGHandler
,
47917 _swigt__p_wxANIHandler
,
47918 _swigt__p_wxMemoryFSHandler
,
47919 _swigt__p_wxZipFSHandler
,
47920 _swigt__p_wxInternetFSHandler
,
47921 _swigt__p_wxPyFileSystemHandler
,
47922 _swigt__p_wxEvtHandler
,
47923 _swigt__p_wxCURHandler
,
47924 _swigt__p_wxICOHandler
,
47925 _swigt__p_wxBMPHandler
,
47926 _swigt__p_wxImageHandler
,
47927 _swigt__p_wxFileSystemHandler
,
47929 _swigt__p_wxButton
,
47930 _swigt__p_wxGBSpan
,
47931 _swigt__p_wxPropagateOnce
,
47932 _swigt__p_wxAcceleratorTable
,
47933 _swigt__p_wxStdDialogButtonSizer
,
47935 _swigt__p_wxGBPosition
,
47938 _swigt__p_wxScrollWinEvent
,
47939 _swigt__p_wxPaperSize
,
47940 _swigt__p_wxImageHistogram
,
47942 _swigt__p_wxCursor
,
47943 _swigt__p_wxObject
,
47944 _swigt__p_wxInputStream
,
47945 _swigt__p_wxOutputStream
,
47946 _swigt__p_wxPyInputStream
,
47947 _swigt__p_wxDateTime
,
47948 _swigt__p_wxKeyEvent
,
47949 _swigt__p_wxNavigationKeyEvent
,
47950 _swigt__p_wxWindowDestroyEvent
,
47951 _swigt__p_unsigned_long
,
47952 _swigt__p_wxWindow
,
47953 _swigt__p_wxMenuBar
,
47954 _swigt__p_wxFileSystem
,
47955 _swigt__p_wxBitmap
,
47956 _swigt__unsigned_int
,
47957 _swigt__p_unsigned_int
,
47958 _swigt__p_wxMenuEvent
,
47959 _swigt__p_wxContextMenuEvent
,
47960 _swigt__p_unsigned_char
,
47961 _swigt__p_wxMouseEvent
,
47962 _swigt__p_wxEraseEvent
,
47963 _swigt__p_wxCloseEvent
,
47965 _swigt__p_wxCommandEvent
,
47966 _swigt__p_wxPyCommandEvent
,
47967 _swigt__p_wxPyDropTarget
,
47968 _swigt__p_wxQuantize
,
47969 _swigt__p_wxFocusEvent
,
47970 _swigt__p_wxChildFocusEvent
,
47971 _swigt__p_wxDropFilesEvent
,
47972 _swigt__p_wxControlWithItems
,
47973 _swigt__p_wxColour
,
47974 _swigt__p_wxValidator
,
47975 _swigt__p_wxPyValidator
,
47980 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47982 static swig_const_info swig_const_table
[] = {
47983 {0, 0, 0, 0.0, 0, 0}};
47994 /* Python-specific SWIG API */
47995 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47996 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47997 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47999 /* -----------------------------------------------------------------------------
48000 * global variable support code.
48001 * ----------------------------------------------------------------------------- */
48003 typedef struct swig_globalvar
{
48004 char *name
; /* Name of global variable */
48005 PyObject
*(*get_attr
)(); /* Return the current value */
48006 int (*set_attr
)(PyObject
*); /* Set the value */
48007 struct swig_globalvar
*next
;
48010 typedef struct swig_varlinkobject
{
48012 swig_globalvar
*vars
;
48013 } swig_varlinkobject
;
48016 swig_varlink_repr(swig_varlinkobject
*v
) {
48018 return PyString_FromString("<Swig global variables>");
48022 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
48023 swig_globalvar
*var
;
48025 fprintf(fp
,"Swig global variables { ");
48026 for (var
= v
->vars
; var
; var
=var
->next
) {
48027 fprintf(fp
,"%s", var
->name
);
48028 if (var
->next
) fprintf(fp
,", ");
48030 fprintf(fp
," }\n");
48035 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48036 swig_globalvar
*var
= v
->vars
;
48038 if (strcmp(var
->name
,n
) == 0) {
48039 return (*var
->get_attr
)();
48043 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48048 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48049 swig_globalvar
*var
= v
->vars
;
48051 if (strcmp(var
->name
,n
) == 0) {
48052 return (*var
->set_attr
)(p
);
48056 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48060 static PyTypeObject varlinktype
= {
48061 PyObject_HEAD_INIT(0)
48062 0, /* Number of items in variable part (ob_size) */
48063 (char *)"swigvarlink", /* Type name (tp_name) */
48064 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48065 0, /* Itemsize (tp_itemsize) */
48066 0, /* Deallocator (tp_dealloc) */
48067 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48068 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48069 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48070 0, /* tp_compare */
48071 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48072 0, /* tp_as_number */
48073 0, /* tp_as_sequence */
48074 0, /* tp_as_mapping */
48078 0, /* tp_getattro */
48079 0, /* tp_setattro */
48080 0, /* tp_as_buffer */
48083 #if PY_VERSION_HEX >= 0x02000000
48084 0, /* tp_traverse */
48087 #if PY_VERSION_HEX >= 0x02010000
48088 0, /* tp_richcompare */
48089 0, /* tp_weaklistoffset */
48091 #if PY_VERSION_HEX >= 0x02020000
48092 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48094 #if PY_VERSION_HEX >= 0x02030000
48097 #ifdef COUNT_ALLOCS
48098 0,0,0,0 /* tp_alloc -> tp_next */
48102 /* Create a variable linking object for use later */
48104 SWIG_Python_newvarlink(void) {
48105 swig_varlinkobject
*result
= 0;
48106 result
= PyMem_NEW(swig_varlinkobject
,1);
48107 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
48108 result
->ob_type
= &varlinktype
;
48110 result
->ob_refcnt
= 0;
48111 Py_XINCREF((PyObject
*) result
);
48112 return ((PyObject
*) result
);
48116 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48117 swig_varlinkobject
*v
;
48118 swig_globalvar
*gv
;
48119 v
= (swig_varlinkobject
*) p
;
48120 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48121 gv
->name
= (char *) malloc(strlen(name
)+1);
48122 strcpy(gv
->name
,name
);
48123 gv
->get_attr
= get_attr
;
48124 gv
->set_attr
= set_attr
;
48125 gv
->next
= v
->vars
;
48129 /* -----------------------------------------------------------------------------
48130 * constants/methods manipulation
48131 * ----------------------------------------------------------------------------- */
48133 /* Install Constants */
48135 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48138 for (i
= 0; constants
[i
].type
; i
++) {
48139 switch(constants
[i
].type
) {
48141 obj
= PyInt_FromLong(constants
[i
].lvalue
);
48143 case SWIG_PY_FLOAT
:
48144 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
48146 case SWIG_PY_STRING
:
48147 if (constants
[i
].pvalue
) {
48148 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
48150 Py_INCREF(Py_None
);
48154 case SWIG_PY_POINTER
:
48155 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48157 case SWIG_PY_BINARY
:
48158 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48165 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
48171 /* -----------------------------------------------------------------------------*/
48172 /* Fix SwigMethods to carry the callback ptrs when needed */
48173 /* -----------------------------------------------------------------------------*/
48176 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48177 swig_const_info
*const_table
,
48178 swig_type_info
**types
,
48179 swig_type_info
**types_initial
) {
48181 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48182 char *c
= methods
[i
].ml_doc
;
48183 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48185 swig_const_info
*ci
= 0;
48186 char *name
= c
+ 10;
48187 for (j
= 0; const_table
[j
].type
; j
++) {
48188 if (strncmp(const_table
[j
].name
, name
,
48189 strlen(const_table
[j
].name
)) == 0) {
48190 ci
= &(const_table
[j
]);
48195 size_t shift
= (ci
->ptype
) - types
;
48196 swig_type_info
*ty
= types_initial
[shift
];
48197 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48198 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48199 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48201 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
48202 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48204 strncpy(buff
, "swig_ptr: ", 10);
48206 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48207 methods
[i
].ml_doc
= ndoc
;
48213 /* -----------------------------------------------------------------------------*
48214 * Initialize type list
48215 * -----------------------------------------------------------------------------*/
48217 #if PY_MAJOR_VERSION < 2
48218 /* PyModule_AddObject function was introduced in Python 2.0. The following function
48219 is copied out of Python/modsupport.c in python version 2.3.4 */
48221 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
48224 if (!PyModule_Check(m
)) {
48225 PyErr_SetString(PyExc_TypeError
,
48226 "PyModule_AddObject() needs module as first arg");
48230 PyErr_SetString(PyExc_TypeError
,
48231 "PyModule_AddObject() needs non-NULL value");
48235 dict
= PyModule_GetDict(m
);
48236 if (dict
== NULL
) {
48237 /* Internal error -- modules must have a dict! */
48238 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
48239 PyModule_GetName(m
));
48242 if (PyDict_SetItemString(dict
, name
, o
))
48249 static swig_type_info
**
48250 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
48251 static PyMethodDef swig_empty_runtime_method_table
[] = {
48253 NULL
, NULL
, 0, NULL
48257 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
48258 swig_empty_runtime_method_table
);
48259 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
48260 if (pointer
&& module) {
48261 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
48263 return type_list_handle
;
48266 static swig_type_info
**
48267 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
48268 swig_type_info
**type_pointer
;
48270 /* first check if module already created */
48271 type_pointer
= SWIG_Python_GetTypeListHandle();
48272 if (type_pointer
) {
48273 return type_pointer
;
48275 /* create a new module and variable */
48276 return SWIG_Python_SetTypeListHandle(type_list_handle
);
48284 /* -----------------------------------------------------------------------------*
48285 * Partial Init method
48286 * -----------------------------------------------------------------------------*/
48288 #ifdef SWIG_LINK_RUNTIME
48292 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
48298 SWIGEXPORT(void) SWIG_init(void) {
48299 static PyObject
*SWIG_globals
= 0;
48300 static int typeinit
= 0;
48303 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
48305 /* Fix SwigMethods to carry the callback ptrs when needed */
48306 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
48308 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48309 d
= PyModule_GetDict(m
);
48312 #ifdef SWIG_LINK_RUNTIME
48313 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
48315 # ifndef SWIG_STATIC_RUNTIME
48316 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
48319 for (i
= 0; swig_types_initial
[i
]; i
++) {
48320 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
48324 SWIG_InstallConstants(d
,swig_const_table
);
48327 #ifndef wxPyUSE_EXPORT
48328 // Make our API structure a CObject so other modules can import it
48329 // from this module.
48330 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
48331 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
48336 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
48339 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
48342 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
48345 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
48348 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
48351 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
48354 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
48357 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
48360 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
48363 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
48366 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
48369 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
48372 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
48375 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
48378 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
48381 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
48384 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
48387 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
48390 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
48393 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
48396 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
48399 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
48402 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
48405 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
48408 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
48411 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
48414 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
48417 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
48420 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
48423 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
48426 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
48429 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
48432 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
48435 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
48438 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
48441 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
48444 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
48447 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
48450 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
48453 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
48456 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
48459 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
48462 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
48465 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
48468 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
48471 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
48474 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
48477 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
48480 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
48483 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
48486 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
48489 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
48492 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
48495 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
48498 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
48501 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
48504 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
48507 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
48510 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
48513 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
48516 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
48519 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
48522 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
48525 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
48528 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
48531 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
48534 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
48537 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
48540 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
48543 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
48546 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
48549 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
48552 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
48555 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48558 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48561 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48564 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48567 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48570 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48573 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48576 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48579 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48582 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48585 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48588 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48591 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48594 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48597 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48600 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48603 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48606 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48609 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48612 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48615 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48618 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48621 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48624 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48627 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48630 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48633 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48636 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48639 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48642 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48645 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48648 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48651 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48654 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48657 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48660 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48663 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48666 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48669 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48672 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48675 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48678 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48681 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48684 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48687 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48690 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48693 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48696 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48699 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48702 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48705 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48708 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48711 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48714 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48717 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48720 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48723 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48726 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48729 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48732 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48735 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48738 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48741 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48744 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48747 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48750 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48753 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48756 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48759 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48762 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48765 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48768 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48771 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48774 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48777 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48780 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48783 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48786 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48789 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48792 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48795 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48798 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48801 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48804 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48807 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48810 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48813 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48816 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48819 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48822 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48825 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48828 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48831 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48834 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48837 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48840 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48843 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48846 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48849 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48852 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48855 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48858 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48861 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48864 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48867 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48870 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48873 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48876 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48879 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48882 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48885 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48888 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48891 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48894 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48897 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48900 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48903 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48906 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48909 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48912 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48915 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48918 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48921 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48924 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48927 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48930 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48933 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48936 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48939 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48942 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48945 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48948 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48951 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48954 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48957 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48960 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48963 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48966 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48969 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48972 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48975 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48978 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48981 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48984 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48987 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48990 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48993 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48996 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48999 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
49002 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
49005 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
49008 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
49011 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
49014 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
49017 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
49020 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
49023 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
49026 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
49029 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
49032 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
49035 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
49038 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
49041 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
49044 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
49047 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
49050 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
49053 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
49056 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
49059 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
49062 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
49065 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
49068 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
49071 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
49074 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
49077 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
49080 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
49083 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
49086 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
49089 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
49092 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
49095 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
49098 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
49101 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
49104 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
49107 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
49110 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
49113 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
49116 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
49119 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
49122 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
49125 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
49128 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
49131 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
49134 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
49137 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
49140 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
49143 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
49146 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
49149 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
49152 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
49155 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
49158 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
49161 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
49164 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
49167 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
49170 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
49173 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
49176 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
49179 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
49182 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
49185 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
49188 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
49191 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
49194 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
49197 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
49200 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
49203 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
49206 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
49209 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
49212 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
49215 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
49218 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
49221 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
49224 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
49227 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
49230 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
49233 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
49236 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
49239 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
49242 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
49245 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
49248 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
49251 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
49254 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
49257 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
49260 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
49263 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
49266 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
49269 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
49272 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
49275 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
49278 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
49281 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
49284 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
49287 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
49290 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
49293 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
49296 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
49299 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
49302 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
49305 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
49308 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
49311 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
49314 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
49317 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
49320 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
49323 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
49326 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
49329 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
49332 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
49335 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
49338 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
49341 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
49344 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
49347 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
49350 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
49353 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
49356 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
49359 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
49362 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
49365 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
49368 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
49371 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
49374 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
49377 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
49380 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
49383 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
49386 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
49389 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
49392 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
49395 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
49398 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
49401 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
49404 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
49407 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
49410 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
49413 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
49416 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
49419 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
49422 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
49425 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
49428 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
49431 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
49434 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
49437 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
49440 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
49443 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
49446 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
49449 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
49452 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
49455 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
49458 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
49461 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
49464 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
49467 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
49470 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
49473 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
49476 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
49479 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
49482 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
49485 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
49488 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
49491 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
49494 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
49497 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
49500 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
49503 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
49506 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
49509 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
49512 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
49515 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
49518 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
49521 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
49524 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
49527 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
49530 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
49533 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
49536 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
49539 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
49542 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
49545 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
49548 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
49551 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
49554 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
49557 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
49560 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49563 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49566 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49569 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49572 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49575 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49578 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49581 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49584 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49587 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49590 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49593 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49596 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49599 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49602 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49605 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49608 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49611 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49614 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49617 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49620 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49623 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49626 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49629 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49632 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49635 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49638 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49641 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49644 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49647 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49650 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49653 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49656 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49659 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49662 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49665 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49668 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49671 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49674 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49677 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49680 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49683 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49686 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49689 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49692 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49695 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49698 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49701 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49704 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49707 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49710 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49713 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49716 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49719 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49722 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49725 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49728 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49731 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49734 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49737 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49740 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49743 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49746 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49749 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49752 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49755 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49758 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49761 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49764 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49767 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49770 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49773 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49776 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49779 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49782 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49785 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49788 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49791 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49794 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49797 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49800 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49803 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49806 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49809 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49812 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49815 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49818 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49821 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49824 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49827 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49830 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49833 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49836 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49839 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49842 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49845 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49848 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49851 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49854 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49857 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49860 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49863 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49866 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49869 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49872 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49875 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49878 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49881 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49884 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49887 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49890 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49893 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49896 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49899 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49902 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49905 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD
)));
49908 PyDict_SetItemString(d
,"PAPER_A6", SWIG_From_int((int)(wxPAPER_A6
)));
49911 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2", SWIG_From_int((int)(wxPAPER_JENV_KAKU2
)));
49914 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3", SWIG_From_int((int)(wxPAPER_JENV_KAKU3
)));
49917 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3", SWIG_From_int((int)(wxPAPER_JENV_CHOU3
)));
49920 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4", SWIG_From_int((int)(wxPAPER_JENV_CHOU4
)));
49923 PyDict_SetItemString(d
,"PAPER_LETTER_ROTATED", SWIG_From_int((int)(wxPAPER_LETTER_ROTATED
)));
49926 PyDict_SetItemString(d
,"PAPER_A3_ROTATED", SWIG_From_int((int)(wxPAPER_A3_ROTATED
)));
49929 PyDict_SetItemString(d
,"PAPER_A4_ROTATED", SWIG_From_int((int)(wxPAPER_A4_ROTATED
)));
49932 PyDict_SetItemString(d
,"PAPER_A5_ROTATED", SWIG_From_int((int)(wxPAPER_A5_ROTATED
)));
49935 PyDict_SetItemString(d
,"PAPER_B4_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B4_JIS_ROTATED
)));
49938 PyDict_SetItemString(d
,"PAPER_B5_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B5_JIS_ROTATED
)));
49941 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
49944 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
49947 PyDict_SetItemString(d
,"PAPER_A6_ROTATED", SWIG_From_int((int)(wxPAPER_A6_ROTATED
)));
49950 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU2_ROTATED
)));
49953 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU3_ROTATED
)));
49956 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU3_ROTATED
)));
49959 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU4_ROTATED
)));
49962 PyDict_SetItemString(d
,"PAPER_B6_JIS", SWIG_From_int((int)(wxPAPER_B6_JIS
)));
49965 PyDict_SetItemString(d
,"PAPER_B6_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B6_JIS_ROTATED
)));
49968 PyDict_SetItemString(d
,"PAPER_12X11", SWIG_From_int((int)(wxPAPER_12X11
)));
49971 PyDict_SetItemString(d
,"PAPER_JENV_YOU4", SWIG_From_int((int)(wxPAPER_JENV_YOU4
)));
49974 PyDict_SetItemString(d
,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_YOU4_ROTATED
)));
49977 PyDict_SetItemString(d
,"PAPER_P16K", SWIG_From_int((int)(wxPAPER_P16K
)));
49980 PyDict_SetItemString(d
,"PAPER_P32K", SWIG_From_int((int)(wxPAPER_P32K
)));
49983 PyDict_SetItemString(d
,"PAPER_P32KBIG", SWIG_From_int((int)(wxPAPER_P32KBIG
)));
49986 PyDict_SetItemString(d
,"PAPER_PENV_1", SWIG_From_int((int)(wxPAPER_PENV_1
)));
49989 PyDict_SetItemString(d
,"PAPER_PENV_2", SWIG_From_int((int)(wxPAPER_PENV_2
)));
49992 PyDict_SetItemString(d
,"PAPER_PENV_3", SWIG_From_int((int)(wxPAPER_PENV_3
)));
49995 PyDict_SetItemString(d
,"PAPER_PENV_4", SWIG_From_int((int)(wxPAPER_PENV_4
)));
49998 PyDict_SetItemString(d
,"PAPER_PENV_5", SWIG_From_int((int)(wxPAPER_PENV_5
)));
50001 PyDict_SetItemString(d
,"PAPER_PENV_6", SWIG_From_int((int)(wxPAPER_PENV_6
)));
50004 PyDict_SetItemString(d
,"PAPER_PENV_7", SWIG_From_int((int)(wxPAPER_PENV_7
)));
50007 PyDict_SetItemString(d
,"PAPER_PENV_8", SWIG_From_int((int)(wxPAPER_PENV_8
)));
50010 PyDict_SetItemString(d
,"PAPER_PENV_9", SWIG_From_int((int)(wxPAPER_PENV_9
)));
50013 PyDict_SetItemString(d
,"PAPER_PENV_10", SWIG_From_int((int)(wxPAPER_PENV_10
)));
50016 PyDict_SetItemString(d
,"PAPER_P16K_ROTATED", SWIG_From_int((int)(wxPAPER_P16K_ROTATED
)));
50019 PyDict_SetItemString(d
,"PAPER_P32K_ROTATED", SWIG_From_int((int)(wxPAPER_P32K_ROTATED
)));
50022 PyDict_SetItemString(d
,"PAPER_P32KBIG_ROTATED", SWIG_From_int((int)(wxPAPER_P32KBIG_ROTATED
)));
50025 PyDict_SetItemString(d
,"PAPER_PENV_1_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_1_ROTATED
)));
50028 PyDict_SetItemString(d
,"PAPER_PENV_2_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_2_ROTATED
)));
50031 PyDict_SetItemString(d
,"PAPER_PENV_3_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_3_ROTATED
)));
50034 PyDict_SetItemString(d
,"PAPER_PENV_4_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_4_ROTATED
)));
50037 PyDict_SetItemString(d
,"PAPER_PENV_5_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_5_ROTATED
)));
50040 PyDict_SetItemString(d
,"PAPER_PENV_6_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_6_ROTATED
)));
50043 PyDict_SetItemString(d
,"PAPER_PENV_7_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_7_ROTATED
)));
50046 PyDict_SetItemString(d
,"PAPER_PENV_8_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_8_ROTATED
)));
50049 PyDict_SetItemString(d
,"PAPER_PENV_9_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_9_ROTATED
)));
50052 PyDict_SetItemString(d
,"PAPER_PENV_10_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_10_ROTATED
)));
50055 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
50058 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
50061 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
50064 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
50067 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
50070 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
50073 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
50076 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
50079 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
50082 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
50085 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
50088 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
50091 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
50094 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
50097 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
50100 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
50103 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
50106 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
50109 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
50112 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
50115 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
50118 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
50121 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
50124 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
50127 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
50130 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
50133 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
50136 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
50139 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
50142 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
50145 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
50148 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
50150 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
50151 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
50153 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
50156 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
50159 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
50162 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
50165 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
50168 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
50171 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
50174 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
50177 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
50180 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
50183 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
50186 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
50189 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
50192 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
50195 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
50198 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
50201 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
50204 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
50207 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
50210 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
50213 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
50216 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
50219 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
50222 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
50225 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
50228 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
50231 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
50234 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
50237 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
50240 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
50243 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
50246 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
50249 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
50252 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
50255 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
50258 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
50261 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
50264 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
50267 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
50270 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
50273 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
50276 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
50279 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
50282 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
50285 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
50288 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
50291 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
50294 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
50297 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
50300 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
50303 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
50305 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
50306 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
50308 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
50311 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
50314 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
50317 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
50320 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
50323 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
50326 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
50329 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
50331 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
50332 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
50333 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
50334 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
50335 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
50336 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
50337 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
50338 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
50339 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
50340 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
50342 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
50345 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
50347 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
50348 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
50349 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
50350 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
50351 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
50352 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
50354 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
50357 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
50360 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
50363 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
50366 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
50369 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
50372 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
50375 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
50378 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
50381 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
50384 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
50387 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
50390 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
50393 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
50396 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
50399 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
50401 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
50402 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
50403 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
50404 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
50405 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
50406 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
50407 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
50408 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
50409 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
50410 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
50411 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
50412 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
50413 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
50414 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
50415 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
50416 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
50417 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
50418 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
50419 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
50420 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
50421 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
50422 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
50423 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
50424 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
50425 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
50426 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
50427 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
50428 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
50429 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
50430 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
50431 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
50432 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
50433 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
50434 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
50435 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
50436 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
50437 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
50438 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
50439 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
50440 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
50441 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
50442 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
50443 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
50444 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
50445 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
50446 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
50447 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
50448 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
50449 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
50450 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
50451 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
50452 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
50453 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
50454 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
50455 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
50456 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
50457 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
50458 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
50459 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
50460 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
50461 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
50462 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
50463 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
50464 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
50465 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
50466 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
50467 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
50468 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
50469 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
50470 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
50471 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
50472 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
50473 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
50474 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
50475 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
50476 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
50477 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
50478 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
50479 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
50480 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
50481 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
50482 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
50483 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
50484 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
50485 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
50486 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
50487 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
50488 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
50489 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
50490 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
50491 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
50492 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
50493 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
50494 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
50495 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
50496 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
50497 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
50498 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
50499 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
50500 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
50501 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
50502 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
50503 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
50504 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
50505 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
50506 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
50507 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
50508 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
50509 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
50510 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
50511 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
50512 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
50513 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
50514 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
50515 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
50517 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
50520 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
50523 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
50526 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
50529 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
50532 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
50535 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
50538 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
50541 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
50544 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
50547 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
50550 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
50553 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
50555 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
50557 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
50560 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
50563 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
50566 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
50569 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
50572 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
50574 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
50575 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
50577 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
50580 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
50583 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
50586 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
50589 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
50591 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
50592 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
50594 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
50597 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
50600 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
50602 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
50604 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
50607 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
50610 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
50613 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
50616 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
50619 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
50622 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
50625 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
50628 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
50631 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
50634 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
50637 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
50640 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
50643 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
50646 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
50649 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
50652 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
50655 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
50658 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
50661 // Initialize threading, some globals and such
50665 // Although these are defined in __version__ they need to be here too so
50666 // that an assert can be done to ensure that the wxPython and the wxWindows
50668 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
50669 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
50670 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));